Skip to content

Instantly share code, notes, and snippets.

@jonhoo
Created December 2, 2022 20:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonhoo/a4d400ee5d14e153904395e3eb12d497 to your computer and use it in GitHub Desktop.
Save jonhoo/a4d400ee5d14e153904395e3eb12d497 to your computer and use it in GitHub Desktop.
[START][2022-12-02 20:14:20] LSP logging initiated
[INFO][2022-12-02 20:14:20] .../vim/lsp/rpc.lua:261 "Starting RPC client" {
args = {},
cmd = "rust-analyzer",
extra = {
cwd = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:20] .../lua/vim/lsp.lua:953 "LSP[rust_analyzer]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
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,
snippetSupport = false
},
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.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 60507,
rootPath = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
rootUri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly",
trace = "off",
workspaceFolders = { {
name = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly"
} }
}
[DEBUG][2022-12-02 20:14:20] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
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,
snippetSupport = false
},
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.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 60507,
rootPath = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
rootUri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly",
trace = "off",
workspaceFolders = { {
name = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly"
} }
}
}
[DEBUG][2022-12-02 20:14:20] .../vim/lsp/rpc.lua:454 "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 = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "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 = "0.4.0-standalone.amzn.100.0 (6d61be8e 2022-11-28)"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
["rust-analyzer"] = {}
}
}
}
[DEBUG][2022-12-02 20:14:22] .../lua/vim/lsp.lua:982 "LSP[rust_analyzer]" "server_capabilities" {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "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][2022-12-02 20:14:22] .../lua/vim/lsp.lua:983 "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][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "rust",
text = "use needs_nightly::Foo;\n",
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "rust-analyzer"
} }
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:806 "server_request" "workspace/configuration" {
items = { {
section = "rust-analyzer"
} }
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:809 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 1,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "rust-analyzer"
} }
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {} },
status = true
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = { {} }
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
}
[DEBUG][2022-12-02 20:14:22] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:22] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:22] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 4,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 4,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 5,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Loading"
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 5,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "consumer-of-needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: consumer-of-needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 6,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 6,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/3",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/3",
percentage = 33
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "2/3",
percentage = 66
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "3/3"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 7,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Indexing"
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Indexing"
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 7,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/6 (core + 1 more)",
percentage = 0
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/6 (core + 1 more)",
percentage = 0
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/6 (core + 1 more)",
percentage = 0
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/6 (core)",
percentage = 16
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/6 (core)",
percentage = 16
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/6 (core)",
percentage = 16
}
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 8,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rust-analyzer/checkOnSave/0"
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rust-analyzer/checkOnSave/0"
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 1,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rust-analyzer/checkOnSave/0"
}
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 8,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2022-12-02 20:14:23] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
}
[TRACE][2022-12-02 20:14:23] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
[TRACE][2022-12-02 20:14:23] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
}
[DEBUG][2022-12-02 20:14:24] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
}
[TRACE][2022-12-02 20:14:24] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
[TRACE][2022-12-02 20:14:24] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
}
[DEBUG][2022-12-02 20:14:24] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:24] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:24] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:25] .../lua/vim/lsp.lua:1023 "LSP[rust_analyzer]" "client.request" 1 "textDocument/definition" {
position = {
character = 19,
line = 0
},
textDocument = {
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
}
} <function 1> 1
[DEBUG][2022-12-02 20:14:25] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "textDocument/definition",
params = {
position = {
character = 19,
line = 0
},
textDocument = {
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
}
}
}
[DEBUG][2022-12-02 20:14:26] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 33
}
}
}
[DEBUG][2022-12-02 20:14:26] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "2/6 (alloc)",
percentage = 33
}
}
}
[TRACE][2022-12-02 20:14:26] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 33
}
}
[TRACE][2022-12-02 20:14:26] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 33
}
}
}
[TRACE][2022-12-02 20:14:26] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "2/6 (alloc)",
percentage = 33
}
}
[TRACE][2022-12-02 20:14:26] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "2/6 (alloc)",
percentage = 33
}
}
}
[DEBUG][2022-12-02 20:14:26] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 50
}
}
}
[TRACE][2022-12-02 20:14:26] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 50
}
}
[TRACE][2022-12-02 20:14:26] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 50
}
}
}
[DEBUG][2022-12-02 20:14:26] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "3/6 (std)",
percentage = 50
}
}
}
[TRACE][2022-12-02 20:14:26] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "3/6 (std)",
percentage = 50
}
}
[TRACE][2022-12-02 20:14:26] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "3/6 (std)",
percentage = 50
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 66
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 66
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 66
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "4/6 (proc_macro)",
percentage = 66
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "4/6 (proc_macro)",
percentage = 66
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "4/6 (proc_macro)",
percentage = 66
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 1,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = "unused_imports",
data = {
rendered = "warning: unused import: `needs_nightly::Foo`\n --> src/lib.rs:1:5\n |\n1 | use needs_nightly::Foo;\n | ^^^^^^^^^^^^^^^^^^\n |\n = note: `#[warn(unused_imports)]` on by default\n\n"
},
message = "unused import: `needs_nightly::Foo`\n`#[warn(unused_imports)]` on by default",
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "remove the whole `use` item"
} },
severity = 2,
source = "rustc",
tags = { 1 }
}, {
code = "unused_imports",
message = "remove the whole `use` item",
range = {
end = {
character = 23,
line = 0
},
start = {
character = 0,
line = 0
}
},
relatedInformation = { {
location = {
range = {
end = {
character = 22,
line = 0
},
start = {
character = 4,
line = 0
}
},
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"
},
message = "original diagnostic"
} },
severity = 4,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs",
version = 0
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
result = { {
originSelectionRange = {
end = {
character = 22,
line = 0
},
start = {
character = 19,
line = 0
}
},
targetRange = {
end = {
character = 15,
line = 1
},
start = {
character = 0,
line = 1
}
},
targetSelectionRange = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
targetUri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs"
} }
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "textDocument/definition" {
ctx = '{\n bufnr = 1,\n client_id = 1,\n method = "textDocument/definition",\n params = {\n position = {\n character = 19,\n line = 0\n },\n textDocument = {\n uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly/src/lib.rs"\n }\n }\n}',
result = { {
originSelectionRange = {
end = {
character = 22,
line = 0
},
start = {
character = 19,
line = 0
}
},
targetRange = {
end = {
character = 15,
line = 1
},
start = {
character = 0,
line = 1
}
},
targetSelectionRange = {
end = {
character = 14,
line = 1
},
start = {
character = 11,
line = 1
}
},
targetUri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs"
} }
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 83
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "5/6 (needs_nightly)",
percentage = 83
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 100
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[INFO][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:261 "Starting RPC client" {
args = {},
cmd = "rust-analyzer",
extra = {
cwd = "/local/home/jongje/dev/tmp/needs-nightly"
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:953 "LSP[rust_analyzer]" "initialize_params" {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
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,
snippetSupport = false
},
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.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 60507,
rootPath = "/local/home/jongje/dev/tmp/needs-nightly",
rootUri = "file:///local/home/jongje/dev/tmp/needs-nightly",
trace = "off",
workspaceFolders = { {
name = "/local/home/jongje/dev/tmp/needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/needs-nightly"
} }
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
method = "initialize",
params = {
capabilities = {
callHierarchy = {
dynamicRegistration = false
},
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,
snippetSupport = false
},
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.7.2"
},
initializationOptions = vim.empty_dict(),
processId = 60507,
rootPath = "/local/home/jongje/dev/tmp/needs-nightly",
rootUri = "file:///local/home/jongje/dev/tmp/needs-nightly",
trace = "off",
workspaceFolders = { {
name = "/local/home/jongje/dev/tmp/needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/needs-nightly"
} }
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 83
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 83
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "5/6 (needs_nightly)",
percentage = 83
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "5/6 (needs_nightly)",
percentage = 83
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 100
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
percentage = 100
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 1,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "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 = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "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 = "0.4.0-standalone.amzn.100.0 (6d61be8e 2022-11-28)"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "initialized",
params = vim.empty_dict()
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "workspace/didChangeConfiguration",
params = {
settings = {
["rust-analyzer"] = {}
}
}
}
[DEBUG][2022-12-02 20:14:27] .../lua/vim/lsp.lua:982 "LSP[rust_analyzer]" "server_capabilities" {
callHierarchyProvider = true,
codeActionProvider = {
codeActionKinds = { "", "quickfix", "refactor", "refactor.extract", "refactor.inline", "refactor.rewrite" },
resolveProvider = true
},
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "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][2022-12-02 20:14:27] .../lua/vim/lsp.lua:983 "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][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "textDocument/didOpen",
params = {
textDocument = {
languageId = "rust",
text = "#![feature(allocator_api)]\npub struct Foo;\n",
uri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs",
version = 0
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 0,
jsonrpc = "2.0",
method = "workspace/configuration",
params = {
items = { {
section = "rust-analyzer"
} }
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:806 "server_request" "workspace/configuration" {
items = { {
section = "rust-analyzer"
} }
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:809 "server_request: found handler for" "workspace/configuration"
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "workspace/configuration" {
ctx = '{\n client_id = 2,\n method = "workspace/configuration"\n}',
result = {
items = { {
section = "rust-analyzer"
} }
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = { {} },
status = true
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 0,
jsonrpc = "2.0",
result = { {} }
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 1,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 1,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 3,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 3,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:27] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[TRACE][2022-12-02 20:14:27] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
[TRACE][2022-12-02 20:14:27] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 4,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Fetching"
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Fetching"
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 4,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "begin",
title = "Fetching"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
cancellable = false,
kind = "report",
message = "metadata"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Fetching",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 5,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Loading"
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Loading"
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 5,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "begin",
title = "Loading"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
cancellable = false,
kind = "report",
message = "building proc-macros: needs-nightly"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 6,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Loading",
value = {
kind = "end"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Roots Scanned"
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Roots Scanned"
}
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:28] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 6,
jsonrpc = "2.0",
result = vim.NIL
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "begin",
message = "0/2",
percentage = 0,
title = "Roots Scanned"
}
}
}
[TRACE][2022-12-02 20:14:28] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
[TRACE][2022-12-02 20:14:28] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
cancellable = false,
kind = "report",
message = "1/2",
percentage = 50
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Roots Scanned",
value = {
kind = "end",
message = "2/2"
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 7,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rustAnalyzer/Indexing"
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rustAnalyzer/Indexing"
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rustAnalyzer/Indexing"
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 7,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "begin",
percentage = 0,
title = "Indexing"
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/5 (core + 1 more)",
percentage = 0
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/5 (core + 1 more)",
percentage = 0
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "0/5 (core + 1 more)",
percentage = 0
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/5 (core)",
percentage = 20
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/5 (core)",
percentage = 20
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rustAnalyzer/Indexing",
value = {
cancellable = false,
kind = "report",
message = "1/5 (core)",
percentage = 20
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 8,
jsonrpc = "2.0",
method = "window/workDoneProgress/create",
params = {
token = "rust-analyzer/checkOnSave/0"
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:806 "server_request" "window/workDoneProgress/create" {
token = "rust-analyzer/checkOnSave/0"
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:809 "server_request: found handler for" "window/workDoneProgress/create"
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "window/workDoneProgress/create" {
ctx = '{\n client_id = 2,\n method = "window/workDoneProgress/create"\n}',
result = {
token = "rust-analyzer/checkOnSave/0"
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:464 "server_request: callback result" {
result = vim.NIL,
status = true
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 8,
jsonrpc = "2.0",
result = vim.NIL
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rust-analyzer/checkOnSave/0",
value = {
cancellable = true,
kind = "begin",
title = "cargo check"
}
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "textDocument/publishDiagnostics",
params = {
diagnostics = { {
code = "E0554",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0554"
},
data = {
rendered = "error[E0554]: `#![feature]` may not be used on the stable release channel\n --> src/lib.rs:1:12\n |\n1 | #![feature(allocator_api)]\n | ^^^^^^^^^^^^^\n\n"
},
message = "`#![feature]` may not be used on the stable release channel",
range = {
end = {
character = 24,
line = 0
},
start = {
character = 11,
line = 0
}
},
severity = 1,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs",
version = 0
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "textDocument/publishDiagnostics" {
diagnostics = { {
code = "E0554",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0554"
},
data = {
rendered = "error[E0554]: `#![feature]` may not be used on the stable release channel\n --> src/lib.rs:1:12\n |\n1 | #![feature(allocator_api)]\n | ^^^^^^^^^^^^^\n\n"
},
message = "`#![feature]` may not be used on the stable release channel",
range = {
end = {
character = 24,
line = 0
},
start = {
character = 11,
line = 0
}
},
severity = 1,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs",
version = 0
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "textDocument/publishDiagnostics" {
ctx = '{\n client_id = 2,\n method = "textDocument/publishDiagnostics"\n}',
result = {
diagnostics = { {
code = "E0554",
codeDescription = {
href = "https://doc.rust-lang.org/error-index.html#E0554"
},
data = {
rendered = "error[E0554]: `#![feature]` may not be used on the stable release channel\n --> src/lib.rs:1:12\n |\n1 | #![feature(allocator_api)]\n | ^^^^^^^^^^^^^\n\n"
},
message = "`#![feature]` may not be used on the stable release channel",
range = {
end = {
character = 24,
line = 0
},
start = {
character = 11,
line = 0
}
},
severity = 1,
source = "rustc"
} },
uri = "file:///local/home/jongje/dev/tmp/needs-nightly/src/lib.rs",
version = 0
}
}
[DEBUG][2022-12-02 20:14:29] .../vim/lsp/rpc.lua:454 "rpc.receive" {
jsonrpc = "2.0",
method = "$/progress",
params = {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
}
[TRACE][2022-12-02 20:14:29] .../lua/vim/lsp.lua:792 "notification" "$/progress" {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
[TRACE][2022-12-02 20:14:29] ...lsp/handlers.lua:488 "default_handler" "$/progress" {
ctx = '{\n client_id = 2,\n method = "$/progress"\n}',
result = {
token = "rust-analyzer/checkOnSave/0",
value = {
kind = "end"
}
}
}
[INFO][2022-12-02 20:14:30] .../lua/vim/lsp.lua:1392 "exit_handler" { {
_on_attach = <function 1>,
attached_buffers = { true },
cancel_request = <function 2>,
commands = {},
config = {
_on_attach = <function 3>,
autostart = true,
capabilities = {
callHierarchy = <1>{
dynamicRegistration = false
},
textDocument = <2>{
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,
snippetSupport = false
},
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 = <3>{
showDocument = {
support = false
},
showMessage = {
messageActionItem = {
additionalPropertiesSupport = false
}
},
workDoneProgress = true
},
workspace = {
applyEdit = true,
configuration = true,
symbol = <4>{
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 = <5>{
resourceOperations = { "rename", "create", "delete" }
},
workspaceFolders = true
}
},
cmd = <6>{ "rust-analyzer" },
cmd_cwd = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
filetypes = <7>{ "rust" },
flags = {},
get_language_id = <function 4>,
handlers = <8>{},
init_options = <9>vim.empty_dict(),
log_level = 2,
message_level = 2,
name = "rust_analyzer",
on_attach = <function 5>,
on_exit = <function 6>,
on_init = <function 7>,
root_dir = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
settings = <10>{
["rust-analyzer"] = {}
},
workspace_folders = <11>{ {
name = "/local/home/jongje/dev/tmp/consumer-of-needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/consumer-of-needs-nightly"
} },
<metatable> = <12>{
__tostring = <function 8>
}
},
handlers = <table 8>,
id = 1,
initialized = true,
is_stopped = <function 9>,
messages = {
messages = {},
name = "rust_analyzer",
progress = {
["rust-analyzer/checkOnSave/0"] = {
done = true,
title = "cargo check"
},
["rustAnalyzer/Fetching"] = {
done = true,
title = "Fetching"
},
["rustAnalyzer/Indexing"] = {
done = true,
percentage = 100,
title = "Indexing"
},
["rustAnalyzer/Loading"] = {
done = true,
title = "Loading"
},
["rustAnalyzer/Roots Scanned"] = {
done = true,
message = "3/3",
percentage = 66,
title = "Roots Scanned"
}
},
status = {}
},
name = "rust_analyzer",
notify = <function 10>,
offset_encoding = "utf-16",
request = <function 11>,
request_sync = <function 12>,
requests = {},
resolved_capabilities = {
call_hierarchy = true,
code_action = <13>{
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 = <14>{ "(", ",", "<" },
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = <15>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 13>,
pid = 60510,
request = <function 14>
},
server_capabilities = {
callHierarchyProvider = true,
codeActionProvider = <table 13>,
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "union", "unresolvedReference" }
},
range = true
},
signatureHelpProvider = {
triggerCharacters = <table 14>
},
textDocumentSync = {
change = 2,
openClose = true,
save = <table 15>
},
typeDefinitionProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.rs",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**",
matches = "folder"
},
scheme = "file"
} }
}
}
},
workspaceSymbolProvider = true
},
stop = <function 15>,
supports_method = <function 16>,
workspaceFolders = <table 11>,
workspace_did_change_configuration = <function 17>,
workspace_folders = <table 11>
}, {
_on_attach = <function 18>,
attached_buffers = {
[2] = true
},
cancel_request = <function 19>,
commands = {},
config = {
_on_attach = <function 3>,
autostart = true,
capabilities = {
callHierarchy = <table 1>,
textDocument = <table 2>,
window = <table 3>,
workspace = {
applyEdit = true,
configuration = true,
symbol = <table 4>,
workspaceEdit = <table 5>,
workspaceFolders = true
}
},
cmd = <table 6>,
cmd_cwd = "/local/home/jongje/dev/tmp/needs-nightly",
filetypes = <table 7>,
flags = {},
get_language_id = <function 20>,
handlers = <table 8>,
init_options = <table 9>,
log_level = 2,
message_level = 2,
name = "rust_analyzer",
on_attach = <function 21>,
on_exit = <function 22>,
on_init = <function 23>,
root_dir = "/local/home/jongje/dev/tmp/needs-nightly",
settings = <table 10>,
workspace_folders = <16>{ {
name = "/local/home/jongje/dev/tmp/needs-nightly",
uri = "file:///local/home/jongje/dev/tmp/needs-nightly"
} },
<metatable> = <table 12>
},
handlers = <table 8>,
id = 2,
initialized = true,
is_stopped = <function 24>,
messages = {
messages = {},
name = "rust_analyzer",
progress = {
["rust-analyzer/checkOnSave/0"] = {
done = true,
title = "cargo check"
},
["rustAnalyzer/Fetching"] = {
done = true,
title = "Fetching"
},
["rustAnalyzer/Indexing"] = {
message = "1/5 (core)",
percentage = 20,
title = "Indexing"
},
["rustAnalyzer/Loading"] = {
done = true,
title = "Loading"
},
["rustAnalyzer/Roots Scanned"] = {
done = true,
message = "2/2",
percentage = 50,
title = "Roots Scanned"
}
},
status = {}
},
name = "rust_analyzer",
notify = <function 25>,
offset_encoding = "utf-16",
request = <function 26>,
request_sync = <function 27>,
requests = {},
resolved_capabilities = {
call_hierarchy = true,
code_action = <17>{
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 = <18>{ "(", ",", "<" },
text_document_did_change = 2,
text_document_open_close = true,
text_document_save = <19>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 2>,
notify = <function 28>,
pid = 60832,
request = <function 29>
},
server_capabilities = {
callHierarchyProvider = true,
codeActionProvider = <table 17>,
codeLensProvider = {
resolveProvider = true
},
completionProvider = {
completionItem = {
labelDetailsSupport = false
},
triggerCharacters = { ":", ".", "'", "(" }
},
declarationProvider = true,
definitionProvider = true,
documentFormattingProvider = true,
documentHighlightProvider = true,
documentOnTypeFormattingProvider = {
firstTriggerCharacter = "=",
moreTriggerCharacter = { ".", ">", "{" }
},
documentRangeFormattingProvider = false,
documentSymbolProvider = true,
experimental = {
externalDocs = true,
hoverRange = true,
joinLines = true,
matchingBrace = true,
moveItem = true,
onEnter = true,
openCargoToml = true,
parentModule = true,
runnables = {
kinds = { "cargo" }
},
ssr = true,
workspaceSymbolScopeKindFiltering = true
},
foldingRangeProvider = true,
hoverProvider = true,
implementationProvider = true,
inlayHintProvider = {
resolveProvider = true
},
referencesProvider = true,
renameProvider = {
prepareProvider = true
},
selectionRangeProvider = true,
semanticTokensProvider = {
full = {
delta = true
},
legend = {
tokenModifiers = { "documentation", "declaration", "static", "defaultLibrary", "async", "attribute", "callable", "constant", "consuming", "controlFlow", "crateRoot", "injected", "intraDocLink", "library", "mutable", "public", "reference", "trait", "unsafe" },
tokenTypes = { "comment", "decorator", "enumMember", "enum", "function", "interface", "keyword", "macro", "method", "namespace", "number", "operator", "parameter", "property", "string", "struct", "typeParameter", "variable", "angle", "arithmetic", "attribute", "attributeBracket", "bitwise", "boolean", "brace", "bracket", "builtinAttribute", "builtinType", "character", "colon", "comma", "comparison", "constParameter", "derive", "deriveHelper", "dot", "escapeSequence", "formatSpecifier", "generic", "label", "lifetime", "logical", "macroBang", "parenthesis", "punctuation", "selfKeyword", "selfTypeKeyword", "semicolon", "typeAlias", "toolModule", "union", "unresolvedReference" }
},
range = true
},
signatureHelpProvider = {
triggerCharacters = <table 18>
},
textDocumentSync = {
change = 2,
openClose = true,
save = <table 19>
},
typeDefinitionProvider = true,
workspace = {
fileOperations = {
willRename = {
filters = { {
pattern = {
glob = "**/*.rs",
matches = "file"
},
scheme = "file"
}, {
pattern = {
glob = "**",
matches = "folder"
},
scheme = "file"
} }
}
}
},
workspaceSymbolProvider = true
},
stop = <function 30>,
supports_method = <function 31>,
workspaceFolders = <table 16>,
workspace_did_change_configuration = <function 32>,
workspace_folders = <table 16>
} }
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 3,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:347 "rpc.send" {
id = 2,
jsonrpc = "2.0",
method = "shutdown"
}
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 3,
jsonrpc = "2.0"
}
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:454 "rpc.receive" {
id = 2,
jsonrpc = "2.0"
}
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:347 "rpc.send" {
jsonrpc = "2.0",
method = "exit"
}
[DEBUG][2022-12-02 20:14:30] .../vim/lsp/rpc.lua:347 "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