haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.71k stars 368 forks source link

ghc option `-ddump-timing` creates warning diagnostics with the dump #2259

Closed jneira closed 2 years ago

jneira commented 3 years ago

imagen

log ``` [Info - 8:32:22] Stopping the server [Info - 8:32:22] Starting the server No 'hie.yaml' found. Try to discover the project type! Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-1.4.0.exe) Version 1.4.0.0, Git revision 253547816ee216c53ee7dacc0ad3cac43e863d30 (dirty) x86_64 ghc-8.10.4 Current directory: d:\ws\haskell\cabal-test Operating system: mingw32 Arguments: ["--lsp","-d"] Cradle directory: d:\ws\haskell\cabal-test Cradle type: Cabal Tool versions found on the $PATH cabal: 3.4.0.0 stack: 2.7.3.1 ghc: 8.6.5 Consulting the cradle to get project GHC version... Project GHC version: 8.6.5 haskell-language-server exe candidates: ["haskell-language-server-8.6.5.exe","haskell-language-server.exe"] Launching haskell-language-server exe at:D:\ghcup\bin\haskell-language-server-8.6.5.exe haskell-language-server version: 1.4.0.0 (GHC: 8.6.5) (PATH: D:\ghcup\bin\haskell-language-server-8.6.5~1.4.0.exe) (GIT hash: 253547816ee216c53ee7dacc0ad3cac43e863d30) Starting (haskell-language-server)LSP server... with arguments: GhcideArguments {argsCommand = LSP, argsCwd = Nothing, argsShakeProfiling = Nothing, argsTesting = False, argsExamplePlugin = False, argsDebugOn = True, 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: d:\ws\haskell\cabal-test 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.01s setInitialDynFlags cradle: Cradle {cradleRootDir = "d:\\ws\\haskell\\cabal-test", cradleOptsProg = CradleAction: Cabal} 2021-10-06 08:32:28.1120961 [ThreadId 10] DEBUG hls: Initializing exports map from hiedb 2021-10-06 08:32:28.1120961 [ThreadId 4] INFO hls: Registering ide configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5157915869011123487) "file:///D:/ws/haskell/cabal-test"], clientSettings = hashed Nothing} 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Configuration changed: Object (fromList [("haskell",Object (fromList [("checkProject",Bool True),("diagnosticsOnChange",Bool False),("formattingProvider",String "stylish-haskell"),("indentationRules",Object (fromList [("enabled",Bool True)])),("logFile",String ""),("maxCompletions",Number 40.0),("openDocumentationInHackage",Bool False),("openSourceInHackage",Bool False),("plugin",Object (fromList [("class",Object (fromList [("globalOn",Bool True)])),("eval",Object (fromList [("globalOn",Bool True)])),("ghcide-completions",Object (fromList [("config",Object (fromList [("autoExtendOn",Bool True),("snippetsOn",Bool True)]))])),("ghcide-type-lenses",Object (fromList [("config",Object (fromList [("mode",Bool True)])),("globalOn",Bool True)])),("haddockComments",Object (fromList [("globalOn",Bool True)])),("hlint",Object (fromList [("codeActionsOn",Bool True),("config",Object (fromList [("flags",Array [])])),("diagnosticsOn",Bool True)])),("importLens",Object (fromList [("codeActionsOn",Bool True),("codeLensOn",Bool True)])),("moduleName",Object (fromList [("globalOn",Bool True)])),("pragmas",Object (fromList [("codeActionsOn",Bool True),("completionOn",Bool True)])),("refineImports",Object (fromList [("globalOn",Bool True)])),("retrie",Object (fromList [("globalOn",Bool True)])),("splice",Object (fromList [("globalOn",Bool True)])),("tactics",Object (fromList [("config",Object (fromList [("auto_gas",Number 4.0),("hole_severity",Null),("max_use_ctor_actions",Number 5.0),("proofstate_styling",Bool True),("timeout_duration",Number 2.0)])),("globalOn",Bool True)]))])),("releasesURL",String ""),("serverExecutablePath",String ""),("serverExtraArgs",String ""),("trace",Object (fromList [("client",String "debug"),("server",String "messages")])),("updateBehavior",String "keep-up-to-date")]))]) 2021-10-06 08:32:28.3050886 [ThreadId 16] DEBUG hls: Finishing build session(exception: AsyncCancelled) 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Restarting build session for keys [GetClientSettings; ] (aborting the previous one took 0.00s) 2021-10-06 08:32:28.3050886 [ThreadId 10] DEBUG hls: Done initializing exports map from hiedb (45) 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Set files of interest to: fromList [] 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Restarting build session for keys [IsFileOfInterest; D:\ws\haskell\cabal-test\src\Main.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\src\Main.hs,GetClientSettings; ] (aborting the previous one took 0.00s) 2021-10-06 08:32:28.3050886 [ThreadId 28] DEBUG hls: Finishing build session(exception: AsyncCancelled) 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Opened text document: file:///d%3A/ws/haskell/cabal-test/src/Main.hs 2021-10-06 08:32:28.3050886 [ThreadId 13] DEBUG hls: Set files of interest to: fromList [(NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs",Modified {firstOpen = True})] 2021-10-06 08:32:28.3150881 [ThreadId 13] DEBUG hls: Restarting build session for keys [IsFileOfInterest; D:\ws\haskell\cabal-test\src\Main.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\src\Main.hs,IsFileOfInterest; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs] (aborting the previous one took 0.00s) 2021-10-06 08:32:28.3150881 [ThreadId 13] DEBUG hls: Opened text document: file:///d%3A/ws/haskell/cabal-test/lib/Lib/MyModule.hs 2021-10-06 08:32:28.3150881 [ThreadId 61] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs" 2021-10-06 08:32:28.3150881 [ThreadId 63] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs" 2021-10-06 08:32:28.3150881 [ThreadId 42] DEBUG hls: Finishing build session(exception: AsyncCancelled) 2021-10-06 08:32:28.3150881 [ThreadId 87] INFO hls: Consulting the cradle for "src\\Main.hs" 2021-10-06 08:32:28.3150881 [ThreadId 87] 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 = "d:\\ws\\haskell\\cabal-test", cradleOptsProg = CradleAction: Cabal} 2021-10-06 08:32:28.3850846 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "fp" "d:\\ws\\haskell\\cabal-test\\src\\Main.hs" 2021-10-06 08:32:28.7300771 [ThreadId 103] INFO hie-bios: Build profile: -w ghc-8.6.5 -O1 2021-10-06 08:32:28.7300771 [ThreadId 103] INFO hie-bios: In order, the following will be built (use -v for more details): 2021-10-06 08:32:28.7300771 [ThreadId 103] INFO hie-bios: - cabal-test-0.1.0.0 (lib) (configuration changed) 2021-10-06 08:32:28.7300771 [ThreadId 103] INFO hie-bios: - cabal-test-0.1.0.0 (exe:cabal-test) (configuration changed) 2021-10-06 08:32:28.7360771 [ThreadId 101] INFO hie-bios: Warning: cabal-test.cabal:27:5: The field "autogen-modules" is available only 2021-10-06 08:32:28.7360771 [ThreadId 101] INFO hie-bios: since the Cabal specification version 2.0. This field will be ignored. 2021-10-06 08:32:28.7360771 [ThreadId 103] INFO hie-bios: Configuring library for cabal-test-0.1.0.0.. 2021-10-06 08:32:37.5190771 [ThreadId 103] INFO hie-bios: Preprocessing library for cabal-test-0.1.0.0.. 2021-10-06 08:32:37.5300771 [ThreadId 103] INFO hie-bios: Building library for cabal-test-0.1.0.0.. 2021-10-06 08:32:39.6120771 [ThreadId 101] INFO hie-bios: Warning: cabal-test.cabal:27:5: The field "autogen-modules" is available only 2021-10-06 08:32:39.6120771 [ThreadId 101] INFO hie-bios: since the Cabal specification version 2.0. This field will be ignored. 2021-10-06 08:32:39.6120771 [ThreadId 103] INFO hie-bios: Configuring executable 'cabal-test' for cabal-test-0.1.0.0.. 2021-10-06 08:32:43.8690771 [ThreadId 101] INFO hie-bios: Warning: The package has an extraneous version range for a dependency on an 2021-10-06 08:32:43.8690771 [ThreadId 101] INFO hie-bios: internal library: cabal-test >=0 && ==0.1.0.0. This version range includes the 2021-10-06 08:32:43.8690771 [ThreadId 101] INFO hie-bios: current package but isn't needed as the current package's library will always 2021-10-06 08:32:43.8690771 [ThreadId 101] INFO hie-bios: be used. 2021-10-06 08:32:48.3670771 [ThreadId 103] INFO hie-bios: Preprocessing executable 'cabal-test' for cabal-test-0.1.0.0.. 2021-10-06 08:32:49.2850771 [ThreadId 87] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-odir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-hidir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-stubdir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-i","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-isrc","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\autogen","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\global-autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\global-autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\cabal-test-tmp","-ID:\\ghcup\\msys64\\mingw64\\include","-optP-include","-optPD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\build\\cabal-test\\autogen\\cabal_macros.h","-LD:\\ghcup\\msys64\\mingw64\\lib","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","D:\\csd\\ghc-8.6.5\\package.db","-package-db","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\packagedb\\ghc-8.6.5","-package-db","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\x\\cabal-test\\package.conf.inplace","-package-id","base-4.12.0.0","-package-id","bytestring-0.10.8.2","-package-id","cabal-test-0.1.0.0-inplace","-XHaskell2010","src\\Main.hs","MyPrefix.MyModuleExe","-Wall","-Wincomplete-uni-patterns","-Wno-name-shadowing","-ddump-timings","-hide-all-packages"], componentRoot = "d:\\ws\\haskell\\cabal-test", componentDependencies = ["cabal-test.cabal","cabal.project","cabal.project.local"]},"D:\\ghcup\\ghc\\8.6.5\\lib") 2021-10-06 08:32:49.7420771 [ThreadId 87] INFO hls: Using interface files cache dir: C:\Users\user\AppData\Local\ghcide\main-1f4a74eac1ea4accce97bb13511025ab70511803 2021-10-06 08:32:49.7420771 [ThreadId 87] INFO hls: Making new HscEnv[main] 2021-10-06 08:32:49.7810771 [ThreadId 87] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 23),fromList [("cabal-test.cabal",Just 2021-10-06 06:32:18.3323086 UTC),("cabal.project",Nothing),("cabal.project.local",Nothing)]) 2021-10-06 08:32:49.7940771 [ThreadId 87] DEBUG hls: Known files updated: fromList [(TargetFile NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs",fromList ["D:\\ws\\haskell\\cabal-test\\src\\Main.hs"]),(TargetModule MyPrefix.MyModuleExe,fromList ["D:\\ws\\haskell\\cabal-test\\src\\MyPrefix\\MyModuleExe.hs"])] 2021-10-06 08:32:49.7950771 [ThreadId 87] DEBUG hls: Restarting build session for keys [IsFileOfInterest; D:\ws\haskell\cabal-test\src\Main.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\src\Main.hs,IsFileOfInterest; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs,GhcSessionIO; ] (aborting the previous one took 0.00s) 2021-10-06 08:32:49.7950771 [ThreadId 56] DEBUG hls: Finishing build session(exception: AsyncCancelled) 2021-10-06 08:32:49.7960771 [ThreadId 120] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs" 2021-10-06 08:32:49.7960771 [ThreadId 117] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs" 2021-10-06 08:32:49.7990771 [ThreadId 124] INFO hls: Consulting the cradle for "lib\\Lib\\MyModule.hs" 2021-10-06 08:32:49.7990771 [ThreadId 124] WARNING hls: No [cradle](https://github.com/mpickering/hie-bios#hie-bios) found for lib\Lib\MyModule.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 = "d:\\ws\\haskell\\cabal-test", cradleOptsProg = CradleAction: Cabal} 2021-10-06 08:32:50.1740686 [ThreadId 134] INFO hie-bios: Build profile: -w ghc-8.6.5 -O1 2021-10-06 08:32:50.1750686 [ThreadId 134] INFO hie-bios: In order, the following will be built (use -v for more details): 2021-10-06 08:32:50.1750686 [ThreadId 134] INFO hie-bios: - cabal-test-0.1.0.0 (lib) (ephemeral targets) 2021-10-06 08:32:50.4220686 [ThreadId 134] INFO hie-bios: Preprocessing library for cabal-test-0.1.0.0.. 2021-10-06 08:32:51.3360686 [ThreadId 124] DEBUG hls: Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-odir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-hidir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-stubdir","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-i","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-ilib","-ishared","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\autogen","-iD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\global-autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\global-autogen","-ID:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build","-ID:\\ghcup\\msys64\\mingw64\\include","-optP-include","-optPD:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\autogen\\cabal_macros.h","-LD:\\ghcup\\msys64\\mingw64\\lib","-this-unit-id","cabal-test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","D:\\csd\\ghc-8.6.5\\package.db","-package-db","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\packagedb\\ghc-8.6.5","-package-db","D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\package.conf.inplace","-package-id","aeson-1.5.6.0-b9aa6d1548041582011ad2b4700e761b8344ebe0","-package-id","base-4.12.0.0","-package-id","bytestring-0.10.8.2","-package-id","http-types-0.12.3-239930dc090fef3f598fd4a648bdf7ff352dd4d2","-package-id","text-1.2.3.1","-XHaskell2010","-XOverloadedStrings","CabalTestLib","MyData","Lib.MyModule","Lib.MyModule2","Paths_cabal_test","-Wall","-Wincomplete-uni-patterns","-Wno-name-shadowing","-hide-all-packages"], componentRoot = "d:\\ws\\haskell\\cabal-test", componentDependencies = ["cabal-test.cabal","cabal.project","cabal.project.local"]},"D:\\ghcup\\ghc\\8.6.5\\lib") 2021-10-06 08:32:51.6230686 [ThreadId 124] INFO hls: Using interface files cache dir: C:\Users\user\AppData\Local\ghcide\cabal-test-0.1.0.0-inplace-5a3d0ff6e9249dc283957d9d58968801bc529369 2021-10-06 08:32:51.6230686 [ThreadId 124] INFO hls: Using interface files cache dir: C:\Users\user\AppData\Local\ghcide\main-1ae0105542335c6ac178816bcf1502909d63faf9 2021-10-06 08:32:51.6230686 [ThreadId 124] INFO hls: Making new HscEnv[cabal-test-0.1.0.0-inplace,main] 2021-10-06 08:32:51.6600686 [ThreadId 124] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 27),fromList [("cabal-test.cabal",Just 2021-10-06 06:32:18.3323086 UTC),("cabal.project",Nothing),("cabal.project.local",Nothing)]) 2021-10-06 08:32:51.7220686 [ThreadId 124] DEBUG hls: New Component Cache HscEnvEq: (([],Just HscEnvEq 28),fromList [("cabal-test.cabal",Just 2021-10-06 06:32:18.3323086 UTC),("cabal.project",Nothing),("cabal.project.local",Nothing)]) 2021-10-06 08:32:51.7440686 [ThreadId 124] DEBUG hls: Known files updated: fromList [(TargetModule Lib.MyModule2,fromList ["D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule2.hs"]),(TargetModule Lib.MyModule,fromList ["D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs"]),(TargetModule MyData,fromList ["D:\\ws\\haskell\\cabal-test\\shared\\MyData.hs"]),(TargetFile NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs",fromList ["D:\\ws\\haskell\\cabal-test\\src\\Main.hs"]),(TargetModule Paths_cabal_test,fromList ["D:\\ldata\\hie-bios\\dist-cabal-test-65c990557dbbdff533ef83092ecde179\\build\\x86_64-windows\\ghc-8.6.5\\cabal-test-0.1.0.0\\build\\autogen\\Paths_cabal_test.hs"]),(TargetModule CabalTestLib,fromList ["D:\\ws\\haskell\\cabal-test\\lib\\CabalTestLib.hs"]),(TargetModule MyPrefix.MyModuleExe,fromList ["D:\\ws\\haskell\\cabal-test\\src\\MyPrefix\\MyModuleExe.hs"]),(TargetFile NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs",fromList ["D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs"])] 2021-10-06 08:32:51.7450686 [ThreadId 114] DEBUG hls: Finishing build session(exception: AsyncCancelled) 2021-10-06 08:32:51.7450686 [ThreadId 124] DEBUG hls: Restarting build session for keys [IsFileOfInterest; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs,GetModificationTime_ {missingFileDiagnostics = True}; D:\ws\haskell\cabal-test\lib\Lib\MyModule.hs,GhcSessionIO; ] (aborting the previous one took 0.00s) 2021-10-06 08:32:51.7450686 [ThreadId 151] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\lib\\Lib\\MyModule.hs" 2021-10-06 08:32:51.7460686 [ThreadId 150] DEBUG hls: hlint:getIdeas:file:NormalizedFilePath "D:\\ws\\haskell\\cabal-test\\src\\Main.hs" 2021-10-06 08:32:51.7550686 [ThreadId 148] INFO hls: finish: ModuleName.ghcSession (took 0.01s) 2021-10-06 08:32:51.7580686 [ThreadId 151] INFO hls: finish: importLens (took 0.01s) 2021-10-06 08:32:51.7580686 [ThreadId 151] DEBUG hls: hlint:getIdeas:setExtensions:[Cpp,OverlappingInstances,UndecidableInstances,IncoherentInstances,UndecidableSuperClasses,MonomorphismRestriction,MonoPatBinds,MonoLocalBinds,RelaxedPolyRec,ExtendedDefaultRules,ForeignFunctionInterface,UnliftedFFITypes,InterruptibleFFI,CApiFFI,GHCForeignImportPrim,JavaScriptFFI,ParallelArrays,TemplateHaskell,TemplateHaskellQuotes,ImplicitParams,ImplicitPrelude,ScopedTypeVariables,AllowAmbiguousTypes,UnliftedNewtypes,BangPatterns,TypeFamilies,TypeFamilyDependencies,TypeInType,OverloadedStrings,OverloadedLists,NumDecimals,DisambiguateRecordFields,RecordWildCards,RecordPuns,ViewPatterns,GADTs,GADTSyntax,NPlusKPatterns,DoAndIfThenElse,BlockArguments,RebindableSyntax,ConstraintKinds,PolyKinds,DataKinds,InstanceSigs,ApplicativeDo,StandaloneDeriving,DeriveDataTypeable,AutoDeriveTypeable,DeriveFunctor,DeriveTraversable,DeriveFoldable,DeriveGeneric,DefaultSignatures,DeriveAnyClass,DeriveLift,DerivingStrategies,DerivingVia,TypeSynonymInstances,FlexibleContexts,FlexibleInstances,ConstrainedClassMethods,MultiParamTypeClasses,NullaryTypeClasses,FunctionalDependencies,UnicodeSyntax,ExistentialQuantification,MagicHash,EmptyDataDecls,KindSignatures,RoleAnnotations,ParallelListComp,MonadComprehensions,GeneralizedNewtypeDeriving,PostfixOperators,TupleSections,PatternGuards,LiberalTypeSynonyms,RankNTypes,ImpredicativeTypes,TypeOperators,ExplicitNamespaces,PackageImports,ExplicitForAll,AlternativeLayoutRuleTransitional,DatatypeContexts,NondecreasingIndentation,RelaxedLayout,TraditionalRecordSyntax,LambdaCase,MultiWayIf,BinaryLiterals,HexFloatLiterals,DuplicateRecordFields,OverloadedLabels,EmptyCase,PatternSynonyms,PartialTypeSignatures,NamedWildCards,TypeApplications,Strict,StrictData,MonadFailDesugaring,EmptyDataDeriving,NumericUnderscores,QuantifiedConstraints,ImportQualifiedPost,CUSKs,StandaloneKindSignatures,StarIsType] 2021-10-06 08:32:51.7600686 [ThreadId 148] INFO hls: finish: Outline (took 0.01s) 2021-10-06 08:32:51.7600686 [ThreadId 148] INFO hls: finish: GhcideCodeActions.getParsedModule (took 0.01s) 2021-10-06 08:32:51.7600686 [ThreadId 148] INFO hls: finish: Pragmas.GetParsedModule (took 0.01s) 2021-10-06 08:32:51.7600686 [ThreadId 148] INFO hls: finish: ModuleName.GetParsedModule (took 0.00s) 2021-10-06 08:32:51.7600686 [ThreadId 148] INFO hls: finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.01s) 2021-10-06 08:32:51.7600686 [ThreadId 149] INFO hls: finish: Pragmas.GetFileContents (took 0.00s) 2021-10-06 08:32:51.7610686 [ThreadId 149] INFO hls: finish: eval.GetParsedModuleWithComments (took 0.02s) 2021-10-06 08:32:51.7610686 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "excluded comments" "[]" 2021-10-06 08:32:51.7620686 [ThreadId 149] INFO hls: finish: Wingman.getIdeDynflags.GetModSummaryWithoutTimestamps (took 0.02s) 2021-10-06 08:32:51.7620686 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "comments" "Comments {lineComments = fromList [(Range {_start = Position {_line = 5, _character = 0}, _end = Position {_line = 5, _character = 28}},RawLineComment {getRawLineComment = \"-- Testing utf8 ca\\241a gr\\246ber\\r\"})], blockComments = fromList [(Range {_start = Position {_line = 0, _character = 0}, _end = Position {_line = 0, _character = 34}},RawBlockComment {getRawBlockComment = \"{-# LANGUAGE OverloadedStrings #-}\"})]}" 2021-10-06 08:32:51.7620686 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "Tests" "0 tests in 2 sections 0 setups 0 lenses." 2021-10-06 08:32:51.7620686 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "tests" "0.00s" 2021-10-06 08:32:51.7620686 [ThreadId 94] DEBUG hls: src\\Ide\\Plugin\\Eval\\CodeLens.hs:192:15 "codeLens" "23.39s" 2021-10-06 08:32:51.7610686 [ThreadId 150] INFO hls: finish: RefineImports (took 0.02s) 2021-10-06 08:32:51.7620686 [ThreadId 150] INFO hls: finish: splice.codeAction.GitHieAst (took 0.02s) 2021-10-06 08:32:51.7700686 [ThreadId 149] INFO hls: finish: HaddockComments.GetAnnotatedParsedSource (took 0.02s) 2021-10-06 08:32:51.7700686 [ThreadId 150] INFO hls: finish: Wingman.codeLensProvider.GetAnnotatedParsedSource (took 0.01s) 2021-10-06 08:32:51.8710666 [ThreadId 214] DEBUG hls: hlint:getIdeas:setExtensions:[Cpp,OverlappingInstances,UndecidableInstances,IncoherentInstances,UndecidableSuperClasses,MonomorphismRestriction,MonoPatBinds,MonoLocalBinds,RelaxedPolyRec,ExtendedDefaultRules,ForeignFunctionInterface,UnliftedFFITypes,InterruptibleFFI,CApiFFI,GHCForeignImportPrim,JavaScriptFFI,ParallelArrays,TemplateHaskell,TemplateHaskellQuotes,ImplicitParams,ImplicitPrelude,ScopedTypeVariables,AllowAmbiguousTypes,UnliftedNewtypes,BangPatterns,TypeFamilies,TypeFamilyDependencies,TypeInType,OverloadedStrings,OverloadedLists,NumDecimals,DisambiguateRecordFields,RecordWildCards,RecordPuns,ViewPatterns,GADTs,GADTSyntax,NPlusKPatterns,DoAndIfThenElse,BlockArguments,RebindableSyntax,ConstraintKinds,PolyKinds,DataKinds,InstanceSigs,ApplicativeDo,StandaloneDeriving,DeriveDataTypeable,AutoDeriveTypeable,DeriveFunctor,DeriveTraversable,DeriveFoldable,DeriveGeneric,DefaultSignatures,DeriveAnyClass,DeriveLift,DerivingStrategies,DerivingVia,TypeSynonymInstances,FlexibleContexts,FlexibleInstances,ConstrainedClassMethods,MultiParamTypeClasses,NullaryTypeClasses,FunctionalDependencies,UnicodeSyntax,ExistentialQuantification,MagicHash,EmptyDataDecls,KindSignatures,RoleAnnotations,ParallelListComp,MonadComprehensions,GeneralizedNewtypeDeriving,PostfixOperators,TupleSections,PatternGuards,LiberalTypeSynonyms,RankNTypes,ImpredicativeTypes,TypeOperators,ExplicitNamespaces,PackageImports,ExplicitForAll,AlternativeLayoutRuleTransitional,DatatypeContexts,NondecreasingIndentation,RelaxedLayout,TraditionalRecordSyntax,LambdaCase,MultiWayIf,BinaryLiterals,HexFloatLiterals,DuplicateRecordFields,OverloadedLabels,EmptyCase,PatternSynonyms,PartialTypeSignatures,NamedWildCards,TypeApplications,Strict,StrictData,MonadFailDesugaring,EmptyDataDeriving,NumericUnderscores,QuantifiedConstraints,ImportQualifiedPost,CUSKs,StandaloneKindSignatures,StarIsType] 2021-10-06 08:32:52.2800581 [ThreadId 336] DEBUG hls: finish: InitialLoad (took 0.53s) ```
jneira commented 3 years ago

Even it is a feature would be great to know how to no emit them. It is triggered even with -ddump-to-file.