diff --git a/ghcide/src/Development/IDE/Core/Compile.hs b/ghcide/src/Development/IDE/Core/Compile.hs index 1c46362c19..2dedf23a1a 100644 --- a/ghcide/src/Development/IDE/Core/Compile.hs +++ b/ghcide/src/Development/IDE/Core/Compile.hs @@ -529,7 +529,8 @@ mkHiFileResultCompile se session' tcm simplified_guts = catchErrs $ do core_file = codeGutsToCoreFile iface_hash guts iface_hash = getModuleHash final_iface core_hash1 <- atomicFileWrite se core_fp $ \fp -> - writeBinCoreFile fp core_file + + trace ("TRACE: writeBinCoreFile: core_fp=" <> core_fp) $ writeBinCoreFile fp core_file -- We want to drop references to guts and read in a serialized, compact version -- of the core file from disk (as it is deserialised lazily) -- This is because we don't want to keep the guts in memory for every file in @@ -1448,6 +1449,9 @@ instance NFData IdeLinkable where ml_core_file :: ModLocation -> FilePath ml_core_file ml = ml_hi_file ml <.> "core" +ts :: Show a => String -> a -> a +ts label x = trace ("TRACE: " <> label <> "=" <> show x) x + -- | Returns an up-to-date module interface, regenerating if needed. -- Assumes file exists. -- Requires the 'HscEnv' to be set up with dependencies diff --git a/ghcide/src/Development/IDE/Core/FileStore.hs b/ghcide/src/Development/IDE/Core/FileStore.hs index 7be4c71827..455ee24624 100644 --- a/ghcide/src/Development/IDE/Core/FileStore.hs +++ b/ghcide/src/Development/IDE/Core/FileStore.hs @@ -71,7 +71,7 @@ import Language.LSP.VFS import System.FilePath import System.IO.Error import System.IO.Unsafe - +import Debug.Trace data Log = LogCouldNotIdentifyReverseDeps !NormalizedFilePath @@ -250,7 +250,10 @@ setSomethingModified vfs state keys reason = do atomically $ do writeTQueue (indexQueue $ hiedbWriter $ shakeExtras state) (\withHieDb -> withHieDb deleteMissingRealFiles) modifyTVar' (dirtyKeys $ shakeExtras state) $ \x -> - foldl' (flip insertKeySet) x keys + foldl' (\xs k -> + --trace ("TRACE: insertDirkyKey: " <> show k) $ + + insertKeySet k xs) x keys void $ restartShakeSession (shakeExtras state) vfs reason [] registerFileWatches :: [String] -> LSP.LspT Config IO Bool diff --git a/ghcide/src/Development/IDE/Core/Rules.hs b/ghcide/src/Development/IDE/Core/Rules.hs index 1e96a99f2b..f439a12143 100644 --- a/ghcide/src/Development/IDE/Core/Rules.hs +++ b/ghcide/src/Development/IDE/Core/Rules.hs @@ -181,7 +181,7 @@ import GHC (mgModSummaries) import qualified Data.IntMap as IM #endif - +import Debug.Trace data Log = LogShake Shake.Log @@ -951,7 +951,7 @@ getModIfaceRule recorder = defineEarlyCutoff (cmapWithPrio LogShake recorder) $ hsc <- hscEnv <$> use_ GhcSessionDeps f let compile = fmap ([],) $ use GenerateCore f se <- getShakeExtras - (diags, !mbHiFile) <- writeCoreFileIfNeeded se hsc linkableType compile tmr + (diags, !mbHiFile) <- writeCoreFileIfNeeded se hsc (ts2 "linkableType" f linkableType) compile tmr let fp = hiFileFingerPrint <$> mbHiFile hiDiags <- case mbHiFile of Just hiFile @@ -980,6 +980,12 @@ incrementRebuildCount = do count <- getRebuildCountVar <$> getIdeGlobalAction liftIO $ atomically $ modifyTVar' count (+1) +ts :: Show a => String -> a -> a +ts label x = trace ("TRACE: " <> label <> "=" <> show x) x + +ts2 :: Show a => String -> NormalizedFilePath -> a -> a +ts2 label nfp x = trace ("TRACE: " <> label <> "=" <> show x <> " (" <> show nfp <> ")") x + -- | Also generates and indexes the `.hie` file, along with the `.o` file if needed -- Invariant maintained is that if the `.hi` file was successfully written, then the -- `.hie` and `.o` file (if needed) were also successfully written @@ -1005,7 +1011,7 @@ regenerateHiFile sess f ms compNeeded = do se <- getShakeExtras -- Bang pattern is important to avoid leaking 'tmr' - (diags'', !res) <- writeCoreFileIfNeeded se hsc compNeeded compile tmr + (diags'', !res) <- writeCoreFileIfNeeded se hsc (ts2 "compNeeded" f compNeeded) compile tmr -- Write hi file hiDiags <- case res of diff --git a/ghcide/src/Development/IDE/Core/Shake.hs b/ghcide/src/Development/IDE/Core/Shake.hs index a215ee42ef..b21a8cdec0 100644 --- a/ghcide/src/Development/IDE/Core/Shake.hs +++ b/ghcide/src/Development/IDE/Core/Shake.hs @@ -172,6 +172,7 @@ import qualified StmContainers.Map as STM import System.FilePath hiding (makeRelative) import System.IO.Unsafe (unsafePerformIO) import System.Time.Extra +import Debug.Trace -- See Note [Guidelines For Using CPP In GHCIDE Import Statements] #if !MIN_VERSION_ghc(9,3,0) @@ -1234,7 +1235,9 @@ defineEarlyCutoff' doDiagnostics cmp key file mbOld mode action = do (if eq then ChangedRecomputeSame else ChangedRecomputeDiff) (encodeShakeValue bs) $ A res - liftIO $ atomicallyNamed "define - dirtyKeys" $ modifyTVar' dirtyKeys (deleteKeySet $ toKey key file) + liftIO $ atomicallyNamed "define - dirtyKeys" $ modifyTVar' dirtyKeys ( + trace ("TRACE: delete dirty key " <> show key <> " file " <> show file) $ + deleteKeySet $ toKey key file) return res where -- Highly unsafe helper to compute the version of a file diff --git a/plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Rules.hs b/plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Rules.hs index 8c9725a90f..950c1736fa 100644 --- a/plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Rules.hs +++ b/plugins/hls-eval-plugin/src/Ide/Plugin/Eval/Rules.hs @@ -41,7 +41,7 @@ import GHC.Parser.Annotation import Ide.Logger (Recorder, WithPriority, cmapWithPrio) import Ide.Plugin.Eval.Types - +import Debug.Trace rules :: Recorder (WithPriority Log) -> Rules () rules recorder = do @@ -56,13 +56,13 @@ instance IsIdeGlobal EvaluatingVar queueForEvaluation :: IdeState -> NormalizedFilePath -> IO () queueForEvaluation ide nfp = do EvaluatingVar var <- getIdeGlobalState ide - atomicModifyIORef' var (\fs -> (Set.insert nfp fs, ())) + atomicModifyIORef' var (\fs -> (trace ("TRACE: queueForEvaluation: " <> show nfp ) $ Set.insert nfp fs, ())) unqueueForEvaluation :: IdeState -> NormalizedFilePath -> IO () unqueueForEvaluation ide nfp = do EvaluatingVar var <- getIdeGlobalState ide -- remove the module from the Evaluating state, so that next time it won't evaluate to True - atomicModifyIORef' var $ \fs -> (Set.delete nfp fs, ()) + atomicModifyIORef' var $ \fs -> (trace ("TRACE: unqueueForEvaluation: " <> show nfp ) $ Set.delete nfp fs, ()) apiAnnComments' :: ParsedModule -> [SrcLoc.RealLocated EpaCommentTok] apiAnnComments' pm = do @@ -110,7 +110,7 @@ isEvaluatingRule :: Recorder (WithPriority Log) -> Rules () isEvaluatingRule recorder = defineEarlyCutoff (cmapWithPrio LogShake recorder) $ RuleNoDiagnostics $ \IsEvaluating f -> do alwaysRerun EvaluatingVar var <- getIdeGlobalAction - b <- liftIO $ (f `Set.member`) <$> readIORef var + b <- fmap (ts2 "isMemberEvaluatingVar" f) . liftIO $ (f `Set.member`) <$> readIORef var return (Just (if b then BS.singleton 1 else BS.empty), Just b) -- Redefine the NeedsCompilation rule to set the linkable type to Just _ @@ -120,7 +120,7 @@ isEvaluatingRule recorder = defineEarlyCutoff (cmapWithPrio LogShake recorder) $ -- leading to much better performance of the evaluate code lens redefinedNeedsCompilation :: Recorder (WithPriority Log) -> Rules () redefinedNeedsCompilation recorder = defineEarlyCutoff (cmapWithPrio LogShake recorder) $ RuleWithCustomNewnessCheck (<=) $ \NeedsCompilation f -> do - isEvaluating <- use_ IsEvaluating f + isEvaluating <- ts2 "isEvaluating" f <$> use_ IsEvaluating f if not isEvaluating then needsCompilationRule f else do ms <- msrModSummary . fst <$> useWithStale_ GetModSummaryWithoutTimestamps f @@ -128,4 +128,7 @@ redefinedNeedsCompilation recorder = defineEarlyCutoff (cmapWithPrio LogShake re linkableType = computeLinkableTypeForDynFlags df' fp = encodeLinkableType $ Just linkableType - pure (Just fp, Just (Just linkableType)) + pure (Just fp, ts2 "redefinedNeedsCompilation" f $ Just (Just linkableType)) + +ts2 :: Show a => String -> NormalizedFilePath -> a -> a +ts2 label nfp x = trace ("TRACE: " <> label <> "=" <> show x <> "(" <> show nfp <> ")") x diff --git a/tmp-notes.md b/tmp-notes.md new file mode 100644 index 0000000000..16ced4e5fe --- /dev/null +++ b/tmp-notes.md @@ -0,0 +1,33 @@ +HRK:|OK|FAIL|error + +OK|FAIL|error|isEvaluating|queueForEvaluation|unqueueForEvaluation|writeBinCoreFile + + +(HRK: writeBinCoreFile)|(HRK: linkableType=Just BCOLinkable)|OK|FAIL|error + +Theory: + +Every test that succeeds has the following sequence: + + +HRK: linkableType=Just BCOLinkable +HRK: writeCoreFileIfNeeded: guts=modguts +HRK: writeBinCoreFile /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-1af041e620a747f3eee9125b6968276b7bf496d0/extra-file-30552027971537-267991-12 + + + + + + + + +In order for `GetLinkable` rule to succeed, the + +The core file is written [here](https://github.com/haskell/haskell-language-server/blob/9593d04a76e024942981b1333bfb2558a6ae0dab/ghcide/src/Development/IDE/Core/Compile.hs#L532) + +But this core-file-writing code path is only triggered when is called with `linkableType == Just BCOLinkable`. + +In the case when we get the `GetLinkable` error, the `linkableType` is always `Nothing`. + + + diff --git a/tmp10 b/tmp10 new file mode 100644 index 0000000000..ef7a74333f --- /dev/null +++ b/tmp10 @@ -0,0 +1,67089 @@ +~/Devel/github.com/haskell/haskell-language-server> for i in {1..100}; do LSP_TEST_LOG_MESSAGES=1 LSP_TEST_LOG_STDERR=1 ./dist-newstyle/build/x86_64-linux/ghc-9.4.8/haskell-language-server-2.7.0.0/t/hls-eval-plugin-tests/build/hls-eval-plugin-tests/hls-eval-plugin-tests -p'/:i behaves exactly the same as :info/' || { echo "Command failed at iteration $i"; break; }; done +ThreadId 12 | 2024-04-21T05:26:54.529827Z | Info | Test Projeval +ect l :info command +ocated :i behaves exactly the same as :info: in directory: /tmp/hls-test-root/extra-dir-75173792541692 +ThreadId 13 | 2024-04-21T05:26:54.531708Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:26:54.532669Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "executionSummarySupport": true + , ghcide-hover-and-symbols + } + , test + }, + , block-command + "textDocument": { + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", +ThreadId 16 | 2024-04-21T05:26:54.532956Z | Info | Starting server + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-75173792541692", + "processId": 118015, + "rootUri": "file:///tmp/hls-test-root/extra-dir-75173792541692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:26:54.537524Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:26:54.537928Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-9111022555010361755) "file:///tmp/hls-test-root/extra-dir-75173792541692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:26:54.541938Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:26:56.714512Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:26:56.848110Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:26:59.123333Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:26:59.124588Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:26:59.124646Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:26:59.124757Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:26:59.125041Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "118015:block-command:ghcide.command.block", + "118015:ghcide-type-lenses:typesignature.add", + "118015:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", +ThreadId 21 | 2024-04-21T05:26:59.126470Z | Debug | Shake session initialized + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs", + "version": 0 + } + } +} +--> { +ThreadId 16 | 2024-04-21T05:26:59.126766Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, +ThreadId 21 | 2024-04-21T05:26:59.127103Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , Modified {firstOpen = True} ) ] + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 35 | 2024-04-21T05:26:59.127237Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:26:59.127309Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs (modified) +<-- { +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:26:59.127333Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", +--> { + "checkProject": true, + "formattingProvider": "ormolu", + "id": 2, + "jsonrpc": "2.0", + "result": null +} + "maxCompletions": 40, + "plugin": { } +} +ThreadId 21 | 2024-04-21T05:26:59.127428Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 16 | 2024-04-21T05:26:59.128101Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 59 | 2024-04-21T05:26:59.128155Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", +ThreadId 67 | 2024-04-21T05:26:59.128410Z | Debug | Finished: codeLens.config Took: 0.00s + "params": [] +} +ThreadId 77 | 2024-04-21T05:26:59.128886Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-75173792541692", cradleOptsProg = CradleAction: Cabal} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +ThreadId 77 | 2024-04-21T05:26:59.129021Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 47 | 2024-04-21T05:26:59.131127Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:26:59.131148Z | Debug | Restarting build session due to config change +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-75173792541692 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 77 | 2024-04-21T05:26:59.142139Z | Debug | cabal --numeric-version +ThreadId 77 | 2024-04-21T05:26:59.205779Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 77 | 2024-04-21T05:26:59.329496Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 77 | 2024-04-21T05:26:59.393272Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 77 | 2024-04-21T05:26:59.457734Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 77 | 2024-04-21T05:26:59.581243Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 77 | 2024-04-21T05:26:59.581805Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT118015-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 146 | 2024-04-21T05:26:59.609736Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 146 | 2024-04-21T05:26:59.609844Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 146 | 2024-04-21T05:26:59.609899Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 146 | 2024-04-21T05:26:59.609938Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 146 | 2024-04-21T05:26:59.639609Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:27:01.860483Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:27:01.860895Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:27:02.056844Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 146 | 2024-04-21T05:27:02.715434Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:27:04.980393Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 77 | 2024-04-21T05:27:05.070126Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 77 | 2024-04-21T05:27:05.193556Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 77 | 2024-04-21T05:27:05.257051Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 59 | 2024-04-21T05:27:05.257233Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-75173792541692-aad24b31ba8a58ba1c7c30887ddcaff2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-75173792541692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 59 | 2024-04-21T05:27:05.297199Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca +ThreadId 59 | 2024-04-21T05:27:05.309751Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 59 | 2024-04-21T05:27:05.420221Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-75173792541692/hie.yaml",Just 2024-04-21 05:26:54.529218878 UTC),("cabal.project",Just 2024-04-21 05:26:54.529218878 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:26:54.529218878 UTC)]) +ThreadId 59 | 2024-04-21T05:27:05.420755Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs"])] +ThreadId 102 | 2024-04-21T05:27:05.420998Z | Debug | Finished build session +AsyncCancelled +ThreadId 59 | 2024-04-21T05:27:05.421078Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GhcSessionIO; + , GetClientSettings; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 187 | 2024-04-21T05:27:05.430037Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs") +ThreadId 269 | 2024-04-21T05:27:05.459959Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hie +--> { + "id": 11, +ThreadId 269 | 2024-04-21T05:27:05.460318Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs + "jsonrpc": "2.0", +ThreadId 261 | 2024-04-21T05:27:05.460595Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hie +ThreadId 261 | 2024-04-21T05:27:05.460637Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +ThreadId 185 | 2024-04-21T05:27:05.462612Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") + "range": { +ThreadId 271 | 2024-04-21T05:27:05.463349Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hie +ThreadId 271 | 2024-04-21T05:27:05.463976Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs", + "version": 0 + } +} +ThreadId 191 | 2024-04-21T05:27:05.483594Z | Debug | Finished: InitialLoad Took: 0.06s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 6 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TInfo.hs" +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118015:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118015:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +ThreadId 180 | 2024-04-21T05:27:05.488109Z | Debug | Finished build session +<-- { +AsyncCancelled + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", +ThreadId 496 | 2024-04-21T05:27:05.488191Z | Debug | Restarting build session due to Eval + "value": { +Action Queue: [] + "kind": "end", +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hi + "message": "Finished indexing 1 files" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hi + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hi + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hie +--> { + , IsEvaluating; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hie ] +Aborting previous build session took 0.00s + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hi.core +ThreadId 522 | 2024-04-21T05:27:06.560239Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" +ThreadId 516 | 2024-04-21T05:27:06.560499Z | Debug | Finished build session +AsyncCancelled +ThreadId 496 | 2024-04-21T05:27:06.560583Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 550 | 2024-04-21T05:27:06.560870Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:27:06.612926Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { +ThreadId 545 | 2024-04-21T05:27:06.613249Z | Debug | Finished build session +AsyncCancelled + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +ThreadId 21 | 2024-04-21T05:27:06.613331Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs +} + , GetModificationTime; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-ca5ae3c7d64395357b9d19895ed812978db09fca/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:27:06.613586Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs +ThreadId 591 | 2024-04-21T05:27:06.613756Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 594 | 2024-04-21T05:27:06.614727Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 604 | 2024-04-21T05:27:06.617374Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118015:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:27:06.618454Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 580 | 2024-04-21T05:27:06.618549Z | Debug | Finished build session +AsyncCancelled + "params": { + "token": "33", + "value": { + "kind": "end" + } + } +} +ThreadId 20 | 2024-04-21T05:27:06.618922Z | Info | Reactor thread stopped +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-75173792541692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:27:06.619141Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:27:06.619601Z | Debug | Cleaned up temporary directory + OK (12.09s) + +All 1 tests passed (12.09s) +ThreadId 12 | 20eval +24-0 :info command +4-21T0 :i behaves exactly the same as :info: 5:27:06.706169Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-11658060762692 +ThreadId 13 | 2024-04-21T05:27:06.708021Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true +ThreadId 13 | 2024-04-21T05:27:06.709051Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + } + , eval + , ghcide-core ] + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ +ThreadId 16 | 2024-04-21T05:27:06.709431Z | Info | Starting server + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-11658060762692", + "processId": 118596, + "rootUri": "file:///tmp/hls-test-root/extra-dir-11658060762692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:27:06.713274Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:06.713689Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-4134446314428688372) "file:///tmp/hls-test-root/extra-dir-11658060762692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:27:06.716386Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:27:08.919609Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:27:09.043029Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:27:11.217361Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:27:11.218539Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:27:11.218591Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:27:11.218732Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:27:11.218934Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "118596:block-command:ghcide.command.block", + "118596:ghcide-type-lenses:typesignature.add", + "118596:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 21 | 2024-04-21T05:27:11.220597Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:27:11.220811Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 21 | 2024-04-21T05:27:11.221266Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , Modified {firstOpen = True} ) ] + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +ThreadId 35 | 2024-04-21T05:27:11.221527Z | Debug | Finished build session +AsyncCancelled +} +<-- { + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:27:11.221694Z | Debug | LSP: set new config: { + "method": "kick/start", + "cabalFormattingProvider": "cabal-gild", + "params": [] +} + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:27:11.221749Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 16 | 2024-04-21T05:27:11.221833Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 21 | 2024-04-21T05:27:11.221991Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +ThreadId 48 | 2024-04-21T05:27:11.222527Z | Debug | Finished build session +AsyncCancelled + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +ThreadId 16 | 2024-04-21T05:27:11.222551Z | Debug | Restarting build session due to config change +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +ThreadId 83 | 2024-04-21T05:27:11.223014Z | Debug | Finished: codeLens.config Took: 0.00s +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 102 | 2024-04-21T05:27:11.223863Z | Info | Cradle path: TI_Info.hs +ThreadId 106 | 2024-04-21T05:27:11.224116Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-11658060762692", cradleOptsProg = CradleAction: Cabal} +ThreadId 106 | 2024-04-21T05:27:11.224322Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-11658060762692 (for TI_Info.hs)" + } + } +} +ThreadId 106 | 2024-04-21T05:27:11.237240Z | Debug | cabal --numeric-version +ThreadId 106 | 2024-04-21T05:27:11.300738Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 106 | 2024-04-21T05:27:11.424184Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 106 | 2024-04-21T05:27:11.487773Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 106 | 2024-04-21T05:27:11.551442Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 106 | 2024-04-21T05:27:11.675079Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 106 | 2024-04-21T05:27:11.676437Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT118596-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 134 | 2024-04-21T05:27:11.702797Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 134 | 2024-04-21T05:27:11.702923Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 134 | 2024-04-21T05:27:11.702973Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:27:11.703026Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:27:11.731514Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:27:13.943028Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:27:13.943478Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:27:14.130617Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 134 | 2024-04-21T05:27:14.767802Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:27:16.970514Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 106 | 2024-04-21T05:27:17.053355Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 106 | 2024-04-21T05:27:17.176619Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 106 | 2024-04-21T05:27:17.240097Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 102 | 2024-04-21T05:27:17.240304Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-11658060762692-0bc3544b9347a34586389a83a57f1f65/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-11658060762692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 102 | 2024-04-21T05:27:17.280693Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d +ThreadId 102 | 2024-04-21T05:27:17.306213Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 102 | 2024-04-21T05:27:17.478759Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-11658060762692/hie.yaml",Just 2024-04-21 05:27:06.705254466 UTC),("cabal.project",Just 2024-04-21 05:27:06.706254469 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:27:06.705254466 UTC)]) +ThreadId 102 | 2024-04-21T05:27:17.480691Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs"])] +ThreadId 77 | 2024-04-21T05:27:17.480989Z | Debug | Finished build session +AsyncCancelled +ThreadId 102 | 2024-04-21T05:27:17.481077Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 176 | 2024-04-21T05:27:17.485751Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs") + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs") +ThreadId 172 | 2024-04-21T05:27:17.512669Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118596:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + }, + "sections": [ + { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs") + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118596:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +--> { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 409 | 2024-04-21T05:27:17.516934Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 167 | 2024-04-21T05:27:17.516958Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TI_Info.hi.core +--> { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs") + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBang.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs") +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoBangMany.hs" +} +ThreadId 451 | 2024-04-21T05:27:17.534944Z | Debug | Finished: InitialLoad Took: 0.02s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TProperty.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TInfo.hs" +} +ThreadId 450 | 2024-04-21T05:27:18.576164Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +ThreadId 445 | 2024-04-21T05:27:18.576401Z | Debug | Finished build session +AsyncCancelled +ThreadId 409 | 2024-04-21T05:27:18.576552Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoMany.hie ] +Aborting previous build session took 0.00s +ThreadId 612 | 2024-04-21T05:27:18.576950Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, +ThreadId 21 | 2024-04-21T05:27:18.625361Z | Debug | Set files of interst to + "line": 5 + }, + [ ( /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , Modified {firstOpen = False} ) ] + "start": { + "character": 0, + "line": 5 +ThreadId 607 | 2024-04-21T05:27:18.625562Z | Debug | Finished build session + } + } + } + ] + } + } + } +} +AsyncCancelled +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +ThreadId 21 | 2024-04-21T05:27:18.626039Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfo.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoMany.hi + "jsonrpc": "2.0", + , IsEvaluating; /tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TProperty.hi + } + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBang.hie +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoBangMany.hie +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TProperty.hie + "id": 2, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b930abff02fbaf09b7152f2e1bf40211036a2a7d/TInfoMany.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:27:18.626353Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs + "jsonrpc": "2.0", + "result": null +} +ThreadId 649 | 2024-04-21T05:27:18.626601Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "37" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "37", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 650 | 2024-04-21T05:27:18.627646Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 663 | 2024-04-21T05:27:18.628479Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "118596:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:27:18.631051Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" +} +ThreadId 637 | 2024-04-21T05:27:18.631166Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "37", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-11658060762692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:27:18.631550Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:27:18.631603Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:27:18.632051Z | Debug | Cleaned up temporary directory + OK (11.93s) + +All 1 tests passed (11.93s) +ThreadId 12 | 2024-04-21T0eval + :info command + :i behaves exactly the same as :info: 5:27:18.709677Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-79178590783692 +ThreadId 13 | 2024-04-21T05:27:18.711826Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { +ThreadId 13 | 2024-04-21T05:27:18.712834Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "dynamicRegistration": true, +ThreadId 16 | 2024-04-21T05:27:18.713078Z | Info | Starting server + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-79178590783692", + "processId": 119172, + "rootUri": "file:///tmp/hls-test-root/extra-dir-79178590783692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:27:18.717549Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:18.717948Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5837477566563633688) "file:///tmp/hls-test-root/extra-dir-79178590783692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:27:18.720610Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:27:20.832990Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:27:20.956227Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:27:23.129542Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:27:23.130716Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:27:23.130768Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:27:23.130885Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:27:23.131211Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "119172:block-command:ghcide.command.block", + "119172:ghcide-type-lenses:typesignature.add", + "119172:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:27:23.132903Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" +ThreadId 21 | 2024-04-21T05:27:23.133138Z | Debug | Shake session initialized +ThreadId 21 | 2024-04-21T05:27:23.133446Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , Modified {firstOpen = True} ) ] + } + } +} +ThreadId 35 | 2024-04-21T05:27:23.133673Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:27:23.133727Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs ] +Aborting previous build session took 0.00s +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:27:23.133834Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs +ThreadId 16 | 2024-04-21T05:27:23.134041Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +ThreadId 16 | 2024-04-21T05:27:23.134225Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 62 | 2024-04-21T05:27:23.134763Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 80 | 2024-04-21T05:27:23.135099Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-79178590783692", cradleOptsProg = CradleAction: Cabal} +ThreadId 80 | 2024-04-21T05:27:23.135189Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 46 | 2024-04-21T05:27:23.137497Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:27:23.137617Z | Debug | Restarting build session due to config change +Action Queue: [codeLens.config] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 100 | 2024-04-21T05:27:23.138240Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-79178590783692 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 80 | 2024-04-21T05:27:23.148616Z | Debug | cabal --numeric-version +ThreadId 80 | 2024-04-21T05:27:23.211955Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 80 | 2024-04-21T05:27:23.335114Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:23.398692Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 80 | 2024-04-21T05:27:23.461937Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:27:23.585257Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:23.585864Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT119172-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 135 | 2024-04-21T05:27:23.613266Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 135 | 2024-04-21T05:27:23.613505Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 135 | 2024-04-21T05:27:23.613565Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 135 | 2024-04-21T05:27:23.613615Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 135 | 2024-04-21T05:27:23.641923Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:27:25.815978Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:27:25.816470Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:27:26.008336Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 135 | 2024-04-21T05:27:26.670536Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:27:28.913414Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 80 | 2024-04-21T05:27:28.993703Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:27:29.116967Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:29.190650Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 62 | 2024-04-21T05:27:29.190833Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-79178590783692-bbd672b3c59f8c5297e7b93372e906c2/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-79178590783692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 62 | 2024-04-21T05:27:29.231529Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a +ThreadId 62 | 2024-04-21T05:27:29.254995Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 62 | 2024-04-21T05:27:29.394817Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-79178590783692/hie.yaml",Just 2024-04-21 05:27:18.709289551 UTC),("cabal.project",Just 2024-04-21 05:27:18.709289551 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:27:18.709289551 UTC)]) +ThreadId 62 | 2024-04-21T05:27:29.395381Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs"])] +ThreadId 91 | 2024-04-21T05:27:29.395654Z | Debug | Finished build session +AsyncCancelled +ThreadId 62 | 2024-04-21T05:27:29.395711Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 176 | 2024-04-21T05:27:29.401555Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs") +--> { +ThreadId 252 | 2024-04-21T05:27:29.435103Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hie +ThreadId 252 | 2024-04-21T05:27:29.435184Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs + "id": 11, + "jsonrpc": "2.0", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs") + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs" + } +} +ThreadId 172 | 2024-04-21T05:27:29.438785Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfoMany.hs" +} +ThreadId 250 | 2024-04-21T05:27:29.439982Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hie +ThreadId 250 | 2024-04-21T05:27:29.440033Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs +ThreadId 255 | 2024-04-21T05:27:29.440389Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hie +ThreadId 255 | 2024-04-21T05:27:29.440464Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs +ThreadId 254 | 2024-04-21T05:27:29.440611Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hie +ThreadId 254 | 2024-04-21T05:27:29.440648Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +ThreadId 181 | 2024-04-21T05:27:29.442349Z | Debug | Finished: InitialLoad Took: 0.05s +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs" + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119172:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119172:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/6)..." + } +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs" +} +<-- { +ThreadId 167 | 2024-04-21T05:27:29.445595Z | Debug | Finished build session +AsyncCancelled + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 449 | 2024-04-21T05:27:29.445652Z | Debug | Restarting build session due to Eval + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TProperty.hs" +Action Queue: [] +} +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + "token": "22", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hie ] +Aborting previous build session took 0.00s + "value": { + "kind": "report", + "message": " (5/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") + "value": { + "kind": "report", + "message": " (6/7)..." + } + } +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs") + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 475 | 2024-04-21T05:27:30.499689Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" +ThreadId 466 | 2024-04-21T05:27:30.500119Z | Debug | Finished build session +AsyncCancelled +ThreadId 449 | 2024-04-21T05:27:30.500182Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 517 | 2024-04-21T05:27:30.500498Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:27:30.548924Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + } + } +} +ThreadId 512 | 2024-04-21T05:27:30.549263Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { +ThreadId 21 | 2024-04-21T05:27:30.549327Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hi + "kind": "end" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hi + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoMany.hie + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBang.hie +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TProperty.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a4a68c912d37d3189269d1b5057a37b4541bbf9a/TI_Info.hi.core ] +Aborting previous build session took 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +ThreadId 21 | 2024-04-21T05:27:30.549533Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +ThreadId 559 | 2024-04-21T05:27:30.549993Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 566 | 2024-04-21T05:27:30.550883Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 568 | 2024-04-21T05:27:30.552830Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119172:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:27:30.554024Z | Debug | Received shutdown message + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" +} +ThreadId 539 | 2024-04-21T05:27:30.554188Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-79178590783692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +ThreadId 20 | 2024-04-21T05:27:30.554560Z | Info | Reactor thread stopped +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:27:30.555130Z | Debug | Cleaned up temporary directory + OK (11.85s) + +All 1 tests passed (11.85s) +ThreadId 12 | 2024-04-21T05:27:30.634001Z | eval + :info command + :i behaves exactly the same as :info: Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-40950933605692 +ThreadId 13 | 2024-04-21T05:27:30.636166Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:27:30.637181Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "executionSummarySupport": true + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + } + , test + }, + "textDocument": { + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } +ThreadId 16 | 2024-04-21T05:27:30.637409Z | Info | Starting server + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-40950933605692", + "processId": 119751, + "rootUri": "file:///tmp/hls-test-root/extra-dir-40950933605692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:27:30.641967Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:30.642331Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-648411020107049550) "file:///tmp/hls-test-root/extra-dir-40950933605692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:27:30.644973Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:27:32.810964Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:27:32.934358Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:27:35.068637Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:27:35.069812Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:27:35.069863Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:27:35.070019Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:27:35.070295Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "119751:block-command:ghcide.command.block", + "119751:ghcide-type-lenses:typesignature.add", + "119751:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 21 | 2024-04-21T05:27:35.071692Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:27:35.072336Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:27:35.073143Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 16 | 2024-04-21T05:27:35.073290Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:35.073398Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 35 | 2024-04-21T05:27:35.073586Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:27:35.073658Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:27:35.073773Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", +ThreadId 74 | 2024-04-21T05:27:35.074245Z | Info | Cradle path: TI_Info.hs + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 80 | 2024-04-21T05:27:35.074482Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-40950933605692", cradleOptsProg = CradleAction: Cabal} +<-- { +ThreadId 80 | 2024-04-21T05:27:35.074567Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 51 | 2024-04-21T05:27:35.076367Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:27:35.076382Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +ThreadId 93 | 2024-04-21T05:27:35.077137Z | Debug | Finished: codeLens.config Took: 0.00s + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-40950933605692 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 80 | 2024-04-21T05:27:35.087507Z | Debug | cabal --numeric-version +ThreadId 80 | 2024-04-21T05:27:35.150979Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 80 | 2024-04-21T05:27:35.274624Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:35.338248Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 80 | 2024-04-21T05:27:35.401613Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:27:35.525919Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:35.526480Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT119751-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:27:35.553282Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:27:35.553416Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:27:35.553464Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:27:35.553503Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:27:35.582307Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:27:37.771467Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:27:37.771835Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:27:37.959939Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:27:38.595053Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:27:40.805371Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 80 | 2024-04-21T05:27:40.893435Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:27:41.036682Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:27:41.100150Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 74 | 2024-04-21T05:27:41.100352Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-40950933605692-88e8cecebc598eaff2485c45cf5f3266/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-40950933605692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 74 | 2024-04-21T05:27:41.139140Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72 +ThreadId 74 | 2024-04-21T05:27:41.157871Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 74 | 2024-04-21T05:27:41.299342Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-40950933605692/hie.yaml",Just 2024-04-21 05:27:30.634324405 UTC),("cabal.project",Just 2024-04-21 05:27:30.634324405 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:27:30.634324405 UTC)]) +ThreadId 74 | 2024-04-21T05:27:41.300957Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs"])] +ThreadId 74 | 2024-04-21T05:27:41.301245Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 88 | 2024-04-21T05:27:41.301253Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 175 | 2024-04-21T05:27:41.307794Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs") +ThreadId 170 | 2024-04-21T05:27:41.327578Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs") + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119751:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + }, + "sections": [ + { +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119751:eval:evalCommand" + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 165 | 2024-04-21T05:27:41.334158Z | Debug | Finished build session +AsyncCancelled +ThreadId 405 | 2024-04-21T05:27:41.334158Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBangMany.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs") +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBang.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoBangMany.hs" +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 486 | 2024-04-21T05:27:42.353097Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TProperty.hie +ThreadId 486 | 2024-04-21T05:27:42.353161Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs +ThreadId 447 | 2024-04-21T05:27:42.375858Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs") +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" +ThreadId 491 | 2024-04-21T05:27:42.378718Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfo.hie +ThreadId 491 | 2024-04-21T05:27:42.378812Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +ThreadId 405 | 2024-04-21T05:27:42.379050Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfo.hie ] +Aborting previous build session took 0.00s +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +ThreadId 440 | 2024-04-21T05:27:42.379082Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", +ThreadId 566 | 2024-04-21T05:27:42.379376Z | Debug | Finished: eval: config Took: 0.00s + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TPropertyError.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs" + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:27:42.487732Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , Modified {firstOpen = False} ) ] +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 559 | 2024-04-21T05:27:42.488478Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:27:42.488484Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs (modified) +Action Queue: [InitialLoad] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-cfbc5e93c99304490bf551bafc924aee1f167e72/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:27:42.488663Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs +ThreadId 683 | 2024-04-21T05:27:42.488789Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +--> { + "id": 23, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 23, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "38" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "38", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 688 | 2024-04-21T05:27:42.490173Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs") +ThreadId 696 | 2024-04-21T05:27:42.493696Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "119751:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:27:42.494647Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 684 | 2024-04-21T05:27:42.494770Z | Debug | Finished: InitialLoad Took: 0.01s + "params": { + "token": "38", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-40950933605692/TI_Info.hs" + ] +} +ThreadId 672 | 2024-04-21T05:27:42.495118Z | Debug | Finished build session +AsyncCancelled +ThreadId 20 | 2024-04-21T05:27:42.495178Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:27:42.495771Z | Debug | Cleaned up temporary directory + OK (11.86s) + +All 1 tests passed (11.86s) +ThreadId 12 | 2eval + :info command + :i behaves exactly the same as :info: 024-04-21T05:27:42.548750Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-8656684526692 +ThreadId 13 | 2024-04-21T05:27:42.551148Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:27:42.552171Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 16 | 2024-04-21T05:27:42.552451Z | Info | Starting server + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-8656684526692", + "processId": 120330, + "rootUri": "file:///tmp/hls-test-root/extra-dir-8656684526692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:27:42.557554Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:42.557909Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 7436076282353329753 "file:///tmp/hls-test-root/extra-dir-8656684526692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:27:42.560409Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:27:44.713028Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:27:44.836304Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:27:46.887286Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:27:46.888475Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:27:46.888531Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:27:46.888686Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:27:46.889044Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "120330:block-command:ghcide.command.block", + "120330:ghcide-type-lenses:typesignature.add", + "120330:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { +ThreadId 22 | 2024-04-21T05:27:46.890512Z | Debug | Shake session initialized + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:27:46.891019Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + } + } +} +--> { + "id": 1, +ThreadId 22 | 2024-04-21T05:27:46.891382Z | Debug | Set files of interst to + "jsonrpc": "2.0", + [ ( /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + , Modified {firstOpen = True} ) ] + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 16 | 2024-04-21T05:27:46.891641Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:46.891819Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", +ThreadId 35 | 2024-04-21T05:27:46.891964Z | Debug | Finished build session +AsyncCancelled + "method": "kick/start", + "params": [] +} +ThreadId 22 | 2024-04-21T05:27:46.892033Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:27:46.892160Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 63 | 2024-04-21T05:27:46.892674Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 76 | 2024-04-21T05:27:46.893004Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-8656684526692", cradleOptsProg = CradleAction: Cabal} +ThreadId 76 | 2024-04-21T05:27:46.893079Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 48 | 2024-04-21T05:27:46.896012Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:27:46.896103Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +ThreadId 93 | 2024-04-21T05:27:46.896752Z | Debug | Finished: codeLens.config Took: 0.00s +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-8656684526692 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 76 | 2024-04-21T05:27:46.906005Z | Debug | cabal --numeric-version +ThreadId 76 | 2024-04-21T05:27:46.969826Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 76 | 2024-04-21T05:27:47.103369Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 76 | 2024-04-21T05:27:47.167109Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 76 | 2024-04-21T05:27:47.231065Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 76 | 2024-04-21T05:27:47.354636Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 76 | 2024-04-21T05:27:47.355234Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT120330-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 131 | 2024-04-21T05:27:47.383088Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 131 | 2024-04-21T05:27:47.383203Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 131 | 2024-04-21T05:27:47.383247Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 131 | 2024-04-21T05:27:47.383298Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 131 | 2024-04-21T05:27:47.412963Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:27:49.654775Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:27:49.655223Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:27:49.843019Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 131 | 2024-04-21T05:27:50.520778Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:27:52.723707Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 76 | 2024-04-21T05:27:52.813380Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 76 | 2024-04-21T05:27:52.936938Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 76 | 2024-04-21T05:27:53.001380Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 63 | 2024-04-21T05:27:53.001587Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-8656684526692-6d5765da82b8eeb167ef7e897cbee58d/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-8656684526692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 63 | 2024-04-21T05:27:53.050857Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77 +ThreadId 63 | 2024-04-21T05:27:53.062397Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 63 | 2024-04-21T05:27:53.198222Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-8656684526692/hie.yaml",Just 2024-04-21 05:27:42.548359226 UTC),("cabal.project",Just 2024-04-21 05:27:42.549359229 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:27:42.549359229 UTC)]) +ThreadId 63 | 2024-04-21T05:27:53.198764Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs"])] +ThreadId 88 | 2024-04-21T05:27:53.200242Z | Debug | Finished build session +AsyncCancelled +ThreadId 63 | 2024-04-21T05:27:53.200243Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 170 | 2024-04-21T05:27:53.207170Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs") +ThreadId 250 | 2024-04-21T05:27:53.257663Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoMany.hie +ThreadId 250 | 2024-04-21T05:27:53.257756Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs", + "version": 0 + } +} +<-- { +ThreadId 168 | 2024-04-21T05:27:53.262276Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.06s + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120330:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120330:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TPropertyError.hs" +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +ThreadId 448 | 2024-04-21T05:27:53.268068Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", +ThreadId 163 | 2024-04-21T05:27:53.268082Z | Debug | Finished build session +AsyncCancelled + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") + "character": 0, +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs" + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI "code": "-Wunused-imports", +_Info.hi.core + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs" + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 490 | 2024-04-21T05:27:53.272525Z | Debug | Finished: InitialLoad Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TInfo.hs" + } +} +ThreadId 493 | 2024-04-21T05:27:54.316201Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" +ThreadId 484 | 2024-04-21T05:27:54.316443Z | Debug | Finished build session +AsyncCancelled +ThreadId 448 | 2024-04-21T05:27:54.316516Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 584 | 2024-04-21T05:27:54.317214Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { +ThreadId 22 | 2024-04-21T05:27:54.366471Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , Modified {firstOpen = False} ) ] + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + } + } +} +ThreadId 579 | 2024-04-21T05:27:54.366924Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:27:54.367103Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TProperty.hie +<-- { + "id": 2, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8be305b0de877f8e706f472c36cc84687c09fc77/TI_Info.hi.core ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:27:54.367316Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs +ThreadId 630 | 2024-04-21T05:27:54.367642Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 633 | 2024-04-21T05:27:54.369181Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 634 | 2024-04-21T05:27:54.369292Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120330:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:27:54.370384Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 609 | 2024-04-21T05:27:54.370521Z | Debug | Finished build session +AsyncCancelled + "params": { + "token": "32", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-8656684526692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:27:54.370889Z | Error | Got EOF +ThreadId 21 | 2024-04-21T05:27:54.370968Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:27:54.372802Z | Debug | Cleaned up temporary directory + OK (11.82s) + +All 1 tests passed (11.82s) +ThreadId 12 | 2024-04-21T05:27:54eval + :info command + :i behaves exactly the same as :info: .449105Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-6002094447692 +ThreadId 13 | 2024-04-21T05:27:54.451298Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { +ThreadId 13 | 2024-04-21T05:27:54.452282Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "synchronization": { + PluginIds: [ ghcide-completions + "dynamicRegistration": true, + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + "executionSummarySupport": true + , eval + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + , ghcide-core ] + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { +ThreadId 16 | 2024-04-21T05:27:54.452515Z | Info | Starting server + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-6002094447692", + "processId": 120921, + "rootUri": "file:///tmp/hls-test-root/extra-dir-6002094447692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:27:54.456842Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:27:54.457209Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5438044070899515181) "file:///tmp/hls-test-root/extra-dir-6002094447692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:27:54.459835Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:27:56.542517Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:27:56.666289Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:27:58.807526Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:27:58.808862Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:27:58.808960Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:27:58.809127Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:27:58.809326Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "120921:block-command:ghcide.command.block", + "120921:ghcide-type-lenses:typesignature.add", + "120921:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 22 | 2024-04-21T05:27:58.810836Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:27:58.811179Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +ThreadId 22 | 2024-04-21T05:27:58.811557Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , Modified {firstOpen = True} ) ] + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:27:58.811828Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", +--> { + "id": 3, + "jsonrpc": "2.0", + "checkProject": true, + "formattingProvider": "ormolu", + "result": null +} + "maxCompletions": 40, + "plugin": { } +} +<-- { + "id": 3, +ThreadId 16 | 2024-04-21T05:27:58.811998Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", +ThreadId 35 | 2024-04-21T05:27:58.812014Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:27:58.812064Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:27:58.812364Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + "params": [] +} +ThreadId 51 | 2024-04-21T05:27:58.812378Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:27:58.812382Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +--> { +ThreadId 66 | 2024-04-21T05:27:58.813106Z | Debug | Finished: codeLens.config Took: 0.00s + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, +ThreadId 78 | 2024-04-21T05:27:58.813482Z | Info | Cradle path: TI_Info.hs + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 86 | 2024-04-21T05:27:58.813733Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-6002094447692", cradleOptsProg = CradleAction: Cabal} +ThreadId 86 | 2024-04-21T05:27:58.813801Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-6002094447692 (for TI_Info.hs)" + } + } +} +ThreadId 86 | 2024-04-21T05:27:58.827232Z | Debug | cabal --numeric-version +ThreadId 86 | 2024-04-21T05:27:58.890606Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 86 | 2024-04-21T05:27:59.013780Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:27:59.077333Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 86 | 2024-04-21T05:27:59.140721Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:27:59.274371Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:27:59.274973Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT120921-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 114 | 2024-04-21T05:27:59.303283Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 114 | 2024-04-21T05:27:59.303545Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 114 | 2024-04-21T05:27:59.303602Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 114 | 2024-04-21T05:27:59.303658Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 114 | 2024-04-21T05:27:59.333502Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:28:01.569836Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:28:01.570233Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:28:01.762419Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 114 | 2024-04-21T05:28:02.420550Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:28:04.659866Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 86 | 2024-04-21T05:28:04.742619Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:28:04.866099Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:28:04.930813Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 78 | 2024-04-21T05:28:04.931048Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-6002094447692-983fff52d22e564af12e8cc0a96b96f6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-6002094447692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 78 | 2024-04-21T05:28:04.981152Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872 +ThreadId 78 | 2024-04-21T05:28:04.992439Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 78 | 2024-04-21T05:28:05.133749Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-6002094447692/hie.yaml",Just 2024-04-21 05:27:54.44939401 UTC),("cabal.project",Just 2024-04-21 05:27:54.44939401 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:27:54.44939401 UTC)]) +ThreadId 78 | 2024-04-21T05:28:05.134317Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs"])] +ThreadId 60 | 2024-04-21T05:28:05.134530Z | Debug | Finished build session +AsyncCancelled +ThreadId 78 | 2024-04-21T05:28:05.134608Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 152 | 2024-04-21T05:28:05.141577Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs") + "source": "typecheck", + "tags": [ + 1 + ] + } +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs") + ], + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs") +ThreadId 150 | 2024-04-21T05:28:05.177348Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120921:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs") + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120921:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +--> { +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" +} +ThreadId 145 | 2024-04-21T05:28:05.185069Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", +ThreadId 385 | 2024-04-21T05:28:05.185134Z | Debug | Restarting build session due to Eval + "value": { +Action Queue: [InitialLoad] + "kind": "end", +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + "message": "Finished indexing 1 files" + } + } +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hi.core + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": "10/16" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": "9/16" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs") + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs") +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TProperty.hs" +} +ThreadId 461 | 2024-04-21T05:28:06.215551Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TProperty.hie +ThreadId 461 | 2024-04-21T05:28:06.215629Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs +ThreadId 460 | 2024-04-21T05:28:06.216034Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoMany.hie +ThreadId 460 | 2024-04-21T05:28:06.216123Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs +ThreadId 465 | 2024-04-21T05:28:06.216617Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfo.hie +ThreadId 465 | 2024-04-21T05:28:06.216668Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, +ThreadId 463 | 2024-04-21T05:28:06.218329Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBang.hie + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, +ThreadId 463 | 2024-04-21T05:28:06.225210Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 +ThreadId 431 | 2024-04-21T05:28:06.226320Z | Debug | Finished: runEvalCmd Took: 1.04s + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBangMany.hs" +} +ThreadId 433 | 2024-04-21T05:28:06.226946Z | Debug | Finished: InitialLoad Took: 1.04s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 +ThreadId 426 | 2024-04-21T05:28:06.227198Z | Debug | Finished build session + } +AsyncCancelled + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs" + } +} +ThreadId 385 | 2024-04-21T05:28:06.227413Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBangMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TProperty.hi + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TPropertyError.hs" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfo.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/4)..." + } + } +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBang.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (2/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", +ThreadId 570 | 2024-04-21T05:28:06.228206Z | Debug | Finished: eval: config Took: 0.00s + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:28:06.336204Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { +ThreadId 560 | 2024-04-21T05:28:06.336566Z | Debug | Finished build session +AsyncCancelled + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:28:06.336625Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBangMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-2f3d34658343df1d57ebbca88ecedd8975885872/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:28:06.336801Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs +ThreadId 613 | 2024-04-21T05:28:06.337004Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 614 | 2024-04-21T05:28:06.338362Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 624 | 2024-04-21T05:28:06.339178Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "120921:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:28:06.340309Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" +} +ThreadId 602 | 2024-04-21T05:28:06.340428Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-6002094447692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 21 | 2024-04-21T05:28:06.341995Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:28:06.342510Z | Debug | Cleaned up temporary directory + OK (11.89s) + +All 1 tests passed (11.89s) +ThreadId 12 | 2024-04-21T05:28:06.394704Z | Info | Test Peval +rojec :info command +t loc :i behaves exactly the same as :info: ated in directory: /tmp/hls-test-root/extra-dir-32039549368692 +ThreadId 13 | 2024-04-21T05:28:06.396537Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:28:06.397522Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "executionSummarySupport": true + PluginIds: [ ghcide-completions + } + , ghcide-hover-and-symbols + }, + , test + "textDocument": { + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, +ThreadId 16 | 2024-04-21T05:28:06.397757Z | Info | Starting server + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-32039549368692", + "processId": 121504, + "rootUri": "file:///tmp/hls-test-root/extra-dir-32039549368692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:28:06.402695Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:06.403072Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-8149457034323892306) "file:///tmp/hls-test-root/extra-dir-32039549368692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:28:06.405667Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:28:08.588317Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:28:08.711571Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:28:10.833348Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:28:10.834647Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:28:10.834708Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:28:10.834822Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:28:10.835030Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "121504:block-command:ghcide.command.block", + "121504:ghcide-type-lenses:typesignature.add", + "121504:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs", + "version": 0 +ThreadId 22 | 2024-04-21T05:28:10.836598Z | Debug | Shake session initialized + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:28:10.837006Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs +--> { + "id": 1, +ThreadId 22 | 2024-04-21T05:28:10.837418Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , Modified {firstOpen = True} ) ] + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:28:10.837680Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +ThreadId 35 | 2024-04-21T05:28:10.837790Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 3, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:28:10.837805Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +ThreadId 22 | 2024-04-21T05:28:10.837857Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs (modified) +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 22 | 2024-04-21T05:28:10.838275Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs +ThreadId 50 | 2024-04-21T05:28:10.838319Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:28:10.838502Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 65 | 2024-04-21T05:28:10.839021Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 81 | 2024-04-21T05:28:10.839495Z | Info | Cradle path: TI_Info.hs +ThreadId 87 | 2024-04-21T05:28:10.840163Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-32039549368692", cradleOptsProg = CradleAction: Cabal} +ThreadId 87 | 2024-04-21T05:28:10.840264Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-32039549368692 (for TI_Info.hs)" + } + } +} +ThreadId 87 | 2024-04-21T05:28:10.853293Z | Debug | cabal --numeric-version +ThreadId 87 | 2024-04-21T05:28:10.916779Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 87 | 2024-04-21T05:28:11.040159Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 87 | 2024-04-21T05:28:11.103519Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 87 | 2024-04-21T05:28:11.166976Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 87 | 2024-04-21T05:28:11.290122Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 87 | 2024-04-21T05:28:11.291530Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT121504-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:28:11.318969Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:28:11.319092Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:28:11.319135Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:11.319212Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:11.348828Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:13.571746Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:13.572232Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:13.758347Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:28:14.415109Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:16.617394Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 87 | 2024-04-21T05:28:16.699090Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 87 | 2024-04-21T05:28:16.823066Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 87 | 2024-04-21T05:28:16.886527Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 81 | 2024-04-21T05:28:16.886694Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-32039549368692-1c206e39b52ccbde1b308bee87f93f29/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-32039549368692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 81 | 2024-04-21T05:28:16.928140Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516 +ThreadId 81 | 2024-04-21T05:28:16.945787Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 81 | 2024-04-21T05:28:17.074526Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-32039549368692/hie.yaml",Just 2024-04-21 05:28:06.394428922 UTC),("cabal.project",Just 2024-04-21 05:28:06.394428922 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:28:06.394428922 UTC)]) +ThreadId 81 | 2024-04-21T05:28:17.075097Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs"])] +ThreadId 60 | 2024-04-21T05:28:17.075438Z | Debug | Finished build session +AsyncCancelled +ThreadId 81 | 2024-04-21T05:28:17.075439Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 154 | 2024-04-21T05:28:17.085142Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs") +ThreadId 234 | 2024-04-21T05:28:17.112151Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hie +ThreadId 234 | 2024-04-21T05:28:17.112234Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs") +ThreadId 229 | 2024-04-21T05:28:17.115053Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hie +ThreadId 229 | 2024-04-21T05:28:17.115115Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs +<-- { + "jsonrpc": "2.0", +ThreadId 235 | 2024-04-21T05:28:17.115467Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hie + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", +ThreadId 235 | 2024-04-21T05:28:17.115753Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ +ThreadId 233 | 2024-04-21T05:28:17.115792Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hie +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") +ThreadId 151 | 2024-04-21T05:28:17.115882Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs" + } +} +ThreadId 239 | 2024-04-21T05:28:17.115995Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hie +ThreadId 233 | 2024-04-21T05:28:17.116151Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { +ThreadId 231 | 2024-04-21T05:28:17.116198Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hie + "location": { + "range": { +ThreadId 239 | 2024-04-21T05:28:17.117180Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs", + "version": 0 + } +} +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +ThreadId 231 | 2024-04-21T05:28:17.117742Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, +ThreadId 162 | 2024-04-21T05:28:17.119203Z | Debug | Finished: InitialLoad Took: 0.04s + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs" + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "121504:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "121504:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TInfoBang.hs" +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (3/7)..." + } + } +} +ThreadId 146 | 2024-04-21T05:28:17.121727Z | Debug | Finished build session +<-- { + "jsonrpc": "2.0", +AsyncCancelled + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (4/8)..." +ThreadId 420 | 2024-04-21T05:28:17.121845Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI_Info.hie ] +Aborting previous build session took 0.00s + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (5/8)..." + } +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (6/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI} +_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 445 | 2024-04-21T05:28:18.160793Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" +ThreadId 437 | 2024-04-21T05:28:18.161027Z | Debug | Finished build session +AsyncCancelled +ThreadId 420 | 2024-04-21T05:28:18.161049Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 492 | 2024-04-21T05:28:18.161467Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } +ThreadId 22 | 2024-04-21T05:28:18.219848Z | Debug | Set files of interst to + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + } + [ ( /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , Modified {firstOpen = False} ) ] + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:28:18.220346Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TInfoMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-aae8460c55a625f92ca1f1ecda7e849862974516/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 487 | 2024-04-21T05:28:18.220365Z | Debug | Finished build session +AsyncCancelled + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:28:18.220569Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs +ThreadId 528 | 2024-04-21T05:28:18.220870Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 537 | 2024-04-21T05:28:18.222433Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 541 | 2024-04-21T05:28:18.223067Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "121504:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:28:18.224319Z | Debug | Received shutdown message + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end" + } + } +ThreadId 517 | 2024-04-21T05:28:18.224497Z | Debug | Finished build session +AsyncCancelled +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-32039549368692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:28:18.224848Z | Error | Got EOF +ThreadId 21 | 2024-04-21T05:28:18.224900Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:28:18.226053Z | Debug | Cleaned up temporary directory + OK (11.83s) + +All 1 tests passed (11.83s) +Threaeval +dId 12 | 2024 :info command + :i behaves exactly the same as :info: -04-21T05:28:18.297202Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-94402179289692 +ThreadId 13 | 2024-04-21T05:28:18.299329Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { +ThreadId 13 | 2024-04-21T05:28:18.300327Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "dynamicRegistration": true, +ThreadId 16 | 2024-04-21T05:28:18.300536Z | Info | Starting server + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-94402179289692", + "processId": 122081, + "rootUri": "file:///tmp/hls-test-root/extra-dir-94402179289692", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:28:18.304979Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:18.305363Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-1870159656570624213) "file:///tmp/hls-test-root/extra-dir-94402179289692"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:28:18.309176Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:28:20.452803Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:28:20.576366Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:28:22.626893Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:28:22.628050Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:28:22.628102Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:28:22.628267Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:28:22.628562Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "122081:block-command:ghcide.command.block", + "122081:ghcide-type-lenses:typesignature.add", + "122081:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, +ThreadId 21 | 2024-04-21T05:28:22.630260Z | Debug | Shake session initialized + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:28:22.630355Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:28:22.630981Z | Debug | Set files of interst to +<-- { + [ ( /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + "jsonrpc": "2.0", + , Modified {firstOpen = True} ) ] + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:28:22.631500Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", +<-- { + "id": 2, + "jsonrpc": "2.0", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "method": "window/workDoneProgress/create", + "plugin": { } + "params": { +} + "token": "3" + } +} +ThreadId 35 | 2024-04-21T05:28:22.631600Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:28:22.631675Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 21 | 2024-04-21T05:28:22.631727Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:28:22.631998Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs +<-- { + "jsonrpc": "2.0", +ThreadId 53 | 2024-04-21T05:28:22.632237Z | Debug | Finished build session +AsyncCancelled + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:28:22.632276Z | Debug | Restarting build session due to config change +Action Queue: [codeLens.config] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 83 | 2024-04-21T05:28:22.632897Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 95 | 2024-04-21T05:28:22.633083Z | Info | Cradle path: TI_Info.hs +ThreadId 99 | 2024-04-21T05:28:22.633323Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-94402179289692", cradleOptsProg = CradleAction: Cabal} +ThreadId 99 | 2024-04-21T05:28:22.633393Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-94402179289692 (for TI_Info.hs)" + } + } +} +ThreadId 99 | 2024-04-21T05:28:22.646165Z | Debug | cabal --numeric-version +ThreadId 99 | 2024-04-21T05:28:22.709662Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 99 | 2024-04-21T05:28:22.832764Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 99 | 2024-04-21T05:28:22.896238Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 99 | 2024-04-21T05:28:22.960197Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 99 | 2024-04-21T05:28:23.093359Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 99 | 2024-04-21T05:28:23.093950Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT122081-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 131 | 2024-04-21T05:28:23.122732Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 131 | 2024-04-21T05:28:23.122838Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 131 | 2024-04-21T05:28:23.122899Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 131 | 2024-04-21T05:28:23.122941Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 131 | 2024-04-21T05:28:23.153278Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:28:25.354280Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:28:25.354684Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:28:25.544514Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 131 | 2024-04-21T05:28:26.188393Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 131 | 2024-04-21T05:28:28.363525Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 99 | 2024-04-21T05:28:28.451596Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 99 | 2024-04-21T05:28:28.575145Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 99 | 2024-04-21T05:28:28.638620Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 95 | 2024-04-21T05:28:28.638826Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-94402179289692-d9e01083942154ea7d18d0bc5196621e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-94402179289692", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 95 | 2024-04-21T05:28:28.679316Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a +ThreadId 95 | 2024-04-21T05:28:28.696573Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 95 | 2024-04-21T05:28:28.830685Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-94402179289692/hie.yaml",Just 2024-04-21 05:28:18.297463712 UTC),("cabal.project",Just 2024-04-21 05:28:18.297463712 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:28:18.297463712 UTC)]) +ThreadId 95 | 2024-04-21T05:28:28.832340Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs"])] +ThreadId 95 | 2024-04-21T05:28:28.832651Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 75 | 2024-04-21T05:28:28.832654Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 175 | 2024-04-21T05:28:28.841733Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { +ThreadId 254 | 2024-04-21T05:28:28.863082Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hie + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, +ThreadId 254 | 2024-04-21T05:28:28.863176Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs", + "version": 0 + } +} +ThreadId 249 | 2024-04-21T05:28:28.864030Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoMany.hie +ThreadId 249 | 2024-04-21T05:28:28.864077Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +ThreadId 169 | 2024-04-21T05:28:28.865442Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122081:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122081:eval:evalCommand" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs") +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 164 | 2024-04-21T05:28:28.870607Z | Debug | Finished build session + "params": { + "token": "23" + } +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +ThreadId 423 | 2024-04-21T05:28:28.870625Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoMany.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBangMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBangMany.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") +<-- { +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs") +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TI_Info.hi.core + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs" +} +<-- { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs" +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { +ThreadId 458 | 2024-04-21T05:28:28.885019Z | Debug | Finished: InitialLoad Took: 0.01s + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TInfoBangMany.hs" + } +} +ThreadId 457 | 2024-04-21T05:28:29.936748Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" +ThreadId 451 | 2024-04-21T05:28:29.936999Z | Debug | Finished build session +AsyncCancelled +ThreadId 423 | 2024-04-21T05:28:29.937075Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 599 | 2024-04-21T05:28:29.937392Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:28:29.981685Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:28:29.984491Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-07abb5a63d2dac54632422dfd1f85ed6ba904a0a/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 594 | 2024-04-21T05:28:29.984660Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:28:29.984776Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { +ThreadId 634 | 2024-04-21T05:28:29.985211Z | Debug | Finished: codeLens.config Took: 0.00s + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 644 | 2024-04-21T05:28:29.986405Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 645 | 2024-04-21T05:28:29.986936Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122081:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { +ThreadId 16 | 2024-04-21T05:28:29.988011Z | Debug | Received shutdown message +ThreadId 619 | 2024-04-21T05:28:29.988113Z | Debug | Finished build session + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-94402179289692/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:28:29.988556Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:28:29.988658Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:28:29.989074Z | Debug | Cleaned up temporary directory + OK (11.69s) + +All 1 tests passed (11.69s) +ThreadId 12 | 2024-04-21T05:28:30.068459Z | eval +Info :info command +| Test :i behaves exactly the same as :info: Project located in directory: /tmp/hls-test-root/extra-dir-84177386001792 +ThreadId 13 | 2024-04-21T05:28:30.070334Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { +ThreadId 13 | 2024-04-21T05:28:30.071372Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", +ThreadId 16 | 2024-04-21T05:28:30.071624Z | Info | Starting server + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-84177386001792", + "processId": 122659, + "rootUri": "file:///tmp/hls-test-root/extra-dir-84177386001792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:28:30.076267Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:30.076597Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5056715786502204636) "file:///tmp/hls-test-root/extra-dir-84177386001792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:28:30.079123Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:28:32.201227Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:28:32.324812Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:28:34.395691Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:28:34.396910Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:28:34.396984Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:28:34.397134Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:28:34.397392Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "122659:block-command:ghcide.command.block", + "122659:ghcide-type-lenses:typesignature.add", + "122659:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 16 | 2024-04-21T05:28:34.399086Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + } + } +ThreadId 22 | 2024-04-21T05:28:34.399273Z | Debug | Shake session initialized +} +--> { + "id": 1, +ThreadId 22 | 2024-04-21T05:28:34.399587Z | Debug | Set files of interst to + "jsonrpc": "2.0", + [ ( /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + "result": [ + , Modified {firstOpen = True} ) ] + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:28:34.399919Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "result": null +} + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "id": 2, +ThreadId 35 | 2024-04-21T05:28:34.400043Z | Debug | Finished build session +AsyncCancelled + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 22 | 2024-04-21T05:28:34.400069Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 16 | 2024-04-21T05:28:34.400113Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 22 | 2024-04-21T05:28:34.400263Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 66 | 2024-04-21T05:28:34.401421Z | Info | Cradle path: TI_Info.hs +ThreadId 80 | 2024-04-21T05:28:34.401623Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-84177386001792", cradleOptsProg = CradleAction: Cabal} +ThreadId 80 | 2024-04-21T05:28:34.401701Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 50 | 2024-04-21T05:28:34.403340Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:28:34.403359Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 93 | 2024-04-21T05:28:34.403860Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-84177386001792 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 80 | 2024-04-21T05:28:34.414532Z | Debug | cabal --numeric-version +ThreadId 80 | 2024-04-21T05:28:34.477872Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 80 | 2024-04-21T05:28:34.601328Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:28:34.665473Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 80 | 2024-04-21T05:28:34.728726Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:28:34.852254Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:28:34.853782Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT122659-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:28:34.884541Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:28:34.884800Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:28:34.884854Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:28:34.884910Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:28:34.914983Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:28:37.140635Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:28:37.141057Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:28:37.328200Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:28:37.982772Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:28:40.187842Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 80 | 2024-04-21T05:28:40.271219Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 80 | 2024-04-21T05:28:40.394404Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 80 | 2024-04-21T05:28:40.457914Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 66 | 2024-04-21T05:28:40.458185Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-84177386001792-00aa31ac1b410be8d9a9d01c8a8f4be1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-84177386001792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 66 | 2024-04-21T05:28:40.498718Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3 +ThreadId 66 | 2024-04-21T05:28:40.518392Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 66 | 2024-04-21T05:28:40.653172Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-84177386001792/hie.yaml",Just 2024-04-21 05:28:30.068498116 UTC),("cabal.project",Just 2024-04-21 05:28:30.068498116 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:28:30.068498116 UTC)]) +ThreadId 66 | 2024-04-21T05:28:40.654769Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs"])] +ThreadId 66 | 2024-04-21T05:28:40.655130Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 88 | 2024-04-21T05:28:40.655134Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 192 | 2024-04-21T05:28:40.661478Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs", + "version": 0 + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs") +ThreadId 188 | 2024-04-21T05:28:40.687009Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs") + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122659:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122659:eval:evalCommand" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") +--> { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs") + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs" +} +ThreadId 165 | 2024-04-21T05:28:40.691395Z | Debug | Finished build session +AsyncCancelled +ThreadId 417 | 2024-04-21T05:28:40.691398Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoMany.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs") +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs") +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TPropertyError.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 492 | 2024-04-21T05:28:40.705901Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfo.hie +ThreadId 492 | 2024-04-21T05:28:41.218772Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs +ThreadId 460 | 2024-04-21T05:28:41.219228Z | Debug | Finished: InitialLoad Took: 0.53s +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 459 | 2024-04-21T05:28:41.761264Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" +ThreadId 454 | 2024-04-21T05:28:41.761658Z | Debug | Finished build session +AsyncCancelled +ThreadId 417 | 2024-04-21T05:28:41.761799Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 613 | 2024-04-21T05:28:41.762124Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:28:41.811677Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:28:41.811813Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBangMany.hi +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d03ac2010c75888f1999561420148f1b7a57aed3/TInfo.hie ] +Aborting previous build session took 0.00s + "value": { + "kind": "end" + } + } +} +ThreadId 608 | 2024-04-21T05:28:41.811857Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:28:41.812126Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 657 | 2024-04-21T05:28:41.812606Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +--> { + "id": 23, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 23, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "37" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "37", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 661 | 2024-04-21T05:28:41.813723Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 663 | 2024-04-21T05:28:41.814578Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "122659:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:28:41.815632Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", +ThreadId 636 | 2024-04-21T05:28:41.815766Z | Debug | Finished build session + "method": "$/progress", + "params": { +AsyncCancelled + "token": "37", + "value": { + "kind": "end" + } + } +} +ThreadId 21 | 2024-04-21T05:28:41.817707Z | Info | Reactor thread stopped +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-84177386001792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:28:41.818007Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:28:41.818528Z | Debug | Cleaned up temporary directory + OK (11.75s) + +All 1 tests passed (11.75s) +Teval + :info command + :i behaves exactly the same as :info: hreadId 12 | 2024-04-21T05:28:41.901234Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-82124110912792 +ThreadId 13 | 2024-04-21T05:28:41.903451Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", +ThreadId 13 | 2024-04-21T05:28:41.904456Z | Info | Starting LSP server... + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + PluginIds: [ ghcide-completions + "documentationFormat": [ + "plaintext", + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + "markdown" + ], + , ghcide-core ] + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, +ThreadId 16 | 2024-04-21T05:28:41.905011Z | Info | Starting server + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-82124110912792", + "processId": 123238, + "rootUri": "file:///tmp/hls-test-root/extra-dir-82124110912792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:28:41.908719Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:41.909095Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 934681196035632266 "file:///tmp/hls-test-root/extra-dir-82124110912792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:28:41.911758Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:28:44.098673Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:28:44.221832Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:28:46.435000Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:28:46.436183Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:28:46.436235Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:28:46.436387Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:28:46.436668Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "123238:block-command:ghcide.command.block", + "123238:ghcide-type-lenses:typesignature.add", + "123238:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", +ThreadId 21 | 2024-04-21T05:28:46.438151Z | Debug | Shake session initialized + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:28:46.438520Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:28:46.438913Z | Debug | Set files of interst to +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} + [ ( /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , Modified {firstOpen = True} ) ] +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:28:46.439050Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 35 | 2024-04-21T05:28:46.439249Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:28:46.439660Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 16 | 2024-04-21T05:28:46.439689Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 21 | 2024-04-21T05:28:46.439849Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs +ThreadId 53 | 2024-04-21T05:28:46.439950Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:28:46.439951Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 67 | 2024-04-21T05:28:46.440619Z | Debug | Finished: codeLens.config Took: 0.00s +ThreadId 81 | 2024-04-21T05:28:46.440955Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 88 | 2024-04-21T05:28:46.441265Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-82124110912792", cradleOptsProg = CradleAction: Cabal} +ThreadId 88 | 2024-04-21T05:28:46.441353Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-82124110912792 (for TI_Info.hs)" + } + } +} +ThreadId 88 | 2024-04-21T05:28:46.454042Z | Debug | cabal --numeric-version +ThreadId 88 | 2024-04-21T05:28:46.517532Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 88 | 2024-04-21T05:28:46.640626Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:28:46.704302Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 88 | 2024-04-21T05:28:46.767522Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 88 | 2024-04-21T05:28:46.892071Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:28:46.892622Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT123238-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:28:46.919269Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:28:46.919378Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:28:46.919429Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:46.919494Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:46.949399Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:49.149535Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:49.149962Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:49.337225Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:28:49.983453Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:28:52.203773Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 88 | 2024-04-21T05:28:52.289618Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 88 | 2024-04-21T05:28:52.412999Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:28:52.476822Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 81 | 2024-04-21T05:28:52.477016Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82124110912792-eb34e02c2d2a76fd059a9128c60c01a7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-82124110912792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 81 | 2024-04-21T05:28:52.528826Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c +ThreadId 81 | 2024-04-21T05:28:52.535095Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 81 | 2024-04-21T05:28:52.677676Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-82124110912792/hie.yaml",Just 2024-04-21 05:28:41.901532701 UTC),("cabal.project",Just 2024-04-21 05:28:41.901532701 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:28:41.901532701 UTC)]) +ThreadId 81 | 2024-04-21T05:28:52.678305Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs"])] +ThreadId 61 | 2024-04-21T05:28:52.678690Z | Debug | Finished build session +AsyncCancelled +ThreadId 81 | 2024-04-21T05:28:52.678756Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 154 | 2024-04-21T05:28:52.687214Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs") + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs") + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + }, + "message": "TypeCheck" +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs") + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs") + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs", + "version": 0 + } +} +ThreadId 152 | 2024-04-21T05:28:52.706576Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "123238:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "123238:eval:evalCommand" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 147 | 2024-04-21T05:28:52.708863Z | Debug | Finished build session +AsyncCancelled +ThreadId 378 | 2024-04-21T05:28:52.708955Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") + "params": { + "token": "24", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") + } + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs") + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBang.hs" +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +ThreadId 417 | 2024-04-21T05:28:53.808686Z | Debug | Finished: runEvalCmd Took: 1.10s +<-- { +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TPropertyError.hs" +} +ThreadId 412 | 2024-04-21T05:28:53.809934Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { +ThreadId 378 | 2024-04-21T05:28:53.810092Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TProperty.hi + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs" + }, + , IsEvaluating; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TI_Info.hie + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TProperty.hie ] +Aborting previous build session took 0.00s + ] + } + ], +ThreadId 563 | 2024-04-21T05:28:53.810549Z | Debug | Finished: eval: config Took: 0.00s + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +ThreadId 580 | 2024-04-21T05:28:53.816381Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoMany.hie +ThreadId 580 | 2024-04-21T05:28:53.816588Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs +ThreadId 564 | 2024-04-21T05:28:53.816860Z | Debug | Finished: InitialLoad Took: 0.01s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs" + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TProperty.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:28:53.859917Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 557 | 2024-04-21T05:28:53.860443Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:28:53.860570Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03e4694cc6d6a77b9304ed7d2094cb390429ac2c/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:28:53.860738Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs +ThreadId 681 | 2024-04-21T05:28:53.860982Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "36" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 684 | 2024-04-21T05:28:53.861984Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 693 | 2024-04-21T05:28:53.862605Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "123238:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:28:53.865004Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ +ThreadId 670 | 2024-04-21T05:28:53.865199Z | Debug | Finished build session +AsyncCancelled + "/tmp/hls-test-root/extra-dir-82124110912792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:28:53.865513Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:28:53.865582Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:28:53.865977Z | Debug | Cleaned up temporary directory + OK (11.97s) + +All 1 tests passed (11.97s) +ThreadId 12 | 2024-04-21T05:28:53.951478Z | Info | Testeval + Proje :info command +ct locat :i behaves exactly the same as :info: ed in directory: /tmp/hls-test-root/extra-dir-28119315933792 +ThreadId 13 | 2024-04-21T05:28:53.953687Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:28:53.954698Z | Info | Starting LSP server... + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "dynamicRegistration": true + }, + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + , ghcide-type-lenses + , eval + , ghcide-core ] + "quickfix", + "refactor", +ThreadId 16 | 2024-04-21T05:28:53.955019Z | Info | Starting server + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-28119315933792", + "processId": 123817, + "rootUri": "file:///tmp/hls-test-root/extra-dir-28119315933792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:28:53.959910Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:53.960199Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 2792949797581032492 "file:///tmp/hls-test-root/extra-dir-28119315933792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:28:53.962795Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:28:56.087776Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:28:56.211135Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:28:58.387331Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:28:58.388521Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:28:58.388573Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:28:58.388716Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:28:58.388961Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "123817:block-command:ghcide.command.block", + "123817:ghcide-type-lenses:typesignature.add", + "123817:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs", + "version": 0 + } + } +ThreadId 22 | 2024-04-21T05:28:58.390626Z | Debug | Shake session initialized +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:28:58.391026Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 16 | 2024-04-21T05:28:58.391369Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:28:58.391500Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 22 | 2024-04-21T05:28:58.391589Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , Modified {firstOpen = True} ) ] +<-- { +ThreadId 35 | 2024-04-21T05:28:58.391604Z | Debug | Finished build session + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +AsyncCancelled +} +ThreadId 16 | 2024-04-21T05:28:58.391613Z | Debug | Restarting build session due to config change +--> { +Action Queue: [] + "id": 2, + "jsonrpc": "2.0", +Keys: [ GetClientSettings; + , IsFileOfInterest; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs ] +Aborting previous build session took 0.00s + "result": null +} +ThreadId 48 | 2024-04-21T05:28:58.391909Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 22 | 2024-04-21T05:28:58.392039Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ GetClientSettings; + , IsFileOfInterest; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +ThreadId 22 | 2024-04-21T05:28:58.392135Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 74 | 2024-04-21T05:28:58.392705Z | Debug | Finished: codeLens.config Took: 0.00s +ThreadId 71 | 2024-04-21T05:28:58.392786Z | Info | Cradle path: TI_Info.hs +ThreadId 85 | 2024-04-21T05:28:58.393535Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-28119315933792", cradleOptsProg = CradleAction: Cabal} +ThreadId 85 | 2024-04-21T05:28:58.393667Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "6" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "6", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-28119315933792 (for TI_Info.hs)" + } + } +} +ThreadId 85 | 2024-04-21T05:28:58.406403Z | Debug | cabal --numeric-version +ThreadId 85 | 2024-04-21T05:28:58.469853Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "6", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 85 | 2024-04-21T05:28:58.593474Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:28:58.656958Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 85 | 2024-04-21T05:28:58.720438Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 85 | 2024-04-21T05:28:58.844118Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:28:58.844796Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT123817-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:28:58.873224Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:28:58.873325Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:28:58.873366Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:58.873402Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:28:58.902019Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:01.125196Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:01.125673Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:01.319651Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:29:01.970359Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:04.163120Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 85 | 2024-04-21T05:29:04.253070Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 85 | 2024-04-21T05:29:04.376560Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:29:04.440016Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 71 | 2024-04-21T05:29:04.440233Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-28119315933792-9b94513656abdfbd0d6c4cd3296a90c1/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-28119315933792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 71 | 2024-04-21T05:29:04.478699Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf +ThreadId 71 | 2024-04-21T05:29:04.494123Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 71 | 2024-04-21T05:29:04.637654Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-28119315933792/hie.yaml",Just 2024-04-21 05:28:53.951567921 UTC),("cabal.project",Just 2024-04-21 05:28:53.951567921 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:28:53.951567921 UTC)]) +ThreadId 71 | 2024-04-21T05:29:04.639415Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs"])] +ThreadId 71 | 2024-04-21T05:29:04.639646Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 53 | 2024-04-21T05:29:04.639664Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "6", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "12" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "12", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 158 | 2024-04-21T05:29:04.646285Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs", + "version": 0 + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs") +ThreadId 154 | 2024-04-21T05:29:04.669298Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") + ] + } + ], + "command": "123817:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "123817:eval:evalCommand" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs") +ThreadId 148 | 2024-04-21T05:29:04.672983Z | Debug | Finished build session +AsyncCancelled +ThreadId 387 | 2024-04-21T05:29:04.672986Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoMany.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "12", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TI_Info.hi.core + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoMany.hs" +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs") + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs") + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBang.hs" +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfoBangMany.hs" +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { +ThreadId 434 | 2024-04-21T05:29:04.690214Z | Debug | Finished: InitialLoad Took: 0.02s + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TProperty.hs" +} +ThreadId 433 | 2024-04-21T05:29:05.730100Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +ThreadId 428 | 2024-04-21T05:29:05.730364Z | Debug | Finished build session +AsyncCancelled +ThreadId 387 | 2024-04-21T05:29:05.730491Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 592 | 2024-04-21T05:29:05.730834Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:29:05.776685Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:29:05.776833Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs +<-- { + , GetModificationTime; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBang.hi + "method": "kick/done", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfo.hi + "params": [ + , IsEvaluating; /tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-b695482e269808c9d2967534a8fcc929d332d7cf/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 587 | 2024-04-21T05:29:05.776896Z | Debug | Finished build session +AsyncCancelled + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +ThreadId 22 | 2024-04-21T05:29:05.777296Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs + ] +} +ThreadId 635 | 2024-04-21T05:29:05.777612Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 639 | 2024-04-21T05:29:05.781714Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 640 | 2024-04-21T05:29:05.782384Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "123817:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { +ThreadId 16 | 2024-04-21T05:29:05.783462Z | Debug | Received shutdown message + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "end" + } + } +} +ThreadId 616 | 2024-04-21T05:29:05.783755Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-28119315933792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:29:05.783910Z | Info | Reactor thread stopped +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:29:05.784018Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:29:05.784451Z | Debug | Cleaned up temporary directory + OK (11.83s) + +All 1 tests passed (11.83s) +ThreadId 12 | eval + :info command + :i behaves exactly the same as :info: 2024-04-21T05:29:05.856752Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-27607665854792 +ThreadId 13 | 2024-04-21T05:29:05.858974Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:29:05.860031Z | Info | Starting LSP server... + "executionSummarySupport": true + } + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + }, + PluginIds: [ ghcide-completions + "textDocument": { + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 16 | 2024-04-21T05:29:05.860308Z | Info | Starting server + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-27607665854792", + "processId": 124393, + "rootUri": "file:///tmp/hls-test-root/extra-dir-27607665854792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:29:05.865689Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:05.866106Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-1749702242673144335) "file:///tmp/hls-test-root/extra-dir-27607665854792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:29:05.868719Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:29:08.042139Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:29:08.175483Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:29:10.331174Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:29:10.332397Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:29:10.332453Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:29:10.332604Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:29:10.332791Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "124393:block-command:ghcide.command.block", + "124393:ghcide-type-lenses:typesignature.add", + "124393:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:29:10.334433Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:29:10.334733Z | Debug | Shake session initialized +ThreadId 21 | 2024-04-21T05:29:10.335438Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , Modified {firstOpen = True} ) ] +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 35 | 2024-04-21T05:29:10.335685Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:29:10.335750Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:29:10.335772Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, +--> { + "id": 2, + "jsonrpc": "2.0", + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} + "result": null +} +ThreadId 21 | 2024-04-21T05:29:10.335864Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs +ThreadId 16 | 2024-04-21T05:29:10.336023Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { +ThreadId 59 | 2024-04-21T05:29:10.336360Z | Info | Cradle path: TI_Info.hs + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 69 | 2024-04-21T05:29:10.336697Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-27607665854792", cradleOptsProg = CradleAction: Cabal} +<-- { + "jsonrpc": "2.0", +ThreadId 69 | 2024-04-21T05:29:10.336780Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) + "method": "kick/done", + "params": [] +} +ThreadId 67 | 2024-04-21T05:29:10.337009Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 48 | 2024-04-21T05:29:10.338747Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:29:10.338760Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-27607665854792 (for TI_Info.hs)" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 69 | 2024-04-21T05:29:10.349796Z | Debug | cabal --numeric-version +ThreadId 69 | 2024-04-21T05:29:10.413152Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 69 | 2024-04-21T05:29:10.536532Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 69 | 2024-04-21T05:29:10.599862Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 69 | 2024-04-21T05:29:10.662992Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 69 | 2024-04-21T05:29:10.787329Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 69 | 2024-04-21T05:29:10.787897Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT124393-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 140 | 2024-04-21T05:29:10.814827Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 140 | 2024-04-21T05:29:10.814940Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 140 | 2024-04-21T05:29:10.815031Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 140 | 2024-04-21T05:29:10.815078Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 140 | 2024-04-21T05:29:10.843277Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:29:13.074913Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:29:13.075387Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:29:13.265153Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 140 | 2024-04-21T05:29:13.900136Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:29:16.083359Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 69 | 2024-04-21T05:29:16.164537Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 69 | 2024-04-21T05:29:16.287726Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 69 | 2024-04-21T05:29:16.351079Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 59 | 2024-04-21T05:29:16.351243Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-27607665854792-f75b92cb5d4dfd45ab54a4b4b9dd1f16/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-27607665854792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 59 | 2024-04-21T05:29:16.407988Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925 +ThreadId 59 | 2024-04-21T05:29:16.422648Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 59 | 2024-04-21T05:29:16.571319Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-27607665854792/hie.yaml",Just 2024-04-21 05:29:05.856602716 UTC),("cabal.project",Just 2024-04-21 05:29:05.857602719 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:29:05.856602716 UTC)]) +ThreadId 59 | 2024-04-21T05:29:16.571858Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs"])] +ThreadId 97 | 2024-04-21T05:29:16.572163Z | Debug | Finished build session +AsyncCancelled +ThreadId 59 | 2024-04-21T05:29:16.572254Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 180 | 2024-04-21T05:29:16.581039Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 255 | 2024-04-21T05:29:16.617811Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hie +ThreadId 255 | 2024-04-21T05:29:16.617898Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs +ThreadId 178 | 2024-04-21T05:29:16.618095Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.05s +ThreadId 260 | 2024-04-21T05:29:16.618341Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hie +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +ThreadId 259 | 2024-04-21T05:29:16.618384Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hie +ThreadId 260 | 2024-04-21T05:29:16.618393Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs +ThreadId 261 | 2024-04-21T05:29:16.618537Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 254 | 2024-04-21T05:29:16.618584Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 259 | 2024-04-21T05:29:16.619102Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/4)..." + } + } +} +ThreadId 256 | 2024-04-21T05:29:16.619172Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hie +ThreadId 261 | 2024-04-21T05:29:16.619508Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, +ThreadId 254 | 2024-04-21T05:29:16.620245Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { +ThreadId 256 | 2024-04-21T05:29:16.620621Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, +ThreadId 187 | 2024-04-21T05:29:16.622327Z | Debug | Finished: InitialLoad Took: 0.05s + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124393:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124393:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/7)..." + } + } +ThreadId 173 | 2024-04-21T05:29:16.625173Z | Debug | Finished build session +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 453 | 2024-04-21T05:29:16.625247Z | Debug | Restarting build session due to Eval + "params": { +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hie ] + "token": "22", +Aborting previous build session took 0.00s +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hi.core + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/9)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/9)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (7/9)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (8/10)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (9/10)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 10 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 470 | 2024-04-21T05:29:17.664189Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" +ThreadId 453 | 2024-04-21T05:29:17.664416Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 464 | 2024-04-21T05:29:17.664445Z | Debug | Finished build session +AsyncCancelled +ThreadId 527 | 2024-04-21T05:29:17.664938Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { +ThreadId 21 | 2024-04-21T05:29:17.713103Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , Modified {firstOpen = False} ) ] + "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 522 | 2024-04-21T05:29:17.713406Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:29:17.713653Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f37b4857619f68854f2e0b0ae2a512cfc8932925/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:29:17.713862Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs +ThreadId 560 | 2024-04-21T05:29:17.714038Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 561 | 2024-04-21T05:29:17.715174Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 572 | 2024-04-21T05:29:17.715813Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124393:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:29:17.716738Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end" + } + } +} +ThreadId 549 | 2024-04-21T05:29:17.718231Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-27607665854792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +ThreadId 20 | 2024-04-21T05:29:17.718467Z | Info | Reactor thread stopped +} +ThreadId 12 | 2024-04-21T05:29:17.719008Z | Debug | Cleaned up temporary directory + OK (11.86s) + +All 1 tests passed (11.86s) +Teval + :info command + :i behaves exactly the same as :info: hreadId 12 | 2024-04-21T05:29:17.785719Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-34963658775792 +ThreadId 13 | 2024-04-21T05:29:17.787900Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", +ThreadId 13 | 2024-04-21T05:29:17.789109Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + , ghcide-hover-and-symbols + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + , test + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "insertTextModeSupport": { +ThreadId 16 | 2024-04-21T05:29:17.789524Z | Info | Starting server + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-34963658775792", + "processId": 124970, + "rootUri": "file:///tmp/hls-test-root/extra-dir-34963658775792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:29:17.794429Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:17.794764Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8881808986202285834 "file:///tmp/hls-test-root/extra-dir-34963658775792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:29:17.797309Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:29:19.949754Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:29:20.072864Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:29:22.296290Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:29:22.297547Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:29:22.297603Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:29:22.297737Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:29:22.298175Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "124970:block-command:ghcide.command.block", + "124970:ghcide-type-lenses:typesignature.add", + "124970:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:29:22.299503Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, +ThreadId 16 | 2024-04-21T05:29:22.299653Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 16 | 2024-04-21T05:29:22.300253Z | Debug | LSP: set new config: { +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", +--> { + "checkProject": true, + "id": 2, + "jsonrpc": "2.0", + "result": null +} + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 22 | 2024-04-21T05:29:22.300393Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , Modified {firstOpen = True} ) ] +<-- { + "id": 2, +ThreadId 16 | 2024-04-21T05:29:22.300584Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 22 | 2024-04-21T05:29:22.300709Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 35 | 2024-04-21T05:29:22.300722Z | Debug | Finished build session +<-- { + "jsonrpc": "2.0", + "method": "kick/done", +AsyncCancelled + "params": [] +} +ThreadId 22 | 2024-04-21T05:29:22.300896Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { +ThreadId 50 | 2024-04-21T05:29:22.301532Z | Debug | Finished build session + "token": "5" + } +AsyncCancelled +} +ThreadId 16 | 2024-04-21T05:29:22.301550Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { +ThreadId 84 | 2024-04-21T05:29:22.301967Z | Debug | Finished: codeLens.config Took: 0.00s + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 104 | 2024-04-21T05:29:22.303103Z | Info | Cradle path: TI_Info.hs +ThreadId 108 | 2024-04-21T05:29:22.303291Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-34963658775792", cradleOptsProg = CradleAction: Cabal} +ThreadId 108 | 2024-04-21T05:29:22.303352Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-34963658775792 (for TI_Info.hs)" + } + } +} +ThreadId 108 | 2024-04-21T05:29:22.316244Z | Debug | cabal --numeric-version +ThreadId 108 | 2024-04-21T05:29:22.379762Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 108 | 2024-04-21T05:29:22.503172Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:29:22.566896Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 108 | 2024-04-21T05:29:22.630660Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 108 | 2024-04-21T05:29:22.754006Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:29:22.754548Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT124970-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 134 | 2024-04-21T05:29:22.782061Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 134 | 2024-04-21T05:29:22.782166Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 134 | 2024-04-21T05:29:22.782210Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:29:22.782248Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:29:22.810779Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:29:25.046972Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:29:25.047355Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:29:25.235658Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 134 | 2024-04-21T05:29:25.878516Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:29:28.157741Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 108 | 2024-04-21T05:29:28.242775Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 108 | 2024-04-21T05:29:28.366154Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:29:28.429828Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 104 | 2024-04-21T05:29:28.430097Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-34963658775792-c5cbcf3ff2b0c8d8cbd09885c45d57c6/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-34963658775792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 104 | 2024-04-21T05:29:28.470629Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98 +ThreadId 104 | 2024-04-21T05:29:28.488389Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 104 | 2024-04-21T05:29:28.635521Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-34963658775792/hie.yaml",Just 2024-04-21 05:29:17.785637582 UTC),("cabal.project",Just 2024-04-21 05:29:17.785637582 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:29:17.785637582 UTC)]) +ThreadId 104 | 2024-04-21T05:29:28.636130Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs"])] +ThreadId 79 | 2024-04-21T05:29:28.636378Z | Debug | Finished build session +AsyncCancelled +ThreadId 104 | 2024-04-21T05:29:28.636494Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 173 | 2024-04-21T05:29:28.645641Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs") + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs") + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs", + "version": 0 + } +} +ThreadId 171 | 2024-04-21T05:29:28.663501Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs") + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124970:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124970:eval:evalCommand" + } +} +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs") + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs") +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs") +ThreadId 166 | 2024-04-21T05:29:28.677439Z | Debug | Finished build session +AsyncCancelled +ThreadId 413 | 2024-04-21T05:29:28.677447Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfo.hie ] +Aborting previous build session took 0.01s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (2/3)..." +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBangMany.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs") +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs") + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoMany.hs" +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +ThreadId 481 | 2024-04-21T05:29:28.689443Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TProperty.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 481 | 2024-04-21T05:29:28.689508Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 3 files" + } + } +} +ThreadId 460 | 2024-04-21T05:29:28.691928Z | Debug | Finished: InitialLoad Took: 0.01s +ThreadId 458 | 2024-04-21T05:29:29.729248Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +ThreadId 452 | 2024-04-21T05:29:29.729519Z | Debug | Finished build session +AsyncCancelled +ThreadId 413 | 2024-04-21T05:29:29.729600Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 589 | 2024-04-21T05:29:29.729946Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:29:29.779881Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 584 | 2024-04-21T05:29:29.780206Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:29:29.780279Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , IsEvaluating; /tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-bf8293e78b76f6c996ca5dfc8c576ba42e2cad98/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:29:29.780471Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs +ThreadId 626 | 2024-04-21T05:29:29.780666Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 627 | 2024-04-21T05:29:29.781764Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 632 | 2024-04-21T05:29:29.782559Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "124970:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { +ThreadId 16 | 2024-04-21T05:29:29.783762Z | Debug | Received shutdown message + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" +} +ThreadId 615 | 2024-04-21T05:29:29.783849Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-34963658775792/TI_Info.hs" + ] +} +ThreadId 21 | 2024-04-21T05:29:29.786082Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:29:29.786758Z | Debug | Cleaned up temporary directory + OK (12.00s) + +All 1 tests passed (12.00s) +Teval + :info command + :i behaves exactly the same as :info: hreadId 12 | 2024-04-21T05:29:29.863333Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-59954236896792 +ThreadId 13 | 2024-04-21T05:29:29.865654Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { +ThreadId 13 | 2024-04-21T05:29:29.866544Z | Info | Starting LSP server... + "callHierarchy": { + "dynamicRegistration": true + }, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + "codeAction": { + "codeActionLiteralSupport": { + , test + "codeActionKind": { + , block-command + , ghcide-type-lenses + "valueSet": [ + , eval + , ghcide-core ] + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } +ThreadId 16 | 2024-04-21T05:29:29.866835Z | Info | Starting server + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-59954236896792", + "processId": 125546, + "rootUri": "file:///tmp/hls-test-root/extra-dir-59954236896792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:29:29.871042Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:29.872310Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5803453850426869811) "file:///tmp/hls-test-root/extra-dir-59954236896792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:29:29.874942Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:29:32.047315Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:29:32.170765Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:29:34.263528Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:29:34.264721Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:29:34.264773Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:29:34.264861Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:29:34.265182Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "125546:block-command:ghcide.command.block", + "125546:ghcide-type-lenses:typesignature.add", + "125546:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 22 | 2024-04-21T05:29:34.266627Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +ThreadId 16 | 2024-04-21T05:29:34.267030Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:29:34.267442Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + , Modified {firstOpen = True} ) ] + "token": "3" + } +} +ThreadId 16 | 2024-04-21T05:29:34.267565Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { +ThreadId 16 | 2024-04-21T05:29:34.267756Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 35 | 2024-04-21T05:29:34.267834Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:29:34.267903Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:29:34.268018Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs +ThreadId 52 | 2024-04-21T05:29:34.268026Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:29:34.268044Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", +ThreadId 67 | 2024-04-21T05:29:34.268903Z | Debug | Finished: codeLens.config Took: 0.00s + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 78 | 2024-04-21T05:29:34.269092Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 86 | 2024-04-21T05:29:34.269281Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-59954236896792", cradleOptsProg = CradleAction: Cabal} +ThreadId 86 | 2024-04-21T05:29:34.269335Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-59954236896792 (for TI_Info.hs)" + } + } +} +ThreadId 86 | 2024-04-21T05:29:34.281997Z | Debug | cabal --numeric-version +ThreadId 86 | 2024-04-21T05:29:34.345551Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 86 | 2024-04-21T05:29:34.479013Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:29:34.542617Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 86 | 2024-04-21T05:29:34.606369Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:29:34.740279Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:29:34.741746Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT125546-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:29:34.769294Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:29:34.769525Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:29:34.769578Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:29:34.769616Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:29:34.798479Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:37.038752Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:37.039207Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:37.230943Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:29:37.884780Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:29:40.076677Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 86 | 2024-04-21T05:29:40.159097Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:29:40.282665Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:29:40.346311Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 78 | 2024-04-21T05:29:40.346492Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-59954236896792-558305125e3164147bbc12091da0fe5b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-59954236896792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 78 | 2024-04-21T05:29:40.386760Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69 +ThreadId 78 | 2024-04-21T05:29:40.403256Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 78 | 2024-04-21T05:29:40.562829Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-59954236896792/hie.yaml",Just 2024-04-21 05:29:29.863672883 UTC),("cabal.project",Just 2024-04-21 05:29:29.863672883 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:29:29.863672883 UTC)]) +ThreadId 78 | 2024-04-21T05:29:40.563521Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs"])] +ThreadId 60 | 2024-04-21T05:29:40.563779Z | Debug | Finished build session +AsyncCancelled +ThreadId 78 | 2024-04-21T05:29:40.563784Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 156 | 2024-04-21T05:29:40.572512Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs", + "version": 0 + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs") +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/1)..." + } +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") +ThreadId 153 | 2024-04-21T05:29:40.599442Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "125546:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "125546:eval:evalCommand" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" + } +} +ThreadId 148 | 2024-04-21T05:29:40.604373Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", +ThreadId 398 | 2024-04-21T05:29:40.604448Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs ] +Aborting previous build session took 0.00s + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TI_Info.hi.core +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs") + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs" +ThreadId 453 | 2024-04-21T05:29:41.283144Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TProperty.hie +ThreadId 453 | 2024-04-21T05:29:41.283217Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 3 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TPropertyError.hs" +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 432 | 2024-04-21T05:29:41.628831Z | Debug | Finished: InitialLoad Took: 1.02s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TInfoBangMany.hs" + } +} +ThreadId 431 | 2024-04-21T05:29:41.666600Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" +ThreadId 426 | 2024-04-21T05:29:41.666831Z | Debug | Finished build session +AsyncCancelled +ThreadId 398 | 2024-04-21T05:29:41.666968Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 588 | 2024-04-21T05:29:41.667258Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:29:41.779724Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { +ThreadId 22 | 2024-04-21T05:29:41.779851Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-5658f4aacb91f43bd137426c4271200e7eb5ab69/TInfoBang.hie ] +Aborting previous build session took 0.00s + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + } + } +} +ThreadId 583 | 2024-04-21T05:29:41.779966Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:29:41.780243Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", +ThreadId 626 | 2024-04-21T05:29:41.780635Z | Debug | Finished: codeLens.config Took: 0.00s + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 629 | 2024-04-21T05:29:41.781801Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 640 | 2024-04-21T05:29:41.784789Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "125546:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:29:41.786024Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { +ThreadId 609 | 2024-04-21T05:29:41.786129Z | Debug | Finished build session +AsyncCancelled + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-59954236896792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:29:41.786482Z | Error | Got EOF +ThreadId 21 | 2024-04-21T05:29:41.786528Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:29:41.786981Z | Debug | Cleaned up temporary directory + OK (11.92s) + +All 1 tests passed (11.92s) +ThreadId 12 | 2024-04eval + :info command + :i behaves exactly the same as :info: -21T05:29:41.839549Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-77536493818792 +ThreadId 13 | 2024-04-21T05:29:41.841732Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { +ThreadId 13 | 2024-04-21T05:29:41.842732Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + PluginIds: [ ghcide-completions + "valueSet": [ + "", + , ghcide-hover-and-symbols + "quickfix", + , test + "refactor", + , block-command + "refactor.extract", + , ghcide-type-lenses + , eval + , ghcide-core ] + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", +ThreadId 16 | 2024-04-21T05:29:41.843098Z | Info | Starting server + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-77536493818792", + "processId": 126126, + "rootUri": "file:///tmp/hls-test-root/extra-dir-77536493818792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:29:41.849379Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:41.849712Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-4397208664366863142) "file:///tmp/hls-test-root/extra-dir-77536493818792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:29:41.852501Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:29:43.946565Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:29:44.070047Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:29:46.140613Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:29:46.141842Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:29:46.141925Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:29:46.142076Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:29:46.142267Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "126126:block-command:ghcide.command.block", + "126126:ghcide-type-lenses:typesignature.add", + "126126:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 21 | 2024-04-21T05:29:46.143639Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:29:46.143857Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +ThreadId 21 | 2024-04-21T05:29:46.144248Z | Debug | Set files of interst to +} + [ ( /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 35 | 2024-04-21T05:29:46.144412Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:29:46.144523Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:46.144672Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:29:46.144752Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 21 | 2024-04-21T05:29:46.144891Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs +ThreadId 51 | 2024-04-21T05:29:46.145146Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:29:46.145156Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ +ThreadId 80 | 2024-04-21T05:29:46.145894Z | Debug | Finished: codeLens.config Took: 0.00s + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 95 | 2024-04-21T05:29:46.146424Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 103 | 2024-04-21T05:29:46.146619Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-77536493818792", cradleOptsProg = CradleAction: Cabal} +ThreadId 103 | 2024-04-21T05:29:46.146710Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-77536493818792 (for TI_Info.hs)" + } + } +} +ThreadId 103 | 2024-04-21T05:29:46.159544Z | Debug | cabal --numeric-version +ThreadId 103 | 2024-04-21T05:29:46.222828Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 103 | 2024-04-21T05:29:46.346126Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 103 | 2024-04-21T05:29:46.409561Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 103 | 2024-04-21T05:29:46.473007Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 103 | 2024-04-21T05:29:46.596320Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 103 | 2024-04-21T05:29:46.597640Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT126126-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:29:46.625093Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:29:46.625217Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:29:46.625267Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:29:46.625338Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:29:46.655408Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:29:48.910341Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:29:48.910701Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:29:49.098744Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:29:49.753681Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:29:51.998762Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 103 | 2024-04-21T05:29:52.085042Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 103 | 2024-04-21T05:29:52.218607Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 103 | 2024-04-21T05:29:52.282472Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 95 | 2024-04-21T05:29:52.282643Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-77536493818792-5031635ab9ac773a7a99d0576828d1c8/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-77536493818792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 95 | 2024-04-21T05:29:52.324119Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4 +ThreadId 95 | 2024-04-21T05:29:52.343869Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 95 | 2024-04-21T05:29:52.505116Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-77536493818792/hie.yaml",Just 2024-04-21 05:29:41.839707886 UTC),("cabal.project",Just 2024-04-21 05:29:41.839707886 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:29:41.839707886 UTC)]) +ThreadId 95 | 2024-04-21T05:29:52.505734Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs"])] +ThreadId 74 | 2024-04-21T05:29:52.506141Z | Debug | Finished build session +AsyncCancelled +ThreadId 95 | 2024-04-21T05:29:52.506145Z | Debug | Restarting build session due to new component +Action Queue: [ eval.GetParsedModuleWithComments + , codeLens.GetGlobalBindingTypeSigs ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 169 | 2024-04-21T05:29:52.514096Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") +ThreadId 171 | 2024-04-21T05:29:52.529765Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.02s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs") +ThreadId 252 | 2024-04-21T05:29:52.538465Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hie +ThreadId 252 | 2024-04-21T05:29:52.538551Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 251 | 2024-04-21T05:29:52.539595Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hie +ThreadId 251 | 2024-04-21T05:29:52.539647Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs +<-- { + "id": 11, +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs") + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126126:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", +ThreadId 249 | 2024-04-21T05:29:52.542576Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hie + "sectionName": "", + "sectionTests": [ +ThreadId 249 | 2024-04-21T05:29:52.542650Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126126:eval:evalCommand" + } +} +ThreadId 175 | 2024-04-21T05:29:52.542803Z | Debug | Finished: InitialLoad Took: 0.04s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, +ThreadId 429 | 2024-04-21T05:29:52.543284Z | Debug | Restarting build session due to Eval + "line": 2 +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hi + }, + , IsEvaluating; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + "start": { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hi + "character": 0, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hie ] + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 +Aborting previous build session took 0.00s +ThreadId 164 | 2024-04-21T05:29:52.543622Z | Debug | Finished build session +AsyncCancelled + }, + "start": { + "character": 0, + "line": 2 + } +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") + }, + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") + "source": "typecheck", + "tags": [ + 1 + ] +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") + } + ], +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs") + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hi.core + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 7 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TProperty.hs" +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 440 | 2024-04-21T05:29:53.609925Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" +ThreadId 434 | 2024-04-21T05:29:53.610161Z | Debug | Finished build session +AsyncCancelled +ThreadId 429 | 2024-04-21T05:29:53.610241Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 524 | 2024-04-21T05:29:53.610693Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:29:53.657451Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + } + } +} +ThreadId 519 | 2024-04-21T05:29:53.657700Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:29:53.657830Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs (modified) +<-- { +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hi + "method": "kick/done", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hi + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} + , IsEvaluating; /tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-45d16d65d139ea2fd68104082a14369e5ba8b7a4/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:29:53.658097Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs +ThreadId 561 | 2024-04-21T05:29:53.658270Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 563 | 2024-04-21T05:29:53.659370Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 576 | 2024-04-21T05:29:53.661325Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126126:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:29:53.662515Z | Debug | Received shutdown message +ThreadId 550 | 2024-04-21T05:29:53.662597Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-77536493818792/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:29:53.662924Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:29:53.663417Z | Debug | Cleaned up temporary directory + OK (11.82s) + +All 1 tests passed (11.82s) +eval + :info command + :i behaves exactly the same as :info: ThreadId 12 | 2024-04-21T05:29:53.745837Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-19025754739792 +ThreadId 13 | 2024-04-21T05:29:53.748072Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { +ThreadId 13 | 2024-04-21T05:29:53.749002Z | Info | Starting LSP server... + "dynamicRegistration": true, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + "executionSummarySupport": true + , test + } + , block-command + }, + , ghcide-type-lenses + "textDocument": { + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } +ThreadId 16 | 2024-04-21T05:29:53.749212Z | Info | Starting server + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-19025754739792", + "processId": 126705, + "rootUri": "file:///tmp/hls-test-root/extra-dir-19025754739792", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:29:53.753936Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:53.754363Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 3279290244802697853 "file:///tmp/hls-test-root/extra-dir-19025754739792"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:29:53.756981Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:29:55.847817Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:29:55.971067Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:29:58.062955Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:29:58.064153Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:29:58.064208Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:29:58.064376Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:29:58.064636Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "126705:block-command:ghcide.command.block", + "126705:ghcide-type-lenses:typesignature.add", + "126705:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 22 | 2024-04-21T05:29:58.066291Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:29:58.066434Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + } + } +ThreadId 22 | 2024-04-21T05:29:58.066932Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , Modified {firstOpen = True} ) ] +} +ThreadId 35 | 2024-04-21T05:29:58.067042Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:29:58.067106Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs ] +Aborting previous build session took 0.00s +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 22 | 2024-04-21T05:29:58.067216Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:29:58.067617Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:29:58.067775Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 57 | 2024-04-21T05:29:58.067836Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +ThreadId 71 | 2024-04-21T05:29:58.068307Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-19025754739792", cradleOptsProg = CradleAction: Cabal} + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +ThreadId 71 | 2024-04-21T05:29:58.068403Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 65 | 2024-04-21T05:29:58.070362Z | Debug | Finished: codeLens.config Took: 0.00s +ThreadId 46 | 2024-04-21T05:29:58.070709Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 16 | 2024-04-21T05:29:58.070950Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-19025754739792 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 71 | 2024-04-21T05:29:58.081496Z | Debug | cabal --numeric-version +ThreadId 71 | 2024-04-21T05:29:58.145013Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 71 | 2024-04-21T05:29:58.268254Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:29:58.332039Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 71 | 2024-04-21T05:29:58.395382Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 71 | 2024-04-21T05:29:58.518793Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:29:58.519451Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT126705-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 134 | 2024-04-21T05:29:58.547024Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 134 | 2024-04-21T05:29:58.547387Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 134 | 2024-04-21T05:29:58.547462Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:29:58.547527Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 134 | 2024-04-21T05:29:58.575718Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:30:00.769536Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:30:00.769960Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:30:00.957523Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 134 | 2024-04-21T05:30:01.624763Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 134 | 2024-04-21T05:30:03.846359Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 71 | 2024-04-21T05:30:03.928163Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 71 | 2024-04-21T05:30:04.051489Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:30:04.115048Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 57 | 2024-04-21T05:30:04.115270Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-19025754739792-8b881d0aa63ed63b851b979de9cbfe78/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-19025754739792", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 57 | 2024-04-21T05:30:04.154657Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2 +ThreadId 57 | 2024-04-21T05:30:04.172666Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 57 | 2024-04-21T05:30:04.318053Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-19025754739792/hie.yaml",Just 2024-04-21 05:29:53.745742685 UTC),("cabal.project",Just 2024-04-21 05:29:53.745742685 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:29:53.745742685 UTC)]) +ThreadId 57 | 2024-04-21T05:30:04.319973Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs"])] +ThreadId 57 | 2024-04-21T05:30:04.320250Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 91 | 2024-04-21T05:30:04.320252Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 177 | 2024-04-21T05:30:04.327249Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs") +ThreadId 256 | 2024-04-21T05:30:04.359859Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hie +ThreadId 256 | 2024-04-21T05:30:04.359975Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs +--> { +ThreadId 173 | 2024-04-21T05:30:04.360418Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s + "id": 11, + "jsonrpc": "2.0", + "result": null +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") +ThreadId 250 | 2024-04-21T05:30:04.361142Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hie +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 250 | 2024-04-21T05:30:04.361262Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs + "params": { + "token": "22" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs" +} +ThreadId 179 | 2024-04-21T05:30:04.364024Z | Debug | Finished: InitialLoad Took: 0.04s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 5 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs" + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfoBang.hs" +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126705:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126705:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +ThreadId 473 | 2024-04-21T05:30:04.368370Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hie + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hie + "method": "$/progress", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hie + "params": { + "token": "14", + "value": { + "kind": "end" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hie + } + } + , IsEvaluating; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hie ] +Aborting previous build session took 0.00s +ThreadId 168 | 2024-04-21T05:30:04.368378Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") + "method": "kick/done", + "params": [ +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") +<-- { + "jsonrpc": "2.0", +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs") + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 3 files" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hi.core + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 492 | 2024-04-21T05:30:05.414567Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" +ThreadId 485 | 2024-04-21T05:30:05.414821Z | Debug | Finished build session +AsyncCancelled +ThreadId 473 | 2024-04-21T05:30:05.414915Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 526 | 2024-04-21T05:30:05.415285Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:30:05.464838Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , Modified {firstOpen = False} ) ] +ThreadId 521 | 2024-04-21T05:30:05.464975Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 3, + "jsonrpc": "2.0", +ThreadId 22 | 2024-04-21T05:30:05.465245Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TInfoMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-38b5ba7541a4be08609419cd31940d7d6882d0a2/TI_Info.hi.core ] +Aborting previous build session took 0.00s + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:30:05.465535Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 571 | 2024-04-21T05:30:05.466023Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { +ThreadId 574 | 2024-04-21T05:30:05.467000Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 575 | 2024-04-21T05:30:05.467774Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "126705:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:30:05.470360Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-19025754739792/TI_Info.hs" + ] +} +ThreadId 547 | 2024-04-21T05:30:05.470857Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:30:05.471923Z | Error | Got EOF +ThreadId 21 | 2024-04-21T05:30:05.471988Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:30:05.472395Z | Debug | Cleaned up temporary directory + OK (11.73s) + +All 1 tests passed (11.73s) +eval + :info command + :i behaves exactly the same as :info: ThreadId 12 | 2024-04-21T05:30:05.553475Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-2449335550892 +ThreadId 13 | 2024-04-21T05:30:05.555340Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { +ThreadId 13 | 2024-04-21T05:30:05.556384Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "callHierarchy": { + PluginIds: [ ghcide-completions + "dynamicRegistration": true + , ghcide-hover-and-symbols + }, + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { +ThreadId 16 | 2024-04-21T05:30:05.556636Z | Info | Starting server + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-2449335550892", + "processId": 127282, + "rootUri": "file:///tmp/hls-test-root/extra-dir-2449335550892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:30:05.561231Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:05.561543Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8241479018236294175 "file:///tmp/hls-test-root/extra-dir-2449335550892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:30:05.565136Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:30:07.790295Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:30:07.913546Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:30:09.956404Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:30:09.957712Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:30:09.957767Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:30:09.957859Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:30:09.958059Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "127282:block-command:ghcide.command.block", + "127282:ghcide-type-lenses:typesignature.add", + "127282:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 22 | 2024-04-21T05:30:09.959658Z | Debug | Shake session initialized +ThreadId 16 | 2024-04-21T05:30:09.959672Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs +ThreadId 22 | 2024-04-21T05:30:09.960104Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + , Modified {firstOpen = True} ) ] +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + } + } +} +ThreadId 35 | 2024-04-21T05:30:09.960308Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:30:09.960384Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs (modified) +Action Queue: [] +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + "cabalFormattingProvider": "cabal-gild", + , GetModificationTime; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs ] + "checkParents": "CheckOnSave", +Aborting previous build session took 0.00s + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 22 | 2024-04-21T05:30:09.960569Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs +ThreadId 16 | 2024-04-21T05:30:09.960795Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:09.961000Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", +ThreadId 61 | 2024-04-21T05:30:09.961143Z | Debug | Finished: codeLens.config Took: 0.00s + "method": "kick/start", + "params": [] +} +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", +ThreadId 63 | 2024-04-21T05:30:09.961620Z | Info | Cradle path: TI_Info.hs + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 88 | 2024-04-21T05:30:09.962307Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-2449335550892", cradleOptsProg = CradleAction: Cabal} +ThreadId 88 | 2024-04-21T05:30:09.962417Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 46 | 2024-04-21T05:30:09.964253Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:30:09.964260Z | Debug | Restarting build session due to config change +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-2449335550892 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 88 | 2024-04-21T05:30:09.975353Z | Debug | cabal --numeric-version +ThreadId 88 | 2024-04-21T05:30:10.038775Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 88 | 2024-04-21T05:30:10.162262Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:30:10.225770Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 88 | 2024-04-21T05:30:10.289126Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 88 | 2024-04-21T05:30:10.412361Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:30:10.413662Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT127282-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 146 | 2024-04-21T05:30:10.440913Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 146 | 2024-04-21T05:30:10.441011Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 146 | 2024-04-21T05:30:10.441055Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 146 | 2024-04-21T05:30:10.441093Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 146 | 2024-04-21T05:30:10.469850Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:30:12.680539Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:30:12.680973Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:30:12.871436Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 146 | 2024-04-21T05:30:13.529666Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 146 | 2024-04-21T05:30:15.773387Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 88 | 2024-04-21T05:30:15.861251Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 88 | 2024-04-21T05:30:15.985004Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 88 | 2024-04-21T05:30:16.048429Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 63 | 2024-04-21T05:30:16.048612Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-2449335550892-47251dc68cabfd407386d1fc998a77d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-2449335550892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 63 | 2024-04-21T05:30:16.088261Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230 +ThreadId 63 | 2024-04-21T05:30:16.111211Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 63 | 2024-04-21T05:30:16.282415Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-2449335550892/hie.yaml",Just 2024-04-21 05:30:05.553777197 UTC),("cabal.project",Just 2024-04-21 05:30:05.553777197 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:30:05.553777197 UTC)]) +ThreadId 63 | 2024-04-21T05:30:16.283132Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs"])] +ThreadId 102 | 2024-04-21T05:30:16.283473Z | Debug | Finished build session +AsyncCancelled +ThreadId 63 | 2024-04-21T05:30:16.283570Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 189 | 2024-04-21T05:30:16.293230Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs") + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs") + ], + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs") +ThreadId 185 | 2024-04-21T05:30:16.315964Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127282:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127282:eval:evalCommand" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 180 | 2024-04-21T05:30:16.318751Z | Debug | Finished build session +AsyncCancelled +ThreadId 413 | 2024-04-21T05:30:16.318751Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TI_Info.hi.core +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs") + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TProperty.hs" +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs") +ThreadId 453 | 2024-04-21T05:30:17.387384Z | Debug | Finished: runEvalCmd Took: 1.07s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs") +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +ThreadId 448 | 2024-04-21T05:30:17.390817Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { +ThreadId 413 | 2024-04-21T05:30:17.390913Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] + "end": { +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + "character": 35, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TProperty.hi + "line": 2 + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoMany.hie ] +Aborting previous build session took 0.00s + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { +ThreadId 583 | 2024-04-21T05:30:17.391181Z | Debug | Finished: eval: config Took: 0.00s + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs" +} +ThreadId 610 | 2024-04-21T05:30:17.398297Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfo.hie +ThreadId 610 | 2024-04-21T05:30:17.398378Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } +ThreadId 602 | 2024-04-21T05:30:17.398998Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TProperty.hie +ThreadId 602 | 2024-04-21T05:30:17.399068Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoMany.hs" +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs" + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 584 | 2024-04-21T05:30:17.418320Z | Debug | Finished: InitialLoad Took: 0.03s +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:30:17.447574Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + } + } +} +ThreadId 578 | 2024-04-21T05:30:17.447718Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:30:17.447825Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs (modified) +<-- { +Action Queue: [] + "id": 2, +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs + "result": null + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TProperty.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6520d4d012f7c581797a6ca8c6294b6f34f3e230/TInfoBang.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TInfoBang.hs" +} +ThreadId 22 | 2024-04-21T05:30:17.447994Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs +ThreadId 713 | 2024-04-21T05:30:17.448303Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 716 | 2024-04-21T05:30:17.452119Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 718 | 2024-04-21T05:30:17.452739Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127282:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:30:17.453774Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "35", + "value": { + "kind": "end" + } + } +} +ThreadId 693 | 2024-04-21T05:30:17.453956Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-2449335550892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 21 | 2024-04-21T05:30:17.454328Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:30:17.454605Z | Debug | Cleaned up temporary directory + OK (11.90s) + +All 1 tests passed (11.90s) +ThreadId 12 | 2024-04-21T05:30:17.52756eval +3Z | :info command + :i behaves exactly the same as :info: Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-99357472571892 +ThreadId 13 | 2024-04-21T05:30:17.529652Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, +ThreadId 13 | 2024-04-21T05:30:17.530752Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" +ThreadId 16 | 2024-04-21T05:30:17.531008Z | Info | Starting server + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-99357472571892", + "processId": 127859, + "rootUri": "file:///tmp/hls-test-root/extra-dir-99357472571892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:30:17.535190Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:17.535657Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 7961170243346446555 "file:///tmp/hls-test-root/extra-dir-99357472571892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:30:17.538357Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:30:19.685343Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:30:19.808726Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:30:21.891359Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:30:21.892586Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:30:21.892642Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:30:21.892759Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:30:21.892940Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "127859:block-command:ghcide.command.block", + "127859:ghcide-type-lenses:typesignature.add", + "127859:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { +ThreadId 21 | 2024-04-21T05:30:21.894447Z | Debug | Shake session initialized + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:30:21.894785Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +ThreadId 21 | 2024-04-21T05:30:21.895211Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , Modified {firstOpen = True} ) ] + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 35 | 2024-04-21T05:30:21.895518Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:30:21.895524Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:30:21.895683Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 16 | 2024-04-21T05:30:21.895719Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 21 | 2024-04-21T05:30:21.896018Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs +ThreadId 16 | 2024-04-21T05:30:21.896354Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +ThreadId 50 | 2024-04-21T05:30:21.896392Z | Debug | Finished build session +AsyncCancelled +ThreadId 76 | 2024-04-21T05:30:21.896729Z | Debug | Finished: codeLens.config Took: 0.00s +--> { +ThreadId 84 | 2024-04-21T05:30:21.897334Z | Info | Cradle path: TI_Info.hs + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 89 | 2024-04-21T05:30:21.897582Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-99357472571892", cradleOptsProg = CradleAction: Cabal} +<-- { +ThreadId 89 | 2024-04-21T05:30:21.897647Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-99357472571892 (for TI_Info.hs)" + } + } +} +ThreadId 89 | 2024-04-21T05:30:21.910260Z | Debug | cabal --numeric-version +ThreadId 89 | 2024-04-21T05:30:21.973602Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 89 | 2024-04-21T05:30:22.106811Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 89 | 2024-04-21T05:30:22.170385Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 89 | 2024-04-21T05:30:22.234050Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 89 | 2024-04-21T05:30:22.357352Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 89 | 2024-04-21T05:30:22.357952Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT127859-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 129 | 2024-04-21T05:30:22.384368Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 129 | 2024-04-21T05:30:22.384615Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 129 | 2024-04-21T05:30:22.384666Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 129 | 2024-04-21T05:30:22.384710Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 129 | 2024-04-21T05:30:22.413265Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 129 | 2024-04-21T05:30:24.612620Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 129 | 2024-04-21T05:30:24.613080Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 129 | 2024-04-21T05:30:24.803322Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 129 | 2024-04-21T05:30:25.467311Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 129 | 2024-04-21T05:30:27.699060Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 89 | 2024-04-21T05:30:27.786277Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 89 | 2024-04-21T05:30:27.909705Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 89 | 2024-04-21T05:30:27.973251Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 84 | 2024-04-21T05:30:27.973464Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99357472571892-11ee66a495c25127b05965f2363b0b38/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-99357472571892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 84 | 2024-04-21T05:30:28.022247Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9 +ThreadId 84 | 2024-04-21T05:30:28.029535Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 84 | 2024-04-21T05:30:28.141238Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-99357472571892/hie.yaml",Just 2024-04-21 05:30:17.527812194 UTC),("cabal.project",Just 2024-04-21 05:30:17.527812194 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:30:17.527812194 UTC)]) +ThreadId 84 | 2024-04-21T05:30:28.141942Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs"])] +ThreadId 71 | 2024-04-21T05:30:28.142194Z | Debug | Finished build session +AsyncCancelled +ThreadId 84 | 2024-04-21T05:30:28.142200Z | Debug | Restarting build session due to new component +Action Queue: [ eval.GetParsedModuleWithComments + , codeLens.GetGlobalBindingTypeSigs ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 166 | 2024-04-21T05:30:28.152218Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +ThreadId 171 | 2024-04-21T05:30:28.189327Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.05s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs") + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127859:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127859:eval:evalCommand" + } +} +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs") +ThreadId 161 | 2024-04-21T05:30:28.198201Z | Debug | Finished build session +AsyncCancelled +ThreadId 403 | 2024-04-21T05:30:28.198295Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hie ] +Aborting previous build session took 0.01s +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hi.core +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs") + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs") +ThreadId 471 | 2024-04-21T05:30:28.885536Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoMany.hie +ThreadId 471 | 2024-04-21T05:30:28.885618Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs +ThreadId 472 | 2024-04-21T05:30:28.886458Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hie +ThreadId 472 | 2024-04-21T05:30:28.886537Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs") +ThreadId 485 | 2024-04-21T05:30:28.892316Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hie +ThreadId 485 | 2024-04-21T05:30:28.892396Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", +ThreadId 449 | 2024-04-21T05:30:29.165387Z | Debug | Finished: InitialLoad Took: 0.97s + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (2/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (3/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (4/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 5 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TInfoBang.hs" +} +ThreadId 448 | 2024-04-21T05:30:29.277184Z | Debug | Finished: runEvalCmd Took: 1.08s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +ThreadId 443 | 2024-04-21T05:30:29.277424Z | Debug | Finished build session +AsyncCancelled +ThreadId 403 | 2024-04-21T05:30:29.277533Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 586 | 2024-04-21T05:30:29.277850Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:30:29.338677Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + } +ThreadId 21 | 2024-04-21T05:30:29.338925Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8bd020f61b911aa7e44849f95c9469ef5d439df9/TInfo.hie ] +Aborting previous build session took 0.00s + } +} +ThreadId 581 | 2024-04-21T05:30:29.339012Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", +ThreadId 21 | 2024-04-21T05:30:29.339480Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 624 | 2024-04-21T05:30:29.339722Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 629 | 2024-04-21T05:30:29.341433Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 630 | 2024-04-21T05:30:29.342237Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "127859:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:30:29.343461Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 607 | 2024-04-21T05:30:29.343514Z | Debug | Finished build session + "params": "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99357472571892/TI_Info.hs" + ] +} +ThreadId 20 | 2024-04-21T05:30:29.345081Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:30:29.345704Z | Debug | Cleaned up temporary directory + OK (11.82s) + +All 1 tests passed (11.82s) +ThreadId 12 | 2024-04-21T05:30:29.42186eval +9Z | Info | Test Pro :info command + :i behaves exactly the same as :info: ject located in directory: /tmp/hls-test-root/extra-dir-17038712492892 +ThreadId 13 | 2024-04-21T05:30:29.424197Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:30:29.425191Z | Info | Starting LSP server... + "executionSummarySupport": true + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + } +ThreadId 16 | 2024-04-21T05:30:29.425502Z | Info | Starting server + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-17038712492892", + "processId": 128440, + "rootUri": "file:///tmp/hls-test-root/extra-dir-17038712492892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:30:29.431673Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:29.432070Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-2185068427839191942) "file:///tmp/hls-test-root/extra-dir-17038712492892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:30:29.434578Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:30:31.589721Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:30:31.713160Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:30:33.804808Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:30:33.806036Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:30:33.806088Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:30:33.806248Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:30:33.806558Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "128440:block-command:ghcide.command.block", + "128440:ghcide-type-lenses:typesignature.add", + "128440:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 22 | 2024-04-21T05:30:33.808017Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:30:33.808354Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 2, +ThreadId 22 | 2024-04-21T05:30:33.808797Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + "jsonrpc": "2.0", + , Modified {firstOpen = True} ) ] + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 16 | 2024-04-21T05:30:33.808907Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 16 | 2024-04-21T05:30:33.809081Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 35 | 2024-04-21T05:30:33.809167Z | Debug | Finished build session +AsyncCancelled +ThreadId 22 | 2024-04-21T05:30:33.809186Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:30:33.809414Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs +ThreadId 52 | 2024-04-21T05:30:33.809427Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:30:33.809494Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 66 | 2024-04-21T05:30:33.810528Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 80 | 2024-04-21T05:30:33.810704Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 85 | 2024-04-21T05:30:33.810906Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-17038712492892", cradleOptsProg = CradleAction: Cabal} +ThreadId 85 | 2024-04-21T05:30:33.810980Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-17038712492892 (for TI_Info.hs)" + } + } +} +ThreadId 85 | 2024-04-21T05:30:33.823690Z | Debug | cabal --numeric-version +ThreadId 85 | 2024-04-21T05:30:33.887111Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 85 | 2024-04-21T05:30:34.010283Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:30:34.073681Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 85 | 2024-04-21T05:30:34.137022Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 85 | 2024-04-21T05:30:34.260523Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:30:34.261096Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT128440-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:30:34.289925Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:30:34.290175Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:30:34.290243Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:30:34.290285Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:30:34.320206Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:30:36.547971Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:30:36.548480Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:30:36.743673Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:30:37.399612Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:30:39.622019Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 85 | 2024-04-21T05:30:39.708439Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 85 | 2024-04-21T05:30:39.831959Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 85 | 2024-04-21T05:30:39.895666Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 80 | 2024-04-21T05:30:39.895880Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-17038712492892-9e53fcf34c35caa3164db4ccf2e0e10c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-17038712492892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 80 | 2024-04-21T05:30:39.935508Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a +ThreadId 80 | 2024-04-21T05:30:39.950944Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 80 | 2024-04-21T05:30:40.092852Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-17038712492892/hie.yaml",Just 2024-04-21 05:30:29.42284696 UTC),("cabal.project",Just 2024-04-21 05:30:29.42284696 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:30:29.42284696 UTC)]) +ThreadId 80 | 2024-04-21T05:30:40.094991Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs"])] +ThreadId 80 | 2024-04-21T05:30:40.095384Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 61 | 2024-04-21T05:30:40.095411Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 156 | 2024-04-21T05:30:40.102825Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs") +ThreadId 153 | 2024-04-21T05:30:40.131526Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { +ThreadId 237 | 2024-04-21T05:30:40.132163Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hie + "token": "21" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +ThreadId 236 | 2024-04-21T05:30:40.132177Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hie +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/3)..." + } + } +} +ThreadId 237 | 2024-04-21T05:30:40.132252Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +ThreadId 234 | 2024-04-21T05:30:40.132728Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hie +ThreadId 236 | 2024-04-21T05:30:40.132791Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs +ThreadId 234 | 2024-04-21T05:30:40.133394Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { +ThreadId 159 | 2024-04-21T05:30:40.134916Z | Debug | Finished: InitialLoad Took: 0.04s + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (1/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (2/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (3/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (4/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (5/6)..." + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "128440:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "128440:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (6/7)..." + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 7 files" + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 148 | 2024-04-21T05:30:40.139229Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +ThreadId 450 | 2024-04-21T05:30:40.139296Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hi +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI_Info.hie ] +Aborting previous build session took 0.00s + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TInfo.hs" +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs") + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 3 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI } +_Info.hi.core +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 471 | 2024-04-21T05:30:41.183266Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" +ThreadId 450 | 2024-04-21T05:30:41.183452Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 463 | 2024-04-21T05:30:41.183487Z | Debug | Finished build session +AsyncCancelled +ThreadId 516 | 2024-04-21T05:30:41.183967Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs": [ + { +ThreadId 22 | 2024-04-21T05:30:41.231223Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , Modified {firstOpen = False} ) ] + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:30:41.231511Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBangMany.hie +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfoBang.hie + "params": { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-267aaa83315d8471b42f16ee8ce3109b9ee8919a/TI_Info.hi.core ] +Aborting previous build session took 0.00s + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + } + } +ThreadId 511 | 2024-04-21T05:30:41.231712Z | Debug | Finished build session +} +AsyncCancelled +ThreadId 22 | 2024-04-21T05:30:41.231805Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } +ThreadId 559 | 2024-04-21T05:30:41.232102Z | Debug | Finished: codeLens.config Took: 0.00s + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 560 | 2024-04-21T05:30:41.233017Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 567 | 2024-04-21T05:30:41.233627Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "128440:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:30:41.236011Z | Debug | Received shutdown message +ThreadId 537 | 2024-04-21T05:30:41.236098Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-17038712492892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 21 | 2024-04-21T05:30:41.236453Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:30:41.236901Z | Debug | Cleaned up temporary directory + OK (11.82s) + +All 1 tests passed (11.82s) +ThreadId 12 | 2024-04-21T05:30:41.319150Z | eval + :info command + :i behaves exactly the same as :info: Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-78916091314892 +ThreadId 13 | 2024-04-21T05:30:41.321340Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { +ThreadId 13 | 2024-04-21T05:30:41.322279Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "synchronization": { + "dynamicRegistration": true, +ThreadId 16 | 2024-04-21T05:30:41.322589Z | Info | Starting server + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-78916091314892", + "processId": 129020, + "rootUri": "file:///tmp/hls-test-root/extra-dir-78916091314892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:30:41.326715Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:41.327128Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8574263666795230999 "file:///tmp/hls-test-root/extra-dir-78916091314892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:30:41.329774Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:30:43.483164Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:30:43.606750Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:30:45.698529Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:30:45.699758Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:30:45.699815Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:30:45.699977Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:30:45.700372Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "129020:block-command:ghcide.command.block", + "129020:ghcide-type-lenses:typesignature.add", + "129020:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", +ThreadId 21 | 2024-04-21T05:30:45.701759Z | Debug | Shake session initialized + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 16 | 2024-04-21T05:30:45.702083Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, +ThreadId 21 | 2024-04-21T05:30:45.702430Z | Debug | Set files of interst to + "formattingProvider": "ormolu", + "maxCompletions": 40, + [ ( /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + , Modified {firstOpen = True} ) ] + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:30:45.702631Z | Debug | LSP: set new config: { +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 16 | 2024-04-21T05:30:45.702871Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "params": { + "token": "3" + } +} +ThreadId 35 | 2024-04-21T05:30:45.702963Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:30:45.703031Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 21 | 2024-04-21T05:30:45.703203Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs +ThreadId 51 | 2024-04-21T05:30:45.703357Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:30:45.703414Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 70 | 2024-04-21T05:30:45.704304Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 83 | 2024-04-21T05:30:45.704522Z | Info | Cradle path: TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 90 | 2024-04-21T05:30:45.704766Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-78916091314892", cradleOptsProg = CradleAction: Cabal} +ThreadId 90 | 2024-04-21T05:30:45.704963Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-78916091314892 (for TI_Info.hs)" + } + } +} +ThreadId 90 | 2024-04-21T05:30:45.717790Z | Debug | cabal --numeric-version +ThreadId 90 | 2024-04-21T05:30:45.781390Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 90 | 2024-04-21T05:30:45.904848Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 90 | 2024-04-21T05:30:45.968425Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 90 | 2024-04-21T05:30:46.032209Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 90 | 2024-04-21T05:30:46.165846Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 90 | 2024-04-21T05:30:46.167257Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT129020-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 123 | 2024-04-21T05:30:46.193807Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 123 | 2024-04-21T05:30:46.193921Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 123 | 2024-04-21T05:30:46.193967Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 123 | 2024-04-21T05:30:46.194005Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 123 | 2024-04-21T05:30:46.224510Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 123 | 2024-04-21T05:30:48.379733Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 123 | 2024-04-21T05:30:48.380222Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 123 | 2024-04-21T05:30:48.570958Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 123 | 2024-04-21T05:30:49.230420Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 123 | 2024-04-21T05:30:51.422898Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 90 | 2024-04-21T05:30:51.504746Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 90 | 2024-04-21T05:30:51.628153Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 90 | 2024-04-21T05:30:51.691998Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 83 | 2024-04-21T05:30:51.692211Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-78916091314892-3c5bb3f2860ff4874e988d528518de4f/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-78916091314892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 83 | 2024-04-21T05:30:51.731600Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730 +ThreadId 83 | 2024-04-21T05:30:51.747967Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 83 | 2024-04-21T05:30:51.905503Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-78916091314892/hie.yaml",Just 2024-04-21 05:30:41.318881731 UTC),("cabal.project",Just 2024-04-21 05:30:41.318881731 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:30:41.318881731 UTC)]) +ThreadId 83 | 2024-04-21T05:30:51.907304Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs"])] +ThreadId 83 | 2024-04-21T05:30:51.907582Z | Debug | Restarting build session due to new component +Action Queue: [ eval.GetParsedModuleWithComments + , codeLens.GetGlobalBindingTypeSigs ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 64 | 2024-04-21T05:30:51.907591Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 161 | 2024-04-21T05:30:51.914073Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs") + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs") + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs") +ThreadId 166 | 2024-04-21T05:30:51.931997Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.02s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129020:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129020:eval:evalCommand" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 392 | 2024-04-21T05:30:51.938843Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs] +Aborting previous build session took 0.00s +ThreadId 158 | 2024-04-21T05:30:51.938843Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" +} +<-- { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TI_Info.hi.core +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +ThreadId 463 | 2024-04-21T05:30:52.454600Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hie +ThreadId 463 | 2024-04-21T05:30:52.454682Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfoMany.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfo.hs" +} +ThreadId 456 | 2024-04-21T05:30:52.620861Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBangMany.hie +ThreadId 456 | 2024-04-21T05:30:52.620983Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs +ThreadId 459 | 2024-04-21T05:30:52.901160Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hie +ThreadId 459 | 2024-04-21T05:30:52.901237Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +ThreadId 431 | 2024-04-21T05:30:52.901853Z | Debug | Finished: InitialLoad Took: 0.96s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBang.hs" +} +ThreadId 430 | 2024-04-21T05:30:53.001073Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" +ThreadId 425 | 2024-04-21T05:30:53.001380Z | Debug | Finished build session +AsyncCancelled +ThreadId 392 | 2024-04-21T05:30:53.001449Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { +ThreadId 602 | 2024-04-21T05:30:53.002057Z | Debug | Finished: eval: config Took: 0.00s + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", +ThreadId 21 | 2024-04-21T05:30:53.099526Z | Debug | Set files of interst to + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + [ ( /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , Modified {firstOpen = False} ) ] + } + } + ] + } + } + } +} +ThreadId 594 | 2024-04-21T05:30:53.099761Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:30:53.100083Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a2bfdec6b16e86f9ff8c7f1e6518737ab7e26730/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:30:53.100325Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs +<-- { + "jsonrpc": "2.0", +ThreadId 643 | 2024-04-21T05:30:53.100575Z | Debug | Finished: codeLens.config Took: 0.00s + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +--> { + "id": 23, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 23, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "38" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "38", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 645 | 2024-04-21T05:30:53.101811Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 652 | 2024-04-21T05:30:53.103742Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129020:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:30:53.104717Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" +} +ThreadId 629 | 2024-04-21T05:30:53.104848Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "38", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-78916091314892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +ThreadId 20 | 2024-04-21T05:30:53.105259Z | Info | Reactor thread stopped +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:30:53.105814Z | Debug | Cleaned up temporary directory + OK (11.79s) + +All 1 tests passed (11.79s) +ThreadId 12 | 2024-04-21T05:30:53.157746Zeval + | Info | Test Project lo :info command +cated :i behaves exactly the same as :info: in directory: /tmp/hls-test-root/extra-dir-20766675135892 +ThreadId 13 | 2024-04-21T05:30:53.159822Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { +ThreadId 13 | 2024-04-21T05:30:53.160843Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "callHierarchy": { + , ghcide-hover-and-symbols + "dynamicRegistration": true + , test + }, + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, +ThreadId 16 | 2024-04-21T05:30:53.161091Z | Info | Starting server + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-20766675135892", + "processId": 129597, + "rootUri": "file:///tmp/hls-test-root/extra-dir-20766675135892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:30:53.165708Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:30:53.166078Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-5111717237769008454) "file:///tmp/hls-test-root/extra-dir-20766675135892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:30:53.170123Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:30:55.303529Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:30:55.426796Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:30:57.572192Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:30:57.573377Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:30:57.573429Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:30:57.573581Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:30:57.573833Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "129597:block-command:ghcide.command.block", + "129597:ghcide-type-lenses:typesignature.add", + "129597:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +ThreadId 21 | 2024-04-21T05:30:57.575263Z | Debug | Shake session initialized + } + } +} +ThreadId 16 | 2024-04-21T05:30:57.575495Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 16 | 2024-04-21T05:30:57.576012Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +ThreadId 21 | 2024-04-21T05:30:57.576097Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , Modified {firstOpen = True} ) ] +} +ThreadId 16 | 2024-04-21T05:30:57.576136Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 35 | 2024-04-21T05:30:57.576560Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 21 | 2024-04-21T05:30:57.576995Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + "params": { + "token": "3" + } +} + , GetModificationTime; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:30:57.577275Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 51 | 2024-04-21T05:30:57.577344Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:30:57.577553Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs +<-- { + , GetClientSettings; ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +--> { +ThreadId 76 | 2024-04-21T05:30:57.577798Z | Debug | Finished: codeLens.config Took: 0.00s + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 95 | 2024-04-21T05:30:57.578168Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 100 | 2024-04-21T05:30:57.578415Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-20766675135892", cradleOptsProg = CradleAction: Cabal} +ThreadId 100 | 2024-04-21T05:30:57.578483Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-20766675135892 (for TI_Info.hs)" + } + } +} +ThreadId 100 | 2024-04-21T05:30:57.591245Z | Debug | cabal --numeric-version +ThreadId 100 | 2024-04-21T05:30:57.654484Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 100 | 2024-04-21T05:30:57.778246Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:30:57.841826Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 100 | 2024-04-21T05:30:57.905541Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 100 | 2024-04-21T05:30:58.038881Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:30:58.039457Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT129597-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 128 | 2024-04-21T05:30:58.068163Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 128 | 2024-04-21T05:30:58.068263Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 128 | 2024-04-21T05:30:58.068310Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:30:58.068349Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:30:58.096914Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:31:00.311780Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:31:00.312270Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:31:00.500352Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 128 | 2024-04-21T05:31:01.135794Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:31:03.368183Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 100 | 2024-04-21T05:31:03.458119Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 100 | 2024-04-21T05:31:03.581709Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:31:03.645337Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 95 | 2024-04-21T05:31:03.645521Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-20766675135892-beb9a21bd5c86219f76b9f0d56610b81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-20766675135892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 95 | 2024-04-21T05:31:03.687199Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5 +ThreadId 95 | 2024-04-21T05:31:03.719373Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 95 | 2024-04-21T05:31:03.894732Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-20766675135892/hie.yaml",Just 2024-04-21 05:30:53.156916332 UTC),("cabal.project",Just 2024-04-21 05:30:53.156916332 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:30:53.156916332 UTC)]) +ThreadId 95 | 2024-04-21T05:31:03.895421Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs"])] +ThreadId 71 | 2024-04-21T05:31:03.895696Z | Debug | Finished build session +AsyncCancelled +ThreadId 95 | 2024-04-21T05:31:03.895809Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 167 | 2024-04-21T05:31:03.905545Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs") + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs", + "version": 0 + } +} +ThreadId 165 | 2024-04-21T05:31:03.923734Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs") + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129597:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129597:eval:evalCommand" + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs") +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs") +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") +--> { + "id": 11, + "jsonrpc": "2.0", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs") + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { +ThreadId 160 | 2024-04-21T05:31:03.934285Z | Debug | Finished build session + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", +AsyncCancelled + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +ThreadId 401 | 2024-04-21T05:31:03.934373Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs") + "id": 15, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs") +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI "jsonrpc": "2.0", +_Info.hi.core + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs") +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", +ThreadId 463 | 2024-04-21T05:31:03.946417Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hie + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 463 | 2024-04-21T05:31:03.946492Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +ThreadId 481 | 2024-04-21T05:31:03.951756Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hie +ThreadId 481 | 2024-04-21T05:31:03.951832Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs" + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "33", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs" + } +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs" + } +} +ThreadId 442 | 2024-04-21T05:31:04.988124Z | Debug | Finished: InitialLoad Took: 1.05s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TInfoBangMany.hs" +} +ThreadId 440 | 2024-04-21T05:31:05.028525Z | Debug | Finished: runEvalCmd Took: 1.09s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +ThreadId 401 | 2024-04-21T05:31:05.028928Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 629 | 2024-04-21T05:31:05.029533Z | Debug | Finished: eval: config Took: 0.00s +ThreadId 436 | 2024-04-21T05:31:05.030833Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +--> { + "id": 23, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 23, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "37" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 24, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 24, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs": [ + { +ThreadId 21 | 2024-04-21T05:31:05.092005Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , Modified {firstOpen = False} ) ] + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, +ThreadId 623 | 2024-04-21T05:31:05.092105Z | Debug | Finished build session + "start": { + "character": 0, +AsyncCancelled + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:31:05.092120Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs (modified) +Action Queue: [] +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , IsEvaluating; /tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBang.hi + } + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBangMany.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-87ca810283fe002929316557183804623ce08bf5/TInfoBang.hie ] +Aborting previous build session took 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:31:05.092868Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +ThreadId 682 | 2024-04-21T05:31:05.093711Z | Debug | Finished: codeLens.config Took: 0.00s +--> { + "id": 25, + "jsonrpc": "2.0", + "result": null +} +ThreadId 683 | 2024-04-21T05:31:05.096642Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +<-- { + "id": 25, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "39" + } +} +ThreadId 690 | 2024-04-21T05:31:05.097226Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "39", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "129597:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { +ThreadId 16 | 2024-04-21T05:31:05.098327Z | Debug | Received shutdown message + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "39", + "value": { + "kind": "end" + } + } +} +ThreadId 653 | 2024-04-21T05:31:05.098462Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-20766675135892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:31:05.098692Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:31:05.099159Z | Debug | Cleaned up temporary directory + OK (11.94s) + +All 1 tests passed (11.94s) +ThreadId 1eval +2 | 2 :info command +024-04 :i behaves exactly the same as :info: -21T05:31:05.173523Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-29373437156892 +ThreadId 13 | 2024-04-21T05:31:05.175486Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:31:05.176481Z | Info | Starting LSP server... + "executionSummarySupport": true + } + }, + "textDocument": { + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + "callHierarchy": { + , test + "dynamicRegistration": true + , block-command + }, + , ghcide-type-lenses + "codeAction": { + , eval + , ghcide-core ] + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", +ThreadId 16 | 2024-04-21T05:31:05.176802Z | Info | Starting server + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-29373437156892", + "processId": 130178, + "rootUri": "file:///tmp/hls-test-root/extra-dir-29373437156892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:31:05.181682Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:05.182058Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-8868642519305831450) "file:///tmp/hls-test-root/extra-dir-29373437156892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:31:05.184754Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:31:07.367262Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:31:07.490622Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:31:09.601796Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:31:09.603078Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:31:09.603133Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:31:09.603303Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:31:09.603490Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "130178:block-command:ghcide.command.block", + "130178:ghcide-type-lenses:typesignature.add", + "130178:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", +ThreadId 22 | 2024-04-21T05:31:09.604984Z | Debug | Shake session initialized + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, +ThreadId 16 | 2024-04-21T05:31:09.605341Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:31:09.605654Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , Modified {firstOpen = True} ) ] +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +ThreadId 35 | 2024-04-21T05:31:09.605802Z | Debug | Finished build session +AsyncCancelled + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} +ThreadId 22 | 2024-04-21T05:31:09.605896Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs (modified) + } + ] +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 22 | 2024-04-21T05:31:09.606067Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:31:09.606107Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 59 | 2024-04-21T05:31:09.606919Z | Info | Cradle path: TI_Info.hs +ThreadId 16 | 2024-04-21T05:31:09.606955Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +ThreadId 72 | 2024-04-21T05:31:09.607227Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-29373437156892", cradleOptsProg = CradleAction: Cabal} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 66 | 2024-04-21T05:31:09.607259Z | Debug | Finished: codeLens.config Took: 0.00s +ThreadId 72 | 2024-04-21T05:31:09.607378Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 46 | 2024-04-21T05:31:09.609324Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:31:09.609372Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-29373437156892 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 72 | 2024-04-21T05:31:09.620519Z | Debug | cabal --numeric-version +ThreadId 72 | 2024-04-21T05:31:09.684080Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 72 | 2024-04-21T05:31:09.807491Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 72 | 2024-04-21T05:31:09.870965Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 72 | 2024-04-21T05:31:09.934571Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 72 | 2024-04-21T05:31:10.058128Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 72 | 2024-04-21T05:31:10.058694Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT130178-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 135 | 2024-04-21T05:31:10.085627Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 135 | 2024-04-21T05:31:10.085855Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 135 | 2024-04-21T05:31:10.085933Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 135 | 2024-04-21T05:31:10.085972Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 135 | 2024-04-21T05:31:10.114654Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:31:12.309489Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:31:12.309835Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:31:12.495528Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 135 | 2024-04-21T05:31:13.164559Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 135 | 2024-04-21T05:31:15.361465Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 72 | 2024-04-21T05:31:15.446857Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 72 | 2024-04-21T05:31:15.570466Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 72 | 2024-04-21T05:31:15.634096Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 59 | 2024-04-21T05:31:15.634274Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-29373437156892-3a45c9afd0099c2e9925af02aad72b7b/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-29373437156892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 59 | 2024-04-21T05:31:15.673600Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13 +ThreadId 59 | 2024-04-21T05:31:15.689834Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 59 | 2024-04-21T05:31:15.851498Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-29373437156892/hie.yaml",Just 2024-04-21 05:31:05.172951453 UTC),("cabal.project",Just 2024-04-21 05:31:05.172951453 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:31:05.172951453 UTC)]) +ThreadId 59 | 2024-04-21T05:31:15.852160Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs"])] +ThreadId 93 | 2024-04-21T05:31:15.852412Z | Debug | Finished build session +AsyncCancelled +ThreadId 59 | 2024-04-21T05:31:15.852413Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GhcSessionIO; + , GetClientSettings; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 176 | 2024-04-21T05:31:15.860608Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs") +ThreadId 173 | 2024-04-21T05:31:15.879759Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130178:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130178:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs") +ThreadId 168 | 2024-04-21T05:31:15.885509Z | Debug | Finished build session +AsyncCancelled +ThreadId 408 | 2024-04-21T05:31:15.885600Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs") +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 483 | 2024-04-21T05:31:16.919394Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TProperty.hie +ThreadId 483 | 2024-04-21T05:31:16.919487Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs +ThreadId 478 | 2024-04-21T05:31:16.920229Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoMany.hie +ThreadId 478 | 2024-04-21T05:31:16.920287Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs +ThreadId 482 | 2024-04-21T05:31:16.931386Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfo.hie +ThreadId 482 | 2024-04-21T05:31:16.931568Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs" + } +} +ThreadId 480 | 2024-04-21T05:31:16.933262Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBang.hie +ThreadId 480 | 2024-04-21T05:31:16.933345Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs +ThreadId 447 | 2024-04-21T05:31:16.933560Z | Debug | Finished: InitialLoad Took: 1.05s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs" + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs" + } +} +ThreadId 446 | 2024-04-21T05:31:16.959693Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/4)..." + } + } +} +ThreadId 441 | 2024-04-21T05:31:16.960184Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", +ThreadId 408 | 2024-04-21T05:31:16.960665Z | Debug | Restarting build session due to Eval + "message": " (2/4)..." + } +Action Queue: [] + } +} +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBangMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBangMany.hie +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfo.hie ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 590 | 2024-04-21T05:31:16.961100Z | Debug | Finished: eval: config Took: 0.00s + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:31:17.014599Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + } + } +} +ThreadId 584 | 2024-04-21T05:31:17.014840Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:31:17.014859Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBangMany.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfo.hi + "id": 2, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoMany.hi + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBang.hi + "result": null + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TProperty.hie +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-6bb5b990696d3f5f9f249cbee826b9f743d32b13/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:31:17.015135Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs +ThreadId 633 | 2024-04-21T05:31:17.015283Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 634 | 2024-04-21T05:31:17.016363Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 640 | 2024-04-21T05:31:17.017173Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130178:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" +ThreadId 16 | 2024-04-21T05:31:17.019783Z | Debug | Received shutdown message +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end" + } + } +} +ThreadId 622 | 2024-04-21T05:31:17.020062Z | Debug | Finished build session +<-- { + "jsonrpc": "2.0", + "method": "kick/done", +AsyncCancelled + "params": [ + "/tmp/hls-test-root/extra-dir-29373437156892/TI_Info.hs" + ] +} +ThreadId 21 | 2024-04-21T05:31:17.020434Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:31:17.020999Z | Debug | Cleaned up temporary directory + OK (11.85s) + +All 1 tests passed (11.85s) +ThreadId 12 | 2024-04-21T05:31:17.099285Z | Ineval + :info command + :i behaves exactly the same as :info: fo | Test Project located in directory: /tmp/hls-test-root/extra-dir-86020299077892 +ThreadId 13 | 2024-04-21T05:31:17.101368Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:31:17.102311Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "executionSummarySupport": true + , ghcide-hover-and-symbols + } + , test + }, + , block-command + "textDocument": { + , ghcide-type-lenses + , eval + , ghcide-core ] + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 16 | 2024-04-21T05:31:17.102588Z | Info | Starting server + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-86020299077892", + "processId": 130755, + "rootUri": "file:///tmp/hls-test-root/extra-dir-86020299077892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:31:17.107461Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:17.107728Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 586134778914285918 "file:///tmp/hls-test-root/extra-dir-86020299077892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:31:17.110172Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:31:19.285184Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:31:19.408571Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:31:21.520065Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:31:21.521328Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:31:21.521390Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:31:21.521533Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:31:21.521709Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "130755:block-command:ghcide.command.block", + "130755:ghcide-type-lenses:typesignature.add", + "130755:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 22 | 2024-04-21T05:31:21.523380Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:31:21.523593Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:31:21.523907Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , Modified {firstOpen = True} ) ] +--> { +ThreadId 35 | 2024-04-21T05:31:21.524192Z | Debug | Finished build session + "id": 1, + "jsonrpc": "2.0", + "result": [ + { +AsyncCancelled +ThreadId 22 | 2024-04-21T05:31:21.524298Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs ] +Aborting previous build session took 0.00s + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 22 | 2024-04-21T05:31:21.524428Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs +ThreadId 16 | 2024-04-21T05:31:21.525087Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:21.525202Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 61 | 2024-04-21T05:31:21.525273Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 67 | 2024-04-21T05:31:21.525512Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 82 | 2024-04-21T05:31:21.525713Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-86020299077892", cradleOptsProg = CradleAction: Cabal} +<-- { +ThreadId 82 | 2024-04-21T05:31:21.525809Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" +} +ThreadId 46 | 2024-04-21T05:31:21.527416Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:31:21.527568Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-86020299077892 (for TI_Info.hs)" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 82 | 2024-04-21T05:31:21.538279Z | Debug | cabal --numeric-version +ThreadId 82 | 2024-04-21T05:31:21.601643Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 82 | 2024-04-21T05:31:21.735024Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:21.798704Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 82 | 2024-04-21T05:31:21.863048Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 82 | 2024-04-21T05:31:21.986263Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:21.986849Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT130755-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 140 | 2024-04-21T05:31:22.013880Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 140 | 2024-04-21T05:31:22.014137Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 140 | 2024-04-21T05:31:22.014196Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 140 | 2024-04-21T05:31:22.014262Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 140 | 2024-04-21T05:31:22.042459Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:31:24.239677Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:31:24.240074Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:31:24.425960Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 140 | 2024-04-21T05:31:25.063283Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 140 | 2024-04-21T05:31:27.276334Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 82 | 2024-04-21T05:31:27.363701Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 82 | 2024-04-21T05:31:27.486979Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:27.550339Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 67 | 2024-04-21T05:31:27.550522Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-86020299077892-b4cb0ffa7e048e8f58954285f10316d7/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-86020299077892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 67 | 2024-04-21T05:31:27.591613Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9 +ThreadId 67 | 2024-04-21T05:31:27.611865Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 67 | 2024-04-21T05:31:27.768230Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-86020299077892/hie.yaml",Just 2024-04-21 05:31:17.09898631 UTC),("cabal.project",Just 2024-04-21 05:31:17.09898631 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:31:17.09898631 UTC)]) +ThreadId 67 | 2024-04-21T05:31:27.768838Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs"])] +ThreadId 96 | 2024-04-21T05:31:27.769123Z | Debug | Finished build session +AsyncCancelled +ThreadId 67 | 2024-04-21T05:31:27.769191Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GhcSessionIO; + , GetClientSettings; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 180 | 2024-04-21T05:31:27.776239Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs") +ThreadId 178 | 2024-04-21T05:31:27.812826Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +ThreadId 260 | 2024-04-21T05:31:27.813305Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hie +ThreadId 260 | 2024-04-21T05:31:27.813373Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs +ThreadId 261 | 2024-04-21T05:31:27.813389Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hie +ThreadId 261 | 2024-04-21T05:31:27.813530Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs +ThreadId 264 | 2024-04-21T05:31:27.813631Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hie +ThreadId 264 | 2024-04-21T05:31:27.813698Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs +ThreadId 267 | 2024-04-21T05:31:27.813764Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hie +ThreadId 267 | 2024-04-21T05:31:27.813815Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs +ThreadId 268 | 2024-04-21T05:31:27.813969Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hie +ThreadId 268 | 2024-04-21T05:31:27.814016Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs", + "version": 0 + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 259 | 2024-04-21T05:31:27.817057Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hie +ThreadId 259 | 2024-04-21T05:31:27.817117Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") + { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs" + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") + "testOutput": [], + "testRange": { + "end": { + "character": 13, +ThreadId 184 | 2024-04-21T05:31:27.818949Z | Debug | Finished: InitialLoad Took: 0.05s + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130755:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130755:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + } +} +ThreadId 448 | 2024-04-21T05:31:27.820620Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hie +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hie + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs ] + "method": "ghcide/reference/ready", +Aborting previous build session took 0.00s +ThreadId 173 | 2024-04-21T05:31:27.820705Z | Debug | Finished build session +AsyncCancelled + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs" +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") +<-- { +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 7 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 461 | 2024-04-21T05:31:28.861028Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" +ThreadId 456 | 2024-04-21T05:31:28.861261Z | Debug | Finished build session +AsyncCancelled +ThreadId 448 | 2024-04-21T05:31:28.861290Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 531 | 2024-04-21T05:31:28.861696Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", +ThreadId 22 | 2024-04-21T05:31:28.906207Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , Modified {firstOpen = False} ) ] + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, +ThreadId 525 | 2024-04-21T05:31:28.906316Z | Debug | Finished build session + "line": 5 + }, +AsyncCancelled + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 22 | 2024-04-21T05:31:28.906444Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-dfb80aa66d21be9376bea5321ce07aecb015e7e9/TI_Info.hi.core ] +Aborting previous build session took 0.00s +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:31:28.906707Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 572 | 2024-04-21T05:31:28.907098Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 581 | 2024-04-21T05:31:28.908143Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 582 | 2024-04-21T05:31:28.908781Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "130755:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" +ThreadId 16 | 2024-04-21T05:31:28.910975Z | Debug | Received shutdown message +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end" + } + } +} +ThreadId 551 | 2024-04-21T05:31:28.911241Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-86020299077892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { +ThreadId 21 | 2024-04-21T05:31:28.911484Z | Info | Reactor thread stopped + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:31:28.911777Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:31:28.912211Z | Debug | Cleaned up temporary directory + OK (11.81s) + +All 1 tests passed (11.81s) +ThreadIeval + :info command + :i behaves exactly the same as :info: d 12 | 2024-04-21T05:31:28.985161Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-3127058988892 +ThreadId 13 | 2024-04-21T05:31:28.987485Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:31:28.988370Z | Info | Starting LSP server... + "executionSummarySupport": true + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + } + }, +ThreadId 16 | 2024-04-21T05:31:28.988640Z | Info | Starting server + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-3127058988892", + "processId": 131331, + "rootUri": "file:///tmp/hls-test-root/extra-dir-3127058988892", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:31:28.992751Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:28.993136Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-29317729575497268) "file:///tmp/hls-test-root/extra-dir-3127058988892"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:31:28.995736Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:31:31.241195Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:31:31.364467Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:31:33.427726Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:31:33.429004Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:31:33.429062Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:31:33.429224Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:31:33.429417Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "131331:block-command:ghcide.command.block", + "131331:ghcide-type-lenses:typesignature.add", + "131331:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +ThreadId 21 | 2024-04-21T05:31:33.431092Z | Debug | Shake session initialized + } + } +} +--> { + "id": 1, +ThreadId 16 | 2024-04-21T05:31:33.431149Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + "jsonrpc": "2.0", + "result": [ + { +ThreadId 21 | 2024-04-21T05:31:33.431801Z | Debug | Set files of interst to + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + [ ( /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , Modified {firstOpen = True} ) ] + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:31:33.432044Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +--> { + "id": 2, + "jsonrpc": "2.0", +} + "result": null +} +ThreadId 37 | 2024-04-21T05:31:33.432186Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:31:33.432210Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 21 | 2024-04-21T05:31:33.432267Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs (modified) + "params": { + "token": "3" + } +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 51 | 2024-04-21T05:31:33.432662Z | Debug | Finished build session +<-- { +AsyncCancelled +ThreadId 21 | 2024-04-21T05:31:33.432645Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +ThreadId 16 | 2024-04-21T05:31:33.432868Z | Debug | Restarting build session due to config change +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +ThreadId 66 | 2024-04-21T05:31:33.433384Z | Debug | Finished: codeLens.config Took: 0.00s +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 74 | 2024-04-21T05:31:33.433479Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 4, + "jsonrpc": "2.0", +ThreadId 82 | 2024-04-21T05:31:33.433825Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-3127058988892", cradleOptsProg = CradleAction: Cabal} + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 82 | 2024-04-21T05:31:33.434348Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-3127058988892 (for TI_Info.hs)" + } + } +} +ThreadId 82 | 2024-04-21T05:31:33.447132Z | Debug | cabal --numeric-version +ThreadId 82 | 2024-04-21T05:31:33.510449Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 82 | 2024-04-21T05:31:33.644063Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:33.707540Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 82 | 2024-04-21T05:31:33.771026Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 82 | 2024-04-21T05:31:33.894851Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:33.895442Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT131331-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 114 | 2024-04-21T05:31:33.923441Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 114 | 2024-04-21T05:31:33.923712Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 114 | 2024-04-21T05:31:33.923770Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 114 | 2024-04-21T05:31:33.923813Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 114 | 2024-04-21T05:31:33.957391Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:31:36.159711Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:31:36.160064Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:31:36.349597Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 114 | 2024-04-21T05:31:37.003696Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 114 | 2024-04-21T05:31:39.196782Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 82 | 2024-04-21T05:31:39.283431Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 82 | 2024-04-21T05:31:39.406843Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 82 | 2024-04-21T05:31:39.470433Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 74 | 2024-04-21T05:31:39.470613Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-3127058988892-0ed01abfe8de224acbb440d750dbaf66/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-3127058988892", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 74 | 2024-04-21T05:31:39.517989Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13 +ThreadId 74 | 2024-04-21T05:31:39.545738Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 74 | 2024-04-21T05:31:39.679113Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-3127058988892/hie.yaml",Just 2024-04-21 05:31:28.98502105 UTC),("cabal.project",Just 2024-04-21 05:31:28.98502105 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:31:28.98502105 UTC)]) +ThreadId 74 | 2024-04-21T05:31:39.679704Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs"])] +ThreadId 60 | 2024-04-21T05:31:39.679952Z | Debug | Finished build session +AsyncCancelled +ThreadId 74 | 2024-04-21T05:31:39.680066Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 152 | 2024-04-21T05:31:39.706731Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs") + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs") + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs") +ThreadId 150 | 2024-04-21T05:31:39.727075Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.05s +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131331:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131331:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs") +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 381 | 2024-04-21T05:31:39.733088Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs] +Aborting previous build session took 0.00s +ThreadId 145 | 2024-04-21T05:31:39.733095Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs") + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs" +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfo.hs" +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", +ThreadId 422 | 2024-04-21T05:31:39.753434Z | Debug | Finished: InitialLoad Took: 0.02s + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TInfoMany.hs" +} +ThreadId 421 | 2024-04-21T05:31:40.792720Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +ThreadId 416 | 2024-04-21T05:31:40.793055Z | Debug | Finished build session +AsyncCancelled +ThreadId 381 | 2024-04-21T05:31:40.793217Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 587 | 2024-04-21T05:31:40.793524Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { +ThreadId 21 | 2024-04-21T05:31:40.840471Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , Modified {firstOpen = False} ) ] + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs": [ +ThreadId 582 | 2024-04-21T05:31:40.840596Z | Debug | Finished build session + { +AsyncCancelled + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } +ThreadId 21 | 2024-04-21T05:31:40.840647Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TProperty.hi + ] + } + } + } +} + , IsEvaluating; /tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-18a75bc7608a9dde9ff9e205bd22b74712ce8c13/TInfo.hie ] +--> { + "id": 3, +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:31:40.840967Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { +ThreadId 627 | 2024-04-21T05:31:40.841454Z | Debug | Finished: codeLens.config Took: 0.00s + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { +ThreadId 628 | 2024-04-21T05:31:40.842271Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 633 | 2024-04-21T05:31:40.843084Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131331:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:31:40.845493Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", +ThreadId 608 | 2024-04-21T05:31:40.845664Z | Debug | Finished build session + "value": { + "kind": "end" +AsyncCancelled + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-3127058988892/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:31:40.846228Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:31:40.846523Z | Debug | Cleaned up temporary directory + OK (11.86s) + +All 1 tests passed (11.86s) +Threaeval + :info command + :i behaves exactly the same as :info: dId 12 | 2024-04-21T05:31:40.915018Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-90772941900992 +ThreadId 13 | 2024-04-21T05:31:40.917356Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { +ThreadId 13 | 2024-04-21T05:31:40.918305Z | Info | Starting LSP server... + "synchronization": { + "dynamicRegistration": true, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + "executionSummarySupport": true + , ghcide-type-lenses + , eval + , ghcide-core ] + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 16 | 2024-04-21T05:31:40.918595Z | Info | Starting server + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-90772941900992", + "processId": 131909, + "rootUri": "file:///tmp/hls-test-root/extra-dir-90772941900992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:31:40.922601Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:40.922990Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-6947079989808069439) "file:///tmp/hls-test-root/extra-dir-90772941900992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:31:40.929142Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:31:43.071819Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:31:43.195044Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:31:45.429686Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:31:45.430855Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:31:45.430975Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:31:45.431124Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:31:45.431404Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "131909:block-command:ghcide.command.block", + "131909:ghcide-type-lenses:typesignature.add", + "131909:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 21 | 2024-04-21T05:31:45.432794Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + } + } +ThreadId 16 | 2024-04-21T05:31:45.433221Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs +ThreadId 21 | 2024-04-21T05:31:45.433588Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , Modified {firstOpen = True} ) ] +} +ThreadId 35 | 2024-04-21T05:31:45.434133Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:31:45.434338Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:31:45.434438Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs +<-- { + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:31:45.434596Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "method": "kick/start", + "maxCompletions": 40, + "plugin": { } +} + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:31:45.434746Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 62 | 2024-04-21T05:31:45.435227Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", +ThreadId 47 | 2024-04-21T05:31:45.435450Z | Debug | Finished build session +AsyncCancelled + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:31:45.435558Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +ThreadId 102 | 2024-04-21T05:31:45.436015Z | Info | Cradle path: TI_Info.hs +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" +ThreadId 108 | 2024-04-21T05:31:45.436218Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-90772941900992", cradleOptsProg = CradleAction: Cabal} + } +ThreadId 108 | 2024-04-21T05:31:45.436308Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-90772941900992 (for TI_Info.hs)" + } + } +} +ThreadId 108 | 2024-04-21T05:31:45.449298Z | Debug | cabal --numeric-version +ThreadId 108 | 2024-04-21T05:31:45.512546Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 108 | 2024-04-21T05:31:45.635688Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:31:45.700525Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 108 | 2024-04-21T05:31:45.763889Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 108 | 2024-04-21T05:31:45.887170Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:31:45.887721Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT131909-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 137 | 2024-04-21T05:31:45.913883Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 137 | 2024-04-21T05:31:45.914152Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 137 | 2024-04-21T05:31:45.914208Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 137 | 2024-04-21T05:31:45.914267Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 137 | 2024-04-21T05:31:45.942799Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 137 | 2024-04-21T05:31:48.143146Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 137 | 2024-04-21T05:31:48.143573Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 137 | 2024-04-21T05:31:48.332345Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 137 | 2024-04-21T05:31:48.978649Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 137 | 2024-04-21T05:31:51.159670Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 108 | 2024-04-21T05:31:51.244222Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 108 | 2024-04-21T05:31:51.367469Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 108 | 2024-04-21T05:31:51.431857Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 102 | 2024-04-21T05:31:51.432077Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-90772941900992-02478101af3b62d56197beeaa2074c34/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-90772941900992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 102 | 2024-04-21T05:31:51.472355Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1 +ThreadId 102 | 2024-04-21T05:31:51.500021Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 102 | 2024-04-21T05:31:51.664663Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-90772941900992/hie.yaml",Just 2024-04-21 05:31:40.915055919 UTC),("cabal.project",Just 2024-04-21 05:31:40.915055919 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:31:40.915055919 UTC)]) +ThreadId 102 | 2024-04-21T05:31:51.665330Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs"])] +ThreadId 83 | 2024-04-21T05:31:51.665595Z | Debug | Finished build session +AsyncCancelled +ThreadId 102 | 2024-04-21T05:31:51.665664Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 179 | 2024-04-21T05:31:51.673120Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs") +ThreadId 258 | 2024-04-21T05:31:51.707220Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hie +ThreadId 253 | 2024-04-21T05:31:51.707323Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hie +ThreadId 258 | 2024-04-21T05:31:51.707440Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") +ThreadId 253 | 2024-04-21T05:31:51.707807Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs +ThreadId 176 | 2024-04-21T05:31:51.707841Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") +--> { +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 259 | 2024-04-21T05:31:51.708110Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hie +ThreadId 256 | 2024-04-21T05:31:51.708274Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hie +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +ThreadId 252 | 2024-04-21T05:31:51.708440Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hie +<-- { +ThreadId 255 | 2024-04-21T05:31:51.708499Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hie + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 259 | 2024-04-21T05:31:51.710373Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", +ThreadId 256 | 2024-04-21T05:31:51.710756Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs + "value": { + "kind": "report", + "message": " (0/4)..." + } + } +} +ThreadId 252 | 2024-04-21T05:31:51.710866Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs +ThreadId 255 | 2024-04-21T05:31:51.710931Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } +ThreadId 181 | 2024-04-21T05:31:51.712692Z | Debug | Finished: InitialLoad Took: 0.05s + }, + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131909:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131909:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/7)..." + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBang.hs" +} +ThreadId 171 | 2024-04-21T05:31:51.715931Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", +ThreadId 450 | 2024-04-21T05:31:51.715987Z | Debug | Restarting build session due to Eval + "message": " (4/7)..." + } + } +} +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") + ] +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") +<-- { +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfoMany.hs" +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (7/9)..." + } +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI } +_Info.hi.core +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (8/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (9/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (10/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 11 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 470 | 2024-04-21T05:31:52.766146Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +ThreadId 463 | 2024-04-21T05:31:52.766372Z | Debug | Finished build session +AsyncCancelled +ThreadId 450 | 2024-04-21T05:31:52.766457Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 530 | 2024-04-21T05:31:52.766760Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:31:52.814712Z | Debug | Set files of interst to +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + } + } +} + [ ( /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , Modified {firstOpen = False} ) ] +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:31:52.815034Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TInfoBangMany.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-830237c46c12fc43cf333460b951581f0923a0d1/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 525 | 2024-04-21T05:31:52.815069Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:31:52.815271Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs +ThreadId 567 | 2024-04-21T05:31:52.815497Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 569 | 2024-04-21T05:31:52.816654Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 576 | 2024-04-21T05:31:52.818113Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "131909:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:31:52.820435Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { +ThreadId 556 | 2024-04-21T05:31:52.820648Z | Debug | Finished build session +AsyncCancelled + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-90772941900992/TI_Info.hs" + ] +} +<-- { + "id": 0, +ThreadId 20 | 2024-04-21T05:31:52.820898Z | Info | Reactor thread stopped + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:31:52.821047Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:31:52.821490Z | Debug | Cleaned up temporary directory + OK (11.91s) + +All 1 tests passed (11.91s) +Threadeval + :info command +Id 12 | 2024-04 :i behaves exactly the same as :info: -21T05:31:52.900087Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-5510000921992 +ThreadId 13 | 2024-04-21T05:31:52.902512Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { +ThreadId 13 | 2024-04-21T05:31:52.903383Z | Info | Starting LSP server... + "dynamicRegistration": true, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + , ghcide-type-lenses + , eval + , ghcide-core ] + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", +ThreadId 16 | 2024-04-21T05:31:52.903749Z | Info | Starting server + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-5510000921992", + "processId": 132487, + "rootUri": "file:///tmp/hls-test-root/extra-dir-5510000921992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:31:52.910509Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:31:52.912182Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 4072718969577188271 "file:///tmp/hls-test-root/extra-dir-5510000921992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:31:52.915091Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:31:55.058501Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:31:55.192162Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:31:57.284026Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:31:57.285323Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:31:57.285383Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:31:57.285534Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:31:57.285723Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "132487:block-command:ghcide.command.block", + "132487:ghcide-type-lenses:typesignature.add", + "132487:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { +ThreadId 21 | 2024-04-21T05:31:57.287431Z | Debug | Shake session initialized + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:31:57.287838Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 21 | 2024-04-21T05:31:57.288226Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , Modified {firstOpen = True} ) ] + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:31:57.288479Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", +--> { + "id": 3, + "jsonrpc": "2.0", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "result": null + "maxCompletions": 40, + "plugin": { } +} +} +ThreadId 35 | 2024-04-21T05:31:57.288579Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:31:57.288588Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} + , GetModificationTime; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 16 | 2024-04-21T05:31:57.288637Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 21 | 2024-04-21T05:31:57.288903Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 52 | 2024-04-21T05:31:57.289554Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:31:57.289577Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", +ThreadId 84 | 2024-04-21T05:31:57.289956Z | Debug | Finished: codeLens.config Took: 0.00s + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 97 | 2024-04-21T05:31:57.290696Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 105 | 2024-04-21T05:31:57.290890Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-5510000921992", cradleOptsProg = CradleAction: Cabal} +ThreadId 105 | 2024-04-21T05:31:57.290960Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-5510000921992 (for TI_Info.hs)" + } + } +} +ThreadId 105 | 2024-04-21T05:31:57.303696Z | Debug | cabal --numeric-version +ThreadId 105 | 2024-04-21T05:31:57.367114Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 105 | 2024-04-21T05:31:57.490342Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 105 | 2024-04-21T05:31:57.553865Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 105 | 2024-04-21T05:31:57.617051Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 105 | 2024-04-21T05:31:57.740348Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 105 | 2024-04-21T05:31:57.740943Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT132487-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 133 | 2024-04-21T05:31:57.768813Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 133 | 2024-04-21T05:31:57.768929Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 133 | 2024-04-21T05:31:57.768973Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 133 | 2024-04-21T05:31:57.769027Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 133 | 2024-04-21T05:31:57.797481Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 133 | 2024-04-21T05:32:00.019404Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 133 | 2024-04-21T05:32:00.019755Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 133 | 2024-04-21T05:32:00.205374Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 133 | 2024-04-21T05:32:00.852835Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 133 | 2024-04-21T05:32:03.055611Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 105 | 2024-04-21T05:32:03.137648Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 105 | 2024-04-21T05:32:03.260901Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 105 | 2024-04-21T05:32:03.324561Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 97 | 2024-04-21T05:32:03.324753Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-5510000921992-62424cbd6f859adee57385e7c025107c/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-5510000921992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 97 | 2024-04-21T05:32:03.363642Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d +ThreadId 97 | 2024-04-21T05:32:03.378889Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 97 | 2024-04-21T05:32:03.539917Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-5510000921992/hie.yaml",Just 2024-04-21 05:31:52.900090948 UTC),("cabal.project",Just 2024-04-21 05:31:52.900090948 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:31:52.900090948 UTC)]) +ThreadId 97 | 2024-04-21T05:32:03.540526Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs"])] +ThreadId 79 | 2024-04-21T05:32:03.540813Z | Debug | Finished build session +AsyncCancelled +ThreadId 97 | 2024-04-21T05:32:03.540834Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 175 | 2024-04-21T05:32:03.549055Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs") +ThreadId 245 | 2024-04-21T05:32:03.587566Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hie +ThreadId 245 | 2024-04-21T05:32:03.587650Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs +ThreadId 249 | 2024-04-21T05:32:03.587845Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hie +ThreadId 249 | 2024-04-21T05:32:03.587921Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs +ThreadId 171 | 2024-04-21T05:32:03.588061Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.05s +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, +ThreadId 253 | 2024-04-21T05:32:03.588100Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hie + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") +ThreadId 248 | 2024-04-21T05:32:03.588382Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hie +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, +ThreadId 253 | 2024-04-21T05:32:03.589458Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs + "line": 2 + } + }, + "relatedInformation": [ + { +ThreadId 252 | 2024-04-21T05:32:03.589784Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hie + "location": { + "range": { +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { +ThreadId 248 | 2024-04-21T05:32:03.590038Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, +ThreadId 252 | 2024-04-21T05:32:03.590554Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" +ThreadId 177 | 2024-04-21T05:32:03.592593Z | Debug | Finished: InitialLoad Took: 0.05s + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs" + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "132487:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "132487:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 6 files" + } + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfo.hs" +} +--> { + "id": 12, +ThreadId 166 | 2024-04-21T05:32:03.594374Z | Debug | Finished build session +AsyncCancelled + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", +ThreadId 459 | 2024-04-21T05:32:03.594554Z | Debug | Restarting build session due to Eval + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hi + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hi + "token": "23", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hie + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hie ] +Aborting previous build session took 0.00s + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +<-- { +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TProperty.hs" +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (1/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs") + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (2/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hi.core +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "23", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 481 | 2024-04-21T05:32:04.640784Z | Debug | Finished: runEvalCmd Took: 1.05s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" +ThreadId 459 | 2024-04-21T05:32:04.641025Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 474 | 2024-04-21T05:32:04.641095Z | Debug | Finished build session +AsyncCancelled +ThreadId 530 | 2024-04-21T05:32:04.641344Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } +ThreadId 21 | 2024-04-21T05:32:04.689348Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , Modified {firstOpen = False} ) ] + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { +ThreadId 524 | 2024-04-21T05:32:04.689756Z | Debug | Finished build session + "kind": "end" +AsyncCancelled + } + } +} +<-- { + "id": 2, +ThreadId 21 | 2024-04-21T05:32:04.689820Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-62fbe3addb123d34a9fc233b7d24fb7a101ea93d/TI_Info.hi.core ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:32:04.690003Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +ThreadId 575 | 2024-04-21T05:32:04.690375Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 577 | 2024-04-21T05:32:04.691175Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 581 | 2024-04-21T05:32:04.691852Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "132487:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" +ThreadId 16 | 2024-04-21T05:32:04.692972Z | Debug | Received shutdown message +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 553 | 2024-04-21T05:32:04.693073Z | Debug | Finished build session +AsyncCancelled + "params": { + "token": "31", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-5510000921992/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:32:04.693484Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:32:04.693536Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:32:04.693951Z | Debug | Cleaned up temporary directory + OK (11.79s) + +All 1 tests passed (11.79s) +ThreadId 12 | 2024-04-21T05:eval +32:04.763575Z | Info :info command + :i behaves exactly the same as :info: | Test Project located in directory: /tmp/hls-test-root/extra-dir-57458436742992 +ThreadId 13 | 2024-04-21T05:32:04.765673Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, +ThreadId 13 | 2024-04-21T05:32:04.766942Z | Info | Starting LSP server... + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + "colorProvider": { + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", +ThreadId 16 | 2024-04-21T05:32:04.767210Z | Info | Starting server + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-57458436742992", + "processId": 133065, + "rootUri": "file:///tmp/hls-test-root/extra-dir-57458436742992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:32:04.771589Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:04.771850Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 1053702670001327724 "file:///tmp/hls-test-root/extra-dir-57458436742992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:32:04.774481Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:32:07.001293Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:32:07.124445Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:32:09.299789Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:32:09.300991Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:32:09.301043Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:32:09.301169Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:32:09.301466Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "133065:block-command:ghcide.command.block", + "133065:ghcide-type-lenses:typesignature.add", + "133065:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +ThreadId 22 | 2024-04-21T05:32:09.303099Z | Debug | Shake session initialized + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", +ThreadId 16 | 2024-04-21T05:32:09.303310Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", +ThreadId 22 | 2024-04-21T05:32:09.304026Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 16 | 2024-04-21T05:32:09.304160Z | Debug | LSP: set new config: { + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "cabalFormattingProvider": "cabal-gild", + "method": "window/workDoneProgress/create", + "params": { + "checkParents": "CheckOnSave", + "checkProject": true, + "token": "3" + } +} + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:09.304527Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 35 | 2024-04-21T05:32:09.304714Z | Debug | Finished build session +AsyncCancelled +<-- { +ThreadId 22 | 2024-04-21T05:32:09.304806Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 22 | 2024-04-21T05:32:09.304972Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +ThreadId 65 | 2024-04-21T05:32:09.305720Z | Info | Cradle path: TI_Info.hs +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 75 | 2024-04-21T05:32:09.305921Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-57458436742992", cradleOptsProg = CradleAction: Cabal} +ThreadId 75 | 2024-04-21T05:32:09.305975Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 51 | 2024-04-21T05:32:09.307565Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:32:09.307597Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 93 | 2024-04-21T05:32:09.308154Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-57458436742992 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 75 | 2024-04-21T05:32:09.318430Z | Debug | cabal --numeric-version +ThreadId 75 | 2024-04-21T05:32:09.381748Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 75 | 2024-04-21T05:32:09.505004Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 75 | 2024-04-21T05:32:09.568634Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 75 | 2024-04-21T05:32:09.632047Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 75 | 2024-04-21T05:32:09.755634Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 75 | 2024-04-21T05:32:09.757048Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT133065-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:32:09.785767Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:32:09.785883Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:32:09.785956Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:32:09.786004Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:32:09.815729Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:12.036040Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:12.036493Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:12.225076Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:32:12.870240Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:15.032654Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 75 | 2024-04-21T05:32:15.114922Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 75 | 2024-04-21T05:32:15.238252Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 75 | 2024-04-21T05:32:15.301730Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 65 | 2024-04-21T05:32:15.301924Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-57458436742992-0cb30cf0248dcebf14c9e825b899a598/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-57458436742992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 65 | 2024-04-21T05:32:15.349940Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501 +ThreadId 65 | 2024-04-21T05:32:15.364352Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 65 | 2024-04-21T05:32:15.518912Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-57458436742992/hie.yaml",Just 2024-04-21 05:32:04.763126058 UTC),("cabal.project",Just 2024-04-21 05:32:04.763126058 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:32:04.763126058 UTC)]) +ThreadId 65 | 2024-04-21T05:32:15.520944Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs"])] +ThreadId 88 | 2024-04-21T05:32:15.521281Z | Debug | Finished build session +AsyncCancelled +ThreadId 65 | 2024-04-21T05:32:15.521364Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 175 | 2024-04-21T05:32:15.548403Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs") + ] +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs") + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs") +ThreadId 169 | 2024-04-21T05:32:15.563955Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133065:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133065:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs") +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 164 | 2024-04-21T05:32:15.570002Z | Debug | Finished build session +AsyncCancelled +ThreadId 397 | 2024-04-21T05:32:15.570006Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs") + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 460 | 2024-04-21T05:32:15.579015Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hie +<-- { + "jsonrpc": "2.0", +ThreadId 460 | 2024-04-21T05:32:15.579179Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs") +ThreadId 467 | 2024-04-21T05:32:15.583105Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hie +ThreadId 467 | 2024-04-21T05:32:15.583170Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs") +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs" + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TInfoMany.hs" +} +ThreadId 439 | 2024-04-21T05:32:16.103317Z | Debug | Finished: InitialLoad Took: 0.53s +ThreadId 438 | 2024-04-21T05:32:16.634138Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +ThreadId 397 | 2024-04-21T05:32:16.634354Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfo.hie ] +Aborting previous build session took 0.00s +ThreadId 433 | 2024-04-21T05:32:16.634389Z | Debug | Finished build session +AsyncCancelled +ThreadId 617 | 2024-04-21T05:32:16.634901Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", +ThreadId 22 | 2024-04-21T05:32:16.686101Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , Modified {firstOpen = False} ) ] + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { +ThreadId 611 | 2024-04-21T05:32:16.686238Z | Debug | Finished build session +AsyncCancelled + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:32:16.686521Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-8432d73c0a7ccf963e781dc404d368c3b5427501/TInfo.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:32:16.686752Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ +ThreadId 657 | 2024-04-21T05:32:16.687148Z | Debug | Finished: codeLens.config Took: 0.00s + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "36" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 659 | 2024-04-21T05:32:16.688287Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 666 | 2024-04-21T05:32:16.688980Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133065:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 16 | 2024-04-21T05:32:16.691772Z | Debug | Received shutdown message + "params": "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "end" + } +ThreadId 639 | 2024-04-21T05:32:16.691941Z | Debug | Finished build session +AsyncCancelled + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-57458436742992/TI_Info.hs" + ] +} +ThreadId 21 | 2024-04-21T05:32:16.692260Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 12 | 2024-04-21T05:32:16.693010Z | Debug | Cleaned up temporary directory + OK (11.93s) + +All 1 tests passed (11.93s) +Teval + :info command +hreadId :i behaves exactly the same as :info: 12 | 2024-04-21T05:32:16.771470Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-82518317763992 +ThreadId 13 | 2024-04-21T05:32:16.773587Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true +ThreadId 13 | 2024-04-21T05:32:16.774462Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { +ThreadId 16 | 2024-04-21T05:32:16.774795Z | Info | Starting server + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-82518317763992", + "processId": 133646, + "rootUri": "file:///tmp/hls-test-root/extra-dir-82518317763992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:32:16.779262Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:16.779738Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 2845451014387922848 "file:///tmp/hls-test-root/extra-dir-82518317763992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:32:16.782426Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:32:18.893625Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:32:19.016857Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:32:21.260960Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:32:21.262176Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:32:21.262263Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:32:21.262373Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:32:21.262557Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "133646:block-command:ghcide.command.block", + "133646:ghcide-type-lenses:typesignature.add", + "133646:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", +ThreadId 21 | 2024-04-21T05:32:21.264151Z | Debug | Shake session initialized + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +ThreadId 16 | 2024-04-21T05:32:21.264592Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + } + } +} +ThreadId 21 | 2024-04-21T05:32:21.264986Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 35 | 2024-04-21T05:32:21.265603Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:32:21.265730Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:32:21.265842Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 16 | 2024-04-21T05:32:21.265869Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { +ThreadId 16 | 2024-04-21T05:32:21.266231Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 71 | 2024-04-21T05:32:21.266657Z | Info | Cradle path: TI_Info.hs +ThreadId 79 | 2024-04-21T05:32:21.266941Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-82518317763992", cradleOptsProg = CradleAction: Cabal} +ThreadId 79 | 2024-04-21T05:32:21.267024Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +} +ThreadId 48 | 2024-04-21T05:32:21.268982Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:32:21.269086Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 94 | 2024-04-21T05:32:21.269687Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-82518317763992 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 79 | 2024-04-21T05:32:21.279955Z | Debug | cabal --numeric-version +ThreadId 79 | 2024-04-21T05:32:21.343189Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 79 | 2024-04-21T05:32:21.466314Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:32:21.530153Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 79 | 2024-04-21T05:32:21.594381Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 79 | 2024-04-21T05:32:21.717720Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:32:21.718300Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT133646-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:32:21.744504Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:32:21.744830Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:32:21.744896Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:32:21.744936Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:32:21.773402Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:23.983924Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:23.984318Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:24.171952Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:32:24.819041Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:32:26.999888Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 79 | 2024-04-21T05:32:27.085113Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 79 | 2024-04-21T05:32:27.208613Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:32:27.272194Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 71 | 2024-04-21T05:32:27.272370Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-82518317763992-3f73e1dd3038b9b003159489f508ccfc/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-82518317763992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 71 | 2024-04-21T05:32:27.313133Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6 +ThreadId 71 | 2024-04-21T05:32:27.331442Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 71 | 2024-04-21T05:32:27.467247Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-82518317763992/hie.yaml",Just 2024-04-21 05:32:16.771162728 UTC),("cabal.project",Just 2024-04-21 05:32:16.771162728 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:32:16.771162728 UTC)]) +ThreadId 71 | 2024-04-21T05:32:27.467838Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs"])] +ThreadId 87 | 2024-04-21T05:32:27.468139Z | Debug | Finished build session +AsyncCancelled +ThreadId 71 | 2024-04-21T05:32:27.468140Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 176 | 2024-04-21T05:32:27.476852Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +ThreadId 170 | 2024-04-21T05:32:27.492620Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.02s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs") + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133646:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133646:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs") + "title": "Evaluating" + } + } +} +ThreadId 165 | 2024-04-21T05:32:27.503438Z | Debug | Finished build session +AsyncCancelled +ThreadId 409 | 2024-04-21T05:32:27.503438Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs") + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs") +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs") +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +ThreadId 462 | 2024-04-21T05:32:27.515350Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hie +ThreadId 462 | 2024-04-21T05:32:27.515415Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs") + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBangMany.hs" +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +ThreadId 471 | 2024-04-21T05:32:27.517864Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 471 | 2024-04-21T05:32:27.517959Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +<-- { +ThreadId 442 | 2024-04-21T05:32:27.522316Z | Debug | Finished: InitialLoad Took: 0.02s + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 3 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TInfo.hs" +} +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +ThreadId 441 | 2024-04-21T05:32:28.581785Z | Debug | Finished: runEvalCmd Took: 1.08s +ThreadId 409 | 2024-04-21T05:32:28.582062Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 436 | 2024-04-21T05:32:28.582063Z | Debug | Finished build session +AsyncCancelled +ThreadId 608 | 2024-04-21T05:32:28.582431Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs": [ +ThreadId 21 | 2024-04-21T05:32:28.630620Z | Debug | Set files of interst to + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + [ ( /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + } + } + } + ] + } + } + } + , Modified {firstOpen = False} ) ] +} +ThreadId 603 | 2024-04-21T05:32:28.630950Z | Debug | Finished build session +AsyncCancelled +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:32:28.631026Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfo.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af23d4f75023d884f677cc5c1aa650f89b5e45d6/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:32:28.631310Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { +ThreadId 643 | 2024-04-21T05:32:28.631651Z | Debug | Finished: codeLens.config Took: 0.00s + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "38" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "38", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 644 | 2024-04-21T05:32:28.632650Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 658 | 2024-04-21T05:32:28.633320Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "133646:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:32:28.635838Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "38", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-82518317763992/TI_Info.hs" + ] +} +ThreadId 631 | 2024-04-21T05:32:28.636076Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:32:28.636413Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:32:28.636873Z | Debug | Cleaned up temporary directory + OK (11.87s) + +All 1 tests passed (11.87s) +ThreadId 12 | 2024-04-21T05:32:28.716101Z | Info | eval +Test :info command +Projec :i behaves exactly the same as :info: t located in directory: /tmp/hls-test-root/extra-dir-47451061784992 +ThreadId 13 | 2024-04-21T05:32:28.718211Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, +ThreadId 13 | 2024-04-21T05:32:28.719480Z | Info | Starting LSP server... + 13, + 14, + 15, + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + 16, + 17, + , test + 18, + 19, + , block-command + 20, + 21, + 22, + 23, + 24, + 25, + , ghcide-type-lenses + , eval + , ghcide-core ] + 26 + ] + }, + "tagSupport": { +ThreadId 16 | 2024-04-21T05:32:28.720953Z | Info | Starting server + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-47451061784992", + "processId": 134224, + "rootUri": "file:///tmp/hls-test-root/extra-dir-47451061784992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:32:28.725413Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:28.725761Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 8137152268840853402 "file:///tmp/hls-test-root/extra-dir-47451061784992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:32:28.728526Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:32:30.865415Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:32:30.988617Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:32:33.160570Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:32:33.161856Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:32:33.161975Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:32:33.162129Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:32:33.162315Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "134224:block-command:ghcide.command.block", + "134224:ghcide-type-lenses:typesignature.add", + "134224:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs", + "version": 0 +ThreadId 21 | 2024-04-21T05:32:33.163756Z | Debug | Shake session initialized + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:32:33.164160Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 16 | 2024-04-21T05:32:33.164450Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 21 | 2024-04-21T05:32:33.164612Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 16 | 2024-04-21T05:32:33.164614Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +ThreadId 35 | 2024-04-21T05:32:33.164784Z | Debug | Finished build session +} +AsyncCancelled +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:32:33.164855Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:32:33.165053Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 49 | 2024-04-21T05:32:33.165361Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:32:33.165515Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 77 | 2024-04-21T05:32:33.166380Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 96 | 2024-04-21T05:32:33.166825Z | Info | Cradle path: TI_Info.hs +ThreadId 102 | 2024-04-21T05:32:33.167043Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-47451061784992", cradleOptsProg = CradleAction: Cabal} +ThreadId 102 | 2024-04-21T05:32:33.167106Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-47451061784992 (for TI_Info.hs)" + } + } +} +ThreadId 102 | 2024-04-21T05:32:33.180107Z | Debug | cabal --numeric-version +ThreadId 102 | 2024-04-21T05:32:33.243505Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 102 | 2024-04-21T05:32:33.366752Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 102 | 2024-04-21T05:32:33.430318Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 102 | 2024-04-21T05:32:33.493695Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 102 | 2024-04-21T05:32:33.617286Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 102 | 2024-04-21T05:32:33.618787Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT134224-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 128 | 2024-04-21T05:32:33.647342Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 128 | 2024-04-21T05:32:33.647479Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 128 | 2024-04-21T05:32:33.647532Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:32:33.647570Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:32:33.677030Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:35.889662Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:35.890123Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:36.084215Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 128 | 2024-04-21T05:32:36.743254Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:38.982958Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 102 | 2024-04-21T05:32:39.066121Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 102 | 2024-04-21T05:32:39.189448Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 102 | 2024-04-21T05:32:39.253091Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 96 | 2024-04-21T05:32:39.253272Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-47451061784992-0aa6ec11f0fbebf363b5453ff7be5e60/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-47451061784992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 96 | 2024-04-21T05:32:39.294053Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7 +ThreadId 96 | 2024-04-21T05:32:39.309579Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 96 | 2024-04-21T05:32:39.430849Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-47451061784992/hie.yaml",Just 2024-04-21 05:32:28.716199206 UTC),("cabal.project",Just 2024-04-21 05:32:28.716199206 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:32:28.716199206 UTC)]) +ThreadId 96 | 2024-04-21T05:32:39.431445Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs"])] +ThreadId 72 | 2024-04-21T05:32:39.431654Z | Debug | Finished build session +AsyncCancelled +ThreadId 96 | 2024-04-21T05:32:39.431723Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 167 | 2024-04-21T05:32:39.438575Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs") + "tags": [ +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs") + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs") +ThreadId 165 | 2024-04-21T05:32:39.457387Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134224:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134224:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", +ThreadId 160 | 2024-04-21T05:32:39.466409Z | Debug | Finished build session +AsyncCancelled + "value": { + "kind": "end", +ThreadId 396 | 2024-04-21T05:32:39.466482Z | Debug | Restarting build session due to Eval + "message": "Finished indexing 1 files" + } +Action Queue: [InitialLoad] + } +} +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TProperty.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TI_Info.hi.core +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs") + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TProperty.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBangMany.hs" +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (2/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (3/4)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 4 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", +ThreadId 445 | 2024-04-21T05:32:39.995996Z | Debug | Finished: InitialLoad Took: 0.53s + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TInfo.hs" +} +ThreadId 444 | 2024-04-21T05:32:40.528027Z | Debug | Finished: runEvalCmd Took: 1.06s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" +ThreadId 439 | 2024-04-21T05:32:40.528285Z | Debug | Finished build session +AsyncCancelled +ThreadId 396 | 2024-04-21T05:32:40.528388Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 585 | 2024-04-21T05:32:40.528708Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:32:40.580531Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, +ThreadId 580 | 2024-04-21T05:32:40.580846Z | Debug | Finished build session + "value": { + "kind": "end" + } + } +} +AsyncCancelled +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:32:40.580958Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TProperty.hi + , IsEvaluating; /tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-c330f6239f035325c62740468718cdbb70db13c7/TInfoBang.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:32:40.581241Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs +ThreadId 621 | 2024-04-21T05:32:40.581395Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 622 | 2024-04-21T05:32:40.582533Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 626 | 2024-04-21T05:32:40.583287Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134224:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:32:40.584357Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-47451061784992/TI_Info.hs" + ] +} +ThreadId 610 | 2024-04-21T05:32:40.584562Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:32:40.584856Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:32:40.584955Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:32:40.585374Z | Debug | Cleaned up temporary directory + OK (11.87s) + +All 1 tests passed (11.87s) +ThreadId 12 | 2024-04-21T05:32:40.6eval + :info command + :i behaves exactly the same as :info: 57839Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-43975775606992 +ThreadId 13 | 2024-04-21T05:32:40.660213Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, +ThreadId 13 | 2024-04-21T05:32:40.661252Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "codeAction": { + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "codeActionLiteralSupport": { +ThreadId 16 | 2024-04-21T05:32:40.661490Z | Info | Starting server + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-43975775606992", + "processId": 134802, + "rootUri": "file:///tmp/hls-test-root/extra-dir-43975775606992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:32:40.665929Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:40.666286Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-965522128674839110) "file:///tmp/hls-test-root/extra-dir-43975775606992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:32:40.669646Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:32:42.795107Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:32:42.919128Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:32:44.990349Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:32:44.991533Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:32:44.991585Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:32:44.991739Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:32:44.992030Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "134802:block-command:ghcide.command.block", + "134802:ghcide-type-lenses:typesignature.add", + "134802:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { +ThreadId 22 | 2024-04-21T05:32:44.993508Z | Debug | Shake session initialized + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:32:44.993826Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ +ThreadId 22 | 2024-04-21T05:32:44.994290Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , Modified {firstOpen = True} ) ] + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +ThreadId 16 | 2024-04-21T05:32:44.994583Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "params": [] +} + "plugin": { } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +ThreadId 22 | 2024-04-21T05:32:44.994620Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 16 | 2024-04-21T05:32:44.994727Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 35 | 2024-04-21T05:32:44.994749Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +ThreadId 22 | 2024-04-21T05:32:44.994834Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", +ThreadId 48 | 2024-04-21T05:32:44.995702Z | Debug | Finished build session +AsyncCancelled + "result": null +} +ThreadId 16 | 2024-04-21T05:32:44.995794Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { +ThreadId 78 | 2024-04-21T05:32:44.996114Z | Debug | Finished: codeLens.config Took: 0.00s + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +ThreadId 89 | 2024-04-21T05:32:44.996488Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +ThreadId 100 | 2024-04-21T05:32:44.996718Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-43975775606992", cradleOptsProg = CradleAction: Cabal} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" +} +ThreadId 100 | 2024-04-21T05:32:44.996795Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-43975775606992 (for TI_Info.hs)" + } + } +} +ThreadId 100 | 2024-04-21T05:32:45.009511Z | Debug | cabal --numeric-version +ThreadId 100 | 2024-04-21T05:32:45.073126Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 100 | 2024-04-21T05:32:45.196846Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:32:45.260841Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 100 | 2024-04-21T05:32:45.324513Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 100 | 2024-04-21T05:32:45.448947Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:32:45.449501Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT134802-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 128 | 2024-04-21T05:32:45.476488Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 128 | 2024-04-21T05:32:45.476597Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 128 | 2024-04-21T05:32:45.476651Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:32:45.476700Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 128 | 2024-04-21T05:32:45.506247Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:47.729510Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:47.729998Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:47.917360Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 128 | 2024-04-21T05:32:48.552255Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 128 | 2024-04-21T05:32:50.806313Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 100 | 2024-04-21T05:32:50.886249Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 100 | 2024-04-21T05:32:51.009456Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 100 | 2024-04-21T05:32:51.073071Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 89 | 2024-04-21T05:32:51.073258Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-43975775606992-35e1cddc9f562b4981e1352f5b9b7f81/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-43975775606992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 89 | 2024-04-21T05:32:51.125080Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452 +ThreadId 89 | 2024-04-21T05:32:51.138967Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 89 | 2024-04-21T05:32:51.285001Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-43975775606992/hie.yaml",Just 2024-04-21 05:32:40.657235671 UTC),("cabal.project",Just 2024-04-21 05:32:40.658235674 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:32:40.658235674 UTC)]) +ThreadId 89 | 2024-04-21T05:32:51.285556Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs"])] +ThreadId 73 | 2024-04-21T05:32:51.285853Z | Debug | Finished build session +AsyncCancelled +ThreadId 89 | 2024-04-21T05:32:51.285966Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 167 | 2024-04-21T05:32:51.294896Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } +ThreadId 243 | 2024-04-21T05:32:51.332071Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hie + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs" + } +} +ThreadId 244 | 2024-04-21T05:32:51.332170Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hie +ThreadId 248 | 2024-04-21T05:32:51.332373Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hie +ThreadId 243 | 2024-04-21T05:32:51.332398Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs +ThreadId 247 | 2024-04-21T05:32:51.332510Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hie +<-- { +ThreadId 244 | 2024-04-21T05:32:51.332590Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, +ThreadId 249 | 2024-04-21T05:32:51.332634Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hie + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } +ThreadId 248 | 2024-04-21T05:32:51.332692Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs + }, + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], +ThreadId 245 | 2024-04-21T05:32:51.332816Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hie + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs" + } +} +ThreadId 247 | 2024-04-21T05:32:51.332994Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 165 | 2024-04-21T05:32:51.333491Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.05s +ThreadId 249 | 2024-04-21T05:32:51.333544Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +ThreadId 245 | 2024-04-21T05:32:51.334018Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs", + "version": 0 + } +} +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, +ThreadId 169 | 2024-04-21T05:32:51.337303Z | Debug | Finished: InitialLoad Took: 0.05s + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134802:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134802:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/7)..." + } + } +} +<-- { +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { +ThreadId 160 | 2024-04-21T05:32:51.339883Z | Debug | Finished build session +AsyncCancelled + "token": "22", + "value": { + "kind": "report", + "message": " (5/8)..." + } + } +} +ThreadId 442 | 2024-04-21T05:32:51.339974Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hi +<-- { + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hi + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hie + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TPropertyError.hs" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hie +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/8)..." + } + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hi.core + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 465 | 2024-04-21T05:32:52.380126Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" +ThreadId 458 | 2024-04-21T05:32:52.380462Z | Debug | Finished build session +AsyncCancelled +ThreadId 442 | 2024-04-21T05:32:52.380661Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 507 | 2024-04-21T05:32:52.380956Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, +ThreadId 22 | 2024-04-21T05:32:52.427781Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , Modified {firstOpen = False} ) ] + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + } + } +} +ThreadId 502 | 2024-04-21T05:32:52.428270Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +ThreadId 22 | 2024-04-21T05:32:52.428460Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TInfoBang.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-f5aa15401b492a7d06a816d6f0adf3f81cd3d452/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:32:52.428727Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 549 | 2024-04-21T05:32:52.428905Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 553 | 2024-04-21T05:32:52.430327Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 552 | 2024-04-21T05:32:52.430951Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "134802:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:32:52.433073Z | Debug | Received shutdown message +ThreadId 532 | 2024-04-21T05:32:52.433135Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-43975775606992/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 21 | 2024-04-21T05:32:52.433561Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:32:52.433897Z | Debug | Cleaned up temporary directory + OK (11.78s) + +All 1 tests passed (11.78s) +ThreadId 12 | 2024-04-21T05:32:52.525829Z | Ineval + :info command + :i behaves exactly the same as :info: fo | Test Project located in directory: /tmp/hls-test-root/extra-dir-30963752527992 +ThreadId 13 | 2024-04-21T05:32:52.528094Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:32:52.529063Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "executionSummarySupport": true + PluginIds: [ ghcide-completions + } + , ghcide-hover-and-symbols + }, + , test + "textDocument": { + , block-command + , ghcide-type-lenses + , eval + "callHierarchy": { + , ghcide-core ] + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, +ThreadId 16 | 2024-04-21T05:32:52.529281Z | Info | Starting server + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-30963752527992", + "processId": 135379, + "rootUri": "file:///tmp/hls-test-root/extra-dir-30963752527992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:32:52.535073Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:32:52.535438Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 6018924403985206554 "file:///tmp/hls-test-root/extra-dir-30963752527992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:32:52.538228Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:32:54.620432Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:32:54.743974Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:32:56.889073Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:32:56.890354Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:32:56.890416Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:32:56.890569Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:32:56.890757Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "135379:block-command:ghcide.command.block", + "135379:ghcide-type-lenses:typesignature.add", + "135379:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { +ThreadId 21 | 2024-04-21T05:32:56.892269Z | Debug | Shake session initialized + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:32:56.892726Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, +ThreadId 21 | 2024-04-21T05:32:56.893165Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , Modified {firstOpen = True} ) ] + "plugin": {} + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:32:56.893379Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:32:56.893546Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +<-- { + "id": 3, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +ThreadId 35 | 2024-04-21T05:32:56.893698Z | Debug | Finished build session + "params": { + "token": "3" + } +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 21 | 2024-04-21T05:32:56.893797Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:32:56.894003Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 16 | 2024-04-21T05:32:56.894416Z | Debug | Restarting build session due to config change +Action Queue: [] +<-- { + "id": 4, + "jsonrpc": "2.0", +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + "method": "window/workDoneProgress/create", + , GetClientSettings; ] + "params": { + "token": "5" + } +} +Aborting previous build session took 0.00s +ThreadId 52 | 2024-04-21T05:32:56.894421Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +ThreadId 77 | 2024-04-21T05:32:56.894872Z | Debug | Finished: codeLens.config Took: 0.00s +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } +ThreadId 92 | 2024-04-21T05:32:56.895764Z | Info | Cradle path: TI_Info.hs + } +} +ThreadId 101 | 2024-04-21T05:32:56.895981Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-30963752527992", cradleOptsProg = CradleAction: Cabal} +ThreadId 101 | 2024-04-21T05:32:56.896043Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-30963752527992 (for TI_Info.hs)" + } + } +} +ThreadId 101 | 2024-04-21T05:32:56.911026Z | Debug | cabal --numeric-version +ThreadId 101 | 2024-04-21T05:32:56.974677Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 101 | 2024-04-21T05:32:57.098272Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 101 | 2024-04-21T05:32:57.161821Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 101 | 2024-04-21T05:32:57.225183Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 101 | 2024-04-21T05:32:57.348499Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 101 | 2024-04-21T05:32:57.349795Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT135379-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 127 | 2024-04-21T05:32:57.378137Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 127 | 2024-04-21T05:32:57.378379Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 127 | 2024-04-21T05:32:57.378435Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 127 | 2024-04-21T05:32:57.378493Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 127 | 2024-04-21T05:32:57.406698Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 127 | 2024-04-21T05:32:59.577782Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 127 | 2024-04-21T05:32:59.578202Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 127 | 2024-04-21T05:32:59.768289Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 127 | 2024-04-21T05:33:00.412505Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 127 | 2024-04-21T05:33:02.620479Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 101 | 2024-04-21T05:33:02.707604Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 101 | 2024-04-21T05:33:02.830973Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 101 | 2024-04-21T05:33:02.894694Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 92 | 2024-04-21T05:33:02.894868Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-30963752527992-ded62b51c2e021e9af572af902ecf13e/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-30963752527992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 92 | 2024-04-21T05:33:02.935220Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5 +ThreadId 92 | 2024-04-21T05:33:02.951204Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 92 | 2024-04-21T05:33:03.095683Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-30963752527992/hie.yaml",Just 2024-04-21 05:32:52.525271913 UTC),("cabal.project",Just 2024-04-21 05:32:52.526271917 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:32:52.526271917 UTC)]) +ThreadId 92 | 2024-04-21T05:33:03.096319Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs"])] +ThreadId 72 | 2024-04-21T05:33:03.096612Z | Debug | Finished build session +AsyncCancelled +ThreadId 92 | 2024-04-21T05:33:03.096697Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 169 | 2024-04-21T05:33:03.102651Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs") + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs", + "version": 0 + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs") +ThreadId 164 | 2024-04-21T05:33:03.124206Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135379:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135379:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs") +ThreadId 400 | 2024-04-21T05:33:03.131491Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs] +Aborting previous build session took 0.00s +ThreadId 159 | 2024-04-21T05:33:03.131500Z | Debug | Finished build session +AsyncCancelled +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TI_Info.hi.core +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": "7/14" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": "9/16" + } + } +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +ThreadId 439 | 2024-04-21T05:33:04.199705Z | Debug | Finished: runEvalCmd Took: 1.07s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 +ThreadId 464 | 2024-04-21T05:33:04.200193Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TProperty.hie + } + }, + "relatedInformation": [ +ThreadId 464 | 2024-04-21T05:33:04.200243Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { +ThreadId 434 | 2024-04-21T05:33:04.202347Z | Debug | Finished build session +AsyncCancelled + "kind": "report", + "message": " (1/2)..." + } + } +} +ThreadId 400 | 2024-04-21T05:33:04.202348Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfo.hi +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs" +} + , IsEvaluating; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoMany.hie ] +<-- { +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +ThreadId 602 | 2024-04-21T05:33:04.202676Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs") +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +ThreadId 629 | 2024-04-21T05:33:04.206372Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBang.hie +ThreadId 629 | 2024-04-21T05:33:04.206451Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "33" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +ThreadId 623 | 2024-04-21T05:33:04.210397Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TProperty.hie +ThreadId 623 | 2024-04-21T05:33:04.210528Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, +ThreadId 603 | 2024-04-21T05:33:04.217393Z | Debug | Finished: InitialLoad Took: 0.01s + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfo.hs" +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "34" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "report", + "message": " (0/2)..." + } + } +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:33:04.252664Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + } + } +} +ThreadId 597 | 2024-04-21T05:33:04.252953Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } +ThreadId 21 | 2024-04-21T05:33:04.253044Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs (modified) + } +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-0873b7b6beab04fae1821c8f2c1c4f852a8a50a5/TInfoMany.hie ] +Aborting previous build session took 0.00s +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +ThreadId 21 | 2024-04-21T05:33:04.253265Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs +ThreadId 708 | 2024-04-21T05:33:04.253694Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "34", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "36" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 711 | 2024-04-21T05:33:04.257732Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 712 | 2024-04-21T05:33:04.258370Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135379:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:33:04.259487Z | Debug | Received shutdown message + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" +} +<-- { +ThreadId 682 | 2024-04-21T05:33:04.259604Z | Debug | Finished build session + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "36", + "value": { + "kind": "end" + } + } +} +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-30963752527992/TI_Info.hs" + ] +} +ThreadId 20 | 2024-04-21T05:33:04.259961Z | Info | Reactor thread stopped +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:33:04.260924Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:33:04.261436Z | Debug | Cleaned up temporary directory + OK (11.74s) + +All 1 tests passed (11.74s) +eval + :info command + :i behaves exactly the same as :info: ThreadId 12 | 2024-04-21T05:33:04.338964Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-15705883348992 +ThreadId 13 | 2024-04-21T05:33:04.340927Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, +ThreadId 13 | 2024-04-21T05:33:04.341919Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "retryOnContentModified": [] + , ghcide-hover-and-symbols + } + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, +ThreadId 16 | 2024-04-21T05:33:04.342268Z | Info | Starting server + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-15705883348992", + "processId": 135958, + "rootUri": "file:///tmp/hls-test-root/extra-dir-15705883348992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:33:04.347028Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:33:04.347308Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri (-2134402626531643549) "file:///tmp/hls-test-root/extra-dir-15705883348992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:33:04.349901Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:33:06.494441Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:33:06.617558Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:33:08.783819Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:33:08.785185Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:33:08.785250Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:33:08.785378Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:33:08.785726Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "135958:block-command:ghcide.command.block", + "135958:ghcide-type-lenses:typesignature.add", + "135958:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 22 | 2024-04-21T05:33:08.787547Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { +ThreadId 16 | 2024-04-21T05:33:08.787775Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + } + } +} +ThreadId 22 | 2024-04-21T05:33:08.788222Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 35 | 2024-04-21T05:33:08.788366Z | Debug | Finished build session +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", +AsyncCancelled +ThreadId 22 | 2024-04-21T05:33:08.788488Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs ] +Aborting previous build session took 0.00s + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 22 | 2024-04-21T05:33:08.788614Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:33:08.788869Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 57 | 2024-04-21T05:33:08.789097Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { +ThreadId 16 | 2024-04-21T05:33:08.789190Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "token": "3" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 65 | 2024-04-21T05:33:08.789527Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 71 | 2024-04-21T05:33:08.789760Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-15705883348992", cradleOptsProg = CradleAction: Cabal} +ThreadId 71 | 2024-04-21T05:33:08.789844Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +ThreadId 46 | 2024-04-21T05:33:08.792159Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:33:08.792169Z | Debug | Restarting build session due to config change +Action Queue: [eval.GetParsedModuleWithComments] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-15705883348992 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "10" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 71 | 2024-04-21T05:33:08.803052Z | Debug | cabal --numeric-version +ThreadId 71 | 2024-04-21T05:33:08.866366Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 71 | 2024-04-21T05:33:08.989513Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:33:09.052850Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 71 | 2024-04-21T05:33:09.116193Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 71 | 2024-04-21T05:33:09.239585Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:33:09.241004Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT135958-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 138 | 2024-04-21T05:33:09.267919Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 138 | 2024-04-21T05:33:09.268215Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 138 | 2024-04-21T05:33:09.268337Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 138 | 2024-04-21T05:33:09.268446Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 138 | 2024-04-21T05:33:09.296780Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 138 | 2024-04-21T05:33:11.514322Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 138 | 2024-04-21T05:33:11.514739Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 138 | 2024-04-21T05:33:11.700490Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 138 | 2024-04-21T05:33:12.378219Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 138 | 2024-04-21T05:33:14.590351Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 71 | 2024-04-21T05:33:14.678324Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 71 | 2024-04-21T05:33:14.801778Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 71 | 2024-04-21T05:33:14.865315Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 57 | 2024-04-21T05:33:14.865537Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-15705883348992-5a7f2d3bb814553f1d748aa7ffdda593/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-15705883348992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +ThreadId 57 | 2024-04-21T05:33:14.913660Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969 +ThreadId 57 | 2024-04-21T05:33:14.927163Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 57 | 2024-04-21T05:33:15.050803Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-15705883348992/hie.yaml",Just 2024-04-21 05:33:04.338307988 UTC),("cabal.project",Just 2024-04-21 05:33:04.338307988 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:33:04.338307988 UTC)]) +ThreadId 57 | 2024-04-21T05:33:15.052653Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs"])] +ThreadId 95 | 2024-04-21T05:33:15.052970Z | Debug | Finished build session +AsyncCancelled +ThreadId 57 | 2024-04-21T05:33:15.053078Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GhcSessionIO; + , GetClientSettings; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "10", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 178 | 2024-04-21T05:33:15.059689Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs") +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 260 | 2024-04-21T05:33:15.112563Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hie +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "22" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") +ThreadId 254 | 2024-04-21T05:33:15.112582Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hie +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") +ThreadId 260 | 2024-04-21T05:33:15.112649Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs +<-- { +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") +ThreadId 176 | 2024-04-21T05:33:15.112652Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.06s + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "begin", + "title": "Indexing" +ThreadId 263 | 2024-04-21T05:33:15.112679Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hie + } + } +} +ThreadId 253 | 2024-04-21T05:33:15.112887Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hie +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (0/1)..." + } +ThreadId 254 | 2024-04-21T05:33:15.113118Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +ThreadId 263 | 2024-04-21T05:33:15.113891Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs" +} +ThreadId 253 | 2024-04-21T05:33:15.114411Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (1/3)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", +ThreadId 185 | 2024-04-21T05:33:15.116201Z | Debug | Finished: InitialLoad Took: 0.06s + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs", + "version": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (3/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoBangMany.hs" +} +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135958:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135958:eval:evalCommand" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (4/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs" +} +<-- { +ThreadId 461 | 2024-04-21T05:33:15.119381Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hie ] +Aborting previous build session took 0.00s +ThreadId 171 | 2024-04-21T05:33:15.119399Z | Debug | Finished build session +AsyncCancelled + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (5/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs" +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") +<-- { + "jsonrpc": "2.0", +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (6/8)..." +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.h } + } +} +s") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs") + "token": "14", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (7/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TProperty.hs" +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hi.core +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (8/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (9/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "report", + "message": " (10/11)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "22", + "value": { + "kind": "end", + "message": "Finished indexing 11 files" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 475 | 2024-04-21T05:33:16.156614Z | Debug | Finished: runEvalCmd Took: 1.04s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" +ThreadId 470 | 2024-04-21T05:33:16.156853Z | Debug | Finished build session +AsyncCancelled +ThreadId 461 | 2024-04-21T05:33:16.156936Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 534 | 2024-04-21T05:33:16.157255Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs": [ + { +ThreadId 22 | 2024-04-21T05:33:16.205549Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , Modified {firstOpen = False} ) ] + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } +ThreadId 529 | 2024-04-21T05:33:16.205807Z | Debug | Finished build session +AsyncCancelled + ] + } +ThreadId 22 | 2024-04-21T05:33:16.205826Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs (modified) + } + } +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hi +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBangMany.hie + } + } +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TInfo.hie + , IsEvaluating; /tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-03bda561243f4bbb6076abf031e17c330523f969/TI_Info.hi.core ] +Aborting previous build session took 0.00s +ThreadId 22 | 2024-04-21T05:33:16.206423Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 577 | 2024-04-21T05:33:16.206845Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 580 | 2024-04-21T05:33:16.207846Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 585 | 2024-04-21T05:33:16.208653Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "135958:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:33:16.211384Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end" + } + } +} +ThreadId 555 | 2024-04-21T05:33:16.211587Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-15705883348992/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 21 | 2024-04-21T05:33:16.211846Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:33:16.212332Z | Debug | Cleaned up temporary directory + OK (11.87s) + +All 1 tests passed (11.87s) +ThreadId 12 | 2024-04-21T05:3eval + :info command + :i behaves exactly the same as :info: 3:16.280865Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-39808708269992 +ThreadId 13 | 2024-04-21T05:33:16.283196Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, +ThreadId 13 | 2024-04-21T05:33:16.284197Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + , ghcide-hover-and-symbols + "codeAction": { + , test + "codeActionLiteralSupport": { + "codeActionKind": { + , block-command + , ghcide-type-lenses + "valueSet": [ + "", + , eval + "quickfix", + "refactor", + "refactor.extract", + , ghcide-core ] + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } +ThreadId 16 | 2024-04-21T05:33:16.284606Z | Info | Starting server + }, + "dataSupport": true, + "disabledSupport": true, + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-39808708269992", + "processId": 136536, + "rootUri": "file:///tmp/hls-test-root/extra-dir-39808708269992", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:33:16.288841Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:33:16.289226Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 1501568293821477293 "file:///tmp/hls-test-root/extra-dir-39808708269992"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:33:16.292862Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:33:18.344262Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:33:18.467848Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:33:20.622418Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:33:20.623733Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:33:20.623789Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:33:20.623910Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:33:20.624099Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "136536:block-command:ghcide.command.block", + "136536:ghcide-type-lenses:typesignature.add", + "136536:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs", + "version": 0 +ThreadId 21 | 2024-04-21T05:33:20.625654Z | Debug | Shake session initialized + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } +ThreadId 16 | 2024-04-21T05:33:20.626001Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:33:20.626306Z | Debug | LSP: set new config: { +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } + } +} +} +ThreadId 21 | 2024-04-21T05:33:20.626734Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , Modified {firstOpen = True} ) ] +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 16 | 2024-04-21T05:33:20.626789Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} +ThreadId 35 | 2024-04-21T05:33:20.627068Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:33:20.627203Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:33:20.627360Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs +ThreadId 52 | 2024-04-21T05:33:20.627375Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:33:20.627384Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +ThreadId 68 | 2024-04-21T05:33:20.628506Z | Debug | Finished: codeLens.config Took: 0.00s +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +ThreadId 79 | 2024-04-21T05:33:20.628753Z | Info | Cradle path: TI_Info.hs +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" + } +} +ThreadId 86 | 2024-04-21T05:33:20.629009Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-39808708269992", cradleOptsProg = CradleAction: Cabal} +ThreadId 86 | 2024-04-21T05:33:20.629109Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-39808708269992 (for TI_Info.hs)" + } + } +} +ThreadId 86 | 2024-04-21T05:33:20.642315Z | Debug | cabal --numeric-version +ThreadId 86 | 2024-04-21T05:33:20.705756Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 86 | 2024-04-21T05:33:20.829001Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:20.892409Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 86 | 2024-04-21T05:33:20.956025Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:21.079256Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:21.080607Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT136536-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:33:21.106498Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:33:21.106739Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:33:21.106794Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:21.106847Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:21.135463Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:23.319669Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:23.319765Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:23.509656Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:33:24.153388Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:26.379128Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 86 | 2024-04-21T05:33:26.467327Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:26.590616Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:26.654056Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 79 | 2024-04-21T05:33:26.654264Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-39808708269992-405b316b7f1af2c667a9751f6a80f662/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-39808708269992", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 79 | 2024-04-21T05:33:26.694034Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806 +ThreadId 79 | 2024-04-21T05:33:26.712326Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 79 | 2024-04-21T05:33:26.860960Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-39808708269992/hie.yaml",Just 2024-04-21 05:33:16.281344459 UTC),("cabal.project",Just 2024-04-21 05:33:16.281344459 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:33:16.281344459 UTC)]) +ThreadId 79 | 2024-04-21T05:33:26.862714Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs"])] +ThreadId 79 | 2024-04-21T05:33:26.863037Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 61 | 2024-04-21T05:33:26.863052Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "12" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "12", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 158 | 2024-04-21T05:33:26.869314Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") +ThreadId 153 | 2024-04-21T05:33:26.887655Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.02s +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "136536:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "136536:eval:evalCommand" + } +} +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 148 | 2024-04-21T05:33:26.890126Z | Debug | Finished build session +AsyncCancelled +ThreadId 383 | 2024-04-21T05:33:26.890126Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hie ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs") +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs") +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hi.core +ThreadId 453 | 2024-04-21T05:33:26.900329Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfo.hie +<-- { +ThreadId 453 | 2024-04-21T05:33:26.900555Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "12", + "value": { + "kind": "end" + } + } +} +ThreadId 451 | 2024-04-21T05:33:26.903478Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hie +ThreadId 451 | 2024-04-21T05:33:26.903541Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs +ThreadId 446 | 2024-04-21T05:33:26.903684Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBang.hie +ThreadId 446 | 2024-04-21T05:33:26.903738Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +ThreadId 450 | 2024-04-21T05:33:26.904111Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoMany.hie +ThreadId 450 | 2024-04-21T05:33:26.904200Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "23" + } +} +ThreadId 454 | 2024-04-21T05:33:26.904612Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hie +ThreadId 454 | 2024-04-21T05:33:26.904719Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs +--> { + "id": 12, + "jsonrpc": "2.0", +ThreadId 424 | 2024-04-21T05:33:26.905717Z | Debug | Finished: InitialLoad Took: 0.02s + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (1/5)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (2/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (3/6)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (4/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (5/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (6/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } + } +} +ThreadId 423 | 2024-04-21T05:33:27.971615Z | Debug | Finished: runEvalCmd Took: 1.08s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" +ThreadId 418 | 2024-04-21T05:33:27.971792Z | Debug | Finished build session +AsyncCancelled +ThreadId 383 | 2024-04-21T05:33:27.971867Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 545 | 2024-04-21T05:33:27.972161Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 14, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +ThreadId 21 | 2024-04-21T05:33:28.027427Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , Modified {firstOpen = False} ) ] +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + } + } +} +ThreadId 540 | 2024-04-21T05:33:28.027926Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:33:28.028015Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , IsEvaluating; /tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-d44edf7ba5979b4f47adaf1bffe991fa1da6c806/TProperty.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:33:28.028295Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs +ThreadId 582 | 2024-04-21T05:33:28.028591Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 585 | 2024-04-21T05:33:28.029861Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s +ThreadId 591 | 2024-04-21T05:33:28.030757Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "136536:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:33:28.031653Z | Debug | Received shutdown message +ThreadId 568 | 2024-04-21T05:33:28.031749Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", +ThreadId 20 | 2024-04-21T05:33:28.032112Z | Info | Reactor thread stopped + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-39808708269992/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:33:28.032451Z | Error | Got EOF +ThreadId 12 | 2024-04-21T05:33:28.032873Z | Debug | Cleaned up temporary directory + OK (11.75s) + +All 1 tests passed (11.75s) +ThreadId 12 | 2024-04-eval +21T0 :info command + :i behaves exactly the same as :info: 5:33:28.105974Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-99254850180003 +ThreadId 13 | 2024-04-21T05:33:28.108272Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 13 | 2024-04-21T05:33:28.109376Z | Info | Starting LSP server... + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + PluginIds: [ ghcide-completions + , ghcide-hover-and-symbols + , test + , block-command + , ghcide-type-lenses + , eval + , ghcide-core ] + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + "refactor.inline", + "refactor.rewrite", + "source", + "source.organizeImports", + "source.fixAll" + ] + } + }, + "dataSupport": true, + "disabledSupport": true, +ThreadId 16 | 2024-04-21T05:33:28.109665Z | Info | Starting server + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-99254850180003", + "processId": 137115, + "rootUri": "file:///tmp/hls-test-root/extra-dir-99254850180003", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:33:28.113819Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:33:28.114237Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 1692869206286053471 "file:///tmp/hls-test-root/extra-dir-99254850180003"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:33:28.116822Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:33:30.332612Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:33:30.456134Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:33:32.547593Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:33:32.548860Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:33:32.548953Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:33:32.549120Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:33:32.549309Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "137115:block-command:ghcide.command.block", + "137115:ghcide-type-lenses:typesignature.add", + "137115:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs", + "version": 0 + } + } +} +ThreadId 21 | 2024-04-21T05:33:32.550717Z | Debug | Shake session initialized +--> { + "id": 1, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + } + } +} +ThreadId 16 | 2024-04-21T05:33:32.550901Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + ] +} +ThreadId 21 | 2024-04-21T05:33:32.551408Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , Modified {firstOpen = True} ) ] +ThreadId 16 | 2024-04-21T05:33:32.551541Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +<-- { +ThreadId 16 | 2024-04-21T05:33:32.551671Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "result": null +} +ThreadId 21 | 2024-04-21T05:33:32.551682Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs (modified) +<-- { + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + "params": { + , GetModificationTime; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs ] +Aborting previous build session took 0.00s + "token": "3" + } +} +ThreadId 35 | 2024-04-21T05:33:32.551749Z | Debug | Finished build session +AsyncCancelled +ThreadId 21 | 2024-04-21T05:33:32.551995Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +ThreadId 72 | 2024-04-21T05:33:32.552855Z | Info | Cradle path: TI_Info.hs +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "5" + } +} +ThreadId 79 | 2024-04-21T05:33:32.553063Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-99254850180003", cradleOptsProg = CradleAction: Cabal} +ThreadId 79 | 2024-04-21T05:33:32.553120Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +ThreadId 49 | 2024-04-21T05:33:32.554814Z | Debug | Finished build session +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" +} +--> { + "id": 5, +AsyncCancelled + "jsonrpc": "2.0", +ThreadId 16 | 2024-04-21T05:33:32.554854Z | Debug | Restarting build session due to config change + "result": null +} +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GetClientSettings; ] +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", +Aborting previous build session took 0.00s + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +ThreadId 93 | 2024-04-21T05:33:32.555805Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-99254850180003 (for TI_Info.hs)" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "9" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 79 | 2024-04-21T05:33:32.565698Z | Debug | cabal --numeric-version +ThreadId 79 | 2024-04-21T05:33:32.629080Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 79 | 2024-04-21T05:33:32.752305Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:33:32.815723Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 79 | 2024-04-21T05:33:32.879861Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 79 | 2024-04-21T05:33:33.003096Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:33:33.003639Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT137115-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 132 | 2024-04-21T05:33:33.030083Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 132 | 2024-04-21T05:33:33.030196Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 132 | 2024-04-21T05:33:33.030250Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:33:33.030287Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 132 | 2024-04-21T05:33:33.058602Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:33:35.281998Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:33:35.282366Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:33:35.471363Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 132 | 2024-04-21T05:33:36.139487Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 132 | 2024-04-21T05:33:38.351136Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 79 | 2024-04-21T05:33:38.440431Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 79 | 2024-04-21T05:33:38.564092Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 79 | 2024-04-21T05:33:38.637897Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { +ThreadId 72 | 2024-04-21T05:33:38.638101Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-pa "kind": "end" +ckage-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-99254850180003-fca24ed30e2931f73b6f3c396036ae25/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-99254850180003", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") + } + } +} +ThreadId 72 | 2024-04-21T05:33:38.679718Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b +ThreadId 72 | 2024-04-21T05:33:38.695697Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 72 | 2024-04-21T05:33:38.814990Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 11),fromList [("/tmp/hls-test-root/extra-dir-99254850180003/hie.yaml",Just 2024-04-21 05:33:28.10638057 UTC),("cabal.project",Just 2024-04-21 05:33:28.10638057 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:33:28.10638057 UTC)]) +ThreadId 72 | 2024-04-21T05:33:38.815577Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs"])] +ThreadId 88 | 2024-04-21T05:33:38.815806Z | Debug | Finished build session +AsyncCancelled +ThreadId 72 | 2024-04-21T05:33:38.815863Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "9", + "value": { + "kind": "end" + } + } +} +--> { + "id": 7, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 7, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "14" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 173 | 2024-04-21T05:33:38.823205Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs") + "line": 2 + }, + "start": { + "character": 0, +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs") + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs") + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs", + "version": 0 + } +} +ThreadId 169 | 2024-04-21T05:33:38.843230Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.03s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") +<-- { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137115:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137115:eval:evalCommand" + } +} +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +ThreadId 164 | 2024-04-21T05:33:38.845719Z | Debug | Finished build session +AsyncCancelled +ThreadId 401 | 2024-04-21T05:33:38.845719Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [IsEvaluating; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs] +Aborting previous build session took 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "14", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +TRACE: isMemberEvaluatingVar=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +TRACE: isEvaluating=True(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "25" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +TRACE: redefinedNeedsCompilation=Just (Just BCOLinkable)(NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" +} +TRACE: linkableType=Just BCOLinkable (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "25", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +TRACE: writeBinCoreFile: core_fp=/tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TI_Info.hi.core +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs") +--> { + "id": 14, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 14, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "24", + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs" +} +<-- { +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs") + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "26", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 15, + "jsonrpc": "2.0", + "result": null +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs") +<-- { + "id": 15, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "27" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "27", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfo.hs" +} +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs") +--> { + "id": 16, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 16, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "28" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "28", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 476 | 2024-04-21T05:33:39.553565Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hie +ThreadId 476 | 2024-04-21T05:33:39.553715Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBang.hs" +} +--> { + "id": 17, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 17, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "29" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "29", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 +ThreadId 477 | 2024-04-21T05:33:39.825459Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hie +ThreadId 477 | 2024-04-21T05:33:39.825534Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs" + } +} +--> { + "id": 18, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 18, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "30" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "report", + "message": " (1/2)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "30", + "value": { + "kind": "end", + "message": "Finished indexing 2 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TInfoBangMany.hs" +} +--> { + "id": 19, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 19, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "31" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "31", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +--> { + "id": 20, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 20, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "32" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "report", + "message": " (0/1)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "32", + "value": { + "kind": "end", + "message": "Finished indexing 1 files" + } + } +} +ThreadId 439 | 2024-04-21T05:33:39.922039Z | Debug | Finished: InitialLoad Took: 1.08s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" +ThreadId 438 | 2024-04-21T05:33:39.938903Z | Debug | Finished: runEvalCmd Took: 1.09s +ThreadId 433 | 2024-04-21T05:33:39.939142Z | Debug | Finished build session +AsyncCancelled +ThreadId 401 | 2024-04-21T05:33:39.939221Z | Debug | Restarting build session due to Eval +Action Queue: [] +Keys: [ IsEvaluating; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoMany.hie ] +Aborting previous build session took 0.00s +ThreadId 618 | 2024-04-21T05:33:39.939527Z | Debug | Finished: eval: config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +--> { + "id": 21, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 21, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "35" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didChange", + "params": { + "contentChanges": [ + { + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + }, + "text": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n" + } + ], + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs", + "version": 1 + } + } +} +--> { + "id": 22, + "jsonrpc": "2.0", + "result": { + "applied": true + } +} +<-- { + "id": 22, + "jsonrpc": "2.0", + "method": "workspace/applyEdit", + "params": { + "edit": { + "changes": { + "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs": [ + { + "newText": "-- type Foo :: *\n-- data Foo = Foo1 | Foo2\n-- \t-- Defined in â\n-- instance [safe] Eq Foo -- Defined in â\n-- instance [safe] Ord Foo -- Defined in â\n", + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 5 + } + } + } + ] + } + } + } +} +--> { + "id": 3, + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + } + } +} +ThreadId 21 | 2024-04-21T05:33:39.996744Z | Debug | Set files of interst to + [ ( /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , Modified {firstOpen = False} ) ] +ThreadId 613 | 2024-04-21T05:33:39.996884Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { +ThreadId 21 | 2024-04-21T05:33:39.996955Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + , IsEvaluating; /tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs + "id": 2, + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hi + "jsonrpc": "2.0", + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfo.hi + "result": null + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBangMany.hi +} + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TI_Info.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TI_Info.hi.core + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-af41950decb8379d35d2aca69ee9751f4739bd1b/TInfoMany.hie ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:33:39.997140Z | Debug | Modified text document: file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs +ThreadId 654 | 2024-04-21T05:33:39.997371Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +--> { + "id": 23, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 23, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "39" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 655 | 2024-04-21T05:33:39.998395Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.00s + "params": { + "token": "39", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 667 | 2024-04-21T05:33:40.000870Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.00s +<-- { + "id": 3, + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [ + "type Foo :: *", + "data Foo = Foo1 | Foo2", + " \t-- Defined in â", + "instance [safe] Eq Foo -- Defined in â", + "instance [safe] Ord Foo -- Defined in â" + ], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137115:eval:evalCommand", + "title": "Refresh..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" +} +ThreadId 16 | 2024-04-21T05:33:40.001887Z | Debug | Received shutdown message +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "39", + "value": { + "kind": "end" + } + } +} +ThreadId 644 | 2024-04-21T05:33:40.002070Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-99254850180003/TI_Info.hs" + ] +} +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 16 | 2024-04-21T05:33:40.002330Z | Error | Got EOF +ThreadId 20 | 2024-04-21T05:33:40.002382Z | Info | Reactor thread stopped +ThreadId 12 | 2024-04-21T05:33:40.002771Z | Debug | Cleaned up temporary directory + OK (11.90s) + +All 1 tests passed (11.90s) +ThreadId 12 | 2024eval + :info command + :i behaves exactly the same as :info: -04-21T05:33:40.080004Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-7722997002003 +ThreadId 13 | 2024-04-21T05:33:40.082178Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 13 | 2024-04-21T05:33:40.083129Z | Info | Starting LSP server... + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "refactor.inline", + PluginIds: [ ghcide-completions + "refactor.rewrite", + , ghcide-hover-and-symbols + , test + , block-command + "source", + "source.organizeImports", + "source.fixAll" + ] + } + , ghcide-type-lenses + }, + "dataSupport": true, + , eval + "disabledSupport": true, + , ghcide-core ] + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, +ThreadId 16 | 2024-04-21T05:33:40.083618Z | Info | Starting server + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-7722997002003", + "processId": 137693, + "rootUri": "file:///tmp/hls-test-root/extra-dir-7722997002003", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:33:40.087497Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:33:40.087849Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 1194874234821284928 "file:///tmp/hls-test-root/extra-dir-7722997002003"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:33:40.090475Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:33:42.161261Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:33:42.284873Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:33:44.396517Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:33:44.397746Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:33:44.397802Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:33:44.397953Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:33:44.398131Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "137693:block-command:ghcide.command.block", + "137693:ghcide-type-lenses:typesignature.add", + "137693:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", +ThreadId 21 | 2024-04-21T05:33:44.399595Z | Debug | Shake session initialized + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, +ThreadId 16 | 2024-04-21T05:33:44.400048Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", +ThreadId 21 | 2024-04-21T05:33:44.400592Z | Debug | Set files of interst to + "maxCompletions": 40, + [ ( /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + "plugin": {} + , Modified {firstOpen = True} ) ] + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:33:44.400835Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, +--> { + "plugin": { } + "id": 2, + "jsonrpc": "2.0", + "result": null +} +} +ThreadId 35 | 2024-04-21T05:33:44.400990Z | Debug | Finished build session +AsyncCancelled +<-- { +ThreadId 16 | 2024-04-21T05:33:44.401016Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:33:44.401083Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:33:44.401389Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 50 | 2024-04-21T05:33:44.401410Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:33:44.401416Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 67 | 2024-04-21T05:33:44.402171Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +ThreadId 73 | 2024-04-21T05:33:44.402219Z | Info | Cradle path: TI_Info.hs +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" +ThreadId 86 | 2024-04-21T05:33:44.403086Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-7722997002003", cradleOptsProg = CradleAction: Cabal} + } +} +ThreadId 86 | 2024-04-21T05:33:44.403159Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-7722997002003 (for TI_Info.hs)" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 86 | 2024-04-21T05:33:44.416476Z | Debug | cabal --numeric-version +ThreadId 86 | 2024-04-21T05:33:44.480297Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 86 | 2024-04-21T05:33:44.603735Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:44.667321Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 86 | 2024-04-21T05:33:44.730917Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:44.854131Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:44.855554Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT137693-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:33:44.882869Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:33:44.883181Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:33:44.883271Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:44.883314Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:44.912145Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.137937Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.138447Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.331223Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:33:48.000540Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:50.224102Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 86 | 2024-04-21T05:33:50.312905Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:50.436364Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:50.500086Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 73 | 2024-04-21T05:33:50.500304Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-7722997002003", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 73 | 2024-04-21T05:33:50.542053Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b +ThreadId 73 | 2024-04-21T05:33:50.558684Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 73 | 2024-04-21T05:33:50.694216Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-7722997002003/hie.yaml",Just 2024-04-21 05:33:40.079417133 UTC),("cabal.project",Just 2024-04-21 05:33:40.080417136 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:33:40.080417136 UTC)]) +ThreadId 73 | 2024-04-21T05:33:50.695972Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs"])] +ThreadId 73 | 2024-04-21T05:33:50.696231Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 60 | 2024-04-21T05:33:50.696248Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 157 | 2024-04-21T05:33:50.703309Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +ThreadId 153 | 2024-04-21T05:33:50.740719Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } +} +ThreadId 237 | 2024-04-21T05:33:50.763156Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie +ThreadId 237 | 2024-04-21T05:33:50.763234Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +ThreadId 239 | 2024-04-21T05:33:50.763491Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie +ThreadId 231 | 2024-04-21T05:33:50.763496Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 239 | 2024-04-21T05:33:50.763562Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 238 | 2024-04-21T05:33:50.763605Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie +<-- { + "jsonrpc": "2.0", +ThreadId 231 | 2024-04-21T05:33:50.763666Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs + "method": "$/progress", +ThreadId 233 | 2024-04-21T05:33:50.763935Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/5)..." + } + } +} +ThreadId 238 | 2024-04-21T05:33:50.764176Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs +<-- { + "id": 1, +ThreadId 233 | 2024-04-21T05:33:50.764329Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137693:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137693:eval:evalCommand" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { +ThreadId 148 | 2024-04-21T05:33:50.767468Z | Debug | Finished build session +AsyncCancelled +ThreadId 409 | 2024-04-21T05:33:50.767537Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TI_Info.hie ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (1/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (3/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (4/8)..." + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (5/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (6/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +ThreadId 428 | 2024-04-21T05:33:50.771915Z | Debug | Finished: runEvalCmd Took: 0.00s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "message": "called GetLinkable for a file without a linkable: NormalizedFilePath \"/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs\"\nCallStack (from HasCallStack):\n error, called at src/Development/IDE/Core/Rules.hs:1074:18 in ghcide-2.7.0.0-inplace:Development.IDE.Core.Rules", + "range": { + "end": { + "character": 0, + "line": 1 + }, + "start": { + "character": 0, + "line": 0 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 0, +ThreadId 409 | 2024-04-21T05:33:50.772469Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TI_Info.hie + "line": 1 + }, + , IsEvaluating; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs ] + "start": { + "character": 0, + "line": 0 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "GetLinkable" + } + ], + "severity": 1, + "source": "compiler" + }, + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +Aborting previous build session took 0.00s + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, +ThreadId 423 | 2024-04-21T05:33:50.772569Z | Debug | Finished build session + "line": 2 + }, +AsyncCancelled + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "TypeCheck" + } +ThreadId 408 | 2024-04-21T05:33:50.772814Z | Error | eval: Internal Error: BadDependency "GetLinkable" + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +ThreadId 539 | 2024-04-21T05:33:50.774176Z | Debug | Finished: InitialLoad Took: 0.00s + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "error": { + "code": -32603, + "message": "eval: Internal Error: BadDependency \"GetLinkable\"" + }, + "id": 2, + "jsonrpc": "2.0" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:34:50.936340Z | Debug | Received shutdown message +ThreadId 533 | 2024-04-21T05:34:50.936551Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:34:50.937513Z | Info | Reactor thread stopped + FAIL + Exception: Timed out waiting to receive a message from the server. + Last message received: + { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } + } + +1 out of 1 tests failed (70.86s) +Command failed at iteration 35 diff --git a/tmp_failing b/tmp_failing new file mode 100644 index 0000000000..0c8691d12f --- /dev/null +++ b/tmp_failing @@ -0,0 +1,1674 @@ + :info command + :i behaves exactly the same as :info: -04-21T05:33:40.080004Z | Info | Test Project located in directory: /tmp/hls-test-root/extra-dir-7722997002003 +ThreadId 13 | 2024-04-21T05:33:40.082178Z | Info | Heap statistics are not enabled (RTS option -T is needed) +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "initialize", + "params": { + "capabilities": { + "general": { + "markdown": { + "allowedTags": [], + "parser": "" + }, + "positionEncodings": [ + "utf-16" + ], + "regularExpressions": { + "engine": "" + }, + "staleRequestSupport": { + "cancel": true, + "retryOnContentModified": [] + } + }, + "notebookDocument": { + "synchronization": { + "dynamicRegistration": true, + "executionSummarySupport": true + } + }, + "textDocument": { + "callHierarchy": { + "dynamicRegistration": true + }, + "codeAction": { + "codeActionLiteralSupport": { + "codeActionKind": { +ThreadId 13 | 2024-04-21T05:33:40.083129Z | Info | Starting LSP server... + "valueSet": [ + "", + "quickfix", + "refactor", + "refactor.extract", + If you are seeing this in a terminal, you probably should have run WITHOUT the --lsp option! + "refactor.inline", + PluginIds: [ ghcide-completions + "refactor.rewrite", + , ghcide-hover-and-symbols + , test + , block-command + "source", + "source.organizeImports", + "source.fixAll" + ] + } + , ghcide-type-lenses + }, + "dataSupport": true, + , eval + "disabledSupport": true, + , ghcide-core ] + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "isPreferredSupport": true, + "resolveSupport": { + "properties": [] + } + }, + "codeLens": { + "dynamicRegistration": true + }, + "colorProvider": { + "dynamicRegistration": true + }, + "completion": { + "completionItem": { + "commitCharactersSupport": true, + "deprecatedSupport": true, +ThreadId 16 | 2024-04-21T05:33:40.083618Z | Info | Starting server + "documentationFormat": [ + "plaintext", + "markdown" + ], + "insertReplaceSupport": true, + "insertTextModeSupport": { + "valueSet": [] + }, + "labelDetailsSupport": true, + "preselectSupport": true, + "resolveSupport": { + "properties": [ + "documentation", + "details" + ] + }, + "snippetSupport": true, + "tagSupport": { + "valueSet": [] + } + }, + "completionItemKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25 + ] + }, + "completionList": { + "itemDefaults": [] + }, + "contextSupport": true, + "dynamicRegistration": true, + "insertTextMode": 1 + }, + "declaration": { + "dynamicRegistration": true, + "linkSupport": true + }, + "definition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "diagnostic": { + "dynamicRegistration": true, + "relatedDocumentSupport": true + }, + "documentHighlight": { + "dynamicRegistration": true + }, + "documentLink": { + "dynamicRegistration": true, + "tooltipSupport": true + }, + "documentSymbol": { + "dynamicRegistration": true, + "hierarchicalDocumentSymbolSupport": true, + "labelSupport": true, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "foldingRange": { + "dynamicRegistration": true, + "foldingRange": { + "collapsedText": true + }, + "foldingRangeKind": { + "valueSet": [] + } + }, + "formatting": { + "dynamicRegistration": true + }, + "hover": { + "contentFormat": [ + "plaintext", + "markdown" + ], + "dynamicRegistration": true + }, + "implementation": { + "dynamicRegistration": true, + "linkSupport": true + }, + "inlayHint": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + } + }, + "inlineValue": { + "dynamicRegistration": true + }, + "linkedEditingRange": { + "dynamicRegistration": true + }, + "moniker": { + "dynamicRegistration": true + }, + "onTypeFormatting": { + "dynamicRegistration": true + }, + "publishDiagnostics": { + "codeDescriptionSupport": true, + "dataSupport": true, + "relatedInformation": true, + "tagSupport": { + "valueSet": [ + 1, + 2 + ] + }, + "versionSupport": true + }, + "rangeFormatting": { + "dynamicRegistration": true + }, + "references": { + "dynamicRegistration": true + }, + "rename": { + "dynamicRegistration": true, + "honorsChangeAnnotations": true, + "prepareSupport": true, + "prepareSupportDefaultBehavior": 1 + }, + "selectionRange": { + "dynamicRegistration": true + }, + "semanticTokens": { + "augmentsSyntaxTokens": true, + "dynamicRegistration": true, + "formats": [ + "relative" + ], + "multilineTokenSupport": true, + "overlappingTokenSupport": true, + "requests": { + "full": { + "delta": true + }, + "range": true + }, + "serverCancelSupport": true, + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "signatureHelp": { + "contextSupport": true, + "dynamicRegistration": true, + "signatureInformation": { + "activeParameterSupport": true, + "documentationFormat": [ + "plaintext", + "markdown" + ], + "parameterInformation": { + "labelOffsetSupport": true + } + } + }, + "synchronization": { + "didSave": true, + "dynamicRegistration": true, + "willSave": true, + "willSaveWaitUntil": true + }, + "typeDefinition": { + "dynamicRegistration": true, + "linkSupport": true + }, + "typeHierarchy": { + "dynamicRegistration": true + } + }, + "window": { + "showDocument": { + "support": true + }, + "showMessage": {}, + "workDoneProgress": true + }, + "workspace": { + "applyEdit": true, + "codeLens": { + "refreshSupport": true + }, + "configuration": true, + "diagnostics": { + "refreshSupport": true + }, + "didChangeConfiguration": { + "dynamicRegistration": true + }, + "didChangeWatchedFiles": { + "dynamicRegistration": true, + "relativePatternSupport": true + }, + "executeCommand": { + "dynamicRegistration": true + }, + "fileOperations": { + "didCreate": true, + "didDelete": true, + "didRename": true, + "dynamicRegistration": true, + "willCreate": true, + "willDelete": true, + "willRename": true + }, + "inlayHint": { + "refreshSupport": true + }, + "inlineValue": { + "refreshSupport": true + }, + "semanticTokens": { + "refreshSupport": true + }, + "symbol": { + "dynamicRegistration": true, + "resolveSupport": { + "properties": [] + }, + "symbolKind": { + "valueSet": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 8, + 9, + 10, + 11, + 12, + 13, + 14, + 15, + 16, + 17, + 18, + 19, + 20, + 21, + 22, + 23, + 24, + 25, + 26 + ] + }, + "tagSupport": { + "valueSet": [ + 1 + ] + } + }, + "workspaceEdit": { + "changeAnnotationSupport": { + "groupsOnLabel": true + }, + "documentChanges": true, + "normalizesLineEndings": true, + "resourceOperations": [ + "create", + "delete", + "rename" + ] + }, + "workspaceFolders": true + } + }, + "clientInfo": { + "name": "lsp-test", + "version": "0.17.0.0" + }, + "initializationOptions": { + "haskell": { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": {} + } + }, + "locale": "/tmp/hls-test-root/extra-dir-7722997002003", + "processId": 137693, + "rootUri": "file:///tmp/hls-test-root/extra-dir-7722997002003", + "trace": "off" + } +} +ThreadId 16 | 2024-04-21T05:33:40.087497Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, + "plugin": { } +} +ThreadId 16 | 2024-04-21T05:33:40.087849Z | Info | Registering IDE configuration: IdeConfiguration {workspaceFolders = fromList [NormalizedUri 1194874234821284928 "file:///tmp/hls-test-root/extra-dir-7722997002003"], clientSettings = hashed (Just (Object (fromList [("haskell",Object (fromList [("cabalFormattingProvider",String "cabal-gild"),("checkParents",String "CheckOnSave"),("checkProject",Bool True),("formattingProvider",String "ormolu"),("maxCompletions",Number 40.0),("plugin",Object (fromList []))]))])))} +ThreadId 16 | 2024-04-21T05:33:40.090475Z | Info | Started LSP server in 0.01s +ThreadId 16 | 2024-04-21T05:33:42.161261Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 16 | 2024-04-21T05:33:42.284873Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 16 | 2024-04-21T05:33:44.396517Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 16 | 2024-04-21T05:33:44.397746Z | Debug | Setting initial dynflags... +ThreadId 16 | 2024-04-21T05:33:44.397802Z | Debug | shouldRunSubset: True +ThreadId 33 | 2024-04-21T05:33:44.397953Z | Debug | Initializing exports map from hiedb +ThreadId 33 | 2024-04-21T05:33:44.398131Z | Debug | Done initializing exports map from hiedb. Size: 0 +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": { + "capabilities": { + "codeLensProvider": { + "resolveProvider": true, + "workDoneProgress": false + }, + "completionProvider": { + "resolveProvider": true, + "triggerCharacters": [ + "." + ], + "workDoneProgress": false + }, + "definitionProvider": { + "workDoneProgress": false + }, + "documentHighlightProvider": { + "workDoneProgress": false + }, + "documentSymbolProvider": { + "workDoneProgress": false + }, + "executeCommandProvider": { + "commands": [ + "137693:block-command:ghcide.command.block", + "137693:ghcide-type-lenses:typesignature.add", + "137693:eval:evalCommand" + ], + "workDoneProgress": false + }, + "hoverProvider": { + "workDoneProgress": false + }, + "positionEncoding": "utf-16", + "referencesProvider": { + "workDoneProgress": false + }, + "semanticTokensProvider": { + "legend": { + "tokenModifiers": [ + "declaration", + "definition", + "readonly", + "static", + "deprecated", + "abstract", + "async", + "modification", + "documentation", + "defaultLibrary" + ], + "tokenTypes": [ + "namespace", + "type", + "class", + "enum", + "interface", + "struct", + "typeParameter", + "parameter", + "variable", + "property", + "enumMember", + "event", + "function", + "method", + "macro", + "keyword", + "modifier", + "comment", + "string", + "number", + "regexp", + "operator", + "decorator" + ] + }, + "workDoneProgress": false + }, + "textDocumentSync": { + "change": 2, + "openClose": true, + "save": {} + }, + "typeDefinitionProvider": { + "workDoneProgress": false + }, + "workspace": { + "workspaceFolders": { + "changeNotifications": true, + "supported": true + } + }, + "workspaceSymbolProvider": { + "resolveProvider": false, + "workDoneProgress": false + } + } + } +} +--> { + "jsonrpc": "2.0", + "method": "initialized", + "params": {} +} +--> { + "jsonrpc": "2.0", + "method": "textDocument/didOpen", + "params": { + "textDocument": { + "languageId": "haskell", +ThreadId 21 | 2024-04-21T05:33:44.399595Z | Debug | Shake session initialized + "text": "module TI_Info (Eq, Ord, Foo) where\n\nimport InfoUtil (Eq, Ord, Foo)\n\n-- >>> :i Foo\n", + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } + } +} +--> { + "id": 1, +ThreadId 16 | 2024-04-21T05:33:44.400048Z | Debug | VFS: opening file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + "jsonrpc": "2.0", + "method": "textDocument/codeLens", + "params": { + "textDocument": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + } + } +} +--> { + "id": 1, + "jsonrpc": "2.0", + "result": [ + { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", +ThreadId 21 | 2024-04-21T05:33:44.400592Z | Debug | Set files of interst to + "maxCompletions": 40, + [ ( /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + "plugin": {} + , Modified {firstOpen = True} ) ] + } + ] +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [] +} +ThreadId 16 | 2024-04-21T05:33:44.400835Z | Debug | LSP: set new config: { + "cabalFormattingProvider": "cabal-gild", + "checkParents": "CheckOnSave", + "checkProject": true, + "formattingProvider": "ormolu", + "maxCompletions": 40, +--> { + "plugin": { } + "id": 2, + "jsonrpc": "2.0", + "result": null +} +} +ThreadId 35 | 2024-04-21T05:33:44.400990Z | Debug | Finished build session +AsyncCancelled +<-- { +ThreadId 16 | 2024-04-21T05:33:44.401016Z | Debug | Configuration changed: Config {checkParents = CheckOnSave, checkProject = True, formattingProvider = "ormolu", cabalFormattingProvider = "cabal-gild", maxCompletions = 40, plugins = fromList []} + "id": 2, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "3" + } +} +ThreadId 21 | 2024-04-21T05:33:44.401083Z | Debug | Restarting build session due to /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs (modified) +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs ] +Aborting previous build session took 0.00s +ThreadId 21 | 2024-04-21T05:33:44.401389Z | Debug | Opened text document: file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [] +} +ThreadId 50 | 2024-04-21T05:33:44.401410Z | Debug | Finished build session +AsyncCancelled +ThreadId 16 | 2024-04-21T05:33:44.401416Z | Debug | Restarting build session due to config change +Action Queue: [] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetClientSettings; ] +Aborting previous build session took 0.00s +ThreadId 67 | 2024-04-21T05:33:44.402171Z | Debug | Finished: codeLens.config Took: 0.00s +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +ThreadId 73 | 2024-04-21T05:33:44.402219Z | Info | Cradle path: TI_Info.hs +--> { + "id": 4, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 4, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "8" +ThreadId 86 | 2024-04-21T05:33:44.403086Z | Debug | Cradle: Cradle{ cradleRootDir = "/tmp/hls-test-root/extra-dir-7722997002003", cradleOptsProg = CradleAction: Cabal} + } +} +ThreadId 86 | 2024-04-21T05:33:44.403159Z | Info | invoking build tool to determine build flags (this may take some time depending on the cache) +<-- { + "jsonrpc": "2.0", + "method": "ghcide/cradle/loaded", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +} +--> { + "id": 5, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 5, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 0 + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "cancellable": false, + "kind": "begin", + "title": "Setting up extra-dir-7722997002003 (for TI_Info.hs)" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 86 | 2024-04-21T05:33:44.416476Z | Debug | cabal --numeric-version +ThreadId 86 | 2024-04-21T05:33:44.480297Z | Debug | cabal exec -v0 -- ghc --print-libdir +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "report", + "message": "1/2" + } + } +} +ThreadId 86 | 2024-04-21T05:33:44.603735Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:44.667321Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --numeric-version + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 86 | 2024-04-21T05:33:44.730917Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:44.854131Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:44.855554Z | Info | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-repl --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + Environment Variables + HIE_BIOS_OUTPUT: /tmp/HIE_BIOS_OUTPUT137693-10 + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 115 | 2024-04-21T05:33:44.882869Z | Debug | Build profile: -w ghc-9.4.8 -O1 +ThreadId 115 | 2024-04-21T05:33:44.883181Z | Debug | In order, the following will be built (use -v for more details): +ThreadId 115 | 2024-04-21T05:33:44.883271Z | Debug | - info-util-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:44.883314Z | Debug | - test-0.1.0.0 (lib) (first run) +ThreadId 115 | 2024-04-21T05:33:44.912145Z | Debug | Configuring library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.137937Z | Debug | Preprocessing library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.138447Z | Debug | Building library for info-util-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:47.331223Z | Debug | [1 of 1] Compiling InfoUtil ( InfoUtil.hs, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.o, /tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/info-util-0.1.0.0/build/InfoUtil.dyn_o ) +ThreadId 115 | 2024-04-21T05:33:48.000540Z | Debug | Configuring library for test-0.1.0.0.. +ThreadId 115 | 2024-04-21T05:33:50.224102Z | Debug | Preprocessing library for test-0.1.0.0.. +ThreadId 86 | 2024-04-21T05:33:50.312905Z | Debug | cabal exec -v0 -- ghc --print-libdir +ThreadId 86 | 2024-04-21T05:33:50.436364Z | Debug | cabal exec -v0 -- ghc -package-env=- -ignore-dot-ghci -e Control.Monad.join (Control.Monad.fmap System.IO.putStr System.Environment.getExecutablePath) +ThreadId 86 | 2024-04-21T05:33:50.500086Z | Debug | cabal --builddir=/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527 v2-exec --with-compiler /tmp/hls-test-root/.cache/hie-bios/wrapper-b54f81dea4c0e6d1626911c526bc4e36 --with-hc-pkg /tmp/hls-test-root/.cache/hie-bios/ghc-pkg-52b27bcbc99783734f3bc8675da2338b ghc -v0 -- --print-libdir + Environment Variables + HIE_BIOS_GHC: /home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/bin/ghc-9.4.8 + HIE_BIOS_GHC_ARGS: -B/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib +ThreadId 73 | 2024-04-21T05:33:50.500304Z | Debug | Session loading result: Right (ComponentOptions {componentOptions = ["-fbuilding-cabal-package","-O0","-outputdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-odir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-hidir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-stubdir","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-i.","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-i/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/global-autogen","-I/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build","-optP-include","-optP/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/build/autogen/cabal_macros.h","-this-unit-id","test-0.1.0.0-inplace","-hide-all-packages","-Wmissing-home-modules","-no-user-package-db","-package-db","/home/jhrcek/.cabal/store/ghc-9.4.8/package.db","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/packagedb/ghc-9.4.8","-package-db","/tmp/hls-test-root/.cache/hie-bios/dist-extra-dir-7722997002003-a858756e7e353bfdf5fe7499b9985527/build/x86_64-linux/ghc-9.4.8/test-0.1.0.0/package.conf.inplace","-package-id","QuickCheck-2.14.3-6d46b31beaadf7d12e5091bd9fdcf0838c453ecf7bd3949eb3ae15eebaa95a83","-package-id","base-4.17.2.1","-package-id","info-util-0.1.0.0-inplace","-XHaskell2010","TProperty","TPropertyError","TInfo","TInfoMany","TInfoBang","TInfoBangMany","TI_Info","-Wall","-fwarn-unused-imports","-hide-all-packages"], componentRoot = "/tmp/hls-test-root/extra-dir-7722997002003", componentDependencies = ["test.cabal","cabal.project","cabal.project.local"]},"/home/jhrcek/.ghcup/ghc/9.4.8/lib/ghc-9.4.8/lib") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 0, + "value": { + "kind": "end" + } + } +} +ThreadId 73 | 2024-04-21T05:33:50.542053Z | Info | Interface files cache directory: /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b +ThreadId 73 | 2024-04-21T05:33:50.558684Z | Info | Making new HscEnv. In-place unit ids: [test-0.1.0.0-inplace] +ThreadId 73 | 2024-04-21T05:33:50.694216Z | Debug | New component cache HscEnvEq: (([],Just HscEnvEq 10),fromList [("/tmp/hls-test-root/extra-dir-7722997002003/hie.yaml",Just 2024-04-21 05:33:40.079417133 UTC),("cabal.project",Just 2024-04-21 05:33:40.080417136 UTC),("cabal.project.local",Nothing),("test.cabal",Just 2024-04-21 05:33:40.080417136 UTC)]) +ThreadId 73 | 2024-04-21T05:33:50.695972Z | Debug | Known files updated: + fromList [(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs"]),(TargetFile NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs",fromList ["/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs"])] +ThreadId 73 | 2024-04-21T05:33:50.696231Z | Debug | Restarting build session due to new component +Action Queue: [ codeLens.GetGlobalBindingTypeSigs + , eval.GetParsedModuleWithComments ] +Keys: [ IsFileOfInterest; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GetModificationTime; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs + , GhcSessionIO; + , GetKnownTargets; ] +Aborting previous build session took 0.00s +ThreadId 60 | 2024-04-21T05:33:50.696248Z | Debug | Finished build session +AsyncCancelled +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "8", + "value": { + "kind": "end" + } + } +} +--> { + "id": 6, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 6, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "13" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "begin", + "title": "Processing" + } + } +} +ThreadId 157 | 2024-04-21T05:33:50.703309Z | Debug | Finished: eval.GetParsedModuleWithComments Took: 0.01s +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs") +TRACE: compNeeded=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs") +ThreadId 153 | 2024-04-21T05:33:50.740719Z | Debug | Finished: codeLens.GetGlobalBindingTypeSigs Took: 0.04s +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "TypeCheck" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } +} +ThreadId 237 | 2024-04-21T05:33:50.763156Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie +ThreadId 237 | 2024-04-21T05:33:50.763234Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs +--> { + "id": 10, + "jsonrpc": "2.0", + "result": null +} +ThreadId 239 | 2024-04-21T05:33:50.763491Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie +ThreadId 231 | 2024-04-21T05:33:50.763496Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie +<-- { + "id": 10, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "21" + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", +ThreadId 239 | 2024-04-21T05:33:50.763562Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs + "params": { + "token": "21", + "value": { + "kind": "begin", + "title": "Indexing" + } + } +} +ThreadId 238 | 2024-04-21T05:33:50.763605Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie +<-- { + "jsonrpc": "2.0", +ThreadId 231 | 2024-04-21T05:33:50.763666Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs + "method": "$/progress", +ThreadId 233 | 2024-04-21T05:33:50.763935Z | Debug | SUCCEEDED LOADING HIE FILE FOR /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (0/5)..." + } + } +} +ThreadId 238 | 2024-04-21T05:33:50.764176Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs +<-- { + "id": 1, +ThreadId 233 | 2024-04-21T05:33:50.764329Z | Debug | Re-indexing hie file for /tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs + "jsonrpc": "2.0", + "result": [ + { + "command": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137693:eval:evalCommand", + "title": "Evaluate..." + }, + "range": { + "end": { + "character": 0, + "line": 5 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] +} +--> { + "id": 2, + "jsonrpc": "2.0", + "method": "workspace/executeCommand", + "params": { + "arguments": [ + { + "evalId": 0, + "module_": { + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "sections": [ + { + "sectionFormat": { + "tag": "SingleLine" + }, + "sectionLanguage": "Plain", + "sectionName": "", + "sectionTests": [ + { + "tag": "Example", + "testLines": [ + " :i Foo" + ], + "testOutput": [], + "testRange": { + "end": { + "character": 13, + "line": 4 + }, + "start": { + "character": 0, + "line": 4 + } + } + } + ] + } + ] + } + ], + "command": "137693:eval:evalCommand" + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", +TRACE: queueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 35, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + } +} +TRACE: isEvaluating=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { +ThreadId 148 | 2024-04-21T05:33:50.767468Z | Debug | Finished build session +AsyncCancelled +ThreadId 409 | 2024-04-21T05:33:50.767537Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hi + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TI_Info.hie ] +Aborting previous build session took 0.00s + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + }, + "message": "GetModIfaceFromDisk" + } + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (1/7)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (2/7)..." + } + } +} +TRACE: linkableType=Nothing (NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (3/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (4/8)..." + } + } +} +--> { + "id": 11, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 11, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": 1 + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TProperty.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (5/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (6/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "report", + "message": " (7/8)..." + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "13", + "value": { + "kind": "end" + } + } +} +--> { + "id": 12, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 12, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "24" + } +} +<-- { + "jsonrpc": "2.0", + "method": "ghcide/reference/ready", + "params": "/tmp/hls-test-root/extra-dir-7722997002003/TPropertyError.hs" +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": "21", + "value": { + "kind": "end", + "message": "Finished indexing 8 files" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "cancellable": true, + "kind": "begin", + "title": "Evaluating" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +ThreadId 428 | 2024-04-21T05:33:50.771915Z | Debug | Finished: runEvalCmd Took: 0.00s +TRACE: unqueueForEvaluation: NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [ + { + "message": "called GetLinkable for a file without a linkable: NormalizedFilePath \"/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs\"\nCallStack (from HasCallStack):\n error, called at src/Development/IDE/Core/Rules.hs:1074:18 in ghcide-2.7.0.0-inplace:Development.IDE.Core.Rules", + "range": { + "end": { + "character": 0, + "line": 1 + }, + "start": { + "character": 0, + "line": 0 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 0, +ThreadId 409 | 2024-04-21T05:33:50.772469Z | Debug | Restarting build session due to Eval +Action Queue: [InitialLoad] +Keys: [ GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfo.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TProperty.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBangMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoMany.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TInfoBang.hie + , GetModificationTime; /tmp/hls-test-root/.cache/ghcide/test-0.1.0.0-inplace-a69b9349d8eb1e5391c6596f62fcfe33d189fd7b/TI_Info.hie + "line": 1 + }, + , IsEvaluating; /tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs ] + "start": { + "character": 0, + "line": 0 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "GetLinkable" + } + ], + "severity": 1, + "source": "compiler" + }, + { + "code": "-Wunused-imports", + "message": "The import of â from module â is redundant", + "range": { + "end": { + "character": 30, + "line": 2 + }, + "start": { +Aborting previous build session took 0.00s + "character": 0, + "line": 2 + } + }, + "relatedInformation": [ + { + "location": { + "range": { + "end": { + "character": 30, +ThreadId 423 | 2024-04-21T05:33:50.772569Z | Debug | Finished build session + "line": 2 + }, +AsyncCancelled + "start": { + "character": 0, + "line": 2 + } + }, + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + }, + "message": "TypeCheck" + } +ThreadId 408 | 2024-04-21T05:33:50.772814Z | Error | eval: Internal Error: BadDependency "GetLinkable" + ], + "severity": 2, + "source": "typecheck", + "tags": [ + 1 + ] + } + ], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs", + "version": 0 + } +} +TRACE: isMemberEvaluatingVar=False(NormalizedFilePath "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs") +<-- { + "jsonrpc": "2.0", + "method": "$/progress", + "params": { + "token": 1, + "value": { + "kind": "end" + } + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/start", +ThreadId 539 | 2024-04-21T05:33:50.774176Z | Debug | Finished: InitialLoad Took: 0.00s + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +--> { + "id": 13, + "jsonrpc": "2.0", + "result": null +} +<-- { + "id": 13, + "jsonrpc": "2.0", + "method": "window/workDoneProgress/create", + "params": { + "token": "26" + } +} +<-- { + "jsonrpc": "2.0", + "method": "kick/done", + "params": [ + "/tmp/hls-test-root/extra-dir-7722997002003/TI_Info.hs" + ] +} +<-- { + "error": { + "code": -32603, + "message": "eval: Internal Error: BadDependency \"GetLinkable\"" + }, + "id": 2, + "jsonrpc": "2.0" +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBang.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfoBangMany.hs" + } +} +<-- { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } +} +--> { + "id": 0, + "jsonrpc": "2.0", + "method": "shutdown" +} +ThreadId 16 | 2024-04-21T05:34:50.936340Z | Debug | Received shutdown message +ThreadId 533 | 2024-04-21T05:34:50.936551Z | Debug | Finished build session +AsyncCancelled +<-- { + "id": 0, + "jsonrpc": "2.0", + "result": null +} +--> { + "jsonrpc": "2.0", + "method": "exit" +} +ThreadId 20 | 2024-04-21T05:34:50.937513Z | Info | Reactor thread stopped + FAIL + Exception: Timed out waiting to receive a message from the server. + Last message received: + { + "jsonrpc": "2.0", + "method": "textDocument/publishDiagnostics", + "params": { + "diagnostics": [], + "uri": "file:///tmp/hls-test-root/extra-dir-7722997002003/TInfo.hs" + } + } + +1 out of 1 tests failed (70.86s) +Command failed at iteration 35