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: add a setting not to download modules #39264

Closed
kzhui125 opened this issue May 26, 2020 · 6 comments
Closed

x/tools/gopls: add a setting not to download modules #39264

kzhui125 opened this issue May 26, 2020 · 6 comments

Comments

@kzhui125
Copy link

@kzhui125 kzhui125 commented May 26, 2020

I am using VSCode with gopls. yesterday it get stuck.
here are the logs:

gopls logs [Info - 7:14:41 PM] 2020/05/26 19:14:41 Build info ---------- golang.org/x/tools/gopls 0.4.1 golang.org/x/tools/gopls@v0.4.1 h1:0e3BPxGV4B3cd0zdMuccwW72SgmHp92lAjOyxX/ScAw= github.com/BurntSushi/toml@v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= github.com/sergi/go-diff@v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= golang.org/x/mod@v0.2.0 h1:KU7oHjnv3XNWfa5COkzUifxZmxp1TyI7ImMXqFxLwvQ= golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY= golang.org/x/tools@v0.0.0-20200513154647-78b527d18275 h1:e7nYe9s94RHunFJ7b+mmPxiQMOKMVSqYASToWb1EcHs= golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= honnef.co/go/tools@v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U= mvdan.cc/xurls/v2@v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=

Go info

go version go1.14 darwin/amd64

[Info - 7:14:41 PM] 2020/05/26 19:14:41 go env for /Users/zm/Documents/repos/zrepos/gotest
(valid build configuration = true)
(build flags: [-modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod])
GO111MODULE=""
GOARCH="amd64"
GOBIN="/Users/zm/go/bin"
GOCACHE="/Users/zm/Library/Caches/go-build"
GOENV="/Users/zm/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/zm/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.14/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.14/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/zm/Documents/repos/zrepos/gotest/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/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go-build295943651=/tmp/go-build -gno-record-gcc-switches -fno-common"

[Info - 7:14:42 PM] 2020/05/26 19:14:42 go/packages.Load
snapshot=0
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[./... builtin]
packages=3

[Error - 7:15:12 PM] 2020/05/26 19:15:12 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 7:15:12 PM] 2020/05/26 19:15:12 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 7:21:45 PM] Request textDocument/definition failed.
Message: no identifier found
Code: 0
[Info - 7:22:15 PM] 2020/05/26 19:22:15 background imports cache refresh starting

[Info - 7:22:15 PM] 2020/05/26 19:22:15 background refresh finished after 256.452772ms

[Error - 11:43:45 PM] 2020/05/26 23:43:45 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:45 PM] 2020/05/26 23:43:45 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=2
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:45 PM] 2020/05/26 23:43:45 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:45 PM] 2020/05/26 23:43:45 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=2
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:45 PM] 2020/05/26 23:43:45 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:45 PM] 2020/05/26 23:43:45 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=2
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:45 PM] 2020/05/26 23:43:45 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:45 PM] Request textDocument/foldingRange failed.
Message: successfully parsed but no token.File for file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go (/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:1:1: expected ';', found 'EOF' (and 2 more errors))
Code: 0
[Error - 11:43:45 PM] Request textDocument/codeLens failed.
Message: successfully parsed but no token.File for file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go (/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:1:1: expected ';', found 'EOF' (and 2 more errors))
Code: 0
[Error - 11:43:47 PM] 2020/05/26 23:43:47 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:47 PM] 2020/05/26 23:43:47 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=3
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:47 PM] 2020/05/26 23:43:47 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:47 PM] 2020/05/26 23:43:47 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:47 PM] 2020/05/26 23:43:47 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=4
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:47 PM] 2020/05/26 23:43:47 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:47 PM] 2020/05/26 23:43:47 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=4
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:47 PM] 2020/05/26 23:43:47 no completions found: getting file for Completion: err: exit status 1: stderr: build flag -modfile only valid when using modules

position={0 2}

[Error - 11:43:47 PM] Request textDocument/foldingRange failed.
Message: successfully parsed but no token.File for file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go (/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:1:1: expected 'package', found pk (and 2 more errors))
Code: 0
[Error - 11:43:47 PM] Request textDocument/codeLens failed.
Message: successfully parsed but no token.File for file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go (/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:1:1: expected 'package', found pk (and 2 more errors))
Code: 0
[Error - 11:43:47 PM] Request textDocument/codeAction failed.
Message: computing fix edits: successfully parsed but no token.File for file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go (/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:1:1: expected 'package', found pk (and 2 more errors))
Code: 0
[Error - 11:43:47 PM] 2020/05/26 23:43:47 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=5
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:47 PM] 2020/05/26 23:43:47 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:47 PM] 2020/05/26 23:43:47 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:47 PM] 2020/05/26 23:43:47 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=5
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:47 PM] 2020/05/26 23:43:47 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:48 PM] 2020/05/26 23:43:48 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=5
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:48 PM] 2020/05/26 23:43:48 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:48 PM] 2020/05/26 23:43:48 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=6
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:48 PM] 2020/05/26 23:43:48 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:48 PM] 2020/05/26 23:43:48 warning: diagnose go.mod: err: exit status 1: stderr: go: modules disabled by GO111MODULE=off; see 'go help modules'

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:48 PM] 2020/05/26 23:43:48 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=7
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:48 PM] 2020/05/26 23:43:48 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:48 PM] 2020/05/26 23:43:48 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:48 PM] 2020/05/26 23:43:48 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=7
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:48 PM] 2020/05/26 23:43:48 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:49 PM] 2020/05/26 23:43:49 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=7
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:49 PM] 2020/05/26 23:43:49 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:50 PM] 2020/05/26 23:43:50 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:50 PM] 2020/05/26 23:43:50 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=8
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:50 PM] 2020/05/26 23:43:50 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:51 PM] 2020/05/26 23:43:51 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:51 PM] 2020/05/26 23:43:51 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:51 PM] 2020/05/26 23:43:51 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:51 PM] 2020/05/26 23:43:51 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:51 PM] 2020/05/26 23:43:51 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:51 PM] 2020/05/26 23:43:51 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:51 PM] 2020/05/26 23:43:51 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:51 PM] 2020/05/26 23:43:51 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:52 PM] 2020/05/26 23:43:52 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:53 PM] 2020/05/26 23:43:53 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:53 PM] 2020/05/26 23:43:53 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:53 PM] 2020/05/26 23:43:53 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=9
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:53 PM] 2020/05/26 23:43:53 no highlight: getting file for Highlight: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:54 PM] 2020/05/26 23:43:54 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:54 PM] 2020/05/26 23:43:54 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=10
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:54 PM] 2020/05/26 23:43:54 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:54 PM] 2020/05/26 23:43:54 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:54 PM] 2020/05/26 23:43:54 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=11
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:54 PM] 2020/05/26 23:43:54 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:54 PM] Request textDocument/codeAction failed.
Message: computing fix edits: /Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:4:4: expected ';', found append (and 2 more errors)
Code: 0
[Error - 11:43:54 PM] 2020/05/26 23:43:54 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=12
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:54 PM] 2020/05/26 23:43:54 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:54 PM] 2020/05/26 23:43:54 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:54 PM] 2020/05/26 23:43:54 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=12
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:54 PM] 2020/05/26 23:43:54 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:55 PM] 2020/05/26 23:43:55 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=12
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:55 PM] 2020/05/26 23:43:55 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:55 PM] 2020/05/26 23:43:55 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:55 PM] 2020/05/26 23:43:55 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=13
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:55 PM] 2020/05/26 23:43:55 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:56 PM] 2020/05/26 23:43:56 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=15
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:56 PM] 2020/05/26 23:43:56 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:56 PM] 2020/05/26 23:43:56 warning: diagnose go.mod: err: exit status 1: stderr: go: modules disabled by GO111MODULE=off; see 'go help modules'

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:56 PM] 2020/05/26 23:43:56 warning: diagnose go.mod: err: exit status 1: stderr: go: modules disabled by GO111MODULE=off; see 'go help modules'

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:56 PM] 2020/05/26 23:43:56 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=16
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:56 PM] 2020/05/26 23:43:56 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:56 PM] 2020/05/26 23:43:56 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=17
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:56 PM] 2020/05/26 23:43:56 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:56 PM] 2020/05/26 23:43:56 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:56 PM] 2020/05/26 23:43:56 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=17
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:56 PM] 2020/05/26 23:43:56 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:56 PM] 2020/05/26 23:43:56 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=17
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:56 PM] 2020/05/26 23:43:56 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:57 PM] 2020/05/26 23:43:57 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:57 PM] 2020/05/26 23:43:57 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=18
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:57 PM] 2020/05/26 23:43:57 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:57 PM] 2020/05/26 23:43:57 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:57 PM] 2020/05/26 23:43:57 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=19
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:57 PM] 2020/05/26 23:43:57 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:57 PM] 2020/05/26 23:43:57 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=19
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:57 PM] 2020/05/26 23:43:57 no completions found: getting file for Completion: err: exit status 1: stderr: build flag -modfile only valid when using modules

position={8 2}

[Error - 11:43:57 PM] 2020/05/26 23:43:57 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=20
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=21
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=22
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 no completions found: getting file for Completion: err: exit status 1: stderr: build flag -modfile only valid when using modules

position={8 5}

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=22
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=23
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=23
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 no completions found: getting file for Completion: err: exit status 1: stderr: build flag -modfile only valid when using modules

position={8 6}

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=23
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:58 PM] 2020/05/26 23:43:58 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=24
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=25
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:58 PM] 2020/05/26 23:43:58 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:58 PM] 2020/05/26 23:43:58 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=25
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:58 PM] 2020/05/26 23:43:58 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:59 PM] 2020/05/26 23:43:59 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:59 PM] 2020/05/26 23:43:59 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=26
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:59 PM] 2020/05/26 23:43:59 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:59 PM] 2020/05/26 23:43:59 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:59 PM] 2020/05/26 23:43:59 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=27
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:59 PM] 2020/05/26 23:43:59 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:59 PM] 2020/05/26 23:43:59 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=27
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:59 PM] 2020/05/26 23:43:59 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:43:59 PM] 2020/05/26 23:43:59 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:59 PM] 2020/05/26 23:43:59 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:59 PM] 2020/05/26 23:43:59 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=28
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:59 PM] 2020/05/26 23:43:59 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:43:59 PM] 2020/05/26 23:43:59 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=29
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:43:59 PM] 2020/05/26 23:43:59 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:43:59 PM] 2020/05/26 23:43:59 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:00 PM] 2020/05/26 23:44:00 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=31
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:00 PM] 2020/05/26 23:44:00 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=32
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=33
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:00 PM] 2020/05/26 23:44:00 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=33
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=33
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:00 PM] 2020/05/26 23:44:00 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=36
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:00 PM] 2020/05/26 23:44:00 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:00 PM] 2020/05/26 23:44:00 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:01 PM] 2020/05/26 23:44:01 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=36
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:01 PM] 2020/05/26 23:44:01 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:01 PM] 2020/05/26 23:44:01 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=36
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:01 PM] 2020/05/26 23:44:01 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:02 PM] 2020/05/26 23:44:02 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:02 PM] 2020/05/26 23:44:02 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=37
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:02 PM] 2020/05/26 23:44:02 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:02 PM] 2020/05/26 23:44:02 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=39
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:02 PM] 2020/05/26 23:44:02 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:02 PM] 2020/05/26 23:44:02 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:02 PM] 2020/05/26 23:44:02 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:02 PM] 2020/05/26 23:44:02 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=40
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:02 PM] 2020/05/26 23:44:02 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:02 PM] 2020/05/26 23:44:02 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:02 PM] 2020/05/26 23:44:02 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=40
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Info - 11:44:02 PM] 2020/05/26 23:44:02 background imports cache refresh starting

[Info - 11:44:02 PM] 2020/05/26 23:44:02 background refresh finished after 55.994036ms

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=40
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:03 PM] 2020/05/26 23:44:03 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:03 PM] 2020/05/26 23:44:03 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=41
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=41
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 no completions found: getting file for Completion: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

position={10 2}

[Error - 11:44:03 PM] 2020/05/26 23:44:03 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=42
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:03 PM] 2020/05/26 23:44:03 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=43
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:03 PM] 2020/05/26 23:44:03 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:03 PM] 2020/05/26 23:44:03 no completions found: getting file for Completion: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

position={10 5}

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=44
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=44
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:03 PM] 2020/05/26 23:44:03 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=45
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:03 PM] 2020/05/26 23:44:03 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=45
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:03 PM] 2020/05/26 23:44:03 no completions found: getting file for Completion: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

position={10 6}

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=46
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:04 PM] 2020/05/26 23:44:04 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=46
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=46
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:04 PM] 2020/05/26 23:44:04 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=47
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:04 PM] 2020/05/26 23:44:04 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=48
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:04 PM] 2020/05/26 23:44:04 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:04 PM] 2020/05/26 23:44:04 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=49
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:04 PM] 2020/05/26 23:44:04 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:05 PM] 2020/05/26 23:44:05 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:05 PM] 2020/05/26 23:44:05 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=51
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:05 PM] 2020/05/26 23:44:05 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:05 PM] 2020/05/26 23:44:05 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:05 PM] 2020/05/26 23:44:05 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:05 PM] 2020/05/26 23:44:05 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=52
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:05 PM] 2020/05/26 23:44:05 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:05 PM] 2020/05/26 23:44:05 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=52
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:05 PM] 2020/05/26 23:44:05 failed to compute document links: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:05 PM] 2020/05/26 23:44:05 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=53
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:05 PM] 2020/05/26 23:44:05 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:05 PM] 2020/05/26 23:44:05 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:05 PM] 2020/05/26 23:44:05 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=53
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:05 PM] 2020/05/26 23:44:05 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:05 PM] 2020/05/26 23:44:05 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:06 PM] 2020/05/26 23:44:06 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=54
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:06 PM] 2020/05/26 23:44:06 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:06 PM] 2020/05/26 23:44:06 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:06 PM] 2020/05/26 23:44:06 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=55
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:06 PM] 2020/05/26 23:44:06 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:06 PM] 2020/05/26 23:44:06 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=56
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:06 PM] 2020/05/26 23:44:06 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:06 PM] 2020/05/26 23:44:06 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:06 PM] 2020/05/26 23:44:06 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=56
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:06 PM] 2020/05/26 23:44:06 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:06 PM] 2020/05/26 23:44:06 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=56
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:06 PM] 2020/05/26 23:44:06 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:07 PM] 2020/05/26 23:44:07 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=57
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:07 PM] 2020/05/26 23:44:07 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:07 PM] 2020/05/26 23:44:07 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:08 PM] 2020/05/26 23:44:08 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:08 PM] 2020/05/26 23:44:08 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=58
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:08 PM] 2020/05/26 23:44:08 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:08 PM] 2020/05/26 23:44:08 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=58
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:08 PM] 2020/05/26 23:44:08 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:08 PM] 2020/05/26 23:44:08 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=58
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:08 PM] 2020/05/26 23:44:08 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:10 PM] 2020/05/26 23:44:10 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=58
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:10 PM] 2020/05/26 23:44:10 no highlight: getting file for Highlight: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:10 PM] Request textDocument/definition failed.
Message: getting file for Identifier: err: exit status 1: stderr: build flag -modfile only valid when using modules

Code: 0
[Error - 11:44:10 PM] 2020/05/26 23:44:10 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=58
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:11 PM] 2020/05/26 23:44:11 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:11 PM] 2020/05/26 23:44:11 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=59
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:11 PM] 2020/05/26 23:44:11 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:11 PM] 2020/05/26 23:44:11 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:11 PM] 2020/05/26 23:44:11 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:11 PM] 2020/05/26 23:44:11 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=60
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:11 PM] Request textDocument/definition failed.
Message: getting file for Identifier: err: exit status 1: stderr: build flag -modfile only valid when using modules

Code: 0
[Error - 11:44:11 PM] 2020/05/26 23:44:11 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=60
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:13 PM] 2020/05/26 23:44:13 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:13 PM] 2020/05/26 23:44:13 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=61
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:13 PM] 2020/05/26 23:44:13 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:13 PM] 2020/05/26 23:44:13 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=62
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:13 PM] 2020/05/26 23:44:13 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:13 PM] 2020/05/26 23:44:13 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:13 PM] 2020/05/26 23:44:13 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=62
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:13 PM] 2020/05/26 23:44:13 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:13 PM] 2020/05/26 23:44:13 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:13 PM] 2020/05/26 23:44:13 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=63
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:13 PM] 2020/05/26 23:44:13 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=64
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] 2020/05/26 23:44:14 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=64
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=64
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:14 PM] 2020/05/26 23:44:14 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=65
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=65
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 no completions found: getting file for Completion: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

position={11 2}

[Error - 11:44:14 PM] 2020/05/26 23:44:14 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=66
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] 2020/05/26 23:44:14 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=67
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] 2020/05/26 23:44:14 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=68
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 no completions found: getting file for Completion: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

position={11 5}

[Error - 11:44:14 PM] 2020/05/26 23:44:14 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=68
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:14 PM] 2020/05/26 23:44:14 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:14 PM] Request textDocument/codeAction failed.
Message: computing fix edits: /Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go:13:1: expected selector or type assertion, found '}' (and 2 more errors)
Code: 0
[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=69
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:15 PM] 2020/05/26 23:44:15 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:15 PM] 2020/05/26 23:44:15 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=69
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=69
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:15 PM] 2020/05/26 23:44:15 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=70
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:15 PM] 2020/05/26 23:44:15 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=71
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:15 PM] 2020/05/26 23:44:15 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=72
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:15 PM] 2020/05/26 23:44:15 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:15 PM] 2020/05/26 23:44:15 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=73
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:15 PM] 2020/05/26 23:44:15 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=74
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:16 PM] 2020/05/26 23:44:16 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=74
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:16 PM] 2020/05/26 23:44:16 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=75
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=75
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 failed to compute document links: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=77
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:16 PM] 2020/05/26 23:44:16 warning: diagnose go.mod: err: exit status 1: stderr: go: modules disabled by GO111MODULE=off; see 'go help modules'

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=78
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:16 PM] 2020/05/26 23:44:16 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=78
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:16 PM] 2020/05/26 23:44:16 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:16 PM] 2020/05/26 23:44:16 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

snapshot=79
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:16 PM] 2020/05/26 23:44:16 reloadOrphanedFiles: failed to load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/_6/z1bzbqfn1h9byyv41hn2qgvc0000gn/T/go.gotest.258651867.mod -- os]: exit status 1: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:17 PM] 2020/05/26 23:44:17 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=80
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:17 PM] 2020/05/26 23:44:17 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=80
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:17 PM] 2020/05/26 23:44:17 DocumentSymbols failed: getting file for DocumentSymbols: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:17 PM] 2020/05/26 23:44:17 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:17 PM] 2020/05/26 23:44:17 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:17 PM] 2020/05/26 23:44:17 failed to compute document links: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:17 PM] 2020/05/26 23:44:17 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=80
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:18 PM] 2020/05/26 23:44:18 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:18 PM] 2020/05/26 23:44:18 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=81
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:18 PM] 2020/05/26 23:44:18 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:18 PM] 2020/05/26 23:44:18 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:18 PM] 2020/05/26 23:44:18 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=82
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:18 PM] 2020/05/26 23:44:18 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Error - 11:44:20 PM] 2020/05/26 23:44:20 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=82
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:20 PM] 2020/05/26 23:44:20 no highlight: getting file for Highlight: err: exit status 1: stderr: build flag -modfile only valid when using modules

URI=file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go

[Error - 11:44:21 PM] 2020/05/26 23:44:21 warning: diagnose go.mod: err: exit status 1: stderr: go: downloading gopkg.in/yaml.v2 v2.3.0
gtest/cmd/test1 imports
github.com/goproxy/goproxy tested by
github.com/goproxy/goproxy.test imports
github.com/stretchr/testify/assert imports
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

directory=/Users/zm/Documents/repos/zrepos/gotest

[Error - 11:44:21 PM] 2020/05/26 23:44:21 go/packages.Load: err: exit status 1: stderr: build flag -modfile only valid when using modules

snapshot=83
directory=/Users/zm/Documents/repos/zrepos/gotest
query=[file=/Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]
packages=0

[Error - 11:44:21 PM] 2020/05/26 23:44:21 reloadOrphanedFiles: failed to load: err: exit status 1: stderr: build flag -modfile only valid when using modules

query=[file:///Users/zm/Documents/repos/zrepos/gotest/cmd/test2/main.go]

[Info - 11:44:34 PM] 2020/05/26 23:44:34 background imports cache refresh starting

[Info - 11:44:34 PM] 2020/05/26 23:44:34 background refresh finished after 21.560708ms

I see the errors in the log:
gopkg.in/yaml.v2: gopkg.in/yaml.v2@v2.3.0: Get "https://proxy.golang.org/gopkg.in/yaml.v2/@v/v2.3.0.zip": dial tcp 216.58.200.49:443: i/o timeout

I think gopls shouldn't download packages.

It should be added to gopls install guide. Since sometimes the user is offline / or behind proxy. (or need to set GOPROXY to download go packages)

@gopherbot
Copy link

@gopherbot gopherbot commented May 26, 2020

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

@gopherbot gopherbot added this to the Unreleased milestone May 26, 2020
@heschik
Copy link
Contributor

@heschik heschik commented May 27, 2020

gopls needs all of your project's dependencies to be available, even if that means downloading them. It sounds like you need to set a proxy in go.toolsEnvVars.

@kzhui125
Copy link
Author

@kzhui125 kzhui125 commented May 28, 2020

The user experience is bad, I didn't know what happened until I see the logs.

It just stop working (code completion etc).

No message box tell me install go package failed, or tell me let me install by myself.

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented May 28, 2020

Thanks for the report - I think this is a duplicate of #38383 though. Did setting GOPRIVATE in go.toolsEnvVars fix the issue?

@kzhui125
Copy link
Author

@kzhui125 kzhui125 commented May 29, 2020

@stamblerre I think set GOPROXY fix this issue in my case.

But I think a setting can be add to gopls (not download packages automatically)

When using VSCode to write python codes with pylint, if you don't have a package installed, you will get a error: (Unable to import 'packagexxx' pylint(import-error))

and VSCode -python extension will not download packages for you.

@kzhui125 kzhui125 changed the title x/tools/gopls: don't download modules automatically x/tools/gopls: add a setting not to download modules May 29, 2020
@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented May 29, 2020

Unfortunately, that's not really possible in the case of gopls. The go command downloads modules, so when you compile or test your program, you will get this behavior. We can certainly make it more user friendly to set up GOPRIVATE and GOPROXY correctly, but we won't be able to change this fundamental behavior of the go command (which gopls requires to learn information about your module). Sorry about that. I'll close this issue in favor of #38383.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.