2020-09-20 23:48:28.705816754 [ThreadId 5] - haskell-lsp:Starting up server ... 2020-09-20 23:48:28.706628553 [ThreadId 5] - ---> {"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.158 "},"processId":435063,"rootPath":"/tmp","rootUri":"file:///tmp","trace":"off"},"id":0} 2020-09-20 23:48:28.707350625 [ThreadId 5] - haskell-lsp:initializeRequestHandler: setting current dir to project root:/tmp 2020-09-20 23:48:28.719493832 [ThreadId 7] - <--2--{"result":{"capabilities":{"typeDefinitionProvider":true,"foldingRangeProvider":false,"textDocumentSync":{"openClose":true,"change":2,"save":{}},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":true}},"implementationProvider":true,"documentRangeFormattingProvider":true,"documentHighlightProvider":true,"executeCommandProvider":{"commands":["435069:eval:evalCommand","435069:ghcide:typesignature.add","435069:importLens:ImportLensCommand","435069:pragmas:addPragma","435069:retrie:retrieCommand","435069:tactic:tacticsIntrosCommand","435069:tactic:tacticsDestructCommand","435069:tactic:tacticsHomomorphismCommand"]},"renameProvider":false,"colorProvider":false,"definitionProvider":true,"hoverProvider":true,"codeActionProvider":true,"completionProvider":{"triggerCharacters":["."],"resolveProvider":false},"codeLensProvider":{},"documentSymbolProvider":true,"documentFormattingProvider":true}},"jsonrpc":"2.0","id":0} 2020-09-20 23:48:28.72036923 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"initialized","params":{}} 2020-09-20 23:48:28.72067033 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"haskell","text":"x = 3\n\ny = x\n","uri":"file:///tmp/asdf.hs","version":0}}} 2020-09-20 23:48:28.72078267 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"textDocument/codeLens","params":{"textDocument":{"uri":"file:///tmp/asdf.hs"}},"id":1} 2020-09-20 23:48:28.720909509 [ThreadId 21] - Set files of interest to: [(NormalizedFilePath "/tmp/asdf.hs",Modified)] 2020-09-20 23:48:28.721066783 [ThreadId 20] - Finishing build session(exception: AsyncCancelled) 2020-09-20 23:48:28.72113608 [ThreadId 21] - Restarting build session (aborting the previous one took 0.00s) 2020-09-20 23:48:28.721222874 [ThreadId 21] - Opened text document: file:///tmp/asdf.hs 2020-09-20 23:48:28.721453583 [ThreadId 51] - Plugin.makeCodeLens (ideLogger) 2020-09-20 23:48:28.722431142 [ThreadId 65] - Consulting the cradle for "asdf.hs" 2020-09-20 23:48:28.723961651 [ThreadId 7] - <--2--{"jsonrpc":"2.0","params":{"type":2,"message":"No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for asdf.hs.\n Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie)"},"method":"window/showMessage"} 2020-09-20 23:48:28.762796063 [ThreadId 65] - Session loading result: Right (ComponentOptions {componentOptions = [], componentRoot = "/tmp", componentDependencies = []},"/home/googleson78/.ghcup/ghc/8.6.5/lib/ghc-8.6.5") 2020-09-20 23:48:28.816865234 [ThreadId 65] - Using interface files cache dir: /home/googleson78/.cache/ghcide/main-da39a3ee5e6b4b0d3255bfef95601890afd80709 2020-09-20 23:48:28.816976519 [ThreadId 65] - Making new HscEnv[main] 2020-09-20 23:48:28.828394932 [ThreadId 65] - New Component Cache HscEnvEq: (([],Just HscEnvEq 2),fromList []) 2020-09-20 23:48:28.828550217 [ThreadId 65] - Known files updated: fromList [(special,["/tmp/asdf.hs"])] 2020-09-20 23:48:28.828991092 [ThreadId 36] - Finishing build session(exception: AsyncCancelled) 2020-09-20 23:48:28.829048412 [ThreadId 65] - Restarting build session (aborting the previous one took 0.00s) 2020-09-20 23:48:28.832112674 [ThreadId 7] - <--2--{"jsonrpc":"2.0","params":{"registrations":[{"registerOptions":{"watchers":[{"kind":5,"globPattern":"/tmp/Prelude.hs"}]},"method":"workspace/didChangeWatchedFiles","id":"/tmp/Prelude.hs"}]},"method":"client/registerCapability","id":0} 2020-09-20 23:48:28.832251057 [ThreadId 7] - <--2--{"jsonrpc":"2.0","params":{"registrations":[{"registerOptions":{"watchers":[{"kind":5,"globPattern":"/tmp/Prelude.lhs"}]},"method":"workspace/didChangeWatchedFiles","id":"/tmp/Prelude.lhs"}]},"method":"client/registerCapability","id":1} 2020-09-20 23:48:28.832426095 [ThreadId 5] - ---> {"jsonrpc":"2.0","error":{"code":-32603,"message":"entity not found"},"id":0} 2020-09-20 23:48:28.832514692 [ThreadId 5] - haskell-lsp:Got reply message:"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32603,\"message\":\"entity not found\"},\"id\":0}" 2020-09-20 23:48:28.832575304 [ThreadId 5] - ---> {"jsonrpc":"2.0","error":{"code":-32603,"message":"entity not found"},"id":1} 2020-09-20 23:48:28.832626197 [ThreadId 5] - haskell-lsp:Got reply message:"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32603,\"message\":\"entity not found\"},\"id\":1}" 2020-09-20 23:48:28.850665868 [ThreadId 155] - finish: InitialLoad (took 0.02s) 2020-09-20 23:48:28.850751085 [ThreadId 156] - finish: importLens (took 0.00s) 2020-09-20 23:48:28.850815093 [ThreadId 158] - finish: importLens (took 0.00s) 2020-09-20 23:48:28.852109164 [ThreadId 7] - <--2--{"result":[{"command":{"command":"435069:ghcide:typesignature.add","arguments":[{"changes":{"file:///tmp/asdf.hs":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":0}},"newText":"x :: Integer\n"}]}}],"title":"x :: Integer"},"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":1}}},{"command":{"command":"435069:ghcide:typesignature.add","arguments":[{"changes":{"file:///tmp/asdf.hs":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"newText":"y :: Integer\n"}]}}],"title":"y :: Integer"},"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":1}}}],"jsonrpc":"2.0","id":1} 2020-09-20 23:48:29.929285962 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"textDocument/didSave","params":{"textDocument":{"uri":"file:///tmp/asdf.hs"}}} 2020-09-20 23:48:29.929528764 [ThreadId 21] - Set files of interest to: [(NormalizedFilePath "/tmp/asdf.hs",OnDisk)] 2020-09-20 23:48:29.929723257 [ThreadId 74] - Finishing build session(exception: AsyncCancelled) 2020-09-20 23:48:29.929780908 [ThreadId 21] - Restarting build session (aborting the previous one took 0.00s) 2020-09-20 23:48:29.92985845 [ThreadId 21] - Saved text document: file:///tmp/asdf.hs 2020-09-20 23:48:29.931116016 [ThreadId 215] - Typechecking reverse dependencies forNormalizedFilePath "/tmp/asdf.hs": [] 2020-09-20 23:48:29.931194781 [ThreadId 215] - finish: ParentTC (took 0.00s) 2020-09-20 23:48:37.83544143 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"textDocument/codeAction","params":{"context":{"diagnostics":[]},"range":{"end":{"character":0,"line":0},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///tmp/asdf.hs"}},"id":2} 2020-09-20 23:48:37.835822872 [ThreadId 223] - finish: CodeAction (took 0.00s) 2020-09-20 23:48:43.221471183 [ThreadId 231] - finish: CodeAction:PackageExports (took 5.39s) 2020-09-20 23:48:43.221718546 [ThreadId 232] - finish: C:TypeCheck (took 0.00s) 2020-09-20 23:48:43.22175307 [ThreadId 234] - finish: C:GetModSummary (took 0.00s) 2020-09-20 23:48:43.221932587 [ThreadId 240] - finish: tactic (took 0.00s) 2020-09-20 23:48:43.222145095 [ThreadId 245] - finish: tactic (took 0.00s) 2020-09-20 23:48:43.222399283 [ThreadId 7] - <--2--{"result":[{"command":{"command":"435069:retrie:retrieCommand","arguments":[{"restrictToOriginatingFile":false,"rewrites":[{"Right":{"tag":"Unfold","contents":"Main.x"}},{"Left":{"ideclSource":false,"ideclNameString":"Main","ideclThing":"x","ideclQualifiedBool":false,"ideclAsString":null}},{"Left":{"ideclSource":false,"ideclNameString":"GHC.Num","ideclThing":"fromInteger","ideclQualifiedBool":false,"ideclAsString":null}}],"originatingFile":"/tmp/asdf.hs","description":"Unfold x"}],"title":"Unfold x"},"kind":"refactor.inline","title":"Unfold x"},{"command":{"command":"435069:retrie:retrieCommand","arguments":[{"restrictToOriginatingFile":true,"rewrites":[{"Right":{"tag":"Unfold","contents":"Main.x"}},{"Left":{"ideclSource":false,"ideclNameString":"Main","ideclThing":"x","ideclQualifiedBool":false,"ideclAsString":null}},{"Left":{"ideclSource":false,"ideclNameString":"GHC.Num","ideclThing":"fromInteger","ideclQualifiedBool":false,"ideclAsString":null}}],"originatingFile":"/tmp/asdf.hs","description":"Unfold x in current file"}],"title":"Unfold x in current file"},"kind":"refactor.inline","title":"Unfold x in current file"},{"command":{"command":"435069:retrie:retrieCommand","arguments":[{"restrictToOriginatingFile":false,"rewrites":[{"Right":{"tag":"Fold","contents":"Main.x"}}],"originatingFile":"/tmp/asdf.hs","description":"Fold x"}],"title":"Fold x"},"kind":"refactor.extract","title":"Fold x"},{"command":{"command":"435069:retrie:retrieCommand","arguments":[{"restrictToOriginatingFile":true,"rewrites":[{"Right":{"tag":"Fold","contents":"Main.x"}}],"originatingFile":"/tmp/asdf.hs","description":"Fold x in current file"}],"title":"Fold x in current file"},"kind":"refactor.extract","title":"Fold x in current file"}],"jsonrpc":"2.0","id":2} 2020-09-20 23:48:44.018291934 [ThreadId 5] - ---> {"jsonrpc":"2.0","method":"workspace/executeCommand","params":{"arguments":[{"description":"Unfold x","originatingFile":"/tmp/asdf.hs","restrictToOriginatingFile":false,"rewrites":[{"Right":{"contents":"Main.x","tag":"Unfold"}},{"Left":{"ideclAsString":null,"ideclNameString":"Main","ideclQualifiedBool":false,"ideclSource":false,"ideclThing":"x"}},{"Left":{"ideclAsString":null,"ideclNameString":"GHC.Num","ideclQualifiedBool":false,"ideclSource":false,"ideclThing":"fromInteger"}}]}],"command":"435069:retrie:retrieCommand"},"id":3} 2020-09-20 23:48:44.019230653 [ThreadId 250] - finish: Retrie.GhcSessionDeps (took 0.00s) 2020-09-20 23:48:44.019461513 [ThreadId 252] - finish: C:GetParsedModule (took 0.00s) 2020-09-20 23:48:44.019926322 [ThreadId 258] - finish: C:GetModIface (took 0.00s) 2020-09-20 23:48:44.031501374 [ThreadId 265] - finish: Retrie.GetFileContents (took 0.00s) 2020-09-20 23:48:44.031717676 [ThreadId 267] - finish: C:GetParsedModule (took 0.00s) 2020-09-20 23:48:44.031742844 [ThreadId 269] - finish: C:GetModIface (took 0.00s) 2020-09-20 23:48:44.035041601 [ThreadId 7] - <--2--{"result":null,"jsonrpc":"2.0","id":3} 2020-09-20 23:48:44.035937166 [ThreadId 7] - <--2--{"jsonrpc":"2.0","params":{"edit":{"changes":{"/tmp/asdf.hs":[{"range":{"start":{"line":2,"character":4},"end":{"line":2,"character":5}},"newText":"3"}]}}},"method":"workspace/applyEdit","id":2} 2020-09-20 23:48:44.036543404 [ThreadId 5] - ---> {"jsonrpc":"2.0","error":{"code":-32603,"message":"invalid value: string \"/tmp/asdf.hs\", expected relative URL without a base"},"id":2} 2020-09-20 23:48:44.036704076 [ThreadId 5] - haskell-lsp:Got reply message:"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":-32603,\"message\":\"invalid value: string \\\"/tmp/asdf.hs\\\", expected relative URL without a base\"},\"id\":2}"