Skip to content

Instantly share code, notes, and snippets.

@augustocdias
Created November 19, 2021 14:01
Show Gist options
  • Save augustocdias/20996b94408e78d984bb90f28b207313 to your computer and use it in GitHub Desktop.
Save augustocdias/20996b94408e78d984bb90f28b207313 to your computer and use it in GitHub Desktop.
[START][2021-11-19 14:59:53] LSP logging initiated
[INFO][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:258 "Starting RPC client" {
args = {},
cmd = "rust-analyzer",
extra = {}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:861 "LSP[rust_analyzer]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
experimental = {
codeActionGroup = true,
commands = {
commands = { "rust-analyzer.runSingle", "rust-analyzer.debugSingle", "rust-analyzer.showReferences", "rust-analyzer.gotoLocation", "editor.action.triggerParameterHints" }
},
hoverActions = true,
hoverRange = true,
serverStatusNotification = true,
snippetTextEdit = true
},
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,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true
},
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 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
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" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = 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 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.0"
},
initializationOptions = vim.empty_dict(),
processId = 18412,
rootPath = "/Users/augusto/test_lsp",
rootUri = "file:///Users/augusto/test_lsp",
trace = "off",
workspaceFolders = { {
name = "/Users/augusto/test_lsp",
uri = "file:///Users/augusto/test_lsp"
} }
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
experimental = {
codeActionGroup = true,
commands = {
commands = { "rust-analyzer.runSingle", "rust-analyzer.debugSingle", "rust-analyzer.showReferences", "rust-analyzer.gotoLocation", "editor.action.triggerParameterHints" }
},
hoverActions = true,
hoverRange = true,
serverStatusNotification = true,
snippetTextEdit = true
},
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,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true
},
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 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
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" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = 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 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
clientInfo = {
name = "Neovim",
version = "0.6.0"
},
initializationOptions = vim.empty_dict(),
processId = 18412,
rootPath = "/Users/augusto/test_lsp",
rootUri = "file:///Users/augusto/test_lsp",
trace = "off",
workspaceFolders = { {
name = "/Users/augusto/test_lsp",
uri = "file:///Users/augusto/test_lsp"
} }
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
result = {
capabilities = {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ":", ".", "'" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
hoverRange = true,
joinLines = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "definition", "static", "abstract", "deprecated", "readonly", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "keyword", "string", "number", "regexp", "operator", "namespace", "type", "struct", "class", "interface", "enum", "enumMember", "typeParameter", "function", "method", "property", "macro", "variable", "parameter", "angle", "arithmetic", "attribute", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "operator", "parenthesis", "punctuation", "selfKeyword", "semicolon", "typeAlias", "union", "unresolvedReference" }
},
range = true
},
signatureHelpProvider = {
triggerCharacters = { "(", "," }
},
textDocumentSync = {
change = 2,
openClose = true,
save = vim.empty_dict()
},
typeDefinitionProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.rs",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**",
matches = "folder"
},
scheme = "file"
} }
}
}
},
workspaceSymbolProvider = true
},
serverInfo = {
name = "rust-analyzer",
version = "73668334f 2021-11-15 dev"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
["rust-analyzer"] = {}
}
}
}
[DEBUG][2021-11-19 15:00:02] .../lua/vim/lsp.lua:888 "LSP[rust_analyzer]" "server_capabilities" {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ":", ".", "'" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
hoverRange = true,
joinLines = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "definition", "static", "abstract", "deprecated", "readonly", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "keyword", "string", "number", "regexp", "operator", "namespace", "type", "struct", "class", "interface", "enum", "enumMember", "typeParameter", "function", "method", "property", "macro", "variable", "parameter", "angle", "arithmetic", "attribute", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "operator", "parenthesis", "punctuation", "selfKeyword", "semicolon", "typeAlias", "union", "unresolvedReference" }
},
range = true
},
signatureHelpProvider = {
triggerCharacters = { "(", "," }
},
textDocumentSync = {
change = 2,
openClose = true,
save = vim.empty_dict()
},
typeDefinitionProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.rs",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**",
matches = "folder"
},
scheme = "file"
} }
}
}
},
workspaceSymbolProvider = true
}
[INFO][2021-11-19 15:00:02] .../lua/vim/lsp.lua:889 "LSP[rust_analyzer]" "initialized" {
resolved_capabilities = {
call_hierarchy = true,
code_action = {
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
code_lens = true,
code_lens_resolve = true,
completion = true,
declaration = true,
document_formatting = true,
document_highlight = true,
document_range_formatting = false,
document_symbol = true,
execute_command = false,
find_references = true,
goto_definition = true,
hover = true,
implementation = true,
rename = true,
signature_help = true,
signature_help_trigger_characters = { "(", "," },
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = vim.empty_dict(),
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = true,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = true
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "rust",
text = 'fn main() {\n let i: i31 = 10; \n println!("Hello, world!");\n}\n',
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 0
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "rust-analyzer"
} }
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "experimental/serverStatus",
params = {
health = "ok",
quiescent = false
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:720 "server_request" "workspace/configuration" {
items = { {
section = "rust-analyzer"
} }
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:723 "server_request: found handler for" "workspace/configuration"
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "rust-analyzer"
} }
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = { {} },
status = true
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = { {} }
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "experimental/serverStatus" {
health = "ok",
quiescent = false
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 4,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "begin",
title = "Loading"
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Loading"
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:02] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 4,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:02] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "begin",
title = "Loading"
}
}
[TRACE][2021-11-19 15:00:02] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "begin",
title = "Loading"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "report",
message = "metadata test_lsp"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 5,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 5,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 6,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 7,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "0/11 (core)",
percentage = 0
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 6,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Indexing"
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 7,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "0/11 (core)",
percentage = 0
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "0/11 (core)",
percentage = 0
}
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 8,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/cargo check"
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/cargo check"
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/cargo check"
}
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 8,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2021-11-19 15:00:03] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[TRACE][2021-11-19 15:00:03] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
[TRACE][2021-11-19 15:00:03] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[DEBUG][2021-11-19 15:00:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[TRACE][2021-11-19 15:00:04] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
[TRACE][2021-11-19 15:00:04] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2021-11-19 15:00:04] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:04] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:04] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "experimental/serverStatus",
params = {
health = "ok",
quiescent = true
}
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:05] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:706 "notification" "experimental/serverStatus" {
health = "ok",
quiescent = true
}
[DEBUG][2021-11-19 15:00:05] .../lua/vim/lsp.lua:929 "LSP[rust_analyzer]" "client.request" 1 "rust-analyzer/inlayHints" {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
} <function 1> 3
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "rust-analyzer/inlayHints",
params = {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 9,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/cargo check"
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/cargo check"
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:05] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/cargo check"
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 9,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
[TRACE][2021-11-19 15:00:05] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[DEBUG][2021-11-19 15:00:05] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:05] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:05] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "1/11 (alloc)",
percentage = 9
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "1/11 (alloc)",
percentage = 9
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "1/11 (alloc)",
percentage = 9
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "2/11 (panic_abort)",
percentage = 18
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "3/11 (panic_unwind)",
percentage = 27
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "2/11 (panic_abort)",
percentage = 18
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "2/11 (panic_abort)",
percentage = 18
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "3/11 (panic_unwind)",
percentage = 27
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "3/11 (panic_unwind)",
percentage = 27
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "4/11 (profiler_builtins)",
percentage = 36
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "4/11 (profiler_builtins)",
percentage = 36
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "4/11 (profiler_builtins)",
percentage = 36
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "5/11 (std_detect)",
percentage = 45
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "5/11 (std_detect)",
percentage = 45
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "5/11 (std_detect)",
percentage = 45
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "6/11 (test)",
percentage = 54
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "6/11 (test)",
percentage = 54
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "6/11 (test)",
percentage = 54
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "7/11 (unwind)",
percentage = 63
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "8/11 (std)",
percentage = 72
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "7/11 (unwind)",
percentage = 63
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "7/11 (unwind)",
percentage = 63
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "8/11 (std)",
percentage = 72
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "8/11 (std)",
percentage = 72
}
}
}
[DEBUG][2021-11-19 15:00:07] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "9/11 (proc_macro)",
percentage = 81
}
}
}
[TRACE][2021-11-19 15:00:07] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "9/11 (proc_macro)",
percentage = 81
}
}
[TRACE][2021-11-19 15:00:07] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "9/11 (proc_macro)",
percentage = 81
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 10,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Indexing"
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 10,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "report",
message = "10/11 (test_lsp)",
percentage = 90
}
}
}
[TRACE][2021-11-19 15:00:08] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:08] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 0,
line = 2
},
start = {
character = 0,
line = 2
}
},
rangeLength = 0,
text = " \n"
} },
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 3
}
}
}
[DEBUG][2021-11-19 15:00:08] .../vim/lsp/rpc.lua:446 "rpc.receive" {
error = {
code = -32801,
message = "content modified"
},
id = 2,
jsonrpc = "2.0"
}
[DEBUG][2021-11-19 15:00:09] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 4,
line = 2
},
start = {
character = 3,
line = 2
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 4
}
}
}
[DEBUG][2021-11-19 15:00:09] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 3,
line = 2
},
start = {
character = 2,
line = 2
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 5
}
}
}
[DEBUG][2021-11-19 15:00:09] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 2,
line = 2
},
start = {
character = 1,
line = 2
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 6
}
}
}
[DEBUG][2021-11-19 15:00:09] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didChange",
params = {
contentChanges = { {
range = {
end = {
character = 1,
line = 2
},
start = {
character = 0,
line = 2
}
},
rangeLength = 1,
text = ""
} },
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
}
}
[DEBUG][2021-11-19 15:00:09] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = {},
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
}
[TRACE][2021-11-19 15:00:09] .../lua/vim/lsp.lua:706 "notification" "textDocument/publishDiagnostics" {
diagnostics = {},
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
[TRACE][2021-11-19 15:00:09] ...lsp/handlers.lua:436 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = {},
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didSave",
params = {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
}
}
[DEBUG][2021-11-19 15:00:12] .../lua/vim/lsp.lua:929 "LSP[rust_analyzer]" "client.request" 1 "rust-analyzer/inlayHints" {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
} <function 1> 3
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 3,
jsonrpc = "2.0",
method = "rust-analyzer/inlayHints",
params = {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
}
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
result = {}
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 11,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/cargo check"
}
}
[TRACE][2021-11-19 15:00:12] .../lua/vim/lsp.lua:720 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/cargo check"
}
[TRACE][2021-11-19 15:00:12] .../lua/vim/lsp.lua:723 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2021-11-19 15:00:12] ...lsp/handlers.lua:436 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/cargo check"
}
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:456 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 11,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[TRACE][2021-11-19 15:00:12] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
[TRACE][2021-11-19 15:00:12] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "begin",
title = "cargo check"
}
}
}
[DEBUG][2021-11-19 15:00:12] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "cannot find type `i31` in this scope",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "a builtin type with a similar name exists: `i32`"
} },
severity = 1,
source = "rustc"
}, {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "a builtin type with a similar name exists: `i32`",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
}
[TRACE][2021-11-19 15:00:12] .../lua/vim/lsp.lua:706 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "cannot find type `i31` in this scope",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "a builtin type with a similar name exists: `i32`"
} },
severity = 1,
source = "rustc"
}, {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "a builtin type with a similar name exists: `i32`",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
[TRACE][2021-11-19 15:00:12] ...lsp/handlers.lua:436 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "cannot find type `i31` in this scope",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "a builtin type with a similar name exists: `i32`"
} },
severity = 1,
source = "rustc"
}, {
code = "E0412",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0412"
},
message = "a builtin type with a similar name exists: `i32`",
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
uri = "file:///Users/augusto/test_lsp/src/main.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///Users/augusto/test_lsp/src/main.rs",
version = 7
}
}
[DEBUG][2021-11-19 15:00:13] .../vim/lsp/rpc.lua:446 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[TRACE][2021-11-19 15:00:13] .../lua/vim/lsp.lua:706 "notification" "$/progress" {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
[TRACE][2021-11-19 15:00:13] ...lsp/handlers.lua:436 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/cargo check",
value = {
kind = "end"
}
}
}
[DEBUG][2021-11-19 15:00:18] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didClose",
params = {
textDocument = {
uri = "file:///Users/augusto/test_lsp/src/main.rs"
}
}
}
[INFO][2021-11-19 15:00:22] .../lua/vim/lsp.lua:1245 "exit_handler" { {
_on_attach = <function 1>,
attached_buffers = {
[3] = true
},
cancel_request = <function 2>,
commands = <1>{
RustCodeAction = { <function 3> },
RustDebuggables = { <function 4> },
RustDisableInlayHints = { <function 5> },
RustExpandMacro = { <function 6> },
RustHoverActions = { <function 7> },
RustHoverRange = { <function 8> },
RustJoinLines = { <function 9> },
RustMoveItemDown = { <function 10> },
RustMoveItemUp = { <function 11> },
RustOpenCargo = { <function 12> },
RustParentModule = { <function 13> },
RustReloadWorkspace = { <function 14> },
RustRunnables = { <function 15> },
RustSetInlayHints = { <function 16> },
RustToggleInlayHints = { <function 17> },
RustViewCrateGraph = { <function 18>, "-nargs=* -complete=customlist,v:lua.rust_tools_get_graphviz_backends",
description = "`:RustViewCrateGraph [<backend> [<output>]]` Show the crate graph"
}
},
config = {
autostart = true,
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
experimental = {
codeActionGroup = true,
commands = {
commands = { "rust-analyzer.runSingle", "rust-analyzer.debugSingle", "rust-analyzer.showReferences", "rust-analyzer.gotoLocation", "editor.action.triggerParameterHints" }
},
hoverActions = true,
hoverRange = true,
serverStatusNotification = true,
snippetTextEdit = true
},
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,
dynamicRegistration = false,
resolveSupport = {
properties = { "edit" }
}
},
completion = {
completionItem = {
commitCharactersSupport = false,
deprecatedSupport = false,
documentationFormat = { "markdown", "plaintext" },
preselectSupport = false,
resolveSupport = {
properties = { "documentation", "detail", "additionalTextEdits" }
},
snippetSupport = true
},
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 }
},
contextSupport = false,
dynamicRegistration = false
},
declaration = {
linkSupport = true
},
definition = {
linkSupport = true
},
documentHighlight = {
dynamicRegistration = false
},
documentSymbol = {
dynamicRegistration = false,
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" },
dynamicRegistration = false
},
implementation = {
linkSupport = true
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = { 1, 2 }
}
},
references = {
dynamicRegistration = false
},
rename = {
dynamicRegistration = false,
prepareSupport = true
},
signatureHelp = {
dynamicRegistration = false,
signatureInformation = {
activeParameterSupport = true,
documentationFormat = { "markdown", "plaintext" },
parameterInformation = {
labelOffsetSupport = true
}
}
},
synchronization = {
didSave = true,
dynamicRegistration = false,
willSave = false,
willSaveWaitUntil = false
},
typeDefinition = {
linkSupport = true
}
},
window = {
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = {
dynamicRegistration = false,
hierarchicalWorkspaceSymbolSupport = 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 }
}
},
workspaceEdit = {
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
cmd = { "rust-analyzer" },
commands = <table 1>,
cwd = "/Users/augusto/test_lsp",
filetypes = { "rust" },
flags = {},
get_language_id = <function 19>,
handlers = <2>{
["experimental/serverStatus"] = <function 20>,
["textDocument/hover"] = <function 21>
},
init_options = vim.empty_dict(),
log_level = 2,
message_level = 2,
name = "rust_analyzer",
on_attach = <function 22>,
on_exit = <function 23>,
on_init = <function 24>,
root_dir = "/Users/augusto/test_lsp",
settings = {
["rust-analyzer"] = {}
},
workspace_folders = <3>{ {
name = "/Users/augusto/test_lsp",
uri = "file:///Users/augusto/test_lsp"
} },
<metatable> = <4>{
__tostring = <function 25>
}
},
handlers = <table 2>,
id = 1,
initialized = true,
is_stopped = <function 26>,
messages = {
messages = {},
name = "rust_analyzer",
progress = {
["rustAnalyzer/Fetching"] = {
done = true,
title = "Fetching"
},
["rustAnalyzer/Indexing"] = {
done = true,
percentage = 90,
title = "Indexing"
},
["rustAnalyzer/Loading"] = {
done = true,
title = "Loading"
},
["rustAnalyzer/Roots Scanned"] = {
done = true,
message = "2/2",
percentage = 50,
title = "Roots Scanned"
},
["rustAnalyzer/cargo check"] = {
done = true,
title = "cargo check"
}
},
status = {}
},
name = "rust_analyzer",
notify = <function 27>,
offset_encoding = "utf-16",
request = <function 28>,
request_sync = <function 29>,
requests = {},
resolved_capabilities = {
call_hierarchy = true,
code_action = <5>{
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
code_lens = true,
code_lens_resolve = true,
completion = true,
declaration = true,
document_formatting = true,
document_highlight = true,
document_range_formatting = false,
document_symbol = true,
execute_command = false,
find_references = true,
goto_definition = true,
hover = true,
implementation = true,
rename = true,
signature_help = true,
signature_help_trigger_characters = <6>{ "(", "," },
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = <7>vim.empty_dict(),
text_document_save_include_text = false,
text_document_will_save = false,
text_document_will_save_wait_until = false,
type_definition = true,
workspace_folder_properties = {
changeNotifications = false,
supported = false
},
workspace_symbol = true
},
rpc = {
handle = <userdata 1>,
notify = <function 30>,
pid = 18561,
request = <function 31>
},
server_capabilities = {
callHierarchyProvider = true,
codeActionProvider = <table 5>,
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
resolveProvider = true,
triggerCharacters = { ":", ".", "'" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
hoverRange = true,
joinLines = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "definition", "static", "abstract", "deprecated", "readonly", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "keyword", "string", "number", "regexp", "operator", "namespace", "type", "struct", "class", "interface", "enum", "enumMember", "typeParameter", "function", "method", "property", "macro", "variable", "parameter", "angle", "arithmetic", "attribute", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "operator", "parenthesis", "punctuation", "selfKeyword", "semicolon", "typeAlias", "union", "unresolvedReference" }
},
range = true
},
signatureHelpProvider = {
triggerCharacters = <table 6>
},
textDocumentSync = {
change = 2,
openClose = true,
save = <table 7>
},
typeDefinitionProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.rs",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**",
matches = "folder"
},
scheme = "file"
} }
}
}
},
workspaceSymbolProvider = true
},
stop = <function 32>,
supports_method = <function 33>,
workspaceFolders = <table 3>,
workspace_did_change_configuration = <function 34>
} }
[DEBUG][2021-11-19 15:00:22] .../vim/lsp/rpc.lua:339 "rpc.send" {
id = 4,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2021-11-19 15:00:22] .../vim/lsp/rpc.lua:446 "rpc.receive" {
id = 4,
jsonrpc = "2.0"
}
[DEBUG][2021-11-19 15:00:22] .../vim/lsp/rpc.lua:339 "rpc.send" {
jsonrpc = "2.0",
method = "exit"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment