Skip to content

Instantly share code, notes, and snippets.

@jhfrontz
Last active September 20, 2022 00:39
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 jhfrontz/443b3c50afecabc0b72b223299e74d91 to your computer and use it in GitHub Desktop.
Save jhfrontz/443b3c50afecabc0b72b223299e74d91 to your computer and use it in GitHub Desktop.
Log file from rls
#######
LanguageClient 0.1.161
#######
20:34:32 DEBUG unnamed src/language_client.rs:108 state: null ==> {"capabilities":{},"code_lens":{},"diagnostics":{},"highlight_match_ids":[],"highlight_source":null,"highlights":{},"highlights_placed":{},"initialization_options":null,"inlay_hints":{},"last_cursor_line":0,"last_line_diagnostic":" ","logger":{"level":"DEBUG","path":"/home/jhf/tmp/LanguageClient.log"},"namespace_ids":{},"registrations":[],"roots":{},"semantic_highlights":{},"semantic_scope_to_hl_group_table":{},"semantic_scopes":{},"stashed_code_action_actions":[],"text_documents":{},"text_documents_metadata":{},"user_handlers":{},"viewports":{}}
20:34:32 INFO unnamed src/language_server_protocol.rs:3580 settings synced
20:34:32 INFO unnamed src/language_server_protocol.rs:3607 Project root: /home/jhf/tmp/junk
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:EchomsgEllipsis","params":["Project root: /home/jhf/tmp/junk"]}
20:34:32 DEBUG unnamed src/language_client.rs:108 state.roots.rust: null ==> "/home/jhf/tmp/junk"
20:34:32 INFO unnamed src/language_server_protocol.rs:840 initialize; params=Object({"bufnr": Number(1), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "languageId": String("rust"), "position": Object({"character": Number(0), "line": Number(0)}), "viewport": Object({"end": Number(23), "start": Number(0)})})
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:command","params":["sign define LanguageClientInformation text=ℹ texthl=LanguageClientInfoSign","sign define LanguageClientError text=✖ texthl=LanguageClientErrorSign","sign define LanguageClientWarning text=⚠ texthl=LanguageClientWarningSign","sign define LanguageClientHint text=➤ texthl=LanguageClientInfoSign"]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["s:hasSnippetSupport()"],"id":3}
20:34:32 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 3, "jsonrpc": "2.0", "result": 0}
20:34:32 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":false},"completion":{"completionItem":{"insertReplaceSupport":false,"snippetSupport":false}},"declaration":{"linkSupport":true},"definition":{"linkSupport":true},"hover":{},"implementation":{"linkSupport":true},"publishDiagnostics":{"relatedInformation":true},"semanticHighlightingCapabilities":{"semanticHighlighting":true},"signatureHelp":{"signatureInformation":{"parameterInformation":{"labelOffsetSupport":true}}},"typeDefinition":{"linkSupport":true}},"workspace":{"applyEdit":true,"didChangeWatchedFiles":{"dynamicRegistration":true}}},"clientInfo":{"name":"LanguageClient-neovim","version":"0.1.161"},"processId":30278,"rootPath":"/home/jhf/tmp/junk","rootUri":"file:///home/jhf/tmp/junk","trace":"off"},"id":0}
20:34:32 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","id":0,"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"selectionRangeProvider":true,"hoverProvider":true,"completionProvider":{"triggerCharacters":[":",".","'","("],"completionItem":{"labelDetailsSupport":false}},"signatureHelpProvider":{"triggerCharacters":["(",",","<"]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"workspaceSymbolProvider":true,"codeActionProvider":{"codeActionKinds":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"documentFormattingProvider":true,"documentRangeFormattingProvider":false,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"=","moreTriggerCharacter":[".",">","{"]},"renameProvider":{"prepareProvider":true},"foldingRangeProvider":true,"declarationProvider":true,"workspace":{"fileOperations":{"willRename":{"filters":[{"scheme":"file","pattern":{"glob":"**/*.rs","matches":"file"}},{"scheme":"file","pattern":{"glob":"**","matches":"folder"}}]}}},"callHierarchyProvider":true,"semanticTokensProvider":{"legend":{"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"],"tokenModifiers":["documentation","declaration","static","defaultLibrary","async","attribute","callable","constant","consuming","controlFlow","crateRoot","injected","intraDocLink","library","mutable","public","reference","trait","unsafe"]},"range":true,"full":{"delta":true}},"inlayHintProvider":{"resolveProvider":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}},"serverInfo":{"name":"rust-analyzer","version":"0.0.0"}}}
20:34:32 DEBUG unnamed src/language_client.rs:108 state.capabilities.rust: null ==> {"capabilities":{"callHierarchyProvider":true,"codeActionProvider":{"codeActionKinds":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite"],"resolveProvider":true},"codeLensProvider":{"resolveProvider":true},"completionProvider":{"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,"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":{}},"typeDefinitionProvider":true,"workspace":{},"workspaceSymbolProvider":true},"serverInfo":{"name":"rust-analyzer","version":"0.0.0"}}
20:34:32 INFO unnamed src/language_server_protocol.rs:567 register_cm_source; language_id="rust" result=Object({"capabilities": Object({"callHierarchyProvider": Bool(true), "codeActionProvider": Object({"codeActionKinds": Array([String(""), String("quickfix"), String("refactor"), String("refactor.extract"), String("refactor.inline"), String("refactor.rewrite")]), "resolveProvider": Bool(true)}), "codeLensProvider": Object({"resolveProvider": Bool(true)}), "completionProvider": Object({"completionItem": Object({"labelDetailsSupport": Bool(false)}), "triggerCharacters": Array([String(":"), String("."), String("\'"), String("(")])}), "declarationProvider": Bool(true), "definitionProvider": Bool(true), "documentFormattingProvider": Bool(true), "documentHighlightProvider": Bool(true), "documentOnTypeFormattingProvider": Object({"firstTriggerCharacter": String("="), "moreTriggerCharacter": Array([String("."), String(">"), String("{")])}), "documentRangeFormattingProvider": Bool(false), "documentSymbolProvider": Bool(true), "experimental": Object({"externalDocs": Bool(true), "hoverRange": Bool(true), "joinLines": Bool(true), "matchingBrace": Bool(true), "moveItem": Bool(true), "onEnter": Bool(true), "openCargoToml": Bool(true), "parentModule": Bool(true), "runnables": Object({"kinds": Array([String("cargo")])}), "ssr": Bool(true), "workspaceSymbolScopeKindFiltering": Bool(true)}), "foldingRangeProvider": Bool(true), "hoverProvider": Bool(true), "implementationProvider": Bool(true), "inlayHintProvider": Object({"resolveProvider": Bool(true)}), "referencesProvider": Bool(true), "renameProvider": Object({"prepareProvider": Bool(true)}), "selectionRangeProvider": Bool(true), "semanticTokensProvider": Object({"full": Object({"delta": Bool(true)}), "legend": Object({"tokenModifiers": Array([String("documentation"), String("declaration"), String("static"), String("defaultLibrary"), String("async"), String("attribute"), String("callable"), String("constant"), String("consuming"), String("controlFlow"), String("crateRoot"), String("injected"), String("intraDocLink"), String("library"), String("mutable"), String("public"), String("reference"), String("trait"), String("unsafe")]), "tokenTypes": Array([String("comment"), String("decorator"), String("enumMember"), String("enum"), String("function"), String("interface"), String("keyword"), String("macro"), String("method"), String("namespace"), String("number"), String("operator"), String("parameter"), String("property"), String("string"), String("struct"), String("typeParameter"), String("variable"), String("angle"), String("arithmetic"), String("attribute"), String("attributeBracket"), String("bitwise"), String("boolean"), String("brace"), String("bracket"), String("builtinAttribute"), String("builtinType"), String("character"), String("colon"), String("comma"), String("comparison"), String("constParameter"), String("derive"), String("deriveHelper"), String("dot"), String("escapeSequence"), String("formatSpecifier"), String("generic"), String("label"), String("lifetime"), String("logical"), String("macroBang"), String("parenthesis"), String("punctuation"), String("selfKeyword"), String("selfTypeKeyword"), String("semicolon"), String("typeAlias"), String("toolModule"), String("union"), String("unresolvedReference")])}), "range": Bool(true)}), "signatureHelpProvider": Object({"triggerCharacters": Array([String("("), String(","), String("<")])}), "textDocumentSync": Object({"change": Number(2), "openClose": Bool(true), "save": Object({})}), "typeDefinitionProvider": Bool(true), "workspace": Object({"fileOperations": Object({"willRename": Object({"filters": Array([Object({"pattern": Object({"glob": String("**/*.rs"), "matches": String("file")}), "scheme": String("file")}), Object({"pattern": Object({"glob": String("**"), "matches": String("folder")}), "scheme": String("file")})])})})}), "workspaceSymbolProvider": Bool(true)}), "serverInfo": Object({"name": String("rust-analyzer"), "version": String("0.0.0")})})
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["exists('g:cm_matcher')"],"id":4}
20:34:32 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 4, "jsonrpc": "2.0", "result": 0}
20:34:32 INFO unnamed src/language_server_protocol.rs:607 register_ncm2_source; language_id="rust" result=Object({"capabilities": Object({"callHierarchyProvider": Bool(true), "codeActionProvider": Object({"codeActionKinds": Array([String(""), String("quickfix"), String("refactor"), String("refactor.extract"), String("refactor.inline"), String("refactor.rewrite")]), "resolveProvider": Bool(true)}), "codeLensProvider": Object({"resolveProvider": Bool(true)}), "completionProvider": Object({"completionItem": Object({"labelDetailsSupport": Bool(false)}), "triggerCharacters": Array([String(":"), String("."), String("\'"), String("(")])}), "declarationProvider": Bool(true), "definitionProvider": Bool(true), "documentFormattingProvider": Bool(true), "documentHighlightProvider": Bool(true), "documentOnTypeFormattingProvider": Object({"firstTriggerCharacter": String("="), "moreTriggerCharacter": Array([String("."), String(">"), String("{")])}), "documentRangeFormattingProvider": Bool(false), "documentSymbolProvider": Bool(true), "experimental": Object({"externalDocs": Bool(true), "hoverRange": Bool(true), "joinLines": Bool(true), "matchingBrace": Bool(true), "moveItem": Bool(true), "onEnter": Bool(true), "openCargoToml": Bool(true), "parentModule": Bool(true), "runnables": Object({"kinds": Array([String("cargo")])}), "ssr": Bool(true), "workspaceSymbolScopeKindFiltering": Bool(true)}), "foldingRangeProvider": Bool(true), "hoverProvider": Bool(true), "implementationProvider": Bool(true), "inlayHintProvider": Object({"resolveProvider": Bool(true)}), "referencesProvider": Bool(true), "renameProvider": Object({"prepareProvider": Bool(true)}), "selectionRangeProvider": Bool(true), "semanticTokensProvider": Object({"full": Object({"delta": Bool(true)}), "legend": Object({"tokenModifiers": Array([String("documentation"), String("declaration"), String("static"), String("defaultLibrary"), String("async"), String("attribute"), String("callable"), String("constant"), String("consuming"), String("controlFlow"), String("crateRoot"), String("injected"), String("intraDocLink"), String("library"), String("mutable"), String("public"), String("reference"), String("trait"), String("unsafe")]), "tokenTypes": Array([String("comment"), String("decorator"), String("enumMember"), String("enum"), String("function"), String("interface"), String("keyword"), String("macro"), String("method"), String("namespace"), String("number"), String("operator"), String("parameter"), String("property"), String("string"), String("struct"), String("typeParameter"), String("variable"), String("angle"), String("arithmetic"), String("attribute"), String("attributeBracket"), String("bitwise"), String("boolean"), String("brace"), String("bracket"), String("builtinAttribute"), String("builtinType"), String("character"), String("colon"), String("comma"), String("comparison"), String("constParameter"), String("derive"), String("deriveHelper"), String("dot"), String("escapeSequence"), String("formatSpecifier"), String("generic"), String("label"), String("lifetime"), String("logical"), String("macroBang"), String("parenthesis"), String("punctuation"), String("selfKeyword"), String("selfTypeKeyword"), String("semicolon"), String("typeAlias"), String("toolModule"), String("union"), String("unresolvedReference")])}), "range": Bool(true)}), "signatureHelpProvider": Object({"triggerCharacters": Array([String("("), String(","), String("<")])}), "textDocumentSync": Object({"change": Number(2), "openClose": Bool(true), "save": Object({})}), "typeDefinitionProvider": Bool(true), "workspace": Object({"fileOperations": Object({"willRename": Object({"filters": Array([Object({"pattern": Object({"glob": String("**/*.rs"), "matches": String("file")}), "scheme": String("file")}), Object({"pattern": Object({"glob": String("**"), "matches": String("folder")}), "scheme": String("file")})])})})}), "workspaceSymbolProvider": Bool(true)}), "serverInfo": Object({"name": String("rust-analyzer"), "version": String("0.0.0")})})
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["exists('g:ncm2_loaded')"],"id":5}
20:34:32 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 5, "jsonrpc": "2.0", "result": 0}
20:34:32 INFO unnamed src/language_server_protocol.rs:647 parse_semantic_scopes; language_id="rust" result=Object({"capabilities": Object({"callHierarchyProvider": Bool(true), "codeActionProvider": Object({"codeActionKinds": Array([String(""), String("quickfix"), String("refactor"), String("refactor.extract"), String("refactor.inline"), String("refactor.rewrite")]), "resolveProvider": Bool(true)}), "codeLensProvider": Object({"resolveProvider": Bool(true)}), "completionProvider": Object({"completionItem": Object({"labelDetailsSupport": Bool(false)}), "triggerCharacters": Array([String(":"), String("."), String("\'"), String("(")])}), "declarationProvider": Bool(true), "definitionProvider": Bool(true), "documentFormattingProvider": Bool(true), "documentHighlightProvider": Bool(true), "documentOnTypeFormattingProvider": Object({"firstTriggerCharacter": String("="), "moreTriggerCharacter": Array([String("."), String(">"), String("{")])}), "documentRangeFormattingProvider": Bool(false), "documentSymbolProvider": Bool(true), "experimental": Object({"externalDocs": Bool(true), "hoverRange": Bool(true), "joinLines": Bool(true), "matchingBrace": Bool(true), "moveItem": Bool(true), "onEnter": Bool(true), "openCargoToml": Bool(true), "parentModule": Bool(true), "runnables": Object({"kinds": Array([String("cargo")])}), "ssr": Bool(true), "workspaceSymbolScopeKindFiltering": Bool(true)}), "foldingRangeProvider": Bool(true), "hoverProvider": Bool(true), "implementationProvider": Bool(true), "inlayHintProvider": Object({"resolveProvider": Bool(true)}), "referencesProvider": Bool(true), "renameProvider": Object({"prepareProvider": Bool(true)}), "selectionRangeProvider": Bool(true), "semanticTokensProvider": Object({"full": Object({"delta": Bool(true)}), "legend": Object({"tokenModifiers": Array([String("documentation"), String("declaration"), String("static"), String("defaultLibrary"), String("async"), String("attribute"), String("callable"), String("constant"), String("consuming"), String("controlFlow"), String("crateRoot"), String("injected"), String("intraDocLink"), String("library"), String("mutable"), String("public"), String("reference"), String("trait"), String("unsafe")]), "tokenTypes": Array([String("comment"), String("decorator"), String("enumMember"), String("enum"), String("function"), String("interface"), String("keyword"), String("macro"), String("method"), String("namespace"), String("number"), String("operator"), String("parameter"), String("property"), String("string"), String("struct"), String("typeParameter"), String("variable"), String("angle"), String("arithmetic"), String("attribute"), String("attributeBracket"), String("bitwise"), String("boolean"), String("brace"), String("bracket"), String("builtinAttribute"), String("builtinType"), String("character"), String("colon"), String("comma"), String("comparison"), String("constParameter"), String("derive"), String("deriveHelper"), String("dot"), String("escapeSequence"), String("formatSpecifier"), String("generic"), String("label"), String("lifetime"), String("logical"), String("macroBang"), String("parenthesis"), String("punctuation"), String("selfKeyword"), String("selfTypeKeyword"), String("semicolon"), String("typeAlias"), String("toolModule"), String("union"), String("unresolvedReference")])}), "range": Bool(true)}), "signatureHelpProvider": Object({"triggerCharacters": Array([String("("), String(","), String("<")])}), "textDocumentSync": Object({"change": Number(2), "openClose": Bool(true), "save": Object({})}), "typeDefinitionProvider": Bool(true), "workspace": Object({"fileOperations": Object({"willRename": Object({"filters": Array([Object({"pattern": Object({"glob": String("**/*.rs"), "matches": String("file")}), "scheme": String("file")}), Object({"pattern": Object({"glob": String("**"), "matches": String("folder")}), "scheme": String("file")})])})})}), "workspaceSymbolProvider": Bool(true)}), "serverInfo": Object({"name": String("rust-analyzer"), "version": String("0.0.0")})})
20:34:32 INFO unnamed src/language_server_protocol.rs:1019 initialized; params=Object({"bufnr": Number(1), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "languageId": String("rust"), "position": Object({"character": Number(0), "line": Number(0)}), "viewport": Object({"end": Number(23), "start": Number(0)})})
20:34:32 INFO unnamed src/language_server_protocol.rs:666 update_semantic_highlight_tables; language_id="rust"
20:34:32 WARN unnamed src/language_server_protocol.rs:3707 Failed to get workspace settings: Failed to read file (/home/jhf/tmp/junk/.vim/settings.json)
20:34:32 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","method":"initialized","params":{}}
20:34:32 INFO unnamed src/language_server_protocol.rs:1946 text_document_did_open; params=Object({"bufnr": Number(1), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "languageId": String("rust"), "position": Object({"character": Number(0), "line": Number(0)}), "viewport": Object({"end": Number(23), "start": Number(0)})})
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setbufvar","params":["/home/jhf/tmp/junk/src/main.rs","LanguageClient_isServerRunning",1]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:ExecuteAutocmd","params":["LanguageClientStarted"]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"LSP#text","params":["/home/jhf/tmp/junk/src/main.rs"],"id":6}
20:34:32 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 6, "jsonrpc": "2.0", "result": ["fn main() {", " let a = 1;", " println!(\"{}\", greet());", " // place holder for didChange test.", "}", "", "", "fn greet() -> i32 {", " 42", "}", "", "// place holder for didChange test.", "", "mod libs;", "use libs::yo;", "fn ref_in_main() -> i32 {", " yo() + 1", "}", "", "#[cfg(feature = \"f42\")]", "fn conditional_fn() -> i32 {", " 42", "}", ""]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["s:GetVar('LanguageClient_setOmnifunc', v:true)"],"id":7}
20:34:32 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 7, "jsonrpc": "2.0", "result": true}
20:34:32 DEBUG unnamed src/language_client.rs:108 state.text_documents./home/jhf/tmp/junk/src/main.rs: null ==> {"languageId":"rust","text":"fn main() {\n let a = 1;\n println!(\"{}\", greet());\n // place holder for didChange test.\n}\n\n\nfn greet() -> i32 {\n 42\n}\n\n// place holder for didChange test.\n\nmod libs;\nuse libs::yo;\nfn ref_in_main() -> i32 {\n yo() + 1\n}\n\n#[cfg(feature = \"f42\")]\nfn conditional_fn() -> i32 {\n 42\n}\n","uri":"file:///home/jhf/tmp/junk/src/main.rs","version":0}
20:34:32 INFO unnamed src/language_server_protocol.rs:1888 text_document_code_lens; params=Object({"bufnr": Number(1), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "languageId": String("rust"), "position": Object({"character": Number(0), "line": Number(0)}), "viewport": Object({"end": Number(23), "start": Number(0)})})
20:34:32 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"rust","text":"fn main() {\n let a = 1;\n println!(\"{}\", greet());\n // place holder for didChange test.\n}\n\n\nfn greet() -> i32 {\n 42\n}\n\n// place holder for didChange test.\n\nmod libs;\nuse libs::yo;\nfn ref_in_main() -> i32 {\n yo() + 1\n}\n\n#[cfg(feature = \"f42\")]\nfn conditional_fn() -> i32 {\n 42\n}\n","uri":"file:///home/jhf/tmp/junk/src/main.rs","version":0}}}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:command","params":["setlocal omnifunc=LanguageClient#complete"]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setbufvar","params":["/home/jhf/tmp/junk/src/main.rs","LanguageClient_projectRoot","/home/jhf/tmp/junk"]}
20:34:32 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:ExecuteAutocmd","params":["LanguageClientTextDocumentDidOpenPost"]}
20:34:32 DEBUG unnamed src/language_client.rs:108 state.inlay_hints./home/jhf/tmp/junk/src/main.rs: null ==> []
20:34:33 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}}]}}
20:34:33 INFO unnamed src/language_server_protocol.rs:2489 client_register_capability; language_id="rust" params=Object({"registrations": Array([Object({"id": String("workspace/didChangeWatchedFiles"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object({"watchers": Array([Object({"globPattern": String("/home/jhf/tmp/junk/**/*.rs")}), Object({"globPattern": String("/home/jhf/tmp/junk/**/Cargo.toml")}), Object({"globPattern": String("/home/jhf/tmp/junk/**/Cargo.lock")})])})})])})
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/*.rs
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/src/libs.rs"
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/src/main.rs"
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/Cargo.toml
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/Cargo.toml"
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/Cargo.lock
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/Cargo.lock"
20:34:33 DEBUG unnamed src/language_client.rs:108 state.registrations: [] ==> [{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}}]
20:34:33 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","result":null,"id":0}
20:34:33 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","id":1,"method":"client/registerCapability","params":{"registrations":[{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}}]}}
20:34:33 INFO unnamed src/language_server_protocol.rs:2489 client_register_capability; language_id="rust" params=Object({"registrations": Array([Object({"id": String("workspace/didChangeWatchedFiles"), "method": String("workspace/didChangeWatchedFiles"), "registerOptions": Object({"watchers": Array([Object({"globPattern": String("/home/jhf/tmp/junk/**/*.rs")}), Object({"globPattern": String("/home/jhf/tmp/junk/**/Cargo.toml")}), Object({"globPattern": String("/home/jhf/tmp/junk/**/Cargo.lock")})])})})])})
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/*.rs
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/src/libs.rs"
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/src/main.rs"
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/Cargo.toml
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/Cargo.toml"
20:34:33 INFO unnamed src/language_server_protocol.rs:2512 Watching glob pattern: /home/jhf/tmp/junk/**/Cargo.lock
20:34:33 INFO unnamed src/language_server_protocol.rs:2524 Start watching path "/home/jhf/tmp/junk/Cargo.lock"
20:34:33 DEBUG unnamed src/language_client.rs:108 state.registrations: [{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}}] ==> [{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"/home/jhf/tmp/junk/**/*.rs"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.toml"},{"globPattern":"/home/jhf/tmp/junk/**/Cargo.lock"}]}}]
20:34:33 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","result":null,"id":1}
20:34:34 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/jhf/tmp/junk/src/main.rs","diagnostics":[{"range":{"start":{"line":1,"character":8},"end":{"line":1,"character":9}},"severity":2,"code":"unused_variables","source":"rustc","message":"unused variable: `a`\n`#[warn(unused_variables)]` on by default","relatedInformation":[{"location":{"uri":"file:///home/jhf/tmp/junk/src/main.rs","range":{"start":{"line":1,"character":8},"end":{"line":1,"character":9}}},"message":"if this is intentional, prefix it with an underscore: `_a`"}],"tags":[1]},{"range":{"start":{"line":1,"character":8},"end":{"line":1,"character":9}},"severity":4,"code":"unused_variables","source":"rustc","message":"if this is intentional, prefix it with an underscore: `_a`","relatedInformation":[{"location":{"uri":"file:///home/jhf/tmp/junk/src/main.rs","range":{"start":{"line":1,"character":8},"end":{"line":1,"character":9}}},"message":"original diagnostic"}]},{"range":{"start":{"line":15,"character":3},"end":{"line":15,"character":14}},"severity":2,"code":"dead_code","source":"rustc","message":"function `ref_in_main` is never used\n`#[warn(dead_code)]` on by default","tags":[1]}],"version":0}}
20:34:34 INFO unnamed src/language_server_protocol.rs:2095 text_document_publish_diagnostics; params=Object({"diagnostics": Array([Object({"code": String("unused_variables"), "message": String("unused variable: `a`\n`#[warn(unused_variables)]` on by default"), "range": Object({"end": Object({"character": Number(9), "line": Number(1)}), "start": Object({"character": Number(8), "line": Number(1)})}), "relatedInformation": Array([Object({"location": Object({"range": Object({"end": Object({"character": Number(9), "line": Number(1)}), "start": Object({"character": Number(8), "line": Number(1)})}), "uri": String("file:///home/jhf/tmp/junk/src/main.rs")}), "message": String("if this is intentional, prefix it with an underscore: `_a`")})]), "severity": Number(2), "source": String("rustc"), "tags": Array([Number(1)])}), Object({"code": String("unused_variables"), "message": String("if this is intentional, prefix it with an underscore: `_a`"), "range": Object({"end": Object({"character": Number(9), "line": Number(1)}), "start": Object({"character": Number(8), "line": Number(1)})}), "relatedInformation": Array([Object({"location": Object({"range": Object({"end": Object({"character": Number(9), "line": Number(1)}), "start": Object({"character": Number(8), "line": Number(1)})}), "uri": String("file:///home/jhf/tmp/junk/src/main.rs")}), "message": String("original diagnostic")})]), "severity": Number(4), "source": String("rustc")}), Object({"code": String("dead_code"), "message": String("function `ref_in_main` is never used\n`#[warn(dead_code)]` on by default"), "range": Object({"end": Object({"character": Number(14), "line": Number(15)}), "start": Object({"character": Number(3), "line": Number(15)})}), "severity": Number(2), "source": String("rustc"), "tags": Array([Number(1)])})]), "uri": String("file:///home/jhf/tmp/junk/src/main.rs"), "version": Number(0)})
20:34:34 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///home/jhf/tmp/junk/src/libs.rs","diagnostics":[{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":9}},"severity":2,"code":"unused_variables","source":"rustc","message":"unused variable: `b`","relatedInformation":[{"location":{"uri":"file:///home/jhf/tmp/junk/src/libs.rs","range":{"start":{"line":3,"character":8},"end":{"line":3,"character":9}}},"message":"if this is intentional, prefix it with an underscore: `_b`"}],"tags":[1]},{"range":{"start":{"line":3,"character":8},"end":{"line":3,"character":9}},"severity":4,"code":"unused_variables","source":"rustc","message":"if this is intentional, prefix it with an underscore: `_b`","relatedInformation":[{"location":{"uri":"file:///home/jhf/tmp/junk/src/libs.rs","range":{"start":{"line":3,"character":8},"end":{"line":3,"character":9}}},"message":"original diagnostic"}]},{"range":{"start":{"line":1,"character":7},"end":{"line":1,"character":9}},"severity":2,"code":"dead_code","source":"rustc","message":"function `yo` is never used","tags":[1]}]}}
20:34:34 DEBUG unnamed src/language_client.rs:108 state.diagnostics./home/jhf/tmp/junk/src/main.rs: null ==> [{"code":"unused_variables","message":"unused variable: `a`\n`#[warn(unused_variables)]` on by default","range":{"end":{"character":9,"line":1},"start":{"character":8,"line":1}},"relatedInformation":[{"location":{"range":{"end":{"character":9,"line":1},"start":{"character":8,"line":1}},"uri":"file:///home/jhf/tmp/junk/src/main.rs"},"message":"if this is intentional, prefix it with an underscore: `_a`"}],"severity":2,"source":"rustc","tags":[1]},{"code":"unused_variables","message":"if this is intentional, prefix it with an underscore: `_a`","range":{"end":{"character":9,"line":1},"start":{"character":8,"line":1}},"relatedInformation":[{"location":{"range":{"end":{"character":9,"line":1},"start":{"character":8,"line":1}},"uri":"file:///home/jhf/tmp/junk/src/main.rs"},"message":"original diagnostic"}],"severity":4,"source":"rustc"},{"code":"dead_code","message":"function `ref_in_main` is never used\n`#[warn(dead_code)]` on by default","range":{"end":{"character":14,"line":15},"start":{"character":3,"line":15}},"severity":2,"source":"rustc","tags":[1]}]
20:34:34 INFO unnamed src/vim.rs:225 Begin setqflist
20:34:34 INFO unnamed src/language_server_protocol.rs:2095 text_document_publish_diagnostics; params=Object({"diagnostics": Array([Object({"code": String("unused_variables"), "message": String("unused variable: `b`"), "range": Object({"end": Object({"character": Number(9), "line": Number(3)}), "start": Object({"character": Number(8), "line": Number(3)})}), "relatedInformation": Array([Object({"location": Object({"range": Object({"end": Object({"character": Number(9), "line": Number(3)}), "start": Object({"character": Number(8), "line": Number(3)})}), "uri": String("file:///home/jhf/tmp/junk/src/libs.rs")}), "message": String("if this is intentional, prefix it with an underscore: `_b`")})]), "severity": Number(2), "source": String("rustc"), "tags": Array([Number(1)])}), Object({"code": String("unused_variables"), "message": String("if this is intentional, prefix it with an underscore: `_b`"), "range": Object({"end": Object({"character": Number(9), "line": Number(3)}), "start": Object({"character": Number(8), "line": Number(3)})}), "relatedInformation": Array([Object({"location": Object({"range": Object({"end": Object({"character": Number(9), "line": Number(3)}), "start": Object({"character": Number(8), "line": Number(3)})}), "uri": String("file:///home/jhf/tmp/junk/src/libs.rs")}), "message": String("original diagnostic")})]), "severity": Number(4), "source": String("rustc")}), Object({"code": String("dead_code"), "message": String("function `yo` is never used"), "range": Object({"end": Object({"character": Number(9), "line": Number(1)}), "start": Object({"character": Number(7), "line": Number(1)})}), "severity": Number(2), "source": String("rustc"), "tags": Array([Number(1)])})]), "uri": String("file:///home/jhf/tmp/junk/src/libs.rs")})
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setqflist","params":[[{"col":9,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":2,"nr":"unused_variables","text":"unused variable: `a`\n`#[warn(unused_variables)]` on by default","type":"W"},{"col":9,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":2,"nr":"unused_variables","text":"if this is intentional, prefix it with an underscore: `_a`","type":"H"},{"col":4,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":16,"nr":"dead_code","text":"function `ref_in_main` is never used\n`#[warn(dead_code)]` on by default","type":"W"}],"r"]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setqflist","params":[[],"a",{"title":"[LC]: diagnostics"}]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["bufnr('/home/jhf/tmp/junk/src/main.rs')"],"id":8}
20:34:34 DEBUG unnamed src/language_client.rs:108 state.diagnostics./home/jhf/tmp/junk/src/libs.rs: null ==> [{"code":"unused_variables","message":"unused variable: `b`","range":{"end":{"character":9,"line":3},"start":{"character":8,"line":3}},"relatedInformation":[{"location":{"range":{"end":{"character":9,"line":3},"start":{"character":8,"line":3}},"uri":"file:///home/jhf/tmp/junk/src/libs.rs"},"message":"if this is intentional, prefix it with an underscore: `_b`"}],"severity":2,"source":"rustc","tags":[1]},{"code":"unused_variables","message":"if this is intentional, prefix it with an underscore: `_b`","range":{"end":{"character":9,"line":3},"start":{"character":8,"line":3}},"relatedInformation":[{"location":{"range":{"end":{"character":9,"line":3},"start":{"character":8,"line":3}},"uri":"file:///home/jhf/tmp/junk/src/libs.rs"},"message":"original diagnostic"}],"severity":4,"source":"rustc"},{"code":"dead_code","message":"function `yo` is never used","range":{"end":{"character":9,"line":1},"start":{"character":7,"line":1}},"severity":2,"source":"rustc","tags":[1]}]
20:34:34 INFO unnamed src/vim.rs:225 Begin setqflist
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setqflist","params":[[{"col":9,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":2,"nr":"unused_variables","text":"unused variable: `a`\n`#[warn(unused_variables)]` on by default","type":"W"},{"col":9,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":2,"nr":"unused_variables","text":"if this is intentional, prefix it with an underscore: `_a`","type":"H"},{"col":4,"filename":"/home/jhf/tmp/junk/src/main.rs","lnum":16,"nr":"dead_code","text":"function `ref_in_main` is never used\n`#[warn(dead_code)]` on by default","type":"W"},{"col":9,"filename":"/home/jhf/tmp/junk/src/libs.rs","lnum":4,"nr":"unused_variables","text":"unused variable: `b`","type":"W"},{"col":9,"filename":"/home/jhf/tmp/junk/src/libs.rs","lnum":4,"nr":"unused_variables","text":"if this is intentional, prefix it with an underscore: `_b`","type":"H"},{"col":8,"filename":"/home/jhf/tmp/junk/src/libs.rs","lnum":2,"nr":"dead_code","text":"function `yo` is never used","type":"W"}],"r"]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setqflist","params":[[],"a",{"title":"[LC]: diagnostics"}]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["bufnr('/home/jhf/tmp/junk/src/libs.rs')"],"id":9}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 8, "jsonrpc": "2.0", "result": 1}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setbufvar","params":["/home/jhf/tmp/junk/src/main.rs","LanguageClient_statusLineDiagnosticsCounts",{"E":0,"H":1,"I":0,"W":2}]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#filename()"],"id":10}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 9, "jsonrpc": "2.0", "result": 2}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"setbufvar","params":["/home/jhf/tmp/junk/src/libs.rs","LanguageClient_statusLineDiagnosticsCounts",{"E":0,"H":1,"I":0,"W":2}]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#filename()"],"id":11}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 10, "jsonrpc": "2.0", "result": "/home/jhf/tmp/junk/src/main.rs"}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 11, "jsonrpc": "2.0", "result": "/home/jhf/tmp/junk/src/main.rs"}
20:34:34 DEBUG unnamed src/language_client.rs:108 state.highlights./home/jhf/tmp/junk/src/main.rs: null ==> [{"character_end":9,"character_start":8,"group":"LanguageClientInfo","line":1,"text":"a"},{"character_end":9,"character_start":8,"group":"LanguageClientWarning","line":1,"text":"a"},{"character_end":14,"character_start":3,"group":"LanguageClientWarning","line":15,"text":"ref_in_main"}]
20:34:34 INFO unnamed src/language_server_protocol.rs:2873 handle_cursor_moved; params=Null force_redraw=true
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#filename()"],"id":12}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 12, "jsonrpc": "2.0", "result": "/home/jhf/tmp/junk/src/main.rs"}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"getbufvar","params":["/home/jhf/tmp/junk/src/main.rs","&filetype"],"id":13}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 13, "jsonrpc": "2.0", "result": "rust"}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#position()"],"id":14}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 14, "jsonrpc": "2.0", "result": {"character": 0, "line": 0}}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#viewport()"],"id":15}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 15, "jsonrpc": "2.0", "result": {"end": 23, "start": 0}}
20:34:34 INFO unnamed src/language_server_protocol.rs:2847 get_signs_to_display; filename="/home/jhf/tmp/junk/src/main.rs" viewport=Viewport { start: 0, end: 23 }
20:34:34 DEBUG unnamed src/language_client.rs:108 state.viewports./home/jhf/tmp/junk/src/main.rs: null ==> {"end":23,"start":0}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:set_signs","params":["/home/jhf/tmp/junk/src/main.rs",[{"id":75006,"line":1,"name":"LanguageClientWarning"},{"id":75062,"line":15,"name":"LanguageClientWarning"}]],"id":16}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 16, "jsonrpc": "2.0", "result": 0}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:SetHighlights","params":[[{"character_end":9,"character_start":8,"group":"LanguageClientInfo","line":1,"text":"a"},{"character_end":9,"character_start":8,"group":"LanguageClientWarning","line":1,"text":"a"},{"character_end":14,"character_start":3,"group":"LanguageClientWarning","line":15,"text":"ref_in_main"}],"__LCN_DIAGNOSTIC_HIGHLIGHT__"]}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#filename()"],"id":17}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 17, "jsonrpc": "2.0", "result": "/home/jhf/tmp/junk/src/main.rs"}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#viewport()"],"id":18}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 18, "jsonrpc": "2.0", "result": {"end": 23, "start": 0}}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["bufnr('/home/jhf/tmp/junk/src/main.rs')"],"id":19}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 19, "jsonrpc": "2.0", "result": 1}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"nvim_create_namespace","params":["LanguageClient_VirtualText"],"id":20}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 20, "jsonrpc": "2.0", "result": 2}
20:34:34 DEBUG unnamed src/language_client.rs:108 state.namespace_ids.LanguageClient_VirtualText: null ==> 2
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"mode","params":[],"id":21}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 21, "jsonrpc": "2.0", "result": "n"}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:set_virtual_texts","params":[1,2,0,23,[]],"id":22}
20:34:34 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 22, "jsonrpc": "2.0", "result": 0}
20:34:34 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:ExecuteAutocmd","params":["LanguageClientDiagnosticsChanged"]}
20:34:37 DEBUG reader-None src/rpcclient.rs:207 <= None {"method": "languageClient/handleCursorMoved", "jsonrpc": "2.0", "params": {"bufnr": 1, "viewport": {"end": 23, "start": 0}, "languageId": "rust", "buftype": "", "position": {"character": 19, "line": 2}, "filename": "/home/jhf/tmp/junk/src/main.rs"}}
20:34:37 INFO unnamed src/language_server_protocol.rs:2873 handle_cursor_moved; params=Object({"bufnr": Number(1), "buftype": String(""), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "languageId": String("rust"), "position": Object({"character": Number(19), "line": Number(2)}), "viewport": Object({"end": Number(23), "start": Number(0)})}) force_redraw=false
20:34:37 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"s:EchoEllipsis","params":[""]}
20:34:37 DEBUG unnamed src/language_client.rs:108 state.last_line_diagnostic: " " ==> ""
20:34:37 DEBUG unnamed src/language_client.rs:108 state.last_cursor_line: 0 ==> 2
20:34:47 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 1, "jsonrpc": "2.0", "method": "textDocument/definition", "params": {"bufnr": 1, "character": 19, "handle": true, "languageId": "rust", "gotoCmd": null, "line": 2, "text": ["fn main() {", " let a = 1;", " println!(\"{}\", greet());", " // place holder for didChange test.", "}", "", "", "fn greet() -> i32 {", " 42", "}", "", "// place holder for didChange test.", "", "mod libs;", "use libs::yo;", "fn ref_in_main() -> i32 {", " yo() + 1", "}", "", "#[cfg(feature = \"f42\")]", "fn conditional_fn() -> i32 {", " 42", "}", ""], "filename": "/home/jhf/tmp/junk/src/main.rs"}}
20:34:47 INFO unnamed src/language_server_protocol.rs:1473 text_document_definition; params=Object({"bufnr": Number(1), "character": Number(19), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "gotoCmd": Null, "handle": Bool(true), "languageId": String("rust"), "line": Number(2), "text": Array([String("fn main() {"), String(" let a = 1;"), String(" println!(\"{}\", greet());"), String(" // place holder for didChange test."), String("}"), String(""), String(""), String("fn greet() -> i32 {"), String(" 42"), String("}"), String(""), String("// place holder for didChange test."), String(""), String("mod libs;"), String("use libs::yo;"), String("fn ref_in_main() -> i32 {"), String(" yo() + 1"), String("}"), String(""), String("#[cfg(feature = \"f42\")]"), String("fn conditional_fn() -> i32 {"), String(" 42"), String("}"), String("")])})
20:34:47 INFO unnamed src/language_server_protocol.rs:1077 find_locations; params=Object({"bufnr": Number(1), "character": Number(19), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "gotoCmd": Null, "handle": Bool(true), "languageId": String("rust"), "line": Number(2), "method": String("textDocument/definition"), "text": Array([String("fn main() {"), String(" let a = 1;"), String(" println!(\"{}\", greet());"), String(" // place holder for didChange test."), String("}"), String(""), String(""), String("fn greet() -> i32 {"), String(" 42"), String("}"), String(""), String("// place holder for didChange test."), String(""), String("mod libs;"), String("use libs::yo;"), String("fn ref_in_main() -> i32 {"), String(" yo() + 1"), String("}"), String(""), String("#[cfg(feature = \"f42\")]"), String("fn conditional_fn() -> i32 {"), String(" 42"), String("}"), String("")])})
20:34:47 INFO unnamed src/language_server_protocol.rs:1993 text_document_did_change; params=Object({"bufnr": Number(1), "character": Number(19), "filename": String("/home/jhf/tmp/junk/src/main.rs"), "gotoCmd": Null, "handle": Bool(true), "languageId": String("rust"), "line": Number(2), "method": String("textDocument/definition"), "text": Array([String("fn main() {"), String(" let a = 1;"), String(" println!(\"{}\", greet());"), String(" // place holder for didChange test."), String("}"), String(""), String(""), String("fn greet() -> i32 {"), String(" 42"), String("}"), String(""), String("// place holder for didChange test."), String(""), String("mod libs;"), String("use libs::yo;"), String("fn ref_in_main() -> i32 {"), String(" yo() + 1"), String("}"), String(""), String("#[cfg(feature = \"f42\")]"), String("fn conditional_fn() -> i32 {"), String(" 42"), String("}"), String("")])})
20:34:47 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"LSP#text","params":["/home/jhf/tmp/junk/src/main.rs"],"id":23}
20:34:47 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 23, "jsonrpc": "2.0", "result": ["fn main() {", " let a = 1;", " println!(\"{}\", greet());", " // place holder for didChange test.", "}", "", "", "fn greet() -> i32 {", " 42", "}", "", "// place holder for didChange test.", "", "mod libs;", "use libs::yo;", "fn ref_in_main() -> i32 {", " yo() + 1", "}", "", "#[cfg(feature = \"f42\")]", "fn conditional_fn() -> i32 {", " 42", "}", ""]}
20:34:47 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["LSP#position()"],"id":24}
20:34:47 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 24, "jsonrpc": "2.0", "result": {"character": 19, "line": 2}}
20:34:47 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","method":"eval","params":["expand('<cword>')"],"id":25}
20:34:47 DEBUG reader-None src/rpcclient.rs:207 <= None {"id": 25, "jsonrpc": "2.0", "result": "greet"}
20:34:47 DEBUG writer-Some("rust") src/rpcclient.rs:254 => Some("rust") {"jsonrpc":"2.0","method":"textDocument/definition","params":{"bufnr":1,"character":19,"filename":"/home/jhf/tmp/junk/src/main.rs","gotoCmd":null,"handle":true,"languageId":"rust","line":2,"method":"textDocument/definition","position":{"character":19,"line":2},"text":["fn main() {"," let a = 1;"," println!(\"{}\", greet());"," // place holder for didChange test.","}","","","fn greet() -> i32 {"," 42","}","","// place holder for didChange test.","","mod libs;","use libs::yo;","fn ref_in_main() -> i32 {"," yo() + 1","}","","#[cfg(feature = \"f42\")]","fn conditional_fn() -> i32 {"," 42","}",""],"textDocument":{"uri":"file:///home/jhf/tmp/junk/src/main.rs"}},"id":1}
20:35:47 ERROR unnamed src/rpchandler.rs:27 Error handling message: timed out waiting on receive operation
Message: {"jsonrpc":"2.0","method":"textDocument/definition","params":{"bufnr":1,"character":19,"filename":"/home/jhf/tmp/junk/src/main.rs","gotoCmd":null,"handle":true,"languageId":"rust","line":2,"text":["fn main() {"," let a = 1;"," println!(\"{}\", greet());"," // place holder for didChange test.","}","","","fn greet() -> i32 {"," 42","}","","// place holder for didChange test.","","mod libs;","use libs::yo;","fn ref_in_main() -> i32 {"," yo() + 1","}","","#[cfg(feature = \"f42\")]","fn conditional_fn() -> i32 {"," 42","}",""]},"id":1}
Error: timed out waiting on receive operation
20:35:47 DEBUG writer-None src/rpcclient.rs:254 => None {"jsonrpc":"2.0","error":{"code":-32603,"message":"timed out waiting on receive operation"},"id":1}
20:36:42 DEBUG reader-Some("rust") src/rpcclient.rs:207 <= Some("rust") {"jsonrpc":"2.0","id":1,"result":[{"originSelectionRange":{"start":{"line":2,"character":19},"end":{"line":2,"character":24}},"targetUri":"file:///home/jhf/tmp/junk/src/main.rs","targetRange":{"start":{"line":7,"character":0},"end":{"line":9,"character":1}},"targetSelectionRange":{"start":{"line":7,"character":3},"end":{"line":7,"character":8}}}]}
20:36:42 ERROR reader-Some("rust") src/rpcclient.rs:64 Thread reader-Some("rust") exited with error: Failed to send output: "SendError(..)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment