Skip to content

Instantly share code, notes, and snippets.

@leitzler

leitzler/gopls.log Secret

Created Mar 20, 2020
Embed
What would you like to do?
remove sub module error message
[Trace - 14:14:08.567 PM] Sending request 'initialize - (1)'.
Params: {"processId":0,"clientInfo":{"name":""},"rootUri":"file:///tmp/tmp.i5Qph4SRHl","capabilities":{"Workspace":{"workspaceEdit":{},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"symbolKind":{}},"executeCommand":{},"configuration":true},"textDocument":{"synchronization":{},"completion":{"completionItem":{"tagSupport":{"valueSet":null}},"completionItemKind":{}},"hover":{"contentFormat":["plaintext"]},"signatureHelp":{"signatureInformation":{"parameterInformation":{}}},"declaration":{},"definition":{},"typeDefinition":{},"implementation":{},"references":{},"documentHighlight":{},"documentSymbol":{"symbolKind":{}},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":null}}},"codeLens":{},"documentLink":{},"colorProvider":{},"formatting":{},"rangeFormatting":{},"onTypeFormatting":{},"rename":{},"foldingRange":{},"selectionRange":{},"publishDiagnostics":{"tagSupport":{"valueSet":null}}},"Window":{}},"initializationOptions":{"incrementalSync":true,"noDocsOnHover":true},"workspaceFolders":null}
[Trace - 14:14:08.612 PM] Received response 'initialize - (1)' in 44ms.
Result: {"capabilities":{"textDocumentSync":{"openClose":true,"change":2,"save":{}},"completionProvider":{"triggerCharacters":["."]},"hoverProvider":true,"signatureHelpProvider":{"triggerCharacters":["(",","]},"definitionProvider":true,"typeDefinitionProvider":true,"implementationProvider":true,"referencesProvider":true,"documentHighlightProvider":true,"documentSymbolProvider":true,"codeActionProvider":true,"codeLensProvider":{},"documentLinkProvider":{},"workspaceSymbolProvider":true,"documentFormattingProvider":true,"documentOnTypeFormattingProvider":{"firstTriggerCharacter":""},"renameProvider":true,"foldingRangeProvider":true,"executeCommandProvider":{"commands":["tidy","upgrade.dependency"]},"workspace":{"workspaceFolders":{"supported":true,"changeNotifications":"workspace/didChangeWorkspaceFolders"}}},"serverInfo":{"name":""}}
[Trace - 14:14:08.613 PM] Sending notification 'initialized'.
Params: {}
[Trace - 14:14:08.614 PM] Received request 'client/registerCapability - (1)'.
Params: {"registrations":[{"id":"workspace/didChangeConfiguration","method":"workspace/didChangeConfiguration"},{"id":"workspace/didChangeWorkspaceFolders","method":"workspace/didChangeWorkspaceFolders"},{"id":"workspace/didChangeWatchedFiles","method":"workspace/didChangeWatchedFiles","registerOptions":{"watchers":[{"globPattern":"**/*.go","kind":7}]}}]}
[Trace - 14:14:08.619 PM] Sending response 'client/registerCapability - (1)' took 5ms.
Result: {}
[Trace - 14:14:08.898 PM] Sending notification 'textDocument/didOpen'.
Params: {"textDocument":{"uri":"file:///tmp/tmp.i5Qph4SRHl/x.go","languageId":"go","version":1,"text":"package x\n"}}
[Trace - 14:14:11.058 PM] Received request 'workspace/configuration - (2)'.
Params: {"items":[{"scopeUri":"file:///tmp/tmp.i5Qph4SRHl","section":"gopls"},{"scopeUri":"file:///tmp/tmp.i5Qph4SRHl","section":"gopls-tmp.i5Qph4SRHl"}]}
[Trace - 14:14:11.061 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:11 Build info\n----------\ngolang.org/x/tools/gopls master\n golang.org/x/tools/gopls@v0.1.8-0.20200306181737-e4e22f76d067 h1:RsrVaOWil3rOlvG8IySMCV5noloZWofb8h0G0siXzjU=\n github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=\n github.com/sergi/go-diff@v1.0.0 h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ=\n golang.org/x/mod@v0.2.0 h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ=\n golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=\n golang.org/x/tools@v0.0.0-20200306181737-e4e22f76d067 h1:uVoGCL4t72pUQ1yPjARDnN0cntlqDKjmmYQrbqQwDf0=\n golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=\n honnef.co/go/tools@v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=\n mvdan.cc/xurls/v2@v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=\n\nGo info\n-------\ngo version go1.14 linux/amd64\n\nGO111MODULE=\"\"\nGOARCH=\"amd64\"\nGOBIN=\"\"\nGOCACHE=\"/home/leitzler/.cache/go-build\"\nGOENV=\"/home/leitzler/.config/go/env\"\nGOEXE=\"\"\nGOFLAGS=\"\"\nGOHOSTARCH=\"amd64\"\nGOHOSTOS=\"linux\"\nGOINSECURE=\"\"\nGONOPROXY=\"\"\nGONOSUMDB=\"\"\nGOOS=\"linux\"\nGOPATH=\"/home/leitzler/go\"\nGOPRIVATE=\"\"\nGOPROXY=\"https://proxy.golang.org,direct\"\nGOROOT=\"/usr/local/go\"\nGOSUMDB=\"sum.golang.org\"\nGOTMPDIR=\"\"\nGOTOOLDIR=\"/usr/local/go/pkg/tool/linux_amd64\"\nGCCGO=\"gccgo\"\nAR=\"ar\"\nCC=\"gcc\"\nCXX=\"g++\"\nCGO_ENABLED=\"1\"\nGOMOD=\"/tmp/tmp.i5Qph4SRHl/go.mod\"\nCGO_CFLAGS=\"-g -O2\"\nCGO_CPPFLAGS=\"\"\nCGO_CXXFLAGS=\"-g -O2\"\nCGO_FFLAGS=\"-g -O2\"\nCGO_LDFLAGS=\"-g -O2\"\nPKG_CONFIG=\"pkg-config\"\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build707670970=/tmp/go-build -gno-record-gcc-switches\"\n"}
[Trace - 14:14:11.061 PM] Sending response 'workspace/configuration - (2)' took 3ms.
Result: [{"hoverKind":"FullDocumentation","staticcheck":true,"tempModfile":false},null]
[Trace - 14:14:12.322 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:12 go/packages.Load\n\tsnapshot = 0\n\tquery = [./... builtin]\n\tpackages = 2"}
[Trace - 14:14:12.347 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///tmp/tmp.i5Qph4SRHl/x.go","version":1,"diagnostics":[{"range":{"start":{"line":0,"character":0},"end":{"line":0,"character":9}},"severity":2,"source":"ST1000","message":"at least one file in a package should have a package comment"}]}
[Trace - 14:14:26.347 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":1}]}
[Trace - 14:14:26.349 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":1}]}
[Trace - 14:14:26.350 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":2}]}
[Trace - 14:14:26.351 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":2}]}
[Trace - 14:14:36.719 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":1}]}
[Trace - 14:14:36.725 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":1}]}
[Trace - 14:14:36.725 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:36.725 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:40.639 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:40 go/packages.Load\n\tsnapshot = 9\n\tquery = [file=/tmp/tmp.i5Qph4SRHl/foo/foo.go]\n\tpackages = 1"}
[Trace - 14:14:40.640 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:40 go/packages.Load\n\tsnapshot = 9\n\tpackage = command-line-arguments\n\tfiles = [/tmp/tmp.i5Qph4SRHl/foo/foo.go]"}
[Trace - 14:14:40.758 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:40 go/packages.Load\n\tsnapshot = 8\n\tquery = [file=/tmp/tmp.i5Qph4SRHl/foo/foo.go]\n\tpackages = 1"}
[Trace - 14:14:40.758 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:40 go/packages.Load\n\tsnapshot = 8\n\tpackage = command-line-arguments\n\tfiles = [/tmp/tmp.i5Qph4SRHl/foo/foo.go]"}
[Trace - 14:14:50.135 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:50.135 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:50.141 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:50.141 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":2}]}
[Trace - 14:14:50.179 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:50 go/packages.Load\n\tsnapshot = 13\n\tquery = [command-line-arguments]\n\tpackages = 1"}
[Trace - 14:14:50.179 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:50 go/packages.Load\n\tsnapshot = 13\n\tpackage = command-line-arguments\n\tfiles = []"}
[Trace - 14:14:50.272 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:50 go/packages.Load\n\tsnapshot = 13\n\tquery = [file=/tmp/tmp.i5Qph4SRHl/foo/foo.go]\n\tpackages = 1"}
[Trace - 14:14:50.272 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:14:50 go/packages.Load\n\tsnapshot = 13\n\tpackage = command-line-arguments\n\tfiles = [/tmp/tmp.i5Qph4SRHl/foo/foo.go]"}
[Trace - 14:15:00.227 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":3}]}
[Trace - 14:15:00.228 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","diagnostics":[]}
[Trace - 14:15:00.232 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","type":3}]}
[Trace - 14:15:00.232 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":3}]}
[Trace - 14:15:00.232 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","type":3}]}
[Trace - 14:15:00.233 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/foo.go","diagnostics":[]}
[Trace - 14:15:00.233 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","diagnostics":[]}
[Trace - 14:15:00.233 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///tmp/tmp.i5Qph4SRHl/foo/go.mod","diagnostics":[]}
[Trace - 14:15:00.259 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 17\n\tquery = [command-line-arguments]\n\tpackages = 1"}
[Trace - 14:15:00.259 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 17\n\tpackage = command-line-arguments\n\tfiles = []"}
[Trace - 14:15:00.292 PM] Received notification 'window/showMessage'.
Params: {"type":1,"message":"Your workspace is misconfigured: command-line-arguments has no metadata. Please see https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md for more information or file an issue (https://github.com/golang/go/issues/new) if you believe this is a mistake."}
[Trace - 14:15:00.298 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 17\n\tquery = [file=/tmp/tmp.i5Qph4SRHl/foo/foo.go]\n\tpackages = 0"}
[Trace - 14:15:00.298 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/03/20 14:15:00 diagnose: no workspace packages: command-line-arguments has no metadata\n\tsnapshot = 17\n\tdirectory = 0xae1210"}
[Trace - 14:15:00.326 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 16\n\tquery = [command-line-arguments]\n\tpackages = 1"}
[Trace - 14:15:00.326 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 16\n\tpackage = command-line-arguments\n\tfiles = []"}
[Trace - 14:15:00.369 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/03/20 14:15:00 diagnose: no workspace packages: command-line-arguments has no metadata\n\tsnapshot = 16\n\tdirectory = 0xae1210"}
[Trace - 14:15:00.369 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/03/20 14:15:00 go/packages.Load\n\tsnapshot = 16\n\tquery = [file=/tmp/tmp.i5Qph4SRHl/foo/foo.go]\n\tpackages = 0"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment