Created
May 8, 2018 20:50
-
-
Save zekzekus/a1d9bd37fb592492bf58f314137b6e10 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-05-08 23:49:10.756662 [ThreadId 4] - run entered for HIE Version 0.2.0.0, Git revision b167e63e00007624fcf00b578b3e8846362eea14 (1331 commits) x86_64 ghc-8.2.2 | |
2018-05-08 23:49:10.75767 [ThreadId 4] - Current directory:/Users/zekus/devel/projects/personal/seyler | |
2018-05-08 23:49:10.757752 [ThreadId 4] - | |
haskell-lsp:Starting up server ... | |
2018-05-08 23:49:10.758317 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"completion":{"completionItem":{"commitCharactersSupport":null,"documentationFormat":null,"snippetSupport":true},"dynamicRegistration":null}}},"initializationOptions":null,"processId":26452,"rootPath":"/Users/zekus/devel/projects/personal/seyler","rootUri":"file:///Users/zekus/devel/projects/personal/seyler","trace":"off"},"id":9} | |
2018-05-08 23:49:10.75895 [ThreadId 4] - haskell-lsp:initializeRequestHandler: setting current dir to project root:/Users/zekus/devel/projects/personal/seyler | |
2018-05-08 23:49:10.7594 [ThreadId 5] - <--2--{"result":{"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"willSave":false,"willSaveWaitUntil":false,"save":{"includeText":false}},"hoverProvider":true,"completionProvider":{"resolveProvider":true,"triggerCharacters":["."]},"definitionProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"documentFormattingProvider":true,"documentRangeFormattingProvider":true,"renameProvider":true,"executeCommandProvider":{"commands":["applyrefact:applyOne","hare:demote"]}}},"jsonrpc":"2.0","id":9} | |
2018-05-08 23:49:10.79365 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"initialized","params":{}} | |
2018-05-08 23:49:10.793949 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"haskell","text":"import qualified Data.Text as T\nimport Protolude\nimport System.Exit (ExitCode (..), exitWith)\nimport System.IO (hGetContents)\nimport System.Process (CreateProcess (..), StdStream (CreatePipe),\n createProcess, shell, waitForProcess)\n\nimport Seyler\n\nmain :: IO ()\nmain = do\n let cmd = Command Add [(\"title\", \"thisis myfirst\")]\n _ <- runCommand $ toCommand cmd\n putStrLn (\"Done!\" :: Text)\n\nrunCommand :: Text -> IO [Text]\nrunCommand cmd = do\n (_, Just stdOut, _, ph) <-\n createProcess (shell (T.unpack cmd)) {std_out = CreatePipe}\n exit <- waitForProcess ph\n case exit of\n ExitSuccess -> T.splitOn (\"\\n\" :: Text) . T.pack <$> hGetContents stdOut\n ExitFailure code -> exitWith (ExitFailure code)\n","uri":"file:///Users/zekus/devel/projects/personal/seyler/executable/Main.hs","version":0}}} | |
2018-05-08 23:49:10.794378 [ThreadId 8] - ****** reactor: processing Initialized Notification | |
2018-05-08 23:49:10.794473 [ThreadId 8] - ****** reactor: processing NotDidOpenTextDocument | |
2018-05-08 23:49:10.794673 [ThreadId 5] - <--2--{"jsonrpc":"2.0","id":0,"method":"client/registerCapability","params":{"registrations":[{"registerOptions":{"documentSelector":{"language":"haskell"}},"method":"workspace/executeCommand","id":"hare:demote"}]}} | |
2018-05-08 23:49:10.795772 [ThreadId 4] - ---> {"jsonrpc":"2.0","result":null,"id":0} | |
2018-05-08 23:49:10.795872 [ThreadId 4] - haskell-lsp:Got reply message:"{\"jsonrpc\":\"2.0\",\"result\":null,\"id\":0}" | |
2018-05-08 23:49:10.795989 [ThreadId 8] - reactor:got RspFromClient:ResponseMessage {_jsonrpc = "2.0", _id = IdRspInt 0, _result = Nothing, _error = Nothing} | |
2018-05-08 23:49:11.043691 [ThreadId 11] - ideDispatcher: top of loop | |
2018-05-08 23:49:11.043817 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:11.043882 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:11.044001 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:11.044059 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:11.045448 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":4,"message":"Using hoogle db at: /Users/zekus/.hoogle/default-haskell-5.0.17.hoo"}} | |
2018-05-08 23:49:11.413267 [ThreadId 7] - file mapping state is: fromList [("/Users/zekus/devel/projects/personal/seyler/executable/Main.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26473/Main26472-0.hs", fmTemp = True})] | |
2018-05-08 23:49:11.413401 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:11.413459 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:11.413511 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:11.537685 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:11.537776 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:11.537816 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:11.684133 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/executable/Main.hs","diagnostics":[]}} | |
2018-05-08 23:49:12.722504 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:12.722663 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/executable/Main.hs","diagnostics":[]}} | |
2018-05-08 23:49:14.346518 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":22,"line":12},"textDocument":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/executable/Main.hs"}},"id":29} | |
2018-05-08 23:49:14.346777 [ThreadId 8] - reactor:got DefinitionRequest:RequestMessage {_jsonrpc = "2.0", _id = IdInt 29, _method = TextDocumentDefinition, _params = TextDocumentPositionParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///Users/zekus/devel/projects/personal/seyler/executable/Main.hs"}}, _position = Position {_line = 12, _character = 22}}} | |
2018-05-08 23:49:14.346909 [ThreadId 7] - got request with id: Just (IdInt 29) | |
2018-05-08 23:49:14.346973 [ThreadId 7] - processing request: IdInt 29 | |
2018-05-08 23:49:14.349533 [ThreadId 7] - srcSpan2Loc: mapped file is library/Seyler.hs | |
2018-05-08 23:49:14.349783 [ThreadId 7] - srcSpan2Loc: Original file is /Users/zekus/devel/projects/personal/seyler/library/Seyler.hs | |
2018-05-08 23:49:14.349851 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:14.34996 [ThreadId 5] - <--2--{"result":[{"uri":"file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs","range":{"start":{"line":49,"character":0},"end":{"line":49,"character":9}}}],"jsonrpc":"2.0","id":29} | |
2018-05-08 23:49:14.403883 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"haskell","text":"module Seyler\n ( toCommandURL\n , toCommand\n , Action(..)\n , Command(..)\n ) where\n\nimport Lib.Prelude\n\nimport qualified Data.Text as T\nimport Network.URI.Encode (encodeText)\n\ntype Key = Text\n\ntype Value = Text\n\ntype Parameter = (Key, Value)\n\ntype ParameterList = [Parameter]\n\ndata Action\n = Add\n | AddProject\n | Update\n | UpdateProject\n | Show\n | Search\n | Version\n deriving (Show)\n\ndata Command = Command\n { action :: Action\n , parameters :: ParameterList\n } deriving (Show)\n\ntoCommandURL :: Command -> Text\ntoCommandURL (Command act params) =\n protocol <> partAction <> firstParamSeparator <> partParameters\n where\n partAction = (toKebab . show) act\n partParameters = T.intercalate \"&\" $ toArg <$> params\n toArg (k, v) = k <> \"=\" <> encodeText v\n protocol = \"things:///\"\n firstParamSeparator = \"?\"\n toKebab \"AddProject\" = \"add-project\"\n toKebab \"UpdateProject\" = \"update-project\"\n toKebab a = T.toLower a\n\ntoCommand :: Command -> Text\ntoCommand cmd = open <> toCommandURL cmd\n where\n open = \"open \" :: Text\n","uri":"file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs","version":0}}} | |
2018-05-08 23:49:14.404192 [ThreadId 8] - ****** reactor: processing NotDidOpenTextDocument | |
2018-05-08 23:49:14.40438 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:14.67424 [ThreadId 7] - file mapping state is: fromList [("/Users/zekus/devel/projects/personal/seyler/executable/Main.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26473/Main26472-0.hs", fmTemp = True}),("/Users/zekus/devel/projects/personal/seyler/library/Seyler.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs", fmTemp = True})] | |
2018-05-08 23:49:14.674415 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:14.674482 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:14.674539 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:14.714755 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:14.714857 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:14.714903 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:14.73039 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs","diagnostics":[]}} | |
2018-05-08 23:49:15.546063 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:15.546245 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs","diagnostics":[]}} | |
2018-05-08 23:49:18.006553 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"textDocument/definition","params":{"position":{"character":24,"line":49},"textDocument":{"uri":"file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs"}},"id":48} | |
2018-05-08 23:49:18.00681 [ThreadId 8] - reactor:got DefinitionRequest:RequestMessage {_jsonrpc = "2.0", _id = IdInt 48, _method = TextDocumentDefinition, _params = TextDocumentPositionParams {_textDocument = TextDocumentIdentifier {_uri = Uri {getUri = "file:///Users/zekus/devel/projects/personal/seyler/library/Seyler.hs"}}, _position = Position {_line = 49, _character = 24}}} | |
2018-05-08 23:49:18.006946 [ThreadId 7] - got request with id: Just (IdInt 48) | |
2018-05-08 23:49:18.007015 [ThreadId 7] - processing request: IdInt 48 | |
2018-05-08 23:49:18.01163 [ThreadId 7] - srcSpan2Loc: mapped file is /var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs | |
2018-05-08 23:49:18.012068 [ThreadId 7] - srcSpan2Loc: Original file is /private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs | |
2018-05-08 23:49:18.012143 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:18.012258 [ThreadId 5] - <--2--{"result":[{"uri":"file:///private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs","range":{"start":{"line":36,"character":0},"end":{"line":36,"character":12}}}],"jsonrpc":"2.0","id":48} | |
2018-05-08 23:49:18.053251 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"textDocument/didOpen","params":{"textDocument":{"languageId":"haskell","text":"module Seyler\n ( toCommandURL\n , toCommand\n , Action(..)\n , Command(..)\n ) where\n\nimport Lib.Prelude\n\nimport qualified Data.Text as T\nimport Network.URI.Encode (encodeText)\n\ntype Key = Text\n\ntype Value = Text\n\ntype Parameter = (Key, Value)\n\ntype ParameterList = [Parameter]\n\ndata Action\n = Add\n | AddProject\n | Update\n | UpdateProject\n | Show\n | Search\n | Version\n deriving (Show)\n\ndata Command = Command\n { action :: Action\n , parameters :: ParameterList\n } deriving (Show)\n\ntoCommandURL :: Command -> Text\ntoCommandURL (Command act params) =\n protocol <> partAction <> firstParamSeparator <> partParameters\n where\n partAction = (toKebab . show) act\n partParameters = T.intercalate \"&\" $ toArg <$> params\n toArg (k, v) = k <> \"=\" <> encodeText v\n protocol = \"things:///\"\n firstParamSeparator = \"?\"\n toKebab \"AddProject\" = \"add-project\"\n toKebab \"UpdateProject\" = \"update-project\"\n toKebab a = T.toLower a\n\ntoCommand :: Command -> Text\ntoCommand cmd = open <> toCommandURL cmd\n where\n open = \"open \" :: Text\n","uri":"file:///private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs","version":0}}} | |
2018-05-08 23:49:18.053698 [ThreadId 8] - ****** reactor: processing NotDidOpenTextDocument | |
2018-05-08 23:49:18.053861 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:18.074193 [ThreadId 7] - file mapping state is: fromList [("/Users/zekus/devel/projects/personal/seyler/executable/Main.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26473/Main26472-0.hs", fmTemp = True}),("/Users/zekus/devel/projects/personal/seyler/library/Seyler.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs", fmTemp = True}),("/private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs",FileMapping {fmPath = "/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26475/Seyler26472-126472-2.hs", fmTemp = True})] | |
2018-05-08 23:49:18.07435 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:18.074397 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:18.074436 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:18.116864 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:18.116957 [ThreadId 7] - got request with id: Nothing | |
2018-05-08 23:49:18.116993 [ThreadId 7] - Processing request as version matches | |
2018-05-08 23:49:18.126824 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs","diagnostics":[]}} | |
2018-05-08 23:49:18.18602 [ThreadId 7] - in srcErrToDiag | |
2018-05-08 23:49:18.186134 [ThreadId 7] - setTypecheckedModule: Didn't get typechecked module for: "/private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs" | |
2018-05-08 23:49:18.186187 [ThreadId 7] - ghcDispatcher: top of loop | |
2018-05-08 23:49:18.186359 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"window/logMessage","params":{"type":1,"message":"Got error while processing diagnostics: <no location info>: error:\n module ‘main:Seyler’ is defined in multiple files: /var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs\n /var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26475/Seyler26472-126472-2.hs"}} | |
2018-05-08 23:49:18.186485 [ThreadId 5] - <--2--{"jsonrpc":"2.0","method":"textDocument/publishDiagnostics","params":{"uri":"file:///private/var/folders/qx/fdvs1_qd5b7ch8y2j5yj6spw0000gp/T/ghc-mod26474/Seyler26472-1.hs","diagnostics":[]}} | |
2018-05-08 23:49:25.497166 [ThreadId 4] - ---> {"jsonrpc":"2.0","method":"exit","params":null} | |
2018-05-08 23:49:25.497279 [ThreadId 4] - haskell-lsp:Got exit, exiting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment