Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error popup - Project requires GHC but it isn't installed using zsh as default shell #492

Closed
KristianBalaj opened this issue Oct 25, 2021 · 24 comments
Labels
status: need confirmation type: bug A bug or unintended effect type: setup Issues related with the extension setup, including binaries downloads

Comments

@KristianBalaj
Copy link

The error notification pops even though the GHC is installed and available on the PATH along with the Cabal.

I've found out it is happening only when I'm opening a project directory using a MacOS quick action configured as following https://www.jimbobbennett.io/open-anything-in-vs-code-using-a-macos-quick-action/
This error pops only when the VS Code is already running in the background (there is the dot under the VS Code icon in the Dock). In case it is a clean start of the VS Code it is not happening.

I'm using the /bin/zsh shell by default where the GHC is on the PATH and also I've setup the Quick action to run in the /bin/zsh (in the tutorial from the link above the Quick action is run in the /bin/bash).

VS Code output on error notification on startup
[client][ERROR] Error executing '/Users/kristian/Library/Application Support/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.4.0-darwin --project-ghc-version' with error code 1
[client][ERROR] stderr: No 'hie.yaml' found. Try to discover the project type!
Cradle requires ghc but couldn't find it
Cradle {cradleRootDir = "/Users/kristian/Documents/Kristian/haskell/test", cradleOptsProg = CradleAction: Default}
VS Code output when the project is started successfully
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper) Version 1.4.0.0, Git revision 253547816ee216c53ee7dacc0ad3cac43e863d30 (dirty) x86_64 ghc-8.10.4
Current directory: /Users/kristian/Documents/Kristian/haskell/vocabulary_proj
Operating system: darwin
Arguments: ["--lsp"]
Cradle directory: /Users/kristian/Documents/Kristian/haskell/vocabulary_proj
Cradle type: Cabal

Tool versions found on the $PATH
cabal:		3.4.1.0
stack:		2.7.3
ghc:		8.10.7


Consulting the cradle to get project GHC version...
Project GHC version: 8.10.7
haskell-language-server exe candidates: ["haskell-language-server-8.10.7","haskell-language-server"]
Launching haskell-language-server exe at:/Users/kristian/.ghcup/bin/haskell-language-server-8.10.7
haskell-language-server version: 1.4.0.0 (GHC: 8.10.7) (PATH: /Users/kristian/.ghcup/bin/haskell-language-server-8.10.7~1.4.0) (GIT hash: 253547816ee216c53ee7dacc0ad3cac43e863d30)
Starting (haskell-language-server)LSP server...
  with arguments: GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = False, argsLogFile = Nothing, argsThreads = 0, argsProjectGhcVersion = False}
  with plugins: [PluginId "pragmas",PluginId "floskell",PluginId "fourmolu",PluginId "tactics",PluginId "ormolu",PluginId "stylish-haskell",PluginId "retrie",PluginId "brittany",PluginId "callHierarchy",PluginId "class",PluginId "haddockComments",PluginId "eval",PluginId "importLens",PluginId "refineImports",PluginId "moduleName",PluginId "hlint",PluginId "splice",PluginId "ghcide-hover-and-symbols",PluginId "ghcide-code-actions-imports-exports",PluginId "ghcide-code-actions-type-signatures",PluginId "ghcide-code-actions-bindings",PluginId "ghcide-code-actions-fill-holes",PluginId "ghcide-completions",PluginId "ghcide-type-lenses",PluginId "ghcide-core"]
  in directory: /Users/kristian/Documents/Kristian/haskell/vocabulary_proj
 Starting LSP server...
If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option!
Started LSP server in 0.00s
setInitialDynFlags cradle: Cradle {cradleRootDir = "/Users/kristian/Documents/Kristian/haskell/vocabulary_proj", cradleOptsProg = CradleAction: Cabal}
2021-10-25 15:44:13.987882 [ThreadId 5] INFO hls:	Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8217034054562063489 "file:///Users/kristian/Documents/Kristian/haskell/vocabulary_proj"], clientSettings = hashed Nothing}
2021-10-25 15:44:14.004942 [ThreadId 75] INFO hls:	Consulting the cradle for "src/Main.hs"
2021-10-25 15:44:14.005075 [ThreadId 75] WARNING hls:	No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for src/Main.hs.
 Proceeding with [implicit cradle](https://hackage.haskell.org/package/implicit-hie).
You should ignore this message, unless you see a 'Multi Cradle: No prefixes matched' error.
Output from setting up the cradle Cradle {cradleRootDir = "/Users/kristian/Documents/Kristian/haskell/vocabulary_proj", cradleOptsProg = CradleAction: Cabal}
2021-10-25 15:44:14.093632 [ThreadId 103] INFO hie-bios:	Build profile: -w ghc-8.10.7 -O1
2021-10-25 15:44:14.093804 [ThreadId 103] INFO hie-bios:	In order, the following will be built (use -v for more details):
2021-10-25 15:44:14.093891 [ThreadId 103] INFO hie-bios:	 - vocabulary-proj-0.1.0.0 (exe:vocabulary-proj) (first run)
2021-10-25 15:44:14.198955 [ThreadId 103] INFO hie-bios:	Preprocessing executable 'vocabulary-proj' for vocabulary-proj-0.1.0.0..
2021-10-25 15:44:14.537335 [ThreadId 75] INFO hls:	Using interface files cache dir: /Users/kristian/.cache/ghcide/main-ee1b3ca9d394620e04bebf22ee4e49575125314b
2021-10-25 15:44:14.537524 [ThreadId 75] INFO hls:	Making new HscEnv[main]
2021-10-25 15:44:14.561483 [ThreadId 219] INFO hls:	finish: ModuleName.ghcSession (took 0.01s)
2021-10-25 15:44:14.5628 [ThreadId 232] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.01s)
2021-10-25 15:44:14.562798 [ThreadId 233] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.01s)
2021-10-25 15:44:14.562822 [ThreadId 231] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.01s)
2021-10-25 15:44:14.56357 [ThreadId 252] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.01s)
2021-10-25 15:44:14.563623 [ThreadId 256] INFO hls:	finish: HaddockComments.GetAnnotatedParsedSource (took 0.01s)
2021-10-25 15:44:14.56374 [ThreadId 252] INFO hls:	finish: Outline (took 0.02s)
2021-10-25 15:44:14.563825 [ThreadId 256] INFO hls:	finish: importLens (took 0.01s)
2021-10-25 15:44:14.563818 [ThreadId 226] INFO hls:	finish: splice.codeAction.GitHieAst (took 0.02s)
2021-10-25 15:44:14.56369 [ThreadId 260] INFO hls:	finish: GhcideCodeActions.getParsedModule (took 0.02s)
2021-10-25 15:44:14.563943 [ThreadId 258] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:14.563639 [ThreadId 257] INFO hls:	finish: HaddockComments.GetAnnotatedParsedSource (took 0.01s)
2021-10-25 15:44:14.563995 [ThreadId 252] INFO hls:	finish: RefineImports (took 0.01s)
2021-10-25 15:44:14.564048 [ThreadId 256] INFO hls:	finish: RefineImports (took 0.01s)
2021-10-25 15:44:14.564064 [ThreadId 226] INFO hls:	finish: importLens (took 0.01s)
2021-10-25 15:44:14.564138 [ThreadId 258] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:14.564162 [ThreadId 257] INFO hls:	finish: GhcideCodeActions.getParsedModule (took 0.02s)
2021-10-25 15:44:14.564183 [ThreadId 252] INFO hls:	finish: Pragmas.GetParsedModule (took 0.02s)
2021-10-25 15:44:14.564204 [ThreadId 255] INFO hls:	finish: Pragmas.GetParsedModule (took 0.02s)
2021-10-25 15:44:14.564301 [ThreadId 260] INFO hls:	finish: Pragmas.GetFileContents (took 0.00s)
2021-10-25 15:44:14.564416 [ThreadId 256] INFO hls:	finish: Pragmas.GetFileContents (took 0.00s)
2021-10-25 15:44:14.564414 [ThreadId 258] INFO hls:	finish: splice.codeAction.GitHieAst (took 0.01s)
2021-10-25 15:44:14.667599 [ThreadId 392] INFO hls:	finish: codeLens.TypeCheck (took 0.12s)
2021-10-25 15:44:14.667676 [ThreadId 394] INFO hls:	finish: retrie (took 0.12s)
2021-10-25 15:44:14.667682 [ThreadId 397] INFO hls:	finish: retrie (took 0.11s)
2021-10-25 15:44:14.667887 [ThreadId 400] INFO hls:	finish:  (took 0.12s)
2021-10-25 15:44:14.668017 [ThreadId 403] INFO hls:	finish: RefineImports (took 0.12s)
2021-10-25 15:44:14.673131 [ThreadId 407] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.11s)
2021-10-25 15:44:14.673085 [ThreadId 408] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.11s)
2021-10-25 15:44:14.673271 [ThreadId 411] INFO hls:	finish: codeLens.GetBindings (took 0.01s)
2021-10-25 15:44:14.673353 [ThreadId 412] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.11s)
2021-10-25 15:44:14.673381 [ThreadId 410] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.67356 [ThreadId 415] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.673414 [ThreadId 413] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.673728 [ThreadId 408] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.673704 [ThreadId 407] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:14.673738 [ThreadId 414] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.673821 [ThreadId 411] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.674093 [ThreadId 410] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.67413 [ThreadId 415] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.674123 [ThreadId 412] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.674437 [ThreadId 408] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.674442 [ThreadId 416] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.674424 [ThreadId 407] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.674452 [ThreadId 413] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.674459 [ThreadId 414] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.674692 [ThreadId 410] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.674788 [ThreadId 412] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.67487 [ThreadId 415] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.675184 [ThreadId 408] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.675198 [ThreadId 416] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.675308 [ThreadId 413] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.675311 [ThreadId 414] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:14.675323 [ThreadId 419] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.675377 [ThreadId 417] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.675472 [ThreadId 421] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.675632 [ThreadId 420] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.676015 [ThreadId 416] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.676007 [ThreadId 408] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.676069 [ThreadId 413] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.676209 [ThreadId 423] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.676216 [ThreadId 425] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.676259 [ThreadId 427] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.676281 [ThreadId 428] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.676275 [ThreadId 429] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.729662 [ThreadId 408] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.729658 [ThreadId 416] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.729724 [ThreadId 430] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.729913 [ThreadId 432] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.729958 [ThreadId 434] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.730145 [ThreadId 436] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.730278 [ThreadId 438] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.730275 [ThreadId 440] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.73036 [ThreadId 442] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.730413 [ThreadId 444] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.730486 [ThreadId 446] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.730665 [ThreadId 448] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.730803 [ThreadId 450] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.730931 [ThreadId 452] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.731045 [ThreadId 454] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.73147 [ThreadId 456] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.731613 [ThreadId 458] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.731645 [ThreadId 460] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.731698 [ThreadId 462] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.731764 [ThreadId 464] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.731791 [ThreadId 466] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.732178 [ThreadId 468] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.732233 [ThreadId 470] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.732308 [ThreadId 472] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.732567 [ThreadId 474] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.732617 [ThreadId 476] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.732699 [ThreadId 478] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.732756 [ThreadId 480] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.732828 [ThreadId 482] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.732978 [ThreadId 484] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.733339 [ThreadId 486] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.733902 [ThreadId 488] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.734062 [ThreadId 490] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.734367 [ThreadId 492] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.734501 [ThreadId 494] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.734643 [ThreadId 496] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.734965 [ThreadId 498] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.735095 [ThreadId 500] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.735513 [ThreadId 504] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.735465 [ThreadId 502] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.735538 [ThreadId 506] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.735653 [ThreadId 510] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.735686 [ThreadId 508] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.735773 [ThreadId 512] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.735922 [ThreadId 516] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.735958 [ThreadId 518] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.735868 [ThreadId 514] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.736123 [ThreadId 520] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.736151 [ThreadId 522] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.736237 [ThreadId 524] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.736301 [ThreadId 528] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.736295 [ThreadId 526] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.736529 [ThreadId 532] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.736386 [ThreadId 530] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.73665 [ThreadId 534] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.736694 [ThreadId 536] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.736727 [ThreadId 538] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.736739 [ThreadId 540] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.736886 [ThreadId 542] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.736987 [ThreadId 546] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.736968 [ThreadId 544] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.737091 [ThreadId 548] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.737167 [ThreadId 552] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.737179 [ThreadId 550] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.73724 [ThreadId 554] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.737264 [ThreadId 556] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.737384 [ThreadId 558] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.73755 [ThreadId 560] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.737625 [ThreadId 562] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.737698 [ThreadId 564] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.737787 [ThreadId 566] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.737848 [ThreadId 568] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.737901 [ThreadId 570] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.737936 [ThreadId 572] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.737975 [ThreadId 574] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.738003 [ThreadId 576] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.738107 [ThreadId 578] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.738143 [ThreadId 580] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.738299 [ThreadId 586] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.738201 [ThreadId 582] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.738348 [ThreadId 588] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.738409 [ThreadId 590] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.73826 [ThreadId 584] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.738464 [ThreadId 589] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.738684 [ThreadId 591] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.73869 [ThreadId 586] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.738711 [ThreadId 592] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.738738 [ThreadId 594] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.738843 [ThreadId 596] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.7391 [ThreadId 598] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.739183 [ThreadId 600] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.739226 [ThreadId 602] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:14.739325 [ThreadId 604] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:14.739482 [ThreadId 607] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:14.739545 [ThreadId 609] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.820152 [ThreadId 621] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:14.820163 [ThreadId 623] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:14.82032 [ThreadId 627] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:14.820332 [ThreadId 625] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:14.820403 [ThreadId 629] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:14.820438 [ThreadId 631] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:14.820487 [ThreadId 634] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:14.82049 [ThreadId 633] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:14.820541 [ThreadId 636] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:14.820629 [ThreadId 638] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:14.820859 [ThreadId 642] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:14.820749 [ThreadId 640] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:14.821225 [ThreadId 644] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:15.619946 [ThreadId 656] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:15.619997 [ThreadId 658] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:15.619992 [ThreadId 660] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.620056 [ThreadId 664] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:15.620074 [ThreadId 662] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:15.620103 [ThreadId 666] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:15.620134 [ThreadId 668] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:15.620167 [ThreadId 670] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:15.620243 [ThreadId 674] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:15.620221 [ThreadId 672] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:15.620347 [ThreadId 676] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:15.620447 [ThreadId 678] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.620949 [ThreadId 680] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:15.62767 [ThreadId 699] INFO hls:	finish: Pragmas.GetParsedModule (took 0.00s)
2021-10-25 15:44:15.627816 [ThreadId 701] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:15.628193 [ThreadId 703] INFO hls:	finish: HaddockComments.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:15.628341 [ThreadId 718] INFO hls:	finish: splice.codeAction.GitHieAst (took 0.00s)
2021-10-25 15:44:15.628275 [ThreadId 715] INFO hls:	finish: importLens (took 0.00s)
2021-10-25 15:44:15.628443 [ThreadId 713] INFO hls:	finish: GhcideCodeActions.getParsedModule (took 0.00s)
2021-10-25 15:44:15.628647 [ThreadId 720] INFO hls:	finish: retrie (took 0.00s)
2021-10-25 15:44:15.62866 [ThreadId 722] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.628703 [ThreadId 724] INFO hls:	finish: Pragmas.GetFileContents (took 0.00s)
2021-10-25 15:44:15.628843 [ThreadId 726] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:15.628905 [ThreadId 728] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:15.629212 [ThreadId 730] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:15.629343 [ThreadId 732] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.629408 [ThreadId 734] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:15.629433 [ThreadId 736] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:15.629505 [ThreadId 738] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.629516 [ThreadId 740] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:15.629578 [ThreadId 742] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:15.629629 [ThreadId 744] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.629673 [ThreadId 746] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:15.629761 [ThreadId 748] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:15.629764 [ThreadId 750] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.630078 [ThreadId 752] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:15.630068 [ThreadId 754] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:15.630254 [ThreadId 756] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.630373 [ThreadId 758] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.630472 [ThreadId 760] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.63055 [ThreadId 762] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.630628 [ThreadId 764] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.630684 [ThreadId 766] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.630744 [ThreadId 768] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.630966 [ThreadId 771] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.631037 [ThreadId 773] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.631286 [ThreadId 775] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.631394 [ThreadId 777] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.631507 [ThreadId 779] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.631783 [ThreadId 781] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.632 [ThreadId 783] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.632126 [ThreadId 785] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.632227 [ThreadId 787] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.63233 [ThreadId 789] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.632572 [ThreadId 791] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.632681 [ThreadId 793] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.632812 [ThreadId 795] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.632875 [ThreadId 797] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.632921 [ThreadId 799] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.633143 [ThreadId 801] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.633259 [ThreadId 803] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.633356 [ThreadId 805] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.633401 [ThreadId 807] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.633467 [ThreadId 809] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.633806 [ThreadId 811] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.633931 [ThreadId 813] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.63402 [ThreadId 815] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.634089 [ThreadId 817] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.634145 [ThreadId 819] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.634342 [ThreadId 821] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.634419 [ThreadId 823] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.634559 [ThreadId 825] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.634679 [ThreadId 827] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.634789 [ThreadId 829] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.635071 [ThreadId 831] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.63519 [ThreadId 833] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.635303 [ThreadId 835] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.635377 [ThreadId 837] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.635434 [ThreadId 839] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.635629 [ThreadId 841] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.635708 [ThreadId 843] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.635776 [ThreadId 845] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.63582 [ThreadId 847] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.63589 [ThreadId 849] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.636078 [ThreadId 851] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.636149 [ThreadId 853] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.636274 [ThreadId 855] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.63638 [ThreadId 857] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.636486 [ThreadId 859] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.636713 [ThreadId 861] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.636857 [ThreadId 863] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.636978 [ThreadId 865] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.637047 [ThreadId 867] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.637124 [ThreadId 869] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.637284 [ThreadId 871] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.637361 [ThreadId 873] INFO hls:	finish: Wingman.judgementForHole.GetHieAst (took 0.00s)
2021-10-25 15:44:15.637486 [ThreadId 875] INFO hls:	finish: Wingman.judgementForHole.GetBindings (took 0.00s)
2021-10-25 15:44:15.637575 [ThreadId 877] INFO hls:	finish: Wingman.judgementForHole.TypeCheck (took 0.00s)
2021-10-25 15:44:15.637667 [ThreadId 879] INFO hls:	finish: Wingman.judgementForHole.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.646249 [ThreadId 886] INFO hls:	finish: Outline (took 0.00s)
2021-10-25 15:44:15.715751 [ThreadId 900] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:15.715726 [ThreadId 898] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:15.715959 [ThreadId 902] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:15.716052 [ThreadId 904] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:15.716167 [ThreadId 908] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:15.716208 [ThreadId 906] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:15.716225 [ThreadId 910] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:15.716416 [ThreadId 914] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:15.716383 [ThreadId 912] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:15.716667 [ThreadId 916] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:15.716999 [ThreadId 918] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:15.717064 [ThreadId 920] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:15.717136 [ThreadId 922] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:19.150781 [ThreadId 934] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:19.150887 [ThreadId 936] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:19.150687 [ThreadId 940] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:19.150695 [ThreadId 938] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:19.150627 [ThreadId 942] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:19.151186 [ThreadId 944] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:19.151301 [ThreadId 946] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:19.151312 [ThreadId 948] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:19.1514 [ThreadId 951] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:19.151599 [ThreadId 963] INFO hls:	finish: codeLens.TypeCheck (took 0.00s)
2021-10-25 15:44:19.151739 [ThreadId 962] INFO hls:	finish: RefineImports (took 0.00s)
2021-10-25 15:44:19.151761 [ThreadId 961] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:19.151815 [ThreadId 942] INFO hls:	finish: codeLens.GetBindings (took 0.00s)
2021-10-25 15:44:19.152097 [ThreadId 944] INFO hls:	finish:  (took 0.00s)
2021-10-25 15:44:19.152147 [ThreadId 946] INFO hls:	finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.00s)
2021-10-25 15:44:19.15224 [ThreadId 948] INFO hls:	finish: ModuleName.ghcSession (took 0.00s)
2021-10-25 15:44:19.152334 [ThreadId 963] INFO hls:	finish: codeLens.GetGlobalBindingTypeSigs (took 0.00s)
2021-10-25 15:44:19.152328 [ThreadId 951] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:19.152384 [ThreadId 962] INFO hls:	finish: eval.GetParsedModuleWithComments (took 0.00s)
2021-10-25 15:44:19.152537 [ThreadId 961] INFO hls:	finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.00s)
2021-10-25 15:44:19.152725 [ThreadId 944] INFO hls:	finish: Wingman.codeLensProvider.GetBindings (took 0.00s)
2021-10-25 15:44:19.152868 [ThreadId 948] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:19.152952 [ThreadId 946] INFO hls:	finish: Wingman.emptyCaseScrutinees.TypeCheck (took 0.00s)
2021-10-25 15:44:19.15292 [ThreadId 964] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
2021-10-25 15:44:19.153133 [ThreadId 965] INFO hls:	finish: Wingman.emptyCaseScrutinees.GhcSessionDeps (took 0.00s)
2021-10-25 15:44:19.153562 [ThreadId 968] INFO hls:	finish: ModuleName.GetParsedModule (took 0.00s)
ghcup tui
┌─────────────────────────────────────GHCup────────────────────────────────────┐
│    Tool  Version         Tags                          Notes                 │
│──────────────────────────────────────────────────────────────────────────────│
│✔✔  GHCup 0.1.17.2        latest,recommended                                  │
│──────────────────────────────────────────────────────────────────────────────│
│✔✔  Stack 2.7.3           latest,recommended                                  │
│──────────────────────────────────────────────────────────────────────────────│
│✔✔  HLS   1.4.0           latest,recommended                                  │
│✗   HLS   1.3.0                                                               │
│──────────────────────────────────────────────────────────────────────────────│
│✗   cabal 3.6.2.0         latest                                              │
│✔✔  cabal 3.4.1.0         recommended                                         │
│──────────────────────────────────────────────────────────────────────────────│
│✗   GHC   9.2.0.20210821  prerelease,base-4.16.0.0                            │
│✗   GHC   9.0.1           latest,base-4.15.0.0          hls-powered           │
│✔✔  GHC   8.10.7          recommended,base-4.14.3.0     hls-powered           │
│✗   GHC   8.8.4           base-4.13.0.0                 hls-powered           │
│✗   GHC   8.6.5           base-4.12.0.0                 hls-powered           │
│✗   GHC   8.4.4           base-4.11.1.0                                       │
└──────────────────────────────────────────────────────────────────────────────┘
@jneira jneira added os: macOS macOS related issues type: bug A bug or unintended effect type: setup Issues related with the extension setup, including binaries downloads and removed os: macOS macOS related issues labels Nov 15, 2021
@CastilloDel
Copy link

I have the same problem on Arch, although I'm not sure it happens for the same reason

I installed GHC with ghcup, and I'm adding it to my path both in my zshrc config and fish config, but the extension still tells me it can't find ghc :(

@jneira
Copy link
Member

jneira commented Dec 1, 2021

it works if you open vscode from the shell?

@CastilloDel
Copy link

CastilloDel commented Dec 1, 2021

Yes, but it would be good to have a solution rather than a workaround :(
Thanks for the fast reply btw

@jneira
Copy link
Member

jneira commented Dec 1, 2021

no problem, so it seems some init file needs to be changed to make the windows manager see the ghcup env. I am not a linux expert but maybe etc/profile? see haskell/haskell-language-server#236

@jneira jneira changed the title [BUG - MacOS] Error popup - Project requires GHC but it isn't installed Error popup - Project requires GHC but it isn't installed Dec 1, 2021
@CastilloDel
Copy link

I tried modifying /etc/profile and ~/.profile, but it didn't work

@jneira
Copy link
Member

jneira commented Dec 1, 2021

Ok, master version of the extension has lot of more traces, amongs them all environment variables including the PATH.
Could you try to install the vsix i am gonna attach, change haskell.trace.client option to debug and post here the lsp log (you can check where to find it here: https://github.com/haskell/vscode-haskell#investigating-and-reporting-problems)

haskell-1.7.2.vsix.zip

@CastilloDel
Copy link

2021-12-01 13:18:49.1650000 [client] DEBUG   ELECTRON_RUN_AS_NODE: 1
2021-12-01 13:18:49.1650000 [client] DEBUG   SHELL: /usr/bin/zsh
2021-12-01 13:18:49.1650000 [client] DEBUG   SESSION_MANAGER: local/manjarito:@/tmp/.ICE-unix/26076,unix/manjarito:/tmp/.ICE-unix/26076
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_MENU_PREFIX: gnome-
2021-12-01 13:18:49.1650000 [client] DEBUG   SSH_AUTH_SOCK: /run/user/1001/keyring/ssh
2021-12-01 13:18:49.1650000 [client] DEBUG   XMODIFIERS: @im=ibus
2021-12-01 13:18:49.1650000 [client] DEBUG   DESKTOP_SESSION: gnome
2021-12-01 13:18:49.1650000 [client] DEBUG   EDITOR: /usr/bin/nano
2021-12-01 13:18:49.1650000 [client] DEBUG   PWD: /home/daniel
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_SESSION_DESKTOP: gnome
2021-12-01 13:18:49.1650000 [client] DEBUG   LOGNAME: daniel
2021-12-01 13:18:49.1650000 [client] DEBUG   QT_QPA_PLATFORMTHEME: gnome
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_SESSION_TYPE: wayland
2021-12-01 13:18:49.1650000 [client] DEBUG   SYSTEMD_EXEC_PID: 26092
2021-12-01 13:18:49.1650000 [client] DEBUG   XAUTHORITY: /run/user/1001/.mutter-Xwaylandauth.63LND1
2021-12-01 13:18:49.1650000 [client] DEBUG   GJS_DEBUG_TOPICS: JS ERROR;JS LOG
2021-12-01 13:18:49.1650000 [client] DEBUG   QT_STYLE_OVERRIDE: kvantum
2021-12-01 13:18:49.1650000 [client] DEBUG   MOTD_SHOWN: pam
2021-12-01 13:18:49.1650000 [client] DEBUG   GDM_LANG: de_DE.UTF-8
2021-12-01 13:18:49.1650000 [client] DEBUG   HOME: /home/daniel
2021-12-01 13:18:49.1650000 [client] DEBUG   USERNAME: daniel
2021-12-01 13:18:49.1650000 [client] DEBUG   LANG: de_DE.UTF-8
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_CURRENT_DESKTOP: GNOME
2021-12-01 13:18:49.1650000 [client] DEBUG   WAYLAND_DISPLAY: wayland-0
2021-12-01 13:18:49.1650000 [client] DEBUG   INVOCATION_ID: b0459d203c704308a8d696d7560779b8
2021-12-01 13:18:49.1650000 [client] DEBUG   MANAGERPID: 1707
2021-12-01 13:18:49.1650000 [client] DEBUG   GJS_DEBUG_OUTPUT: stderr
2021-12-01 13:18:49.1650000 [client] DEBUG   GNOME_SETUP_DISPLAY: :1
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_SESSION_CLASS: user
2021-12-01 13:18:49.1650000 [client] DEBUG   USER: daniel
2021-12-01 13:18:49.1650000 [client] DEBUG   DISPLAY: :0
2021-12-01 13:18:49.1650000 [client] DEBUG   SHLVL: 0
2021-12-01 13:18:49.1650000 [client] DEBUG   QT_IM_MODULE: ibus
2021-12-01 13:18:49.1650000 [client] DEBUG   XDG_RUNTIME_DIR: /run/user/1001
2021-12-01 13:18:49.1650000 [client] DEBUG   QT_AUTO_SCREEN_SCALE_FACTOR: 1
2021-12-01 13:18:49.1650000 [client] DEBUG   JOURNAL_STREAM: 8:158014
2021-12-01 13:18:49.1660000 [client] DEBUG   LC_COLLATE: C
2021-12-01 13:18:49.1660000 [client] DEBUG   XDG_DATA_DIRS: /home/daniel/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
2021-12-01 13:18:49.1660000 [client] DEBUG   PATH: /home/daniel/.local/bin:/home/daniel/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2021-12-01 13:18:49.1660000 [client] DEBUG   GDMSESSION: gnome
2021-12-01 13:18:49.1660000 [client] DEBUG   DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1001/bus
2021-12-01 13:18:49.1660000 [client] DEBUG   MAIL: /var/spool/mail/daniel
2021-12-01 13:18:49.1660000 [client] DEBUG   GIO_LAUNCHED_DESKTOP_FILE_PID: 38921
2021-12-01 13:18:49.1660000 [client] DEBUG   GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/visual-studio-code.desktop
2021-12-01 13:18:49.1660000 [client] DEBUG   OLDPWD: /home/daniel
2021-12-01 13:18:49.1660000 [client] DEBUG   CHROME_DESKTOP: code-url-handler.desktop
2021-12-01 13:18:49.1660000 [client] DEBUG   ORIGINAL_XDG_CURRENT_DESKTOP: GNOME
2021-12-01 13:18:49.1660000 [client] DEBUG   NO_AT_BRIDGE: 1
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_NLS_CONFIG: {"locale":"de","availableLanguages":{},"_languagePackSupport":true}
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_NODE_CACHED_DATA_DIR: /home/daniel/.config/Code/CachedData/5d424b828ada08e1eb9f95d6cb41120234ef57c7
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_IPC_HOOK: /run/user/1001/vscode-419f9acc-1.53.1-main.sock
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_PID: 38921
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_AMD_ENTRYPOINT: vs/workbench/services/extensions/node/extensionHostProcess
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_PIPE_LOGGING: true
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_VERBOSE_LOGGING: true
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_LOG_NATIVE: false
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_IPC_HOOK_EXTHOST: /run/user/1001/vscode-ipc-01eaf10a-5759-49ed-8f68-b0362fdd2525.sock
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_HANDLES_UNCAUGHT_ERRORS: true
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_LOG_STACK: false
2021-12-01 13:18:49.1660000 [client] DEBUG   BREAKPAD_DUMP_LOCATION: /home/daniel/.config/Code/exthost Crash Reports
2021-12-01 13:18:49.1660000 [client] DEBUG   VSCODE_CRASH_REPORTER_START_OPTIONS: {"companyName":"Microsoft","productName":"VSCode","submitURL":"appcenter://code?aid=fba07a4d-84bd-4fc8-a125-9640fc8ce171&uid=d9a863f3-6eb9-4966-aff0-95f546d9158c&iid=d9a863f3-6eb9-4966-aff0-95f546d9158c&sid=d9a863f3-6eb9-4966-aff0-95f546d9158c","uploadToServer":true}
2021-12-01 13:18:49.1660000 [client] DEBUG   APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL: true
2021-12-01 13:18:49.1660000 [client] INFO Searching for server executables haskell-language-server-wrapper,haskell-language-server in $PATH
2021-12-01 13:18:49.1660000 [client] INFO $PATH environment variable: /home/daniel/.local/bin:/home/daniel/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2021-12-01 13:18:49.1960000 [client] INFO Downloading haskell-language-server
2021-12-01 13:18:49.1980000 [client] INFO Using /home/daniel/.config/Code/User/globalStorage/haskell.haskell to store downloaded binaries
2021-12-01 13:18:49.1980000 [client] INFO Fetching the latest release from GitHub or from cache
2021-12-01 13:18:49.2110000 [client] INFO Successfully migrated /home/daniel/.config/Code/User/globalStorage/haskell.haskell/latestApprovedRelease.cache.json to /home/daniel/.config/Code/User/globalStorage/haskell.haskell/approvedReleases.cache.json
2021-12-01 13:18:50.8640000 [client] INFO The latest known release is 1.5.1
2021-12-01 13:18:50.8640000 [client] INFO Figure out the ghc version to use or advertise an installation link for missing components
2021-12-01 13:18:50.8640000 [client] INFO Working out the project GHC version. This might take a while...
2021-12-01 13:18:50.8980000 [client] INFO Executing '/home/daniel/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.5.1-linux --project-ghc-version' in cwd '/home/daniel/AdventOfCode2021' to get the project or file ghc version
2021-12-01 13:18:50.9370000 [client] INFO Execution of '/home/daniel/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.5.1-linux --project-ghc-version' terminated with code 1
2021-12-01 13:18:50.9370000 [client] ERROR Error executing '/home/daniel/.config/Code/User/globalStorage/haskell.haskell/haskell-language-server-wrapper-1.5.1-linux --project-ghc-version' with error code 1
2021-12-01 13:18:50.9370000 [client] ERROR stderr: No 'hie.yaml' found. Try to discover the project type!
Cradle requires ghc but couldn't find it
Cradle {cradleRootDir = "/home/daniel/AdventOfCode2021", cradleOptsProg = CradleAction: Default}

It's true that it doesn't seem to be on the path, but I don't understand why :(
My .profile:

source "$HOME/.cargo/env"
source "$HOME/.ghcup/env"

@jneira
Copy link
Member

jneira commented Dec 1, 2021

Yeah, PATH: /home/daniel/.local/bin:/home/daniel/.local/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/local/sbin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl does not have the ghcup path nor the cargo path.
Is the rust extension finding it without setting in a config option the path to cargo? (assuming cargo is not in one of the paths listed of course)?

We have to investigate how to make vscode aware of your shell environment 🤔

@CastilloDel
Copy link

Well, I had forgotten about it, but now I think when I installed the Rust extension (it was some time ago), it told me the same and I grew tired of it and just clicked install. Maybe I have rust installed twice (?), how could I check that?

@jneira
Copy link
Member

jneira commented Dec 1, 2021

Well i think the rust extension downloads rustup, which afaik is the equivalent of ghcup and then uses it to get all the needed tooling so maybe you dont have it twice.
That is a nice feature from the rust extension we are thinking in implement here: #483

I've search a little bit and i've read https://stackoverflow.com/questions/43983718/set-global-path-environment-variable-in-vs-code

There is an answer talking about ~/.zshenv: https://stackoverflow.com/a/65127202/49554

@CastilloDel
Copy link

That really worked! Thanks so much. It seems vscode doesn't run the shell interactively, so it wouldn't even bother with the .zshrc. Thanks again!

@jneira jneira changed the title Error popup - Project requires GHC but it isn't installed Error popup - Project requires GHC but it isn't installed using zsh as default shell Dec 4, 2021
@jneira
Copy link
Member

jneira commented Dec 4, 2021

@KristianBalaj hi, maybe the same trick could help you?

@KristianBalaj
Copy link
Author

Setting "terminal.integrated.defaultProfile.osx": "zsh" in the VS Code settings does not work for me.

The pop up is still showing up.

@jneira
Copy link
Member

jneira commented Dec 4, 2021

hmm being a different os could be related 🤔

@jneira
Copy link
Member

jneira commented Dec 5, 2021

Setting "terminal.integrated.defaultProfile.osx": "zsh" in the VS Code settings does not work for me.

The pop up is still showing up.

what about changing .zshrc init file?

@KristianBalaj
Copy link
Author

@jneira I haven't touched the .zshrc yet, what should I change in there?

@jneira
Copy link
Member

jneira commented Dec 5, 2021

sourcing /path/to/ghcup/env to expose the path variable defined there

@jneira
Copy link
Member

jneira commented Dec 6, 2021

Hi, the last version of the extension just released lets you set a specific environment for the lsp server wrapper, so you can set a specific $PATH in the extension itself writing in .vscode/settings,json:

{ "haskell.serverEnvironment":
  { "PATH": "/path/to/hls:/path/to/ghc:/path/to/cabal" }
}

I think this is essentially a issue in the interacion between vscode and the linux/macos window manager and we can only provide workarounds like the mentioned one, so i am gonna close this. Feel free to reopen if you think otherwise.

@jneira jneira closed this as completed Dec 6, 2021
@KristianBalaj
Copy link
Author

Hmm, I was using it the way that I always closed VSCode and then open it with a project but it is annoying so I tried to set the haskell.serverEnvironment to solve it but it does not seem to solve the issue.

I've set this in settings.json:

"haskell.serverEnvironment": {
    "PATH": "/Users/kristian/.ghcup/bin/ghc:/Users/kristian/.ghcup/bin/cabal"
  }

It still shows the error popup Project requires GHC but it isn't installed when opening folder when the VSCode process is already running.
Additionally, it shows a popup when opening the VSCode for the first time. A popup with the following text: Couldn't start client Haskell (streaming-experimenting)

Other notes

I don't know what path to hls to add there, since I don't have hls on PATH (hls --help fails in cmd) - installed with ghcup.
And I have many hls versions in the .ghcup/bin directory.

image

I have ghc and and cabal on my path.

image

@KristianBalaj
Copy link
Author

@jneira hi, I haven't heard from you for a long time since I've posted a comment after the issue was closed.

@KristianBalaj
Copy link
Author

Agh, just got back to this and solved it the following way according to this posted previously in this issue:

echo "export PATH=$PATH" >> ~/.zshenv

After this, the error popup with the missing GHC does not show anymore and the VS Code extension works like expected 🙌

Probably the same could be achieved by setting the PATH here to the value of echo $PATH.

{ "haskell.serverEnvironment":
  { "PATH": "" }
}

@jneira
Copy link
Member

jneira commented Mar 22, 2022

sorry, i missed your response, the path should point to the directory containing the binaries and not the binary itself so

"haskell.serverEnvironment": {
    "PATH": "/Users/kristian/.ghcup/bin"
  }

maybe will make it work

@jneira
Copy link
Member

jneira commented Mar 22, 2022

After this, the error popup with the missing GHC does not show anymore and the VS Code extension works like expected raised_hands

nice!

@hasufell
Copy link
Member

sorry, i missed your response, the path should point to the directory containing the binaries and not the binary itself so

"haskell.serverEnvironment": {
    "PATH": "/Users/kristian/.ghcup/bin"
  }

maybe will make it work

This will break at least on the upcoming changes, where we expect "PATH": "/Users/kristian/.ghcup/bin:${PATH}".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: need confirmation type: bug A bug or unintended effect type: setup Issues related with the extension setup, including binaries downloads
Projects
None yet
Development

No branches or pull requests

4 participants