[client] run command: "/home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3 --lsp" [client] debug command: "/home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3 --lsp" [client] server cwd: undefined haskell-language-server version: 0.5.1.0 (GHC: 8.8.3) (PATH: /home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3) (GIT hash: e3fe0e7546aa91e44cc56cfe8ec078a026cf533a) Starting (haskell-language-server)LSP server... with arguments: LspArguments {argLSP = True, argsCwd = Nothing, argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} with plugins: [PluginId "brittany",PluginId "eval",PluginId "floskell",PluginId "fourmolu",PluginId "ghcide",PluginId "importLens",PluginId "ormolu",PluginId "pragmas",PluginId "retrie",PluginId "stylish-haskell",PluginId "tactic"] in directory: /home/user/code/myproject If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option! Started LSP server in 0.01s 2020-11-09 18:49:36.929990407 [ThreadId 21] - Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8153209061171765366 "file:///home/user/code/myproject"], clientSettings = hashed Nothing} 2020-11-09 18:49:36.931759775 [ThreadId 21] - Configuration changed: Object (fromList [("haskell",Object (fromList [("logFile",String ""),("updateBehavior",String "keep-up-to-date"),("hlintOn",Bool True),("formatOnImportOn",Bool True),("indentationRules",Object (fromList [("enabled",Bool True)])),("liquidOn",Bool False),("languageServerVariant",String "haskell-language-server"),("serverExecutablePath",String ""),("diagnosticsOnChange",Bool True),("completionSnippetsOn",Bool True),("maxNumberOfProblems",Number 100.0),("formattingProvider",String "ormolu"),("trace",Object (fromList [("server",String "off")]))]))]) 2020-11-09 18:49:36.934536111 [ThreadId 21] - Opened text document: file:///home/user/code/myproject/package1/src/{OBFUSCATED}.hs 2020-11-09 18:49:36.935934738 [ThreadId 81] - Consulting the cradle for "package1/src/{OBFUSCATED}.hs" Output from setting up the cradle Cradle {cradleRootDir = "/home/user/code/myproject", cradleOptsProg = CradleAction: Stack} 2020-11-09 18:49:37.195802161 [ThreadId 101] - Plugin.makeCodeLens (ideLogger) > Configuring GHCi with the following packages: package1 > /home/user/code/myproject/.stack-work/install/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/snapshots/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/programs/x86_64-linux/ghc-8.8.3/lib/ghc-8.8.3/package.conf.d 2020-11-09 18:49:39.073318155 [ThreadId 81] - Using interface files cache dir: /home/user/.cache/ghcide/main-e476be0a9d063772b44288021e38ae802a5a070e 2020-11-09 18:49:39.073666455 [ThreadId 81] - Making new HscEnv[main] 2020-11-09 18:49:39.313768143 [ThreadId 147] - finish: CodeAction (took 0.08s) 2020-11-09 18:49:40.571618425 [ThreadId 1425] - finish: CodeAction:PackageExports (took 1.26s) 2020-11-09 18:49:40.571886829 [ThreadId 1426] - finish: importLens (took 0.00s) [Info - 6:49:42 PM] Connection to server got closed. Server will restart. [Error - 6:49:42 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) [Error - 6:49:42 PM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) haskell-language-server version: 0.5.1.0 (GHC: 8.8.3) (PATH: /home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3) (GIT hash: e3fe0e7546aa91e44cc56cfe8ec078a026cf533a) Starting (haskell-language-server)LSP server... with arguments: LspArguments {argLSP = True, argsCwd = Nothing, argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} with plugins: [PluginId "brittany",PluginId "eval",PluginId "floskell",PluginId "fourmolu",PluginId "ghcide",PluginId "importLens",PluginId "ormolu",PluginId "pragmas",PluginId "retrie",PluginId "stylish-haskell",PluginId "tactic"] in directory: /home/user/code/myproject If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option! Started LSP server in 0.00s 2020-11-09 18:49:42.55461671 [ThreadId 21] - Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8153209061171765366 "file:///home/user/code/myproject"], clientSettings = hashed Nothing} 2020-11-09 18:49:42.555520224 [ThreadId 21] - Configuration changed: Object (fromList [("haskell",Object (fromList [("logFile",String ""),("updateBehavior",String "keep-up-to-date"),("hlintOn",Bool True),("formatOnImportOn",Bool True),("indentationRules",Object (fromList [("enabled",Bool True)])),("liquidOn",Bool False),("languageServerVariant",String "haskell-language-server"),("serverExecutablePath",String ""),("diagnosticsOnChange",Bool True),("completionSnippetsOn",Bool True),("maxNumberOfProblems",Number 100.0),("formattingProvider",String "ormolu"),("trace",Object (fromList [("server",String "off")]))]))]) 2020-11-09 18:49:42.556872835 [ThreadId 21] - Opened text document: file:///home/user/code/myproject/package1/src/{OBFUSCATED}.hs 2020-11-09 18:49:42.557922969 [ThreadId 72] - Consulting the cradle for "package1/src/{OBFUSCATED}.hs" Output from setting up the cradle Cradle {cradleRootDir = "/home/user/code/myproject", cradleOptsProg = CradleAction: Stack} 2020-11-09 18:49:42.828790968 [ThreadId 92] - Plugin.makeCodeLens (ideLogger) > Configuring GHCi with the following packages: package1 > /home/user/code/myproject/.stack-work/install/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/snapshots/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/programs/x86_64-linux/ghc-8.8.3/lib/ghc-8.8.3/package.conf.d 2020-11-09 18:49:44.488227459 [ThreadId 72] - Using interface files cache dir: /home/user/.cache/ghcide/main-e476be0a9d063772b44288021e38ae802a5a070e 2020-11-09 18:49:44.488559508 [ThreadId 72] - Making new HscEnv[main] 2020-11-09 18:49:44.736367314 [ThreadId 215] - finish: CodeAction (took 0.08s) 2020-11-09 18:49:45.862989892 [ThreadId 1408] - finish: CodeAction:PackageExports (took 1.13s) 2020-11-09 18:49:45.863306423 [ThreadId 1409] - finish: importLens (took 0.00s) [Info - 6:49:47 PM] Connection to server got closed. Server will restart. [Error - 6:49:47 PM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) [Error - 6:49:47 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) haskell-language-server version: 0.5.1.0 (GHC: 8.8.3) (PATH: /home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3) (GIT hash: e3fe0e7546aa91e44cc56cfe8ec078a026cf533a) Starting (haskell-language-server)LSP server... with arguments: LspArguments {argLSP = True, argsCwd = Nothing, argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} with plugins: [PluginId "brittany",PluginId "eval",PluginId "floskell",PluginId "fourmolu",PluginId "ghcide",PluginId "importLens",PluginId "ormolu",PluginId "pragmas",PluginId "retrie",PluginId "stylish-haskell",PluginId "tactic"] in directory: /home/user/code/myproject If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option! Started LSP server in 0.00s 2020-11-09 18:49:47.8301737 [ThreadId 29] - Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8153209061171765366 "file:///home/user/code/myproject"], clientSettings = hashed Nothing} 2020-11-09 18:49:47.832461181 [ThreadId 29] - Configuration changed: Object (fromList [("haskell",Object (fromList [("logFile",String ""),("updateBehavior",String "keep-up-to-date"),("hlintOn",Bool True),("formatOnImportOn",Bool True),("indentationRules",Object (fromList [("enabled",Bool True)])),("liquidOn",Bool False),("languageServerVariant",String "haskell-language-server"),("serverExecutablePath",String ""),("diagnosticsOnChange",Bool True),("completionSnippetsOn",Bool True),("maxNumberOfProblems",Number 100.0),("formattingProvider",String "ormolu"),("trace",Object (fromList [("server",String "off")]))]))]) 2020-11-09 18:49:47.833316411 [ThreadId 29] - Opened text document: file:///home/user/code/myproject/package1/src/{OBFUSCATED}.hs 2020-11-09 18:49:47.834129906 [ThreadId 72] - Consulting the cradle for "package1/src/{OBFUSCATED}.hs" Output from setting up the cradle Cradle {cradleRootDir = "/home/user/code/myproject", cradleOptsProg = CradleAction: Stack} 2020-11-09 18:49:48.085125391 [ThreadId 92] - Plugin.makeCodeLens (ideLogger) > Configuring GHCi with the following packages: package1 > /home/user/code/myproject/.stack-work/install/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/snapshots/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/programs/x86_64-linux/ghc-8.8.3/lib/ghc-8.8.3/package.conf.d 2020-11-09 18:49:49.764464234 [ThreadId 72] - Using interface files cache dir: /home/user/.cache/ghcide/main-e476be0a9d063772b44288021e38ae802a5a070e 2020-11-09 18:49:49.764765512 [ThreadId 72] - Making new HscEnv[main] 2020-11-09 18:49:50.331574778 [ThreadId 216] - finish: CodeAction (took 0.40s) 2020-11-09 18:49:51.127709223 [ThreadId 1563] - finish: CodeAction:PackageExports (took 0.80s) 2020-11-09 18:49:51.148695804 [ThreadId 1564] - finish: importLens (took 0.00s) [Info - 6:49:53 PM] Connection to server got closed. Server will restart. [Error - 6:49:53 PM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) [Error - 6:49:53 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) haskell-language-server version: 0.5.1.0 (GHC: 8.8.3) (PATH: /home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3) (GIT hash: e3fe0e7546aa91e44cc56cfe8ec078a026cf533a) Starting (haskell-language-server)LSP server... with arguments: LspArguments {argLSP = True, argsCwd = Nothing, argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} with plugins: [PluginId "brittany",PluginId "eval",PluginId "floskell",PluginId "fourmolu",PluginId "ghcide",PluginId "importLens",PluginId "ormolu",PluginId "pragmas",PluginId "retrie",PluginId "stylish-haskell",PluginId "tactic"] in directory: /home/user/code/myproject If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option! Started LSP server in 0.00s 2020-11-09 18:49:53.103374978 [ThreadId 21] - Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8153209061171765366 "file:///home/user/code/myproject"], clientSettings = hashed Nothing} 2020-11-09 18:49:53.104585238 [ThreadId 21] - Configuration changed: Object (fromList [("haskell",Object (fromList [("logFile",String ""),("updateBehavior",String "keep-up-to-date"),("hlintOn",Bool True),("formatOnImportOn",Bool True),("indentationRules",Object (fromList [("enabled",Bool True)])),("liquidOn",Bool False),("languageServerVariant",String "haskell-language-server"),("serverExecutablePath",String ""),("diagnosticsOnChange",Bool True),("completionSnippetsOn",Bool True),("maxNumberOfProblems",Number 100.0),("formattingProvider",String "ormolu"),("trace",Object (fromList [("server",String "off")]))]))]) 2020-11-09 18:49:53.106161403 [ThreadId 21] - Opened text document: file:///home/user/code/myproject/package1/src/{OBFUSCATED}.hs 2020-11-09 18:49:53.107612161 [ThreadId 72] - Consulting the cradle for "package1/src/{OBFUSCATED}.hs" Output from setting up the cradle Cradle {cradleRootDir = "/home/user/code/myproject", cradleOptsProg = CradleAction: Stack} 2020-11-09 18:49:53.360638103 [ThreadId 92] - Plugin.makeCodeLens (ideLogger) > Configuring GHCi with the following packages: package1 > /home/user/code/myproject/.stack-work/install/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/snapshots/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/programs/x86_64-linux/ghc-8.8.3/lib/ghc-8.8.3/package.conf.d 2020-11-09 18:49:55.137851729 [ThreadId 72] - Using interface files cache dir: /home/user/.cache/ghcide/main-e476be0a9d063772b44288021e38ae802a5a070e 2020-11-09 18:49:55.138160188 [ThreadId 72] - Making new HscEnv[main] 2020-11-09 18:49:55.363536945 [ThreadId 214] - finish: CodeAction (took 0.06s) 2020-11-09 18:49:56.550654995 [ThreadId 1420] - finish: CodeAction:PackageExports (took 1.19s) 2020-11-09 18:49:56.550902414 [ThreadId 1421] - finish: importLens (took 0.00s) [Info - 6:49:58 PM] Connection to server got closed. Server will restart. [Error - 6:49:58 PM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) [Error - 6:49:58 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) haskell-language-server version: 0.5.1.0 (GHC: 8.8.3) (PATH: /home/user/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-0.5.1-linux-8.8.3) (GIT hash: e3fe0e7546aa91e44cc56cfe8ec078a026cf533a) Starting (haskell-language-server)LSP server... with arguments: LspArguments {argLSP = True, argsCwd = Nothing, argFiles = [], argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False} with plugins: [PluginId "brittany",PluginId "eval",PluginId "floskell",PluginId "fourmolu",PluginId "ghcide",PluginId "importLens",PluginId "ormolu",PluginId "pragmas",PluginId "retrie",PluginId "stylish-haskell",PluginId "tactic"] in directory: /home/user/code/myproject If you are seeing this in a terminal, you probably should have run ghcide WITHOUT the --lsp option! Started LSP server in 0.00s 2020-11-09 18:49:58.692986579 [ThreadId 21] - Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8153209061171765366 "file:///home/user/code/myproject"], clientSettings = hashed Nothing} 2020-11-09 18:49:58.694147606 [ThreadId 21] - Configuration changed: Object (fromList [("haskell",Object (fromList [("logFile",String ""),("updateBehavior",String "keep-up-to-date"),("hlintOn",Bool True),("formatOnImportOn",Bool True),("indentationRules",Object (fromList [("enabled",Bool True)])),("liquidOn",Bool False),("languageServerVariant",String "haskell-language-server"),("serverExecutablePath",String ""),("diagnosticsOnChange",Bool True),("completionSnippetsOn",Bool True),("maxNumberOfProblems",Number 100.0),("formattingProvider",String "ormolu"),("trace",Object (fromList [("server",String "off")]))]))]) 2020-11-09 18:49:58.694787081 [ThreadId 21] - Opened text document: file:///home/user/code/myproject/package1/src/{OBFUSCATED}.hs 2020-11-09 18:49:58.695864957 [ThreadId 72] - Consulting the cradle for "package1/src/{OBFUSCATED}.hs" Output from setting up the cradle Cradle {cradleRootDir = "/home/user/code/myproject", cradleOptsProg = CradleAction: Stack} 2020-11-09 18:49:58.948081691 [ThreadId 92] - Plugin.makeCodeLens (ideLogger) > Configuring GHCi with the following packages: package1 > /home/user/code/myproject/.stack-work/install/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/snapshots/x86_64-linux/3ba3be39c2d51718607901a841f3489002e92782e920643a43a0b3967fbc4260/8.8.3/pkgdb:/home/user/.stack/programs/x86_64-linux/ghc-8.8.3/lib/ghc-8.8.3/package.conf.d 2020-11-09 18:50:00.682754049 [ThreadId 72] - Using interface files cache dir: /home/user/.cache/ghcide/main-e476be0a9d063772b44288021e38ae802a5a070e 2020-11-09 18:50:00.683057223 [ThreadId 72] - Making new HscEnv[main] 2020-11-09 18:50:00.910053074 [ThreadId 213] - finish: CodeAction (took 0.06s) 2020-11-09 18:50:02.121581387 [ThreadId 1399] - finish: CodeAction:PackageExports (took 1.21s) 2020-11-09 18:50:02.121862973 [ThreadId 1400] - finish: importLens (took 0.00s) [Error - 6:50:04 PM] Connection to server got closed. Server will not be restarted. [Error - 6:50:04 PM] Request textDocument/codeAction failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12) [Error - 6:50:04 PM] Request textDocument/codeLens failed. Error: Connection got disposed. at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:90964) at Object.dispose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74243) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:74417) at D.handleConnectionClosed (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:247:9685) at t (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:72568) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at G (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:82879) at n.invoke (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233221) at i.fire (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:233951) at u.fireClose (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:252684) at Socket. (/home/user/.vscode/extensions/haskell.haskell-1.2.0/dist/extension.js:1:253441) at Socket.emit (events.js:228:7) at Pipe. (net.js:664:12)