-
-
Save jpvillaseca/8a63cb8ca3f5e5343a5b28c91b4f423d to your computer and use it in GitHub Desktop.
Output of gopls trace
This file contains 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
λ gopls -rpc.trace -v format app\session\sessionManager.go > trace.txt | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 Build info | |
---------- | |
golang.org/x/tools/gopls v0.1.6 | |
golang.org/x/tools/gopls@(devel) | |
github.com/BurntSushi/[email protected] h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= | |
github.com/sergi/[email protected] h1:Kpca3qRNrduNnOQeazBd0ysaKrUJiIuISHxogkT9RPQ= | |
golang.org/x/[email protected] h1:8gQV6CLnAEikrhgkHFbMAEhagSSnXWGV915qUMm9mrU= | |
golang.org/x/[email protected] => ../ | |
golang.org/x/[email protected] h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc= | |
honnef.co/go/[email protected] h1:3JgtbtFHMiCmsznwGVTUWbgGov+pVqnlf1dEJTNAXeM= | |
Go info | |
------- | |
go version go1.13.1 windows/amd64 | |
set GO111MODULE= | |
set GOARCH=amd64 | |
set GOBIN= | |
set GOCACHE=C:\Users\noflo\AppData\Local\go-build | |
set GOENV=C:\Users\noflo\AppData\Roaming\go\env | |
set GOEXE=.exe | |
set GOFLAGS= | |
set GOHOSTARCH=amd64 | |
set GOHOSTOS=windows | |
set GONOPROXY= | |
set GONOSUMDB= | |
set GOOS=windows | |
set GOPATH=C:\Users\noflo\go | |
set GOPRIVATE= | |
set GOPROXY=https://proxy.golang.org,direct | |
set GOROOT=c:\go | |
set GOSUMDB=sum.golang.org | |
set GOTMPDIR= | |
set GOTOOLDIR=c:\go\pkg\tool\windows_amd64 | |
set GCCGO=gccgo | |
set AR=ar | |
set CC=gcc | |
set CXX=g++ | |
set CGO_ENABLED=1 | |
set GOMOD= | |
set CGO_CFLAGS=-g -O2 | |
set CGO_CPPFLAGS= | |
set CGO_CXXFLAGS=-g -O2 | |
set CGO_FFLAGS=-g -O2 | |
set CGO_LDFLAGS=-g -O2 | |
set PKG_CONFIG=pkg-config | |
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\noflo\AppData\Local\Temp\go-build386777014=/tmp/go-build -gno-record-gcc-switches | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 68.9927ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "list" "-m" "-json" "all", stderr: <<go list -m: not using modules | |
>> stdout: <<>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 79.0112ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "env" "GOMOD", stderr: <<>> stdout: << | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 87.04ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "builtin", stderr: <<>> stdout: <<{ | |
"Dir": "c:\\go\\src\\builtin", | |
"ImportPath": "builtin", | |
"Name": "builtin", | |
"Doc": "Package builtin provides documentation for Go's predeclared identifiers.", | |
"Target": "c:\\go\\pkg\\windows_amd64\\builtin.a", | |
"Root": "c:\\go", | |
"Match": [ | |
"builtin" | |
], | |
"Goroot": true, | |
"Standard": true, | |
"GoFiles": [ | |
"builtin.go" | |
] | |
} | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 71.0007ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "env" "GOPATH", stderr: <<>> stdout: <<C:\Users\noflo\go | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 83.9361ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "list" "-m" "-json" "all", stderr: <<go list -m: not using modules | |
>> stdout: <<>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 89.9935ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "env" "GOMOD", stderr: <<>> stdout: << | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 64.001ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "env" "GOPATH", stderr: <<>> stdout: <<C:\Users\noflo\go | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 146.0068ms for GOROOT= GOPATH=C:\Users\noflo\go GO111MODULE= PWD=C:\Users\noflo\go\src\jarvis-server go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "C:\\Users\\noflo\\go\\src\\jarvis-server\\app\\session", stderr: <<>> stdout: <<{ | |
"Dir": "C:\\Users\\noflo\\go\\src\\jarvis-server\\app\\session", | |
"ImportPath": "jarvis-server/app/session", | |
"Name": "session", | |
"Root": "C:\\Users\\noflo\\go", | |
"Match": [ | |
"C:/Users/noflo/go/src/jarvis-server/app/session" | |
], | |
"Incomplete": true, | |
"Stale": true, | |
"StaleReason": "build ID mismatch", | |
"GoFiles": [ | |
"client.go", | |
"hub.go" | |
], | |
"CompiledGoFiles": [ | |
"client.go", | |
"hub.go" | |
], | |
"Error": { | |
"ImportStack": [ | |
"jarvis-server/app/session" | |
], | |
"Pos": "", | |
"Err": "\napp\\session\\sessionManager.go:10:7: expected 'STRING', found '-'\napp\\session\\sessionManager.go:10:25: string literal not terminated\napp\\session\\sessionManager.go:28:2: expected 'STRING', found 'go'\napp\\session\\sessionManager.go:32:2: expected 'STRING', found 'return'\napp\\session\\sessionManager.go:38:2: expected 'STRING', found 'var'\napp\\session\\sessionManager.go:39:2: expected 'STRING', found 'var'\napp\\session\\sessionManager.go:50:2: expected 'STRING', found 'switch'\napp\\session\\sessionManager.go:60:1: expected 'STRING', found 'fallthrough'\napp\\session\\sessionManager.go:61:11: expected ';', found ':'\napp\\session\\sessionManager.go:65:3: expected 'STRING', found 'return'\napp\\session\\sessionManager.go:66:2: expected 'STRING', found '}'" | |
} | |
} | |
>> | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 go/packages.Load | |
packages = 1 | |
2019/10/22 09:30:54 Info:2019/10/22 09:30:54 go/packages.Load | |
package = jarvis-server/app/session | |
files = [C:\Users\noflo\go\src\jarvis-server\app\session\client.go C:\Users\noflo\go\src\jarvis-server\app\session\hub.go C:\Users\noflo\go\src\jarvis-server\app\session\sessionManager.go] | |
gopls: C:\Users\noflo\go\src\jarvis-server\app\session\sessionManager.go: 10:7: expected 'STRING', found '-' (and 10 more errors) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment