Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/gopls: error checking package #34298

Closed
pmalek opened this issue Sep 14, 2019 · 18 comments
Closed

x/tools/gopls: error checking package #34298

pmalek opened this issue Sep 14, 2019 · 18 comments
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@pmalek
Copy link

pmalek commented Sep 14, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.9 darwin/amd64

Does this issue reproduce with the latest release?

0240832f5c3d9ddcdcd51c66edbf8cd889a54108 is the tip as of now of golang.org/x/tools/internal

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/pmalek/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/pmalek/.gvm/pkgsets/go1.12.9/global"
GOPROXY=""
GORACE=""
GOROOT="/Users/pmalek/.gvm/gos/go1.12.9"
GOTMPDIR=""
GOTOOLDIR="/Users/pmalek/.gvm/gos/go1.12.9/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/zy/lzyp__pd7vx6762s5jcgkkl80000gn/T/go-build089108905=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

Use vscode-go version 0.11.5-beta.5 with vs code with gopls version 0240832f5c3d9ddcdcd51c66edbf8cd889a54108 version v0.1.5-cmd.gopls, built in $GOPATH mode

What did you expect to see?

No error, it seems that ph is not checked for nil here https://github.com/golang/tools/blob/master/internal/lsp/source/util.go#L126
I can submit a patch with that check which returns nil, nil, errors.Errorf("ph is nil") or similar if that's the solution.

What did you see instead?

[Error - 2:50:26 PM] Request textDocument/hover failed.
  Message: method "textDocument/hover" did not reply
  Code: -32603 
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x13a3ae6]

goroutine 13317 [running]:
golang.org/x/tools/internal/lsp/source.pkgToMapper(0x17e67a0, 0xc014573590, 0x17f1780, 0xc000302000, 0x17f16e0, 0xc000ed0000, 0xc00ddbc1c0, 0x70, 0x0, 0xc0002180e7, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/util.go:126 +0x116
golang.org/x/tools/internal/lsp/source.cachedFileToMapper(0x17e67a0, 0xc014573590, 0x17f1780, 0xc000302000, 0xc00ddbc1c0, 0x70, 0x2e4, 0x2, 0x17f1780, 0xc000302000)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/util.go:112 +0x19e
golang.org/x/tools/internal/lsp/source.posToRange(0x17e67a0, 0xc014573590, 0x17f1780, 0xc000302000, 0x2a245, 0x2a252, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/util.go:226 +0x1af
golang.org/x/tools/internal/lsp/source.nameToMappedRange(...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/util.go:211
golang.org/x/tools/internal/lsp/source.objToMappedRange(0x17e67a0, 0xc014573590, 0x17f1780, 0xc000302000, 0x17f2360, 0xc0089324b0, 0x0, 0x0, 0x0, 0x0, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/util.go:207 +0x132
golang.org/x/tools/internal/lsp/source.identifier(0x17e66e0, 0xc0143eb7c0, 0x17f1780, 0xc000302000, 0xc014547f80, 0x2, 0x2, 0xc0188a1400, 0x127fe2e, 0x0, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/identifier.go:176 +0x928
golang.org/x/tools/internal/lsp/source.findIdentifier(0x17e66e0, 0xc0143eb7c0, 0x17f1780, 0xc000302000, 0xc014547f80, 0x2, 0x2, 0xc0188a1400, 0x127fe2e, 0xc0000c1500, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/identifier.go:67 +0x97
golang.org/x/tools/internal/lsp/source.Identifier(0x17e66e0, 0xc0143eb7c0, 0x17f1780, 0xc000302000, 0x17f01e0, 0xc0006a0900, 0x4061e00000000000, 0x403f000000000000, 0x0, 0x0, ...)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/source/identifier.go:63 +0x245
golang.org/x/tools/internal/lsp.(*Server).hover(0xc0000cd5c0, 0x17e66e0, 0xc0143eb7c0, 0xc0145730b0, 0x0, 0x0, 0xc01417c140)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/hover.go:25 +0x169
golang.org/x/tools/internal/lsp.(*Server).Hover(0xc0000cd5c0, 0x17e66e0, 0xc0143eb7c0, 0xc0145730b0, 0xc0145730b0, 0x0, 0x0)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/server.go:168 +0x49
golang.org/x/tools/internal/lsp/protocol.serverHandler.Deliver(0x17f84c0, 0xc0000cd5c0, 0x17e66e0, 0xc0143eb7c0, 0xc0143eb800, 0x0, 0xc011971730)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/lsp/protocol/tsserver.go:334 +0x12ee
golang.org/x/tools/internal/jsonrpc2.(*Conn).Run.func1(0xc00de824e0, 0xc0143eb800, 0xc0000cd620, 0x17e66e0, 0xc0143eb7c0, 0x0, 0x0, 0xc00b2c5e60)
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:370 +0x13a
created by golang.org/x/tools/internal/jsonrpc2.(*Conn).Run
	/Users/pmalek/.gvm/pkgsets/go1.12.9/global/src/golang.org/x/tools/internal/jsonrpc2/jsonrpc2.go:354 +0x8d8
[Info  - 2:50:26 PM] Connection to server got closed. Server will restart.
@gopherbot gopherbot added this to the Unreleased milestone Sep 14, 2019
@gopherbot gopherbot added Tools This label describes issues relating to any tools in the x/tools repository. gopls Issues related to the Go language server, gopls. labels Sep 14, 2019
@gopherbot
Copy link

Thank you for filing a gopls issue! Please take a look at the Troubleshooting section of the gopls Wiki page, and make sure that you have provided all of the relevant information here.

@fhs
Copy link
Contributor

fhs commented Sep 16, 2019

I think this is a duplicate of #34270.

@pmalekn
Copy link

pmalekn commented Sep 16, 2019

@fhs The stack trace is little different

@pmalekn
Copy link

pmalekn commented Sep 16, 2019

There seems to be a change that has fixed that https://go-review.googlesource.com/c/tools/+/195518

@stamblerre
Copy link
Contributor

Can you confirm that you saw this error when working in code that had a space in the filepaths? If so, we can so we can deduplicate the issue to #34270.

@pmalek
Copy link
Author

pmalek commented Sep 16, 2019

@stamblerre the path of the file was /Users/xx/.gvm/pkgsets/go1.12.9/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go so no spaces

@stamblerre
Copy link
Contributor

stamblerre commented Sep 16, 2019

Oh ok, so then this seems to be a separate error. If you sync to master and install gopls manually, what kind of errors do you see?

@pmalek
Copy link
Author

pmalek commented Sep 16, 2019

@stamblerre So I've updated to go 1.13 and synced gopls to master and the original error from this issue went away but I have something like this for now:

2019/09/16 16:55:02 no highlight: 15.000000:9.000000 is not an identifier
	URI = file:///Users/pmalek/code/XXX/YYY/mp/sarama_mp.go
[Error - 4:55:02 PM] 2019/09/16 16:55:02 no highlight: 15.000000:9.000000 is not an identifier
	URI = file:///Users/pmalek/code/XXX/YYY/mp/sarama_mp.go
2019/09/16 16:55:02 no highlight: 15.000000:23.000000 is not an identifier
	URI = file:///Users/pmalek/code/XXX/YYY/mp/sarama_mp.go
[Error - 4:55:02 PM] 2019/09/16 16:55:02 no highlight: 15.000000:23.000000 is not an identifier
	URI = file:///Users/pmalek/code/XXX/YYY/mp/sarama_mp.go
2019/09/16 16:55:06 loadParseTypeCheck: failed to check package: context canceled
	package = github.com/Shopify/sarama
2019/09/16 16:55:06 failed to compute diagnostics: no CheckPackageHandles for file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/%21shopify/sarama@v1.23.1/consumer_group.go
	file = file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go
[Error - 4:55:06 PM] 2019/09/16 16:55:06 loadParseTypeCheck: failed to check package: context canceled
	package = github.com/Shopify/sarama
[Error - 4:55:06 PM] 2019/09/16 16:55:06 failed to compute diagnostics: no CheckPackageHandles for file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/%21shopify/sarama@v1.23.1/consumer_group.go
	file = file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go
2019/09/16 16:55:06 no highlight: no ParseGoHandle for file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go
	URI = file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go
[Error - 4:55:06 PM] 2019/09/16 16:55:06 no highlight: no ParseGoHandle for file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go
	URI = file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go

I guess we can close this one here then.

@stamblerre
Copy link
Contributor

We can leave this open since you're still encountering issues. What is the output of gopls -rpc.trace -v check path/to/file.go?

@stamblerre stamblerre changed the title x/tools//internal/lsp/source/util.go panic: runtime error: invalid memory address or nil pointer dereference x/tools/gopls: error checking package Sep 16, 2019
@pmalek
Copy link
Author

pmalek commented Sep 16, 2019

it prints the log below and then it hangs (that's the expected behaviour?)

2019/09/16 17:07:44 Info:2019/09/16 17:07:44 Build info
----------
version v0.1.5-cmd.gopls, built in $GOPATH mode

Go info
-------
go version go1.13 darwin/amd64

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/pmalek/Library/Caches/go-build"
GOENV="/Users/pmalek/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/pmalek/.gvm/pkgsets/go1.13/global"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/pmalek/.gvm/gos/go1.13"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/pmalek/.gvm/gos/go1.13/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/pmalek/code/XXX-cloud/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/zy/lzyp__pd7vx6762s5jcgkkl80000gn/T/go-build133852313=/tmp/go-build -gno-record-gcc-switches -fno-common"
2019/09/16 17:07:44 Info:2019/09/16 17:07:44 40.865401ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "env" "GOMOD", stderr: <<>>
2019/09/16 17:07:44 Info:2019/09/16 17:07:44 138.868195ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "builtin", stderr: <<>>
2019/09/16 17:07:44 Info:2019/09/16 17:07:44 43.439716ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "env" "GOMOD", stderr: <<>>
2019/09/16 17:07:44 Info:2019/09/16 17:07:44 251.513118ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "list" "-m" "-json" "all", stderr: <<>>
2019/09/16 17:07:44 Info:2019/09/16 17:07:44 264.957854ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "list" "-m" "-json" "all", stderr: <<>>
2019/09/16 17:07:45 Info:2019/09/16 17:07:45 525.03186ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek/code/XXX-cloud go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1", stderr: <<>>
2019/09/16 17:07:45 Info:2019/09/16 17:07:45 go/packages.Load
	packages = 2
2019/09/16 17:07:45 Info:2019/09/16 17:07:45 go/packages.Load
	package = github.com/Shopify/sarama
	files = [/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_bindings.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_filter.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_types.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/admin.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/async_producer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/balance_strategy.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/broker.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/client.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/compress.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/config.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/config_resource_type.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group_members.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/control_record.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/crc32_field.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/decompress.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/encoder_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/errors.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/gssapi_kerberos.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/kerberos_client.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/length_field.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/message.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/message_set.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metrics.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockbroker.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockkerberos.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockresponses.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_manager.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/packet_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/packet_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/partitioner.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/prep_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_set.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/real_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/real_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/record.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/record_batch.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/records.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/response_header.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sarama.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_producer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/timestamp.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/utils.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/zstd_cgo.go]
2019/09/16 17:07:45 Info:2019/09/16 17:07:45 go/packages.Load
	package = github.com/Shopify/sarama
	files = [/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_bindings.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_filter.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_types.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/admin.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/async_producer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/balance_strategy.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/broker.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/client.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/compress.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/config.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/config_resource_type.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group_members.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/control_record.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/crc32_field.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/decompress.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/encoder_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/errors.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/gssapi_kerberos.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/kerberos_client.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/length_field.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/message.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/message_set.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metrics.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockbroker.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockkerberos.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/mockresponses.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_manager.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/packet_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/packet_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/partitioner.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/prep_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_set.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/real_decoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/real_encoder.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/record.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/record_batch.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/records.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/response_header.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sarama.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_producer.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/timestamp.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_request.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_response.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/utils.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/zstd_cgo.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_create_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_delete_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/acl_describe_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_offsets_to_txn_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/add_partitions_to_txn_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/admin_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/alter_configs_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/api_versions_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/async_producer_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/balance_strategy_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/broker_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/client_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/client_tls_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/config_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group_members_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_metadata_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/control_record_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_partitions_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/create_topics_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_groups_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_records_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/delete_topics_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_configs_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/describe_groups_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/end_txn_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/fetch_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/find_coordinator_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_client_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_consumer_group_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_consumer_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_offset_manager_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_producer_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/functional_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/heartbeat_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/init_producer_id_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/join_group_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/kerberos_client_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/leave_group_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/list_groups_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/message_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metadata_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/metrics_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_commit_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_fetch_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_manager_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/offset_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/partitioner_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/produce_set_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/record_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/records_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/response_header_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_authenticate_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sasl_handshake_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_group_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/sync_producer_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_request_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/txn_offset_commit_response_test.go /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/utils_test.go]

@stamblerre
Copy link
Contributor

Hanging is definitely not the expected behavior. Do you mind sharing the actual command that you ran? Was the filepath /Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go ?

@pmalek
Copy link
Author

pmalek commented Sep 16, 2019

gopls -rpc.trace -v check "/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/\!shopify/sarama@v1.23.1/consumer_group.go"

that's the command I ran from the monorepo that we have at my company.

After 30s I get

check: timed out waiting for results from file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/%21shopify/sarama@v1.23.1/consumer_group.go

OTOH when I run this from any other place e.g. home directory I get:

2019/09/16 20:06:20 Info:2019/09/16 20:06:20 Build info
----------
version v0.1.5-cmd.gopls, built in $GOPATH mode

Go info
-------
go version go1.13 darwin/amd64

GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/pmalek/Library/Caches/go-build"
GOENV="/Users/pmalek/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/pmalek/.gvm/pkgsets/go1.13/global"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/pmalek/.gvm/gos/go1.13"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/pmalek/.gvm/gos/go1.13/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/zy/lzyp__pd7vx6762s5jcgkkl80000gn/T/go-build397397354=/tmp/go-build -gno-record-gcc-switches -fno-common"
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 42.541541ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "env" "GOMOD", stderr: <<>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 43.621364ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "list" "-m" "-json" "all", stderr: <<go list -m: not using modules
>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 46.941134ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "builtin", stderr: <<>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 32.64788ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "env" "GOPATH", stderr: <<>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 37.136888ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "env" "GOMOD", stderr: <<>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 37.076749ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "list" "-m" "-json" "all", stderr: <<go list -m: not using modules
>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 25.366871ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "env" "GOPATH", stderr: <<>>
2019/09/16 20:06:20 Info:2019/09/16 20:06:20 27.865668ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1", stderr: <<>>
2019/09/16 20:06:21 Info:2019/09/16 20:06:21 147.452712ms for GOROOT=/Users/pmalek/.gvm/gos/go1.13 GOPATH=/Users/pmalek/.gvm/pkgsets/go1.13/global GO111MODULE= PWD=/Users/pmalek go "list" "-e" "-json" "-compiled=true" "-test=true" "-export=false" "-deps=true" "-find=false" "--" "/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go", stderr: <<>>
2019/09/16 20:06:21 Info:2019/09/16 20:06:21 go/packages.Load
	packages = 1
2019/09/16 20:06:21 Info:2019/09/16 20:06:21 go/packages.Load
	package = command-line-arguments
	files = [/Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/!shopify/sarama@v1.23.1/consumer_group.go]
check: timed out waiting for results from file:///Users/pmalek/.gvm/pkgsets/go1.13/global/pkg/mod/github.com/%21shopify/sarama@v1.23.1/consumer_group.go

@stamblerre
Copy link
Contributor

I think you ran it from the correct directory in your previous comment--you have to run it from the root of the module, otherwise gopls will not be able to determine the module root. Do you remember how long it hung when you first ran it / can you try again and wait the full 30 seconds?

@pmalek
Copy link
Author

pmalek commented Sep 16, 2019

Correct, the first invocation was from the root of the module.

The log that I've attached (actually both) are printed almost immediately (let's say it takes a second) and then it hungs for the remainder of 30s.

gopls -rpc.trace -v check   3.52s user 1.99s system 18% cpu 30.341 total

I've tried sending sending a QUIT signal to get the stack trace and here it is (if that's helpful):

SIGQUIT: quit
PC=0x7fff65ad186a m=0 sigcode=0

goroutine 0 [idle]:
runtime.notetsleepg(0x1c3f280, 0x6d29b2b58, 0x0)
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/lock_sema.go:286 +0x41 fp=0xc000059760 sp=0xc000059720 pc=0x100cde1
runtime.timerproc(0x1c3f260)
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/time.go:311 +0x2f1 fp=0xc0000597d8 sp=0xc000059760 pc=0x104fd91
runtime.goexit()
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000597e0 sp=0xc0000597d8 pc=0x105fc01
created by runtime.(*timersBucket).addtimerLocked
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/time.go:169 +0x10e

goroutine 7 [syscall]:
runtime.notetsleepg(0x1c3f280, 0x6d29b2b58, 0x0)
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/lock_sema.go:286 +0x41 fp=0xc000059760 sp=0xc000059720 pc=0x100cde1
runtime.timerproc(0x1c3f260)
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/time.go:311 +0x2f1 fp=0xc0000597d8 sp=0xc000059760 pc=0x104fd91
runtime.goexit()
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/asm_amd64.s:1357 +0x1 fp=0xc0000597e0 sp=0xc0000597d8 pc=0x105fc01
created by runtime.(*timersBucket).addtimerLocked
        /Users/pmalek/.gvm/gos/go1.13/src/runtime/time.go:169 +0x10e

goroutine 1 [select]:
golang.org/x/tools/internal/lsp/cmd.(*check).Run(0xc0000c02c0, 0x18119e0, 0xc000028098, 0xc0000dc040, 0x1, 0x1, 0x0, 0x0)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/lsp/cmd/check.go:61 +0x398
golang.org/x/tools/internal/tool.Main.func2(0x0, 0x1814560, 0xc0000c02c0, 0x18119e0, 0xc000028098, 0xc000232b40, 0x0, 0x0)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/tool/tool.go:130 +0xda
golang.org/x/tools/internal/tool.Main(0x18119e0, 0xc000028098, 0x1814560, 0xc0000c02c0, 0xc0000dc040, 0x1, 0x1)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/tool/tool.go:131 +0x241
golang.org/x/tools/internal/lsp/cmd.(*Application).Run(0xc000238900, 0x18119e0, 0xc000028098, 0xc0000dc040, 0x2, 0x1, 0x9, 0x199)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/lsp/cmd/cmd.go:128 +0x4ab
golang.org/x/tools/internal/tool.Main.func2(0xc000238900, 0x18144a0, 0xc000238900, 0x18119e0, 0xc000028098, 0xc000232ae0, 0x0, 0x0)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/tool/tool.go:130 +0xda
golang.org/x/tools/internal/tool.Main(0x18119e0, 0xc000028098, 0x18144a0, 0xc000238900, 0xc0000dc010, 0x4, 0x4)
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/tool/tool.go:131 +0x241
main.main()
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/cmd/gopls/main.go:22 +0x12e

goroutine 35 [chan receive]:
golang.org/x/tools/internal/telemetry/stats.init.0.func1()
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/telemetry/stats/worker.go:20 +0x5f
created by golang.org/x/tools/internal/telemetry/stats.init.0
        /Users/pmalek/.gvm/pkgsets/go1.13/global/src/golang.org/x/tools/internal/telemetry/stats/worker.go:19 +0x35

rax    0x104
rbx    0x21500
rcx    0x7ffeefbff108
rdx    0x21500
rdi    0x1c3c048
rsi    0x2160100021700
rbp    0x7ffeefbff190
rsp    0x7ffeefbff108
r8     0x0
r9     0xa0
r10    0x0
r11    0x246
r12    0x1c3c048
r13    0x16
r14    0x2160100021700
r15    0x21700
rip    0x7fff65ad186a
rflags 0x247
cs     0x7
fs     0x0
gs     0x0

@stamblerre
Copy link
Contributor

And if you open your editor at the module root, gopls doesn't work at all?

@pmalekn
Copy link

pmalekn commented Sep 16, 2019

It works, although sometimes it has problems (nothing specific - the problem in the issue description was one of them)

@stamblerre
Copy link
Contributor

Hm, ok, my guess is that the error in the case of the command timing out is an issue with the gopls check command. It's mostly useful only for debugging anyway. I'm thinking that if the root of your monorepo is a module, there may be some issue that we didn't expect with a lot of files or something. We should definitely investigate it further, but it's probably not a high priority.

But if you are seeing issue with gopls in your editor, please do file them. I think the issue you originally filed is fixed at master.

@pmalek
Copy link
Author

pmalek commented Sep 19, 2019

I agree the original issue is resolved. I'll open a new open in case of any further problems

@pmalek pmalek closed this as completed Sep 19, 2019
@golang golang locked and limited conversation to collaborators Sep 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge gopls Issues related to the Go language server, gopls. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

5 participants