Skip to content

Instantly share code, notes, and snippets.

@jhchabran
Created January 20, 2022 14:04
Show Gist options
  • Save jhchabran/b4fb18914dffd6c0b2ad8f54096658de to your computer and use it in GitHub Desktop.
Save jhchabran/b4fb18914dffd6c0b2ad8f54096658de to your computer and use it in GitHub Desktop.
~/work/sourcegraph jh/yarn-sleep $ gopls -rpc.trace -v check enterprise/cmd/frontend/internal/codeintel/init.go
2022/01/20 15:03:22 Info:2022/01/20 15:03:22 go env for /Users/tech/work/sourcegraph
(root /Users/tech/work/sourcegraph)
(go version go version go1.17.5 darwin/arm64)
(valid build configuration = true)
(build flags: [])
GOCACHE=/Users/tech/Library/Caches/go-build
GO111MODULE=
GOMOD=/Users/tech/work/sourcegraph/go.mod
GOMODCACHE=/Users/tech/.asdf/installs/golang/1.17.5/packages/pkg/mod
GONOPROXY=
GONOSUMDB=
GOPATH=/Users/tech/.asdf/installs/golang/1.17.5/packages
GOPRIVATE=
GOFLAGS=
GOINSECURE=
GOSUMDB=sum.golang.org
GOPROXY=https://proxy.golang.org,direct
GOROOT=/Users/tech/.asdf/installs/golang/1.17.5/go
2022/01/20 15:03:31 Info:2022/01/20 15:03:31 go/packages.Load
snapshot=0
directory=/Users/tech/work/sourcegraph
query=[builtin github.com/sourcegraph/sourcegraph/...]
packages=949
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[memRecordCycle:true pageBits:true]
package="runtime"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[safeWrapper:true unsafeWrap:true]
package="github.com/cockroachdb/redact/internal/redact"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[pathOptions:true]
package="k8s.io/apimachinery/pkg/util/validation/field"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 falling back to safe trimming due to type errors: [/Users/tech/.asdf/installs/golang/1.17.5/go/src/internal/buildcfg/exp.go:24:38: 2-valued (func() (goexperiment.Flags, goexperiment.Flags) literal)() (value of type (goexperiment.Flags, goexperiment.Flags)) where single value is expected] or still-missing identifiers: map[]
package="internal/buildcfg"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[config:true]
package="gopkg.in/alexcesaro/statsd.v2"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 falling back to safe trimming due to type errors: [/Users/tech/.asdf/installs/golang/1.17.5/go/src/os/user/cgo_lookup_unix.go:200:19: int not declared by package C /Users/tech/.asdf/installs/golang/1.17.5/go/src/os/user/cgo_lookup_unix.go:203:16: bufferKind(C._SC_GETPW_R_SIZE_MAX) (value of type bufferKind) is not constant /Users/tech/.asdf/installs/golang/1.17.5/go/src/os/user/cgo_lookup_unix.go:204:16: bufferKind(C._SC_GETGR_R_SIZE_MAX) (value of type bufferKind) is not constant] or still-missing identifiers: map[]
package="os/user"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[options:true]
package="vendor/golang.org/x/text/unicode/bidi"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[options:true]
package="golang.org/x/text/unicode/bidi"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[yaml_style_t:true]
package="gopkg.in/yaml.v2"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[yaml_style_t:true]
package="gopkg.in/yaml.v3"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[matcher:true]
package="golang.org/x/text/language"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[parser:true]
package="golang.org/x/net/html"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[cardinality:true kind:true syntax:true value:true]
package="google.golang.org/protobuf/reflect/protoreflect"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[recordOptions:true]
package="go.opencensus.io/stats"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[markedString:true]
package="github.com/sourcegraph/go-lsp"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[rounder:true]
package="gopkg.in/inf.v0"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[decoderOptions:true encoderOptions:true]
package="github.com/klauspost/compress/zstd"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[netIPSocketLine:true]
package="github.com/prometheus/procfs"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[unknownFieldsA:true]
package="google.golang.org/protobuf/internal/impl"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[pguint32:true]
package="github.com/jackc/pgtype"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[debugMethod:true]
package="net/rpc"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[clientOptions:true mwOptions:true]
package="github.com/opentracing-contrib/go-stdlib/nethttp"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[debugMethod:true]
package="github.com/keegancsmith/rpc"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[getCredentialsAPIClient:true]
package="github.com/aws/aws-sdk-go-v2/credentials/endpointcreds"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[service:true]
package="github.com/google/go-github/github"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[service:true]
package="github.com/google/go-github/v28/github"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[connector:true]
package="github.com/jackc/pgx/v4/stdlib"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[service:true]
package="github.com/google/go-github/v41/github"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[sharedInformerFactory:true]
package="k8s.io/client-go/informers"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[message:true]
package="internal/profile"
2022/01/20 15:03:33 Info:2022/01/20 15:03:33 discovered missing identifiers: map[message:true]
package="github.com/google/pprof/profile"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment