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: docs folder in workspace causes gopls slowdown #42250

Open
andig opened this issue Oct 21, 2020 · 27 comments
Open

x/tools/gopls: docs folder in workspace causes gopls slowdown #42250

andig opened this issue Oct 21, 2020 · 27 comments

Comments

@andig
Copy link
Contributor

@andig andig commented Oct 21, 2020

What version of Go, VS Code & VS Code Go extension are you using?

  • Run go version to get version of Go
    • go version go1.15.3 darwin/amd64
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders
    • 1.50.1
      d2e414d9e4239a252d1ab117bd7067f125afd80a
      x64
  • Check your installed extensions to get the version of the VS Code Go extension
    • v0.17.2
  • Run go env to get the go development environment details
    • GO111MODULE=""
      GOARCH="amd64"
      GOBIN=""
      GOCACHE="/Users/andig/Library/Caches/go-build"
      GOENV="/Users/andig/Library/Application Support/go/env"
      GOEXE=""
      GOFLAGS=""
      GOHOSTARCH="amd64"
      GOHOSTOS="darwin"
      GOINSECURE=""
      GOMODCACHE="/Users/andig/go/pkg/mod"
      GONOPROXY=""
      GONOSUMDB=""
      GOOS="darwin"
      GOPATH="/Users/andig/go"
      GOPRIVATE=""
      GOPROXY="https://proxy.golang.org,direct"
      GOROOT="/usr/local/Cellar/go/1.15.3/libexec"
      GOSUMDB="sum.golang.org"
      GOTMPDIR=""
      GOTOOLDIR="/usr/local/Cellar/go/1.15.3/libexec/pkg/tool/darwin_amd64"
      GCCGO="gccgo"
      AR="ar"
      CC="clang"
      CXX="clang++"
      CGO_ENABLED="1"
      GOMOD="/Users/andig/htdocs/ecr/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/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go-build602777755=/tmp/go-build -gno-record-gcc-switches -fno-common"

Share the Go related settings you have added/edited

Run Preferences: Open Settings (JSON) command to open your settings.json file.
Share all the settings with the go. or ["go"] or gopls prefixes.

"go.gopath": "~/go",
"go.useLanguageServer": true,
"go.languageServerFlags": [
    "serve",
    "-rpc.trace",
    "--debug=localhost:6060"
]

Describe the bug

Saving and re-checking a file after takes forever, effectively rendering the extension useless:

Screenshot 2020-10-21 at 09 39 23

Steps to reproduce the behavior:

  1. Modify go file
  2. Save go file

Does not happen every time, but once it happens for a file I need to restart vscode or saving that file no longer completes.

Update

Console shows that go list occupies the CPU basically forever:

go list -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.793491533.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.793491533.mod -- ./... builtin

This is the actual go list output run in module root with the parameters above:

Go list output ``` { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/unsafe", "ImportPath": "unsafe", "Name": "unsafe", "Doc": "Package unsafe contains operations that step around the type safety of Go programs.", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "unsafe.go" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/unsafeheader", "ImportPath": "internal/unsafeheader", "Name": "unsafeheader", "Doc": "Package unsafeheader contains header declarations for the Go runtime's slice and string implementations.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/unsafeheader.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "unsafeheader.go" ], "CompiledGoFiles": [ "unsafeheader.go" ], "Imports": [ "unsafe" ], "Deps": [ "unsafe" ], "XTestGoFiles": [ "unsafeheader_test.go" ], "XTestImports": [ "bytes", "internal/unsafeheader", "reflect", "testing", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/cpu", "ImportPath": "internal/cpu", "Name": "cpu", "Doc": "Package cpu implements processor feature detection used by the Go standard library.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/cpu.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "cpu.go", "cpu_amd64.go", "cpu_x86.go" ], "CompiledGoFiles": [ "cpu.go", "cpu_amd64.go", "cpu_x86.go", "cpu_x86.s" ], "IgnoredGoFiles": [ "cpu_386.go", "cpu_arm.go", "cpu_arm64.go", "cpu_mips.go", "cpu_mips64x.go", "cpu_mipsle.go", "cpu_no_init.go", "cpu_ppc64x.go", "cpu_riscv64.go", "cpu_s390x.go", "cpu_s390x_test.go", "cpu_wasm.go" ], "SFiles": [ "cpu_x86.s" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "cpu_test.go", "cpu_x86_test.go" ], "XTestImports": [ "internal/cpu", "internal/testenv", "os", "os/exec", "runtime", "strings", "testing" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/bytealg", "ImportPath": "internal/bytealg", "Name": "bytealg", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/bytealg.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "bytealg.go", "compare_native.go", "count_native.go", "equal_generic.go", "equal_native.go", "index_amd64.go", "index_native.go", "indexbyte_native.go" ], "CompiledGoFiles": [ "bytealg.go", "compare_native.go", "count_native.go", "equal_generic.go", "equal_native.go", "index_amd64.go", "index_native.go", "indexbyte_native.go", "compare_amd64.s", "count_amd64.s", "equal_amd64.s", "index_amd64.s", "indexbyte_amd64.s" ], "IgnoredGoFiles": [ "compare_generic.go", "count_generic.go", "index_arm64.go", "index_generic.go", "index_s390x.go", "indexbyte_generic.go" ], "SFiles": [ "compare_amd64.s", "count_amd64.s", "equal_amd64.s", "index_amd64.s", "indexbyte_amd64.s" ], "Imports": [ "internal/cpu", "unsafe" ], "Deps": [ "internal/cpu", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/runtime/internal/atomic", "ImportPath": "runtime/internal/atomic", "Name": "atomic", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/runtime/internal/atomic.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "atomic_amd64.go", "stubs.go" ], "CompiledGoFiles": [ "atomic_amd64.go", "stubs.go", "asm_amd64.s" ], "IgnoredGoFiles": [ "atomic_386.go", "atomic_arm.go", "atomic_arm64.go", "atomic_mips64x.go", "atomic_mipsx.go", "atomic_ppc64x.go", "atomic_riscv64.go", "atomic_s390x.go", "atomic_wasm.go" ], "SFiles": [ "asm_amd64.s" ], "Imports": [ "unsafe" ], "Deps": [ "unsafe" ], "XTestGoFiles": [ "atomic_test.go", "bench_test.go" ], "XTestImports": [ "runtime", "runtime/internal/atomic", "runtime/internal/sys", "testing", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/runtime/internal/sys", "ImportPath": "runtime/internal/sys", "Name": "sys", "Doc": "package sys contains system- and configuration- and architecture-specific constants used by the runtime.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/runtime/internal/sys.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "arch.go", "arch_amd64.go", "intrinsics.go", "intrinsics_common.go", "stubs.go", "sys.go", "zgoarch_amd64.go", "zgoos_darwin.go", "zversion.go" ], "CompiledGoFiles": [ "arch.go", "arch_amd64.go", "intrinsics.go", "intrinsics_common.go", "stubs.go", "sys.go", "zgoarch_amd64.go", "zgoos_darwin.go", "zversion.go" ], "IgnoredGoFiles": [ "arch_386.go", "arch_arm.go", "arch_arm64.go", "arch_mips.go", "arch_mips64.go", "arch_mips64le.go", "arch_mipsle.go", "arch_ppc64.go", "arch_ppc64le.go", "arch_riscv64.go", "arch_s390x.go", "arch_wasm.go", "gengoos.go", "intrinsics_stubs.go", "zgoarch_386.go", "zgoarch_arm.go", "zgoarch_arm64.go", "zgoarch_arm64be.go", "zgoarch_armbe.go", "zgoarch_mips.go", "zgoarch_mips64.go", "zgoarch_mips64le.go", "zgoarch_mips64p32.go", "zgoarch_mips64p32le.go", "zgoarch_mipsle.go", "zgoarch_ppc.go", "zgoarch_ppc64.go", "zgoarch_ppc64le.go", "zgoarch_riscv.go", "zgoarch_riscv64.go", "zgoarch_s390.go", "zgoarch_s390x.go", "zgoarch_sparc.go", "zgoarch_sparc64.go", "zgoarch_wasm.go", "zgoos_aix.go", "zgoos_android.go", "zgoos_dragonfly.go", "zgoos_freebsd.go", "zgoos_hurd.go", "zgoos_illumos.go", "zgoos_js.go", "zgoos_linux.go", "zgoos_netbsd.go", "zgoos_openbsd.go", "zgoos_plan9.go", "zgoos_solaris.go", "zgoos_windows.go", "zgoos_zos.go" ], "XTestGoFiles": [ "intrinsics_test.go" ], "XTestImports": [ "runtime/internal/sys", "testing" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/runtime/internal/math", "ImportPath": "runtime/internal/math", "Name": "math", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/runtime/internal/math.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "math.go" ], "CompiledGoFiles": [ "math.go" ], "Imports": [ "runtime/internal/sys" ], "Deps": [ "runtime/internal/sys" ], "XTestGoFiles": [ "math_test.go" ], "XTestImports": [ "runtime/internal/math", "testing" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/runtime", "ImportPath": "runtime", "Name": "runtime", "Doc": "Package runtime contains operations that interact with Go's runtime system, such as functions to control goroutines.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/runtime.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "alg.go", "atomic_pointer.go", "cgo.go", "cgocall.go", "cgocallback.go", "cgocheck.go", "chan.go", "checkptr.go", "compiler.go", "complex.go", "cpuflags.go", "cpuflags_amd64.go", "cpuprof.go", "cputicks.go", "debug.go", "debugcall.go", "debuglog.go", "debuglog_off.go", "defs_darwin_amd64.go", "env_posix.go", "error.go", "extern.go", "fastlog2.go", "fastlog2table.go", "float.go", "hash64.go", "heapdump.go", "iface.go", "lfstack.go", "lfstack_64bit.go", "lock_sema.go", "lockrank.go", "lockrank_off.go", "malloc.go", "map.go", "map_fast32.go", "map_fast64.go", "map_faststr.go", "mbarrier.go", "mbitmap.go", "mcache.go", "mcentral.go", "mem_darwin.go", "mfinal.go", "mfixalloc.go", "mgc.go", "mgcmark.go", "mgcscavenge.go", "mgcstack.go", "mgcsweep.go", "mgcsweepbuf.go", "mgcwork.go", "mheap.go", "mpagealloc.go", "mpagealloc_64bit.go", "mpagecache.go", "mpallocbits.go", "mprof.go", "mranges.go", "msan0.go", "msize.go", "mspanset.go", "mstats.go", "mwbbuf.go", "nbpipe_pipe.go", "netpoll.go", "netpoll_kqueue.go", "os_darwin.go", "os_nonopenbsd.go", "panic.go", "plugin.go", "preempt.go", "preempt_nonwindows.go", "print.go", "proc.go", "profbuf.go", "proflabel.go", "race0.go", "rdebug.go", "relax_stub.go", "runtime.go", "runtime1.go", "runtime2.go", "rwmutex.go", "select.go", "sema.go", "signal_amd64.go", "signal_darwin.go", "signal_darwin_amd64.go", "signal_unix.go", "sigqueue.go", "sizeclasses.go", "slice.go", "softfloat64.go", "stack.go", "string.go", "stubs.go", "stubs_amd64.go", "stubs_nonlinux.go", "symtab.go", "sys_darwin.go", "sys_nonppc64x.go", "sys_x86.go", "time.go", "time_nofake.go", "timestub.go", "trace.go", "traceback.go", "type.go", "typekind.go", "utf8.go", "vdso_in_none.go", "write_err.go" ], "CompiledGoFiles": [ "alg.go", "atomic_pointer.go", "cgo.go", "cgocall.go", "cgocallback.go", "cgocheck.go", "chan.go", "checkptr.go", "compiler.go", "complex.go", "cpuflags.go", "cpuflags_amd64.go", "cpuprof.go", "cputicks.go", "debug.go", "debugcall.go", "debuglog.go", "debuglog_off.go", "defs_darwin_amd64.go", "env_posix.go", "error.go", "extern.go", "fastlog2.go", "fastlog2table.go", "float.go", "hash64.go", "heapdump.go", "iface.go", "lfstack.go", "lfstack_64bit.go", "lock_sema.go", "lockrank.go", "lockrank_off.go", "malloc.go", "map.go", "map_fast32.go", "map_fast64.go", "map_faststr.go", "mbarrier.go", "mbitmap.go", "mcache.go", "mcentral.go", "mem_darwin.go", "mfinal.go", "mfixalloc.go", "mgc.go", "mgcmark.go", "mgcscavenge.go", "mgcstack.go", "mgcsweep.go", "mgcsweepbuf.go", "mgcwork.go", "mheap.go", "mpagealloc.go", "mpagealloc_64bit.go", "mpagecache.go", "mpallocbits.go", "mprof.go", "mranges.go", "msan0.go", "msize.go", "mspanset.go", "mstats.go", "mwbbuf.go", "nbpipe_pipe.go", "netpoll.go", "netpoll_kqueue.go", "os_darwin.go", "os_nonopenbsd.go", "panic.go", "plugin.go", "preempt.go", "preempt_nonwindows.go", "print.go", "proc.go", "profbuf.go", "proflabel.go", "race0.go", "rdebug.go", "relax_stub.go", "runtime.go", "runtime1.go", "runtime2.go", "rwmutex.go", "select.go", "sema.go", "signal_amd64.go", "signal_darwin.go", "signal_darwin_amd64.go", "signal_unix.go", "sigqueue.go", "sizeclasses.go", "slice.go", "softfloat64.go", "stack.go", "string.go", "stubs.go", "stubs_amd64.go", "stubs_nonlinux.go", "symtab.go", "sys_darwin.go", "sys_nonppc64x.go", "sys_x86.go", "time.go", "time_nofake.go", "timestub.go", "trace.go", "traceback.go", "type.go", "typekind.go", "utf8.go", "vdso_in_none.go", "write_err.go", "asm.s", "asm_amd64.s", "duff_amd64.s", "memclr_amd64.s", "memmove_amd64.s", "preempt_amd64.s", "rt0_darwin_amd64.s", "sys_darwin_amd64.s" ], "IgnoredGoFiles": [ "auxv_none.go", "cgo_mmap.go", "cgo_ppc64x.go", "cgo_sigaction.go", "conv_wasm_test.go", "crash_nonunix_test.go", "debug_test.go", "debuglog_on.go", "defs1_linux.go", "defs1_netbsd_386.go", "defs1_netbsd_amd64.go", "defs1_netbsd_arm.go", "defs1_netbsd_arm64.go", "defs1_solaris_amd64.go", "defs2_linux.go", "defs3_linux.go", "defs_aix.go", "defs_aix_ppc64.go", "defs_arm_linux.go", "defs_darwin.go", "defs_darwin_arm64.go", "defs_dragonfly.go", "defs_dragonfly_amd64.go", "defs_freebsd.go", "defs_freebsd_386.go", "defs_freebsd_amd64.go", "defs_freebsd_arm.go", "defs_freebsd_arm64.go", "defs_illumos_amd64.go", "defs_linux.go", "defs_linux_386.go", "defs_linux_amd64.go", "defs_linux_arm.go", "defs_linux_arm64.go", "defs_linux_mips64x.go", "defs_linux_mipsx.go", "defs_linux_ppc64.go", "defs_linux_ppc64le.go", "defs_linux_riscv64.go", "defs_linux_s390x.go", "defs_netbsd.go", "defs_netbsd_386.go", "defs_netbsd_amd64.go", "defs_netbsd_arm.go", "defs_openbsd.go", "defs_openbsd_386.go", "defs_openbsd_amd64.go", "defs_openbsd_arm.go", "defs_openbsd_arm64.go", "defs_plan9_386.go", "defs_plan9_amd64.go", "defs_plan9_arm.go", "defs_solaris.go", "defs_solaris_amd64.go", "defs_windows.go", "defs_windows_386.go", "defs_windows_amd64.go", "defs_windows_arm.go", "env_plan9.go", "export_aix_test.go", "export_arm_test.go", "export_debug_test.go", "export_futex_test.go", "export_linux_test.go", "export_solaris_test.go", "export_windows_test.go", "futex_test.go", "hash32.go", "lfstack_32bit.go", "libfuzzer.go", "lock_futex.go", "lock_js.go", "lockrank_on.go", "mem_aix.go", "mem_bsd.go", "mem_js.go", "mem_linux.go", "mem_plan9.go", "mem_windows.go", "memmove_linux_amd64_test.go", "mkduff.go", "mkfastlog2table.go", "mkpreempt.go", "mksizeclasses.go", "mmap.go", "mpagealloc_32bit.go", "msan.go", "nbpipe_fcntl_unix_test.go", "nbpipe_pipe2.go", "net_plan9.go", "netpoll_aix.go", "netpoll_epoll.go", "netpoll_fake.go", "netpoll_solaris.go", "netpoll_stub.go", "netpoll_windows.go", "norace_linux_test.go", "numcpu_freebsd_test.go", "os2_aix.go", "os2_freebsd.go", "os2_openbsd.go", "os2_plan9.go", "os2_solaris.go", "os3_plan9.go", "os3_solaris.go", "os_aix.go", "os_android.go", "os_darwin_arm64.go", "os_dragonfly.go", "os_freebsd.go", "os_freebsd2.go", "os_freebsd_amd64.go", "os_freebsd_arm.go", "os_freebsd_arm64.go", "os_freebsd_noauxv.go", "os_illumos.go", "os_js.go", "os_linux.go", "os_linux_arm.go", "os_linux_arm64.go", "os_linux_be64.go", "os_linux_generic.go", "os_linux_mips64x.go", "os_linux_mipsx.go", "os_linux_noauxv.go", "os_linux_novdso.go", "os_linux_ppc64x.go", "os_linux_riscv64.go", "os_linux_s390x.go", "os_linux_x86.go", "os_netbsd.go", "os_netbsd_386.go", "os_netbsd_amd64.go", "os_netbsd_arm.go", "os_netbsd_arm64.go", "os_only_solaris.go", "os_openbsd.go", "os_openbsd_arm.go", "os_openbsd_arm64.go", "os_plan9.go", "os_plan9_arm.go", "os_solaris.go", "os_windows.go", "os_windows_arm.go", "panic32.go", "race.go", "runtime_linux_test.go", "sigaction.go", "signal_386.go", "signal_aix_ppc64.go", "signal_arm.go", "signal_arm64.go", "signal_darwin_arm64.go", "signal_dragonfly.go", "signal_dragonfly_amd64.go", "signal_freebsd.go", "signal_freebsd_386.go", "signal_freebsd_amd64.go", "signal_freebsd_arm.go", "signal_freebsd_arm64.go", "signal_linux_386.go", "signal_linux_amd64.go", "signal_linux_arm.go", "signal_linux_arm64.go", "signal_linux_mips64x.go", "signal_linux_mipsx.go", "signal_linux_ppc64x.go", "signal_linux_riscv64.go", "signal_linux_s390x.go", "signal_mips64x.go", "signal_mipsx.go", "signal_netbsd.go", "signal_netbsd_386.go", "signal_netbsd_amd64.go", "signal_netbsd_arm.go", "signal_netbsd_arm64.go", "signal_openbsd.go", "signal_openbsd_386.go", "signal_openbsd_amd64.go", "signal_openbsd_arm.go", "signal_openbsd_arm64.go", "signal_plan9.go", "signal_ppc64x.go", "signal_riscv64.go", "signal_solaris.go", "signal_solaris_amd64.go", "signal_windows.go", "signal_windows_test.go", "sigqueue_note.go", "sigqueue_plan9.go", "sigtab_aix.go", "sigtab_linux_generic.go", "sigtab_linux_mipsx.go", "stubs2.go", "stubs3.go", "stubs32.go", "stubs_386.go", "stubs_arm.go", "stubs_arm64.go", "stubs_linux.go", "stubs_mips64x.go", "stubs_mipsx.go", "stubs_ppc64x.go", "stubs_s390x.go", "sys_arm.go", "sys_arm64.go", "sys_mips64x.go", "sys_mipsx.go", "sys_ppc64x.go", "sys_riscv64.go", "sys_s390x.go", "sys_wasm.go", "syscall2_solaris.go", "syscall_aix.go", "syscall_solaris.go", "syscall_windows.go", "syscall_windows_test.go", "time_fake.go", "timeasm.go", "timestub2.go", "vdso_elf32.go", "vdso_elf64.go", "vdso_freebsd.go", "vdso_freebsd_arm.go", "vdso_freebsd_arm64.go", "vdso_freebsd_x86.go", "vdso_linux.go", "vdso_linux_386.go", "vdso_linux_amd64.go", "vdso_linux_arm.go", "vdso_linux_arm64.go", "vdso_linux_mips64x.go", "vdso_linux_ppc64x.go", "vlop_arm_test.go", "vlrt.go", "wincallback.go", "write_err_android.go", "zcallback_windows.go" ], "HFiles": [ "asm_ppc64x.h", "funcdata.h", "go_tls.h", "textflag.h" ], "SFiles": [ "asm.s", "asm_amd64.s", "duff_amd64.s", "memclr_amd64.s", "memmove_amd64.s", "preempt_amd64.s", "rt0_darwin_amd64.s", "sys_darwin_amd64.s" ], "Imports": [ "internal/bytealg", "internal/cpu", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ], "Deps": [ "internal/bytealg", "internal/cpu", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ], "TestGoFiles": [ "export_darwin_test.go", "export_debuglog_test.go", "export_mmap_test.go", "export_test.go", "export_unix_test.go", "proc_runtime_test.go" ], "TestImports": [ "runtime/internal/atomic", "runtime/internal/sys", "unsafe" ], "XTestGoFiles": [ "callers_test.go", "chan_test.go", "chanbarrier_test.go", "checkptr_test.go", "closure_test.go", "complex_test.go", "crash_cgo_test.go", "crash_test.go", "crash_unix_test.go", "debuglog_test.go", "defer_test.go", "env_test.go", "example_test.go", "fastlog2_test.go", "gc_test.go", "gcinfo_test.go", "hash_test.go", "iface_test.go", "lfstack_test.go", "malloc_test.go", "map_benchmark_test.go", "map_test.go", "memmove_test.go", "mfinal_test.go", "mgcscavenge_test.go", "mpagealloc_test.go", "mpagecache_test.go", "mpallocbits_test.go", "nbpipe_fcntl_libc_test.go", "nbpipe_test.go", "netpoll_os_test.go", "norace_test.go", "panic_test.go", "proc_test.go", "profbuf_test.go", "rand_test.go", "runtime-gdb_test.go", "runtime-lldb_test.go", "runtime_mmap_test.go", "runtime_test.go", "runtime_unix_test.go", "rwmutex_test.go", "sema_test.go", "semasleep_test.go", "sizeof_test.go", "slice_test.go", "softfloat64_test.go", "stack_test.go", "string_test.go", "symtab_test.go", "time_test.go" ], "XTestImports": [ "bytes", "crypto/rand", "encoding/binary", "errors", "flag", "fmt", "internal/race", "internal/testenv", "io", "io/ioutil", "math", "math/cmplx", "math/rand", "net", "os", "os/exec", "path/filepath", "reflect", "regexp", "runtime", "runtime/debug", "runtime/internal/sys", "sort", "strconv", "strings", "sync", "sync/atomic", "syscall", "testing", "time", "unicode/utf8", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/reflectlite", "ImportPath": "internal/reflectlite", "Name": "reflectlite", "Doc": "Package reflectlite implements lightweight version of reflect, not using any package except for \"runtime\" and \"unsafe\".", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/reflectlite.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "swapper.go", "type.go", "value.go" ], "CompiledGoFiles": [ "swapper.go", "type.go", "value.go", "asm.s" ], "SFiles": [ "asm.s" ], "Imports": [ "internal/unsafeheader", "runtime", "unsafe" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "TestImports": [ "unsafe" ], "XTestGoFiles": [ "all_test.go", "reflect_mirror_test.go", "set_test.go", "tostring_test.go" ], "XTestImports": [ "bytes", "encoding/base64", "fmt", "go/ast", "go/parser", "go/token", "internal/reflectlite", "io", "math", "os", "path/filepath", "reflect", "runtime", "strconv", "strings", "sync", "testing", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/errors", "ImportPath": "errors", "Name": "errors", "Doc": "Package errors implements functions to manipulate errors.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/errors.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "errors.go", "wrap.go" ], "CompiledGoFiles": [ "errors.go", "wrap.go" ], "Imports": [ "internal/reflectlite" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ], "XTestGoFiles": [ "errors_test.go", "example_test.go", "wrap_test.go" ], "XTestImports": [ "errors", "fmt", "os", "reflect", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/race", "ImportPath": "internal/race", "Name": "race", "Doc": "Package race contains helper functions for manually instrumenting code for the race detector.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/race.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "doc.go", "norace.go" ], "CompiledGoFiles": [ "doc.go", "norace.go" ], "IgnoredGoFiles": [ "race.go" ], "Imports": [ "unsafe" ], "Deps": [ "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/sync/atomic", "ImportPath": "sync/atomic", "Name": "atomic", "Doc": "Package atomic provides low-level atomic memory primitives useful for implementing synchronization algorithms.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/sync/atomic.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "doc.go", "value.go" ], "CompiledGoFiles": [ "doc.go", "value.go", "asm.s" ], "SFiles": [ "asm.s" ], "Imports": [ "unsafe" ], "Deps": [ "unsafe" ], "XTestGoFiles": [ "atomic_test.go", "example_test.go", "value_test.go" ], "XTestImports": [ "fmt", "math/rand", "runtime", "strings", "sync", "sync/atomic", "testing", "time", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/sync", "ImportPath": "sync", "Name": "sync", "Doc": "Package sync provides basic synchronization primitives such as mutual exclusion locks.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/sync.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "cond.go", "map.go", "mutex.go", "once.go", "pool.go", "poolqueue.go", "runtime.go", "runtime2.go", "rwmutex.go", "waitgroup.go" ], "CompiledGoFiles": [ "cond.go", "map.go", "mutex.go", "once.go", "pool.go", "poolqueue.go", "runtime.go", "runtime2.go", "rwmutex.go", "waitgroup.go" ], "IgnoredGoFiles": [ "runtime2_lockrank.go" ], "Imports": [ "internal/race", "runtime", "sync/atomic", "unsafe" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/race", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync/atomic", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "cond_test.go", "example_pool_test.go", "example_test.go", "map_bench_test.go", "map_reference_test.go", "map_test.go", "mutex_test.go", "once_test.go", "pool_test.go", "runtime_sema_test.go", "rwmutex_test.go", "waitgroup_test.go" ], "XTestImports": [ "bytes", "fmt", "internal/race", "internal/testenv", "io", "math/rand", "os", "os/exec", "reflect", "runtime", "runtime/debug", "sort", "strings", "sync", "sync/atomic", "testing", "testing/quick", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/io", "ImportPath": "io", "Name": "io", "Doc": "Package io provides basic interfaces to I/O primitives.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/io.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "io.go", "multi.go", "pipe.go" ], "CompiledGoFiles": [ "io.go", "multi.go", "pipe.go" ], "Imports": [ "errors", "sync" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "unsafe" ], "XTestGoFiles": [ "example_test.go", "io_test.go", "multi_test.go", "pipe_test.go" ], "XTestImports": [ "bytes", "crypto/sha1", "errors", "fmt", "io", "io/ioutil", "log", "os", "runtime", "sort", "strings", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/unicode", "ImportPath": "unicode", "Name": "unicode", "Doc": "Package unicode provides data and functions to test some properties of Unicode code points.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/unicode.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "casetables.go", "digit.go", "graphic.go", "letter.go", "tables.go" ], "CompiledGoFiles": [ "casetables.go", "digit.go", "graphic.go", "letter.go", "tables.go" ], "XTestGoFiles": [ "digit_test.go", "example_test.go", "graphic_test.go", "letter_test.go", "script_test.go" ], "XTestImports": [ "flag", "fmt", "runtime", "sort", "strings", "testing", "unicode" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/unicode/utf8", "ImportPath": "unicode/utf8", "Name": "utf8", "Doc": "Package utf8 implements functions and constants to support text encoded in UTF-8.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/unicode/utf8.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "utf8.go" ], "CompiledGoFiles": [ "utf8.go" ], "XTestGoFiles": [ "example_test.go", "utf8_test.go" ], "XTestImports": [ "bytes", "fmt", "testing", "unicode", "unicode/utf8" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/bytes", "ImportPath": "bytes", "Name": "bytes", "Doc": "Package bytes implements functions for the manipulation of byte slices.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/bytes.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "buffer.go", "bytes.go", "reader.go" ], "CompiledGoFiles": [ "buffer.go", "bytes.go", "reader.go" ], "IgnoredGoFiles": [ "boundary_test.go" ], "Imports": [ "errors", "internal/bytealg", "io", "unicode", "unicode/utf8" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/race", "internal/reflectlite", "internal/unsafeheader", "io", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "buffer_test.go", "bytes_test.go", "compare_test.go", "example_test.go", "reader_test.go" ], "XTestImports": [ "bytes", "encoding/base64", "fmt", "internal/testenv", "io", "io/ioutil", "math/rand", "os", "reflect", "sort", "strings", "sync", "testing", "unicode", "unicode/utf8" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/math/bits", "ImportPath": "math/bits", "Name": "bits", "Doc": "Package bits implements bit counting and manipulation functions for the predeclared unsigned integer types.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/math/bits.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "bits.go", "bits_errors.go", "bits_tables.go" ], "CompiledGoFiles": [ "bits.go", "bits_errors.go", "bits_tables.go" ], "IgnoredGoFiles": [ "bits_errors_bootstrap.go", "make_examples.go", "make_tables.go" ], "Imports": [ "unsafe" ], "Deps": [ "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "bits_test.go", "example_test.go" ], "XTestImports": [ "fmt", "math/bits", "runtime", "testing", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/math", "ImportPath": "math", "Name": "math", "Doc": "Package math provides basic constants and mathematical functions.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/math.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "abs.go", "acosh.go", "asin.go", "asinh.go", "atan.go", "atan2.go", "atanh.go", "bits.go", "cbrt.go", "const.go", "copysign.go", "dim.go", "erf.go", "erfinv.go", "exp.go", "exp_asm.go", "expm1.go", "floor.go", "fma.go", "frexp.go", "gamma.go", "hypot.go", "j0.go", "j1.go", "jn.go", "ldexp.go", "lgamma.go", "log.go", "log10.go", "log1p.go", "logb.go", "mod.go", "modf.go", "nextafter.go", "pow.go", "pow10.go", "remainder.go", "signbit.go", "sin.go", "sincos.go", "sinh.go", "sqrt.go", "tan.go", "tanh.go", "trig_reduce.go", "unsafe.go" ], "CompiledGoFiles": [ "abs.go", "acosh.go", "asin.go", "asinh.go", "atan.go", "atan2.go", "atanh.go", "bits.go", "cbrt.go", "const.go", "copysign.go", "dim.go", "erf.go", "erfinv.go", "exp.go", "exp_asm.go", "expm1.go", "floor.go", "fma.go", "frexp.go", "gamma.go", "hypot.go", "j0.go", "j1.go", "jn.go", "ldexp.go", "lgamma.go", "log.go", "log10.go", "log1p.go", "logb.go", "mod.go", "modf.go", "nextafter.go", "pow.go", "pow10.go", "remainder.go", "signbit.go", "sin.go", "sincos.go", "sinh.go", "sqrt.go", "tan.go", "tanh.go", "trig_reduce.go", "unsafe.go", "dim_amd64.s", "exp_amd64.s", "floor_amd64.s", "hypot_amd64.s", "log_amd64.s", "sqrt_amd64.s", "stubs_amd64.s" ], "IgnoredGoFiles": [ "arith_s390x.go", "arith_s390x_test.go", "export_s390x_test.go" ], "SFiles": [ "dim_amd64.s", "exp_amd64.s", "floor_amd64.s", "hypot_amd64.s", "log_amd64.s", "sqrt_amd64.s", "stubs_amd64.s" ], "Imports": [ "internal/cpu", "math/bits", "unsafe" ], "Deps": [ "internal/cpu", "math/bits", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "all_test.go", "example_test.go", "huge_test.go" ], "XTestImports": [ "fmt", "math", "testing", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/strconv", "ImportPath": "strconv", "Name": "strconv", "Doc": "Package strconv implements conversions to and from string representations of basic data types.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/strconv.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "atob.go", "atoc.go", "atof.go", "atoi.go", "ctoa.go", "decimal.go", "doc.go", "extfloat.go", "ftoa.go", "isprint.go", "itoa.go", "quote.go" ], "CompiledGoFiles": [ "atob.go", "atoc.go", "atof.go", "atoi.go", "ctoa.go", "decimal.go", "doc.go", "extfloat.go", "ftoa.go", "isprint.go", "itoa.go", "quote.go" ], "IgnoredGoFiles": [ "makeisprint.go" ], "Imports": [ "errors", "internal/bytealg", "math", "math/bits", "unicode/utf8" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/reflectlite", "internal/unsafeheader", "math", "math/bits", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "export_test.go", "internal_test.go" ], "XTestGoFiles": [ "atob_test.go", "atoc_test.go", "atof_test.go", "atoi_test.go", "decimal_test.go", "example_test.go", "fp_test.go", "ftoa_test.go", "itoa_test.go", "quote_test.go", "strconv_test.go" ], "XTestImports": [ "bufio", "bytes", "errors", "fmt", "log", "math", "math/cmplx", "math/rand", "os", "reflect", "runtime", "strconv", "strings", "sync", "testing", "time", "unicode" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/reflect", "ImportPath": "reflect", "Name": "reflect", "Doc": "Package reflect implements run-time reflection, allowing a program to manipulate objects with arbitrary types.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/reflect.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "deepequal.go", "makefunc.go", "swapper.go", "type.go", "value.go" ], "CompiledGoFiles": [ "deepequal.go", "makefunc.go", "swapper.go", "type.go", "value.go", "asm_amd64.s" ], "SFiles": [ "asm_amd64.s" ], "Imports": [ "internal/unsafeheader", "math", "runtime", "strconv", "sync", "unicode", "unicode/utf8", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/race", "internal/reflectlite", "internal/unsafeheader", "math", "math/bits", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "strconv", "sync", "sync/atomic", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "TestImports": [ "unsafe" ], "XTestGoFiles": [ "all_test.go", "example_test.go", "set_test.go", "tostring_test.go" ], "XTestImports": [ "bytes", "encoding/base64", "encoding/json", "flag", "fmt", "go/ast", "go/token", "io", "math", "math/rand", "os", "reflect", "runtime", "sort", "strconv", "strings", "sync", "sync/atomic", "testing", "time", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/encoding/binary", "ImportPath": "encoding/binary", "Name": "binary", "Doc": "Package binary implements simple translation between numbers and byte sequences and encoding and decoding of varints.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/encoding/binary.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "binary.go", "varint.go" ], "CompiledGoFiles": [ "binary.go", "varint.go" ], "Imports": [ "errors", "io", "math", "reflect", "sync" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/race", "internal/reflectlite", "internal/unsafeheader", "io", "math", "math/bits", "reflect", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "strconv", "sync", "sync/atomic", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "binary_test.go", "varint_test.go" ], "TestImports": [ "bytes", "fmt", "io", "io/ioutil", "math", "reflect", "strings", "sync", "testing" ], "XTestGoFiles": [ "example_test.go" ], "XTestImports": [ "bytes", "encoding/binary", "fmt", "math" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/sort", "ImportPath": "sort", "Name": "sort", "Doc": "Package sort provides primitives for sorting slices and user-defined collections.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/sort.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "search.go", "slice.go", "slice_go113.go", "sort.go", "zfuncversion.go" ], "CompiledGoFiles": [ "search.go", "slice.go", "slice_go113.go", "sort.go", "zfuncversion.go" ], "IgnoredGoFiles": [ "genzfunc.go", "slice_go14.go", "slice_go18.go" ], "Imports": [ "internal/reflectlite" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "example_interface_test.go", "example_keys_test.go", "example_multi_test.go", "example_search_test.go", "example_test.go", "example_wrapper_test.go", "search_test.go", "sort_test.go" ], "XTestImports": [ "fmt", "internal/testenv", "math", "math/rand", "runtime", "sort", "strconv", "strings", "testing" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/fmtsort", "ImportPath": "internal/fmtsort", "Name": "fmtsort", "Doc": "Package fmtsort provides a general stable ordering mechanism for maps, on behalf of the fmt and text/template packages.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/fmtsort.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "sort.go" ], "CompiledGoFiles": [ "sort.go" ], "Imports": [ "reflect", "sort" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/race", "internal/reflectlite", "internal/unsafeheader", "math", "math/bits", "reflect", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "strconv", "sync", "sync/atomic", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "TestImports": [ "reflect" ], "XTestGoFiles": [ "sort_test.go" ], "XTestImports": [ "fmt", "internal/fmtsort", "math", "reflect", "strings", "testing" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/oserror", "ImportPath": "internal/oserror", "Name": "oserror", "Doc": "Package oserror defines errors values used in the os package.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/oserror.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "errors.go" ], "CompiledGoFiles": [ "errors.go" ], "Imports": [ "errors" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/syscall", "ImportPath": "syscall", "Name": "syscall", "Doc": "Package syscall contains an interface to the low-level operating system primitives.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/syscall.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "bpf_darwin.go", "dirent.go", "endian_little.go", "env_unix.go", "exec_darwin.go", "exec_unix.go", "flock_darwin.go", "forkpipe.go", "msan0.go", "net.go", "route_bsd.go", "route_darwin.go", "sockcmsg_unix.go", "sockcmsg_unix_other.go", "str.go", "syscall.go", "syscall_bsd.go", "syscall_darwin.go", "syscall_darwin_amd64.go", "syscall_unix.go", "time_nofake.go", "timestruct.go", "zerrors_darwin_amd64.go", "zsyscall_darwin_amd64.go", "zsysnum_darwin_amd64.go", "ztypes_darwin_amd64.go" ], "CompiledGoFiles": [ "bpf_darwin.go", "dirent.go", "endian_little.go", "env_unix.go", "exec_darwin.go", "exec_unix.go", "flock_darwin.go", "forkpipe.go", "msan0.go", "net.go", "route_bsd.go", "route_darwin.go", "sockcmsg_unix.go", "sockcmsg_unix_other.go", "str.go", "syscall.go", "syscall_bsd.go", "syscall_darwin.go", "syscall_darwin_amd64.go", "syscall_unix.go", "time_nofake.go", "timestruct.go", "zerrors_darwin_amd64.go", "zsyscall_darwin_amd64.go", "zsysnum_darwin_amd64.go", "ztypes_darwin_amd64.go", "asm_darwin_amd64.s", "zsyscall_darwin_amd64.s" ], "IgnoredGoFiles": [ "bpf_bsd.go", "const_plan9.go", "creds_test.go", "dir_plan9.go", "dll_windows.go", "endian_big.go", "env_windows.go", "errors_plan9.go", "exec_aix_test.go", "exec_bsd.go", "exec_libc.go", "exec_linux.go", "exec_linux_test.go", "exec_plan9.go", "exec_solaris_test.go", "exec_windows.go", "export_freebsd_test.go", "export_linux_test.go", "flock.go", "flock_aix.go", "flock_linux_32bit.go", "forkpipe2.go", "fs_js.go", "lsf_linux.go", "mkasm_darwin.go", "mkpost.go", "mksyscall_windows.go", "msan.go", "net_js.go", "netlink_linux.go", "pwd_plan9.go", "route_dragonfly.go", "route_freebsd.go", "route_freebsd_32bit.go", "route_freebsd_64bit.go", "route_netbsd.go", "route_openbsd.go", "security_windows.go", "setuidgid_32_linux.go", "setuidgid_linux.go", "sock_cloexec_linux.go", "sockcmsg_dragonfly.go", "sockcmsg_linux.go", "syscall_aix.go", "syscall_aix_ppc64.go", "syscall_darwin_arm64.go", "syscall_dragonfly.go", "syscall_dragonfly_amd64.go", "syscall_dup2_linux.go", "syscall_dup3_linux.go", "syscall_freebsd.go", "syscall_freebsd_386.go", "syscall_freebsd_amd64.go", "syscall_freebsd_arm.go", "syscall_freebsd_arm64.go", "syscall_freebsd_test.go", "syscall_getwd_bsd.go", "syscall_js.go", "syscall_linux.go", "syscall_linux_386.go", "syscall_linux_amd64.go", "syscall_linux_arm.go", "syscall_linux_arm64.go", "syscall_linux_mips64x.go", "syscall_linux_mipsx.go", "syscall_linux_ppc64x.go", "syscall_linux_riscv64.go", "syscall_linux_s390x.go", "syscall_linux_test.go", "syscall_netbsd.go", "syscall_netbsd_386.go", "syscall_netbsd_amd64.go", "syscall_netbsd_arm.go", "syscall_netbsd_arm64.go", "syscall_openbsd.go", "syscall_openbsd_386.go", "syscall_openbsd_amd64.go", "syscall_openbsd_arm.go", "syscall_openbsd_arm64.go", "syscall_plan9.go", "syscall_plan9_test.go", "syscall_solaris.go", "syscall_solaris_amd64.go", "syscall_windows.go", "syscall_windows_386.go", "syscall_windows_amd64.go", "syscall_windows_test.go", "tables_js.go", "time_fake.go", "types_aix.go", "types_darwin.go", "types_dragonfly.go", "types_freebsd.go", "types_linux.go", "types_netbsd.go", "types_openbsd.go", "types_solaris.go", "types_windows.go", "types_windows_386.go", "types_windows_amd64.go", "types_windows_arm.go", "zerrors_aix_ppc64.go", "zerrors_darwin_arm64.go", "zerrors_dragonfly_amd64.go", "zerrors_freebsd_386.go", "zerrors_freebsd_amd64.go", "zerrors_freebsd_arm.go", "zerrors_freebsd_arm64.go", "zerrors_linux_386.go", "zerrors_linux_amd64.go", "zerrors_linux_arm.go", "zerrors_linux_arm64.go", "zerrors_linux_mips.go", "zerrors_linux_mips64.go", "zerrors_linux_mips64le.go", "zerrors_linux_mipsle.go", "zerrors_linux_ppc64.go", "zerrors_linux_ppc64le.go", "zerrors_linux_riscv64.go", "zerrors_linux_s390x.go", "zerrors_netbsd_386.go", "zerrors_netbsd_amd64.go", "zerrors_netbsd_arm.go", "zerrors_netbsd_arm64.go", "zerrors_openbsd_386.go", "zerrors_openbsd_amd64.go", "zerrors_openbsd_arm.go", "zerrors_openbsd_arm64.go", "zerrors_solaris_amd64.go", "zerrors_windows.go", "zerrors_windows_386.go", "zerrors_windows_amd64.go", "zsyscall_aix_ppc64.go", "zsyscall_darwin_arm64.go", "zsyscall_dragonfly_amd64.go", "zsyscall_freebsd_386.go", "zsyscall_freebsd_amd64.go", "zsyscall_freebsd_arm.go", "zsyscall_freebsd_arm64.go", "zsyscall_linux_386.go", "zsyscall_linux_amd64.go", "zsyscall_linux_arm.go", "zsyscall_linux_arm64.go", "zsyscall_linux_mips.go", "zsyscall_linux_mips64.go", "zsyscall_linux_mips64le.go", "zsyscall_linux_mipsle.go", "zsyscall_linux_ppc64.go", "zsyscall_linux_ppc64le.go", "zsyscall_linux_riscv64.go", "zsyscall_linux_s390x.go", "zsyscall_netbsd_386.go", "zsyscall_netbsd_amd64.go", "zsyscall_netbsd_arm.go", "zsyscall_netbsd_arm64.go", "zsyscall_openbsd_386.go", "zsyscall_openbsd_amd64.go", "zsyscall_openbsd_arm.go", "zsyscall_openbsd_arm64.go", "zsyscall_plan9_386.go", "zsyscall_plan9_amd64.go", "zsyscall_plan9_arm.go", "zsyscall_solaris_amd64.go", "zsyscall_windows.go", "zsysctl_openbsd.go", "zsysnum_darwin_arm64.go", "zsysnum_dragonfly_amd64.go", "zsysnum_freebsd_386.go", "zsysnum_freebsd_amd64.go", "zsysnum_freebsd_arm.go", "zsysnum_freebsd_arm64.go", "zsysnum_linux_386.go", "zsysnum_linux_amd64.go", "zsysnum_linux_arm.go", "zsysnum_linux_arm64.go", "zsysnum_linux_mips.go", "zsysnum_linux_mips64.go", "zsysnum_linux_mips64le.go", "zsysnum_linux_mipsle.go", "zsysnum_linux_ppc64.go", "zsysnum_linux_ppc64le.go", "zsysnum_linux_riscv64.go", "zsysnum_linux_s390x.go", "zsysnum_netbsd_386.go", "zsysnum_netbsd_amd64.go", "zsysnum_netbsd_arm.go", "zsysnum_netbsd_arm64.go", "zsysnum_openbsd_386.go", "zsysnum_openbsd_amd64.go", "zsysnum_openbsd_arm.go", "zsysnum_openbsd_arm64.go", "zsysnum_plan9.go", "zsysnum_solaris_amd64.go", "zsysnum_windows_386.go", "zsysnum_windows_amd64.go", "ztypes_aix_ppc64.go", "ztypes_darwin_arm64.go", "ztypes_dragonfly_amd64.go", "ztypes_freebsd_386.go", "ztypes_freebsd_amd64.go", "ztypes_freebsd_arm.go", "ztypes_freebsd_arm64.go", "ztypes_linux_386.go", "ztypes_linux_amd64.go", "ztypes_linux_arm.go", "ztypes_linux_arm64.go", "ztypes_linux_mips.go", "ztypes_linux_mips64.go", "ztypes_linux_mips64le.go", "ztypes_linux_mipsle.go", "ztypes_linux_ppc64.go", "ztypes_linux_ppc64le.go", "ztypes_linux_riscv64.go", "ztypes_linux_s390x.go", "ztypes_netbsd_386.go", "ztypes_netbsd_amd64.go", "ztypes_netbsd_arm.go", "ztypes_netbsd_arm64.go", "ztypes_openbsd_386.go", "ztypes_openbsd_amd64.go", "ztypes_openbsd_arm.go", "ztypes_openbsd_arm64.go", "ztypes_solaris_amd64.go" ], "SFiles": [ "asm_darwin_amd64.s", "zsyscall_darwin_amd64.s" ], "Imports": [ "errors", "internal/bytealg", "internal/oserror", "internal/race", "internal/unsafeheader", "runtime", "sync", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "unsafe" ], "TestGoFiles": [ "export_test.go", "export_unix_test.go" ], "XTestGoFiles": [ "dirent_test.go", "exec_unix_test.go", "getdirentries_test.go", "mmap_unix_test.go", "syscall_bsd_test.go", "syscall_ptrace_test.go", "syscall_test.go", "syscall_unix_test.go" ], "XTestImports": [ "bytes", "flag", "fmt", "internal/testenv", "io", "io/ioutil", "net", "os", "os/exec", "os/signal", "path/filepath", "runtime", "sort", "strconv", "strings", "syscall", "testing", "time", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/time", "ImportPath": "time", "Name": "time", "Doc": "Package time provides functionality for measuring and displaying time.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/time.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "format.go", "sleep.go", "sys_unix.go", "tick.go", "time.go", "zoneinfo.go", "zoneinfo_read.go", "zoneinfo_unix.go" ], "CompiledGoFiles": [ "format.go", "sleep.go", "sys_unix.go", "tick.go", "time.go", "zoneinfo.go", "zoneinfo_read.go", "zoneinfo_unix.go" ], "IgnoredGoFiles": [ "embed.go", "export_android_test.go", "export_windows_test.go", "genzabbrs.go", "sys_plan9.go", "sys_windows.go", "zoneinfo_abbrs_windows.go", "zoneinfo_android.go", "zoneinfo_android_test.go", "zoneinfo_ios.go", "zoneinfo_js.go", "zoneinfo_plan9.go", "zoneinfo_windows.go", "zoneinfo_windows_test.go" ], "Imports": [ "errors", "runtime", "sync", "syscall", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "unsafe" ], "TestGoFiles": [ "export_test.go", "internal_test.go" ], "TestImports": [ "sync" ], "XTestGoFiles": [ "example_test.go", "format_test.go", "mono_test.go", "sleep_test.go", "tick_test.go", "time_test.go", "tzdata_test.go", "zoneinfo_test.go" ], "XTestImports": [ "bytes", "encoding/gob", "encoding/json", "errors", "fmt", "math/big", "math/rand", "os", "reflect", "runtime", "strconv", "strings", "sync", "sync/atomic", "testing", "testing/quick", "time", "time/tzdata" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/poll", "ImportPath": "internal/poll", "Name": "poll", "Doc": "Package poll supports non-blocking I/O on file descriptors with polling.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/poll.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "errno_unix.go", "fcntl_libc.go", "fd.go", "fd_fsync_darwin.go", "fd_mutex.go", "fd_opendir_darwin.go", "fd_poll_runtime.go", "fd_posix.go", "fd_unix.go", "fd_writev_darwin.go", "hook_unix.go", "sockopt.go", "sockopt_unix.go", "sockoptip.go", "sys_cloexec.go", "writev.go" ], "CompiledGoFiles": [ "errno_unix.go", "fcntl_libc.go", "fd.go", "fd_fsync_darwin.go", "fd_mutex.go", "fd_opendir_darwin.go", "fd_poll_runtime.go", "fd_posix.go", "fd_unix.go", "fd_writev_darwin.go", "hook_unix.go", "sockopt.go", "sockopt_unix.go", "sockoptip.go", "sys_cloexec.go", "writev.go" ], "IgnoredGoFiles": [ "copy_file_range_linux.go", "errno_windows.go", "error_linux_test.go", "export_windows_test.go", "fcntl_js.go", "fcntl_syscall.go", "fd_fsync_posix.go", "fd_fsync_windows.go", "fd_io_plan9.go", "fd_plan9.go", "fd_poll_js.go", "fd_windows.go", "fd_windows_test.go", "fd_writev_unix.go", "hook_cloexec.go", "hook_windows.go", "sendfile_bsd.go", "sendfile_linux.go", "sendfile_solaris.go", "sendfile_windows.go", "sock_cloexec.go", "sockopt_linux.go", "sockopt_windows.go", "splice_linux.go", "strconv.go" ], "Imports": [ "errors", "io", "sync", "sync/atomic", "syscall", "time", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "io", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "time", "unsafe" ], "TestGoFiles": [ "export_posix_test.go", "export_test.go" ], "XTestGoFiles": [ "error_stub_test.go", "error_test.go", "fd_mutex_test.go", "fd_posix_test.go", "read_test.go", "writev_test.go" ], "XTestImports": [ "errors", "fmt", "internal/poll", "io", "io/ioutil", "math/rand", "net", "os", "reflect", "runtime", "strings", "sync", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/syscall/execenv", "ImportPath": "internal/syscall/execenv", "Name": "execenv", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/syscall/execenv.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "execenv_default.go" ], "CompiledGoFiles": [ "execenv_default.go" ], "IgnoredGoFiles": [ "execenv_windows.go" ], "Imports": [ "syscall" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/syscall/unix", "ImportPath": "internal/syscall/unix", "Name": "unix", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/syscall/unix.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "at_darwin.go", "at_sysnum_darwin.go", "nonblocking_libc.go" ], "CompiledGoFiles": [ "at_darwin.go", "at_sysnum_darwin.go", "nonblocking_libc.go" ], "IgnoredGoFiles": [ "at.go", "at_aix.go", "at_freebsd.go", "at_libc.go", "at_solaris.go", "at_sysnum_dragonfly.go", "at_sysnum_fstatat64_linux.go", "at_sysnum_fstatat_linux.go", "at_sysnum_linux.go", "at_sysnum_netbsd.go", "at_sysnum_newfstatat_linux.go", "at_sysnum_openbsd.go", "copy_file_range_linux.go", "fcntl_linux_32bit.go", "getentropy_openbsd.go", "getrandom_freebsd.go", "getrandom_linux.go", "ioctl_aix.go", "nonblocking.go", "nonblocking_js.go", "sysnum_linux_386.go", "sysnum_linux_amd64.go", "sysnum_linux_arm.go", "sysnum_linux_generic.go", "sysnum_linux_mips64x.go", "sysnum_linux_mipsx.go", "sysnum_linux_ppc64x.go", "sysnum_linux_s390x.go" ], "Imports": [ "syscall", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/testlog", "ImportPath": "internal/testlog", "Name": "testlog", "Doc": "Package testlog provides a back-channel communication path between tests and package os, so that cmd/go can see which environment variables and files a test consults.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/testlog.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "log.go" ], "CompiledGoFiles": [ "log.go" ], "Imports": [ "sync/atomic" ], "Deps": [ "sync/atomic", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/os", "ImportPath": "os", "Name": "os", "Doc": "Package os provides a platform-independent interface to operating system functionality.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/os.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "dir.go", "dir_darwin.go", "env.go", "error.go", "error_errno.go", "error_posix.go", "exec.go", "exec_posix.go", "exec_unix.go", "executable.go", "executable_darwin.go", "file.go", "file_posix.go", "file_unix.go", "getwd.go", "getwd_darwin.go", "path.go", "path_unix.go", "pipe_bsd.go", "proc.go", "rawconn.go", "readfrom_stub.go", "removeall_at.go", "stat.go", "stat_darwin.go", "stat_unix.go", "sticky_bsd.go", "str.go", "sys.go", "sys_bsd.go", "sys_unix.go", "types.go", "types_unix.go", "wait_unimp.go" ], "CompiledGoFiles": [ "dir.go", "dir_darwin.go", "env.go", "error.go", "error_errno.go", "error_posix.go", "exec.go", "exec_posix.go", "exec_unix.go", "executable.go", "executable_darwin.go", "file.go", "file_posix.go", "file_unix.go", "getwd.go", "getwd_darwin.go", "path.go", "path_unix.go", "pipe_bsd.go", "proc.go", "rawconn.go", "readfrom_stub.go", "removeall_at.go", "stat.go", "stat_darwin.go", "stat_unix.go", "sticky_bsd.go", "str.go", "sys.go", "sys_bsd.go", "sys_unix.go", "types.go", "types_unix.go", "wait_unimp.go" ], "IgnoredGoFiles": [ "dir_plan9.go", "dir_unix.go", "dir_windows.go", "error_plan9.go", "error_windows_test.go", "exec_plan9.go", "exec_windows.go", "executable_freebsd.go", "executable_path.go", "executable_plan9.go", "executable_procfs.go", "executable_solaris.go", "executable_windows.go", "export_linux_test.go", "export_windows_test.go", "file_plan9.go", "file_windows.go", "os_windows_test.go", "path_plan9.go", "path_windows.go", "path_windows_test.go", "pipe2_bsd.go", "pipe_linux.go", "readfrom_linux.go", "readfrom_linux_test.go", "removeall_noat.go", "stat_aix.go", "stat_dragonfly.go", "stat_freebsd.go", "stat_js.go", "stat_linux.go", "stat_netbsd.go", "stat_openbsd.go", "stat_plan9.go", "stat_solaris.go", "stat_windows.go", "sticky_notbsd.go", "sys_aix.go", "sys_js.go", "sys_linux.go", "sys_plan9.go", "sys_solaris.go", "sys_windows.go", "types_plan9.go", "types_windows.go", "wait_wait6.go", "wait_waitid.go" ], "Imports": [ "errors", "internal/oserror", "internal/poll", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "io", "runtime", "sync", "sync/atomic", "syscall", "time", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "time", "unsafe" ], "TestGoFiles": [ "export_test.go", "export_unix_test.go" ], "XTestGoFiles": [ "env_test.go", "env_unix_test.go", "error_test.go", "error_unix_test.go", "example_test.go", "executable_test.go", "fifo_test.go", "os_test.go", "os_unix_test.go", "path_test.go", "pipe_test.go", "rawconn_test.go", "removeall_test.go", "stat_test.go", "timeout_test.go" ], "XTestImports": [ "bufio", "bytes", "errors", "flag", "fmt", "internal/testenv", "io", "io/ioutil", "log", "math/rand", "os", "os/exec", "os/signal", "path/filepath", "reflect", "runtime", "runtime/debug", "sort", "strconv", "strings", "sync", "syscall", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/fmt", "ImportPath": "fmt", "Name": "fmt", "Doc": "Package fmt implements formatted I/O with functions analogous to C's printf and scanf.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/fmt.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "doc.go", "errors.go", "format.go", "print.go", "scan.go" ], "CompiledGoFiles": [ "doc.go", "errors.go", "format.go", "print.go", "scan.go" ], "Imports": [ "errors", "internal/fmtsort", "io", "math", "os", "reflect", "strconv", "sync", "unicode/utf8" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/fmtsort", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "math", "math/bits", "os", "reflect", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "strconv", "sync", "sync/atomic", "syscall", "time", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "export_test.go" ], "XTestGoFiles": [ "errors_test.go", "example_test.go", "fmt_test.go", "gostringer_example_test.go", "scan_test.go", "stringer_example_test.go", "stringer_test.go" ], "XTestImports": [ "bufio", "bytes", "errors", "fmt", "internal/race", "io", "math", "os", "reflect", "regexp", "runtime", "strings", "testing", "testing/iotest", "time", "unicode", "unicode/utf8" ] } { "ImportPath": "github.com/andig/cashterminal/zvt/commands", "DepOnly": true, "Incomplete": true, "Stale": true, "StaleReason": "build ID mismatch", "Error": { "ImportStack": [ "main" ], "Pos": "connection.go:11:2", "Err": "github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: verifying module: github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: reading https://sum.golang.org/lookup/github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: 410 Gone\n\tserver response:\n\tnot found: github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /tmp/gopath/pkg/mod/cache/vcs/886e9344d0664b5d36aaa5cda2cd262a92f4574284b9b2fac055a6b9efa8503c: exit status 128:\n\t\tfatal: could not read Username for 'https://github.com': terminal prompts disabled" } } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/log", "ImportPath": "log", "Name": "log", "Doc": "Package log implements a simple logging package.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/log.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "log.go" ], "CompiledGoFiles": [ "log.go" ], "Imports": [ "fmt", "io", "os", "runtime", "sync", "time" ], "Deps": [ "errors", "fmt", "internal/bytealg", "internal/cpu", "internal/fmtsort", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "math", "math/bits", "os", "reflect", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "strconv", "sync", "sync/atomic", "syscall", "time", "unicode", "unicode/utf8", "unsafe" ], "TestGoFiles": [ "log_test.go" ], "TestImports": [ "bytes", "fmt", "os", "regexp", "strings", "testing", "time" ], "XTestGoFiles": [ "example_test.go" ], "XTestImports": [ "bytes", "fmt", "log" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/context", "ImportPath": "context", "Name": "context", "Doc": "Package context defines the Context type, which carries deadlines, cancellation signals, and other request-scoped values across API boundaries and between processes.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/context.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "context.go" ], "CompiledGoFiles": [ "context.go" ], "Imports": [ "errors", "internal/reflectlite", "sync", "sync/atomic", "time" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/race", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "time", "unsafe" ], "TestGoFiles": [ "context_test.go" ], "TestImports": [ "fmt", "math/rand", "runtime", "strings", "sync", "sync/atomic", "time" ], "XTestGoFiles": [ "benchmark_test.go", "example_test.go", "net_test.go", "x_test.go" ], "XTestImports": [ "context", "fmt", "net", "runtime", "sync", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/vendor/golang.org/x/net/dns/dnsmessage", "ImportPath": "vendor/golang.org/x/net/dns/dnsmessage", "Name": "dnsmessage", "Doc": "Package dnsmessage provides a mostly RFC 1035 compliant implementation of DNS message packing and unpacking.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/vendor/golang.org/x/net/dns/dnsmessage.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "message.go" ], "CompiledGoFiles": [ "message.go" ], "Imports": [ "errors" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/reflectlite", "internal/unsafeheader", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/vendor/golang.org/x/net/route", "ImportPath": "vendor/golang.org/x/net/route", "Name": "route", "Doc": "Package route provides basic functions for the manipulation of packet routing facilities on BSD variants.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/vendor/golang.org/x/net/route.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "address.go", "binary.go", "interface.go", "interface_classic.go", "interface_multicast.go", "message.go", "route.go", "route_classic.go", "sys.go", "sys_darwin.go", "syscall_go1_12_darwin.go", "zsys_darwin.go" ], "CompiledGoFiles": [ "address.go", "binary.go", "interface.go", "interface_classic.go", "interface_multicast.go", "message.go", "route.go", "route_classic.go", "sys.go", "sys_darwin.go", "syscall_go1_12_darwin.go", "zsys_darwin.go", "empty.s" ], "IgnoredGoFiles": [ "interface_announce.go", "interface_freebsd.go", "interface_openbsd.go", "route_openbsd.go", "sys_dragonfly.go", "sys_freebsd.go", "sys_netbsd.go", "sys_openbsd.go", "syscall.go", "syscall_go1_11_darwin.go", "zsys_dragonfly.go", "zsys_freebsd_386.go", "zsys_freebsd_amd64.go", "zsys_freebsd_arm.go", "zsys_freebsd_arm64.go", "zsys_netbsd.go", "zsys_openbsd.go" ], "SFiles": [ "empty.s" ], "Imports": [ "errors", "os", "runtime", "syscall", "unsafe" ], "Deps": [ "errors", "internal/bytealg", "internal/cpu", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "os", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "syscall", "time", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/nettrace", "ImportPath": "internal/nettrace", "Name": "nettrace", "Doc": "Package nettrace contains internal hooks for tracing activity in the net package.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/nettrace.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "nettrace.go" ], "CompiledGoFiles": [ "nettrace.go" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/internal/singleflight", "ImportPath": "internal/singleflight", "Name": "singleflight", "Doc": "Package singleflight provides a duplicate function call suppression mechanism.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/internal/singleflight.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "singleflight.go" ], "CompiledGoFiles": [ "singleflight.go" ], "Imports": [ "sync" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/race", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "unsafe" ], "TestGoFiles": [ "singleflight_test.go" ], "TestImports": [ "errors", "fmt", "sync", "sync/atomic", "testing", "time" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/math/rand", "ImportPath": "math/rand", "Name": "rand", "Doc": "Package rand implements pseudo-random number generators.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/math/rand.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "exp.go", "normal.go", "rand.go", "rng.go", "zipf.go" ], "CompiledGoFiles": [ "exp.go", "normal.go", "rand.go", "rng.go", "zipf.go" ], "IgnoredGoFiles": [ "gen_cooked.go" ], "Imports": [ "math", "sync" ], "Deps": [ "internal/bytealg", "internal/cpu", "internal/race", "math", "math/bits", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sync", "sync/atomic", "unsafe" ], "TestGoFiles": [ "race_test.go", "rand_test.go" ], "TestImports": [ "bytes", "errors", "fmt", "internal/testenv", "io", "math", "os", "runtime", "sync", "testing", "testing/iotest" ], "XTestGoFiles": [ "example_test.go", "regress_test.go" ], "XTestImports": [ "flag", "fmt", "math/rand", "os", "reflect", "strings", "testing", "text/tabwriter" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/runtime/cgo", "ImportPath": "runtime/cgo", "Name": "cgo", "Doc": "Package cgo contains runtime support for code generated by the cgo tool.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/runtime/cgo.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "callbacks.go", "callbacks_traceback.go", "iscgo.go", "setenv.go" ], "CgoFiles": [ "cgo.go" ], "CompiledGoFiles": [ "callbacks.go", "callbacks_traceback.go", "iscgo.go", "setenv.go", "/Users/andig/Library/Caches/go-build/07/071283d23ffd9eabfe3ce2a77213fdede77a69bca99ce3f55bad15bd0e82dc52-d", "/Users/andig/Library/Caches/go-build/d3/d389d4fb6e72c54bb7588e20a87d65b3d20e04cb7bd09a36ce11d7f8d69e37e0-d", "/Users/andig/Library/Caches/go-build/6a/6a62489447ed693dc29981b0e15cc966578a535130c0b872473e9b71d4fccb04-d", "asm_amd64.s" ], "IgnoredGoFiles": [ "callbacks_aix.go", "dragonfly.go", "freebsd.go", "mmap.go", "netbsd.go", "openbsd.go", "sigaction.go", "signal_darwin_arm64.go" ], "CFiles": [ "gcc_context.c", "gcc_darwin_amd64.c", "gcc_libinit.c", "gcc_setenv.c", "gcc_traceback.c", "gcc_util.c" ], "HFiles": [ "libcgo.h", "libcgo_unix.h" ], "SFiles": [ "asm_amd64.s", "gcc_amd64.S" ], "CgoCFLAGS": [ "-Wno-nullability-completeness", "-Wall", "-Werror" ], "CgoLDFLAGS": [ "-lpthread" ], "Imports": [ "C", "unsafe" ], "Deps": [ "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/net", "ImportPath": "net", "Name": "net", "Doc": "Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/net.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Goroot": true, "Standard": true, "DepOnly": true, "GoFiles": [ "addrselect.go", "conf.go", "dial.go", "dnsclient.go", "dnsclient_unix.go", "dnsconfig_unix.go", "error_posix.go", "error_unix.go", "fd_posix.go", "fd_unix.go", "file.go", "file_unix.go", "hook.go", "hook_unix.go", "hosts.go", "interface.go", "interface_bsd.go", "interface_darwin.go", "ip.go", "iprawsock.go", "iprawsock_posix.go", "ipsock.go", "ipsock_posix.go", "lookup.go", "lookup_unix.go", "mac.go", "net.go", "nss.go", "parse.go", "pipe.go", "port.go", "port_unix.go", "rawconn.go", "sendfile_stub.go", "sock_bsd.go", "sock_posix.go", "sockaddr_posix.go", "sockopt_bsd.go", "sockopt_posix.go", "sockoptip_bsdvar.go", "sockoptip_posix.go", "splice_stub.go", "sys_cloexec.go", "tcpsock.go", "tcpsock_posix.go", "tcpsockopt_darwin.go", "tcpsockopt_posix.go", "udpsock.go", "udpsock_posix.go", "unixsock.go", "unixsock_posix.go", "writev_unix.go" ], "CgoFiles": [ "cgo_bsd.go", "cgo_resnew.go", "cgo_sockold.go", "cgo_unix.go" ], "CompiledGoFiles": [ "addrselect.go", "conf.go", "dial.go", "dnsclient.go", "dnsclient_unix.go", "dnsconfig_unix.go", "error_posix.go", "error_unix.go", "fd_posix.go", "fd_unix.go", "file.go", "file_unix.go", "hook.go", "hook_unix.go", "hosts.go", "interface.go", "interface_bsd.go", "interface_darwin.go", "ip.go", "iprawsock.go", "iprawsock_posix.go", "ipsock.go", "ipsock_posix.go", "lookup.go", "lookup_unix.go", "mac.go", "net.go", "nss.go", "parse.go", "pipe.go", "port.go", "port_unix.go", "rawconn.go", "sendfile_stub.go", "sock_bsd.go", "sock_posix.go", "sockaddr_posix.go", "sockopt_bsd.go", "sockopt_posix.go", "sockoptip_bsdvar.go", "sockoptip_posix.go", "splice_stub.go", "sys_cloexec.go", "tcpsock.go", "tcpsock_posix.go", "tcpsockopt_darwin.go", "tcpsockopt_posix.go", "udpsock.go", "udpsock_posix.go", "unixsock.go", "unixsock_posix.go", "writev_unix.go", "/Users/andig/Library/Caches/go-build/3f/3f336f86f63f05bb14a20dfb5f7a6262b091bce1e6a8cc3cd644eb5e7df04352-d", "/Users/andig/Library/Caches/go-build/17/17fc2f49dd7632600b4b370aea9ef1a8f1a42113241b2cc1ac0a9007185d3109-d", "/Users/andig/Library/Caches/go-build/3e/3e90c077d6abc154c271865a668c5fa3668224de38cd91eca5def2cd68bb4954-d", "/Users/andig/Library/Caches/go-build/a6/a6beb0f209106a6dbd693a9f892b7842c85b1f6f05088c0e3923eeb91dee2140-d", "/Users/andig/Library/Caches/go-build/61/61030a7c8f44854a6645dcd4fa38f31347cb9f5e3831f648f9ea7a711dcde9a0-d", "/Users/andig/Library/Caches/go-build/68/6804369de97748de71f2d5dbe64cd2689d69971239e2a2fcb8a2825d3663dd57-d" ], "IgnoredGoFiles": [ "cgo_aix.go", "cgo_android.go", "cgo_linux.go", "cgo_netbsd.go", "cgo_openbsd.go", "cgo_resold.go", "cgo_socknew.go", "cgo_solaris.go", "cgo_stub.go", "cgo_windows.go", "conf_netcgo.go", "error_plan9.go", "error_plan9_test.go", "error_windows.go", "error_windows_test.go", "fd_plan9.go", "fd_windows.go", "file_plan9.go", "file_stub.go", "file_windows.go", "hook_plan9.go", "hook_windows.go", "interface_aix.go", "interface_bsdvar.go", "interface_freebsd.go", "interface_linux.go", "interface_linux_test.go", "interface_plan9.go", "interface_solaris.go", "interface_stub.go", "interface_windows.go", "iprawsock_plan9.go", "ipsock_plan9.go", "ipsock_plan9_test.go", "lookup_fake.go", "lookup_plan9.go", "lookup_windows.go", "lookup_windows_test.go", "main_cloexec_test.go", "main_noconf_test.go", "main_plan9_test.go", "main_windows_test.go", "net_fake.go", "net_windows_test.go", "netgo_unix_test.go", "rawconn_stub_test.go", "rawconn_windows_test.go", "sendfile_linux.go", "sendfile_unix_alt.go", "sendfile_windows.go", "sock_cloexec.go", "sock_linux.go", "sock_plan9.go", "sock_stub.go", "sock_windows.go", "sockopt_aix.go", "sockopt_linux.go", "sockopt_plan9.go", "sockopt_solaris.go", "sockopt_stub.go", "sockopt_windows.go", "sockoptip_linux.go", "sockoptip_stub.go", "sockoptip_windows.go", "splice_linux.go", "splice_test.go", "tcpsock_plan9.go", "tcpsockopt_dragonfly.go", "tcpsockopt_openbsd.go", "tcpsockopt_plan9.go", "tcpsockopt_solaris.go", "tcpsockopt_stub.go", "tcpsockopt_unix.go", "tcpsockopt_windows.go", "udpsock_plan9.go", "udpsock_plan9_test.go", "unixsock_linux_test.go", "unixsock_plan9.go", "unixsock_windows_test.go" ], "Imports": [ "C", "context", "errors", "vendor/golang.org/x/net/dns/dnsmessage", "vendor/golang.org/x/net/route", "internal/bytealg", "internal/nettrace", "internal/poll", "internal/singleflight", "io", "math/rand", "os", "runtime", "sort", "sync", "sync/atomic", "syscall", "time", "unsafe", "runtime/cgo" ], "ImportMap": { "golang.org/x/net/dns/dnsmessage": "vendor/golang.org/x/net/dns/dnsmessage", "golang.org/x/net/route": "vendor/golang.org/x/net/route" }, "Deps": [ "context", "errors", "internal/bytealg", "internal/cpu", "internal/nettrace", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/singleflight", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "math", "math/bits", "math/rand", "os", "runtime", "runtime/cgo", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "sync", "sync/atomic", "syscall", "time", "unsafe", "vendor/golang.org/x/net/dns/dnsmessage", "vendor/golang.org/x/net/route" ], "TestGoFiles": [ "addrselect_test.go", "cgo_unix_test.go", "conf_test.go", "conn_test.go", "dial_test.go", "dial_unix_test.go", "dnsclient_test.go", "dnsclient_unix_test.go", "dnsconfig_unix_test.go", "dnsname_test.go", "error_posix_test.go", "error_test.go", "error_unix_test.go", "external_test.go", "file_test.go", "hosts_test.go", "interface_bsd_test.go", "interface_test.go", "interface_unix_test.go", "ip_test.go", "iprawsock_test.go", "ipsock_test.go", "listen_test.go", "lookup_test.go", "mac_test.go", "main_conf_test.go", "main_posix_test.go", "main_test.go", "main_unix_test.go", "mockserver_test.go", "net_test.go", "nss_test.go", "packetconn_test.go", "parse_test.go", "platform_test.go", "port_test.go", "protoconn_test.go", "rawconn_test.go", "rawconn_unix_test.go", "sendfile_test.go", "server_test.go", "tcpsock_test.go", "tcpsock_unix_test.go", "timeout_test.go", "udpsock_test.go", "unixsock_test.go", "write_unix_test.go", "writev_test.go" ], "TestImports": [ "bufio", "bytes", "context", "crypto/sha256", "encoding/hex", "errors", "flag", "fmt", "internal/poll", "internal/testenv", "io", "io/ioutil", "math/rand", "net/internal/socktest", "os", "os/exec", "path", "reflect", "runtime", "sort", "strconv", "strings", "sync", "sync/atomic", "syscall", "testing", "time", "vendor/golang.org/x/net/dns/dnsmessage" ], "XTestGoFiles": [ "example_test.go", "pipe_test.go" ], "XTestImports": [ "context", "fmt", "io", "log", "net", "testing", "time", "vendor/golang.org/x/net/nettest" ] } { "Dir": "/Users/andig/htdocs/ecr", "ImportPath": "main", "Name": "main", "Target": "/Users/andig/go/bin/main", "Root": "/Users/andig/htdocs/ecr", "Module": { "Path": "main", "Main": true, "Dir": "/Users/andig/htdocs/ecr", "GoMod": "/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.793491533.mod", "GoVersion": "1.15" }, "Match": [ "./..." ], "Incomplete": true, "Stale": true, "StaleReason": "stale dependency: github.com/andig/cashterminal/zvt/commands", "GoFiles": [ "connection.go", "ecr.go" ], "CompiledGoFiles": [ "connection.go", "ecr.go" ], "Imports": [ "bytes", "encoding/binary", "fmt", "github.com/andig/cashterminal/zvt/commands", "io", "log", "net", "time" ], "Deps": [ "bytes", "context", "encoding/binary", "errors", "fmt", "github.com/andig/cashterminal/zvt/commands", "internal/bytealg", "internal/cpu", "internal/fmtsort", "internal/nettrace", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/singleflight", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "log", "math", "math/bits", "math/rand", "net", "os", "reflect", "runtime", "runtime/cgo", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "strconv", "sync", "sync/atomic", "syscall", "time", "unicode", "unicode/utf8", "unsafe", "vendor/golang.org/x/net/dns/dnsmessage", "vendor/golang.org/x/net/route" ], "DepsErrors": [ { "ImportStack": [ "main" ], "Pos": "connection.go:11:2", "Err": "github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: verifying module: github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: reading https://sum.golang.org/lookup/github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: 410 Gone\n\tserver response:\n\tnot found: github.com/andig/cashterminal@v0.0.0-20201020203700-a13936db4d47: invalid version: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /tmp/gopath/pkg/mod/cache/vcs/886e9344d0664b5d36aaa5cda2cd262a92f4574284b9b2fac055a6b9efa8503c: exit status 128:\n\t\tfatal: could not read Username for 'https://github.com': terminal prompts disabled" } ] } { "Dir": "/Users/andig/htdocs/ecr/commands", "ImportPath": "main/commands", "Name": "commands", "Root": "/Users/andig/htdocs/ecr", "Module": { "Path": "main", "Main": true, "Dir": "/Users/andig/htdocs/ecr", "GoMod": "/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.793491533.mod", "GoVersion": "1.15" }, "Match": [ "./..." ], "Stale": true, "StaleReason": "build ID mismatch", "GoFiles": [ "any.go", "api.go", "functions.go", "partialreverse.go", "register.go", "reserve.go", "unregister.go" ], "CompiledGoFiles": [ "any.go", "api.go", "functions.go", "partialreverse.go", "register.go", "reserve.go", "unregister.go" ], "Imports": [ "bytes", "encoding/binary", "fmt" ], "Deps": [ "bytes", "encoding/binary", "errors", "fmt", "internal/bytealg", "internal/cpu", "internal/fmtsort", "internal/oserror", "internal/poll", "internal/race", "internal/reflectlite", "internal/syscall/execenv", "internal/syscall/unix", "internal/testlog", "internal/unsafeheader", "io", "math", "math/bits", "os", "reflect", "runtime", "runtime/internal/atomic", "runtime/internal/math", "runtime/internal/sys", "sort", "strconv", "sync", "sync/atomic", "syscall", "time", "unicode", "unicode/utf8", "unsafe" ] } { "Dir": "/usr/local/Cellar/go/1.15.3/libexec/src/builtin", "ImportPath": "builtin", "Name": "builtin", "Doc": "Package builtin provides documentation for Go's predeclared identifiers.", "Target": "/usr/local/Cellar/go/1.15.3/libexec/pkg/darwin_amd64/builtin.a", "Root": "/usr/local/Cellar/go/1.15.3/libexec", "Match": [ "builtin" ], "Goroot": true, "Standard": true, "GoFiles": [ "builtin.go" ] } ```
@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 21, 2020

@andig do you have trace to share when the extension takes long time? We'd like to know in what state gopls is stalled.

Is it reproducible when no other extensions are activated?

cc @stamblerre

@andig
Copy link
Contributor Author

@andig andig commented Oct 22, 2020

I don't have a log as the trace settings seemed to apply to debugging only. Please let me know how to create a trace?

@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 22, 2020

@andig Here is the instruction, but it looks like you are already capturing logs (-rpc.trace in "go.languageServerFlags" settings). Please check the output panel and open the gopls (server) channel to see the captured log.

@andig
Copy link
Contributor Author

@andig andig commented Oct 23, 2020

Great. Here's on log for when saving was slowish (couple of seconds) but not yet the blocker I've seen. I'll monitor for the next blocker and post similar. Hope this provides insights:

[Trace - 12:15:40.267 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/10/23 12:15:40 background imports cache refresh starting\n"}
[Error - 12:15:40 PM] Request textDocument/codeAction failed.
Message: context canceled
Code: 0 
[Error - Received] 12:15:40.271 PM golang/vscode-go#58 JSON RPC cancelled
[Info  - 12:15:40 PM] 2020/10/23 12:15:40 background imports cache refresh starting
[Error - Received] 12:15:40.274 PM golang/vscode-go#59 JSON RPC cancelled
[Trace - 12:15:40.275 PM] Received response 'textDocument/codeLens - (60)' in 18333ms.
Result: null
[Error - Received] 12:15:40.277 PM golang/vscode-go#61 JSON RPC cancelled
[Error - Received] 12:15:40.278 PM golang/vscode-go#62 JSON RPC cancelled
[Error - Received] 12:15:40.278 PM golang/vscode-go#63 JSON RPC cancelled
[Trace - 12:15:40.280 PM] Received response 'textDocument/codeLens - (64)' in 18043ms.
Result: null
[Trace - 12:15:40.281 PM] Received response 'textDocument/documentLink - (65)' in 18035ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/log"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":35}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":44}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt/commands"},{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":35}},"target":"https://192.168.0.62:20007"}]
[Error - Received] 12:15:40.281 PM golang/vscode-go#66 JSON RPC cancelled
[Trace - 12:15:40.281 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","version":16,"diagnostics":[{"range":{"start":{"line":32,"character":15},"end":{"line":32,"character":15}},"severity":1,"source":"syntax","message":"expected '{', found newline"}]}
[Error - Received] 12:15:40.281 PM golang/vscode-go#67 JSON RPC cancelled
[Error - Received] 12:15:40.287 PM golang/vscode-go#68 JSON RPC cancelled
[Error - Received] 12:15:40.288 PM golang/vscode-go#69 JSON RPC cancelled
[Trace - 12:15:40.290 PM] Received response 'textDocument/codeLens - (70)' in 17506ms.
Result: null
[Trace - 12:15:40.290 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","version":18,"diagnostics":[{"range":{"start":{"line":32,"character":17},"end":{"line":32,"character":17}},"severity":1,"source":"syntax","message":"expected '{', found newline"}]}
[Error - Received] 12:15:40.291 PM golang/vscode-go#71 JSON RPC cancelled
[Error - Received] 12:15:40.291 PM golang/vscode-go#72 JSON RPC cancelled
[Trace - 12:15:40.295 PM] Received response 'textDocument/documentLink - (73)' in 16910ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/log"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":35}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":44}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt/commands"},{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":35}},"target":"https://192.168.0.62:20007"}]
[Error - Received] 12:15:40.296 PM golang/vscode-go#74 JSON RPC cancelled
[Error - Received] 12:15:40.297 PM golang/vscode-go#75 JSON RPC cancelled
[Trace - 12:15:40.299 PM] Received response 'textDocument/codeLens - (76)' in 16603ms.
Result: null
[Error - Received] 12:15:40.307 PM golang/vscode-go#77 JSON RPC cancelled
[Error - Received] 12:15:40.308 PM golang/vscode-go#78 JSON RPC cancelled
[Trace - 12:15:40.309 PM] Received response 'textDocument/codeLens - (79)' in 16205ms.
Result: null
[Error - Received] 12:15:40.309 PM golang/vscode-go#80 JSON RPC cancelled
[Error - Received] 12:15:40.309 PM golang/vscode-go#81 JSON RPC cancelled
[Trace - 12:15:40.310 PM] Received response 'textDocument/documentLink - (82)' in 15869ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/log"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":35}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":44}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt/commands"},{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":35}},"target":"https://192.168.0.62:20007"}]
[Error - Received] 12:15:40.310 PM golang/vscode-go#84 JSON RPC cancelled
[Error - Received] 12:15:40.310 PM golang/vscode-go#83 JSON RPC cancelled
[Trace - 12:15:40.313 PM] Received response 'textDocument/foldingRange - (85)' in 13658ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":45,"kind":"imports"},{"startLine":9,"startCharacter":5,"endLine":12,"endCharacter":2},{"startLine":10,"startCharacter":19,"endLine":11,"endCharacter":18},{"startLine":15,"startCharacter":7,"endLine":16,"endCharacter":36},{"startLine":19,"startCharacter":13,"endLine":55,"endCharacter":2},{"startLine":20,"startCharacter":22,"endLine":21,"endCharacter":20},{"startLine":28,"startCharacter":39,"endLine":29,"endCharacter":18},{"startLine":32,"startCharacter":18,"endLine":44,"endCharacter":2},{"startLine":34,"startCharacter":43,"endLine":35,"endCharacter":18},{"startLine":38,"startCharacter":46,"endLine":43,"endCharacter":31},{"startLine":40,"startCharacter":44,"endLine":41,"endCharacter":19},{"startLine":47,"startCharacter":44,"endLine":48,"endCharacter":18},{"startLine":53,"startCharacter":39,"endLine":54,"endCharacter":18}]
[Trace - 12:15:40.316 PM] Received response 'textDocument/codeLens - (86)' in 13610ms.
Result: null
[Trace - 12:15:40.317 PM] Received response 'textDocument/codeLens - (87)' in 13610ms.
Result: null
[Trace - 12:15:40.318 PM] Received response 'textDocument/codeAction - (88)' in 13532ms.
Result: [{"title":"Extract to function","kind":"refactor.extract","edit":{},"command":{"title":"","command":"extract_function","arguments":["file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go",{"start":{"line":32,"character":18},"end":{"line":45,"character":0}}]}}]
[Trace - 12:15:40.318 PM] Received response 'textDocument/documentSymbol - (89)' in 13511ms.
Result: [{"name":"password","detail":"[]byte","kind":13,"range":{"start":{"line":9,"character":0},"end":{"line":13,"character":1}},"selectionRange":{"start":{"line":10,"character":1},"end":{"line":10,"character":9}}},{"name":"terminalAddr","detail":"untyped string","kind":14,"range":{"start":{"line":15,"character":0},"end":{"line":17,"character":1}},"selectionRange":{"start":{"line":16,"character":1},"end":{"line":16,"character":13}}},{"name":"main","detail":"()","kind":12,"range":{"start":{"line":19,"character":0},"end":{"line":56,"character":1}},"selectionRange":{"start":{"line":19,"character":5},"end":{"line":19,"character":9}}}]
[Trace - 12:15:40.318 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","version":23,"diagnostics":[]}
[Trace - 12:15:40.318 PM] Received response 'textDocument/documentLink - (90)' in 12862ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/log"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":35}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":44}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt/commands"},{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":35}},"target":"https://192.168.0.62:20007"}]
[Trace - 12:15:40.319 PM] Received response 'textDocument/codeAction - (91)' in 12481ms.
Result: null
[Trace - 12:15:40.334 PM] Sending request 'textDocument/formatting - (92)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"},"options":{"tabSize":4,"insertSpaces":false}}
[Trace - 12:15:40.337 PM] Received response 'textDocument/formatting - (92)' in 3ms.
Result: [{"range":{"start":{"line":32,"character":6},"end":{"line":32,"character":6}},"newText":" "},{"range":{"start":{"line":32,"character":8},"end":{"line":32,"character":8}},"newText":" "},{"range":{"start":{"line":32,"character":10},"end":{"line":32,"character":10}},"newText":" "},{"range":{"start":{"line":32,"character":11},"end":{"line":32,"character":11}},"newText":" "},{"range":{"start":{"line":32,"character":12},"end":{"line":32,"character":12}},"newText":" "},{"range":{"start":{"line":32,"character":14},"end":{"line":32,"character":14}},"newText":" "},{"range":{"start":{"line":32,"character":17},"end":{"line":32,"character":17}},"newText":" "},{"range":{"start":{"line":33,"character":0},"end":{"line":33,"character":0}},"newText":"\t"},{"range":{"start":{"line":34,"character":1},"end":{"line":34,"character":1}},"newText":"\t"},{"range":{"start":{"line":35,"character":0},"end":{"line":35,"character":0}},"newText":"\t"},{"range":{"start":{"line":36,"character":1},"end":{"line":36,"character":1}},"newText":"\t"},{"range":{"start":{"line":38,"character":0},"end":{"line":38,"character":0}},"newText":"\t"},{"range":{"start":{"line":39,"character":0},"end":{"line":39,"character":0}},"newText":"\t"},{"range":{"start":{"line":40,"character":2},"end":{"line":40,"character":2}},"newText":"\t"},{"range":{"start":{"line":41,"character":0},"end":{"line":41,"character":0}},"newText":"\t"},{"range":{"start":{"line":42,"character":2},"end":{"line":42,"character":2}},"newText":"\t"},{"range":{"start":{"line":43,"character":0},"end":{"line":43,"character":0}},"newText":"\t"},{"range":{"start":{"line":44,"character":1},"end":{"line":44,"character":1}},"newText":"\t"},{"range":{"start":{"line":45,"character":0},"end":{"line":45,"character":0}},"newText":"\t"}]
[Trace - 12:15:40.399 PM] Sending notification 'textDocument/didChange'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","version":24},"contentChanges":[{"range":{"start":{"line":45,"character":0},"end":{"line":45,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":44,"character":1},"end":{"line":44,"character":1}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":43,"character":0},"end":{"line":43,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":42,"character":2},"end":{"line":42,"character":2}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":41,"character":0},"end":{"line":41,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":40,"character":2},"end":{"line":40,"character":2}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":39,"character":0},"end":{"line":39,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":38,"character":0},"end":{"line":38,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":36,"character":1},"end":{"line":36,"character":1}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":35,"character":0},"end":{"line":35,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":34,"character":1},"end":{"line":34,"character":1}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":33,"character":0},"end":{"line":33,"character":0}},"rangeLength":0,"text":"\t"},{"range":{"start":{"line":32,"character":17},"end":{"line":32,"character":17}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":14},"end":{"line":32,"character":14}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":12},"end":{"line":32,"character":12}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":11},"end":{"line":32,"character":11}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":10},"end":{"line":32,"character":10}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":8},"end":{"line":32,"character":8}},"rangeLength":0,"text":" "},{"range":{"start":{"line":32,"character":6},"end":{"line":32,"character":6}},"rangeLength":0,"text":" "}]}
[Trace - 12:15:40.502 PM] Sending notification 'textDocument/didSave'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","version":24}}
[Trace - 12:15:40.604 PM] Sending request 'textDocument/foldingRange - (93)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"}}
[Trace - 12:15:40.604 PM] Received response 'textDocument/foldingRange - (93)' in 0ms.
Result: [{"startLine":2,"startCharacter":8,"endLine":6,"endCharacter":45,"kind":"imports"},{"startLine":9,"startCharacter":5,"endLine":12,"endCharacter":2},{"startLine":10,"startCharacter":19,"endLine":11,"endCharacter":18},{"startLine":15,"startCharacter":7,"endLine":16,"endCharacter":36},{"startLine":19,"startCharacter":13,"endLine":55,"endCharacter":2},{"startLine":20,"startCharacter":22,"endLine":21,"endCharacter":20},{"startLine":28,"startCharacter":39,"endLine":29,"endCharacter":18},{"startLine":32,"startCharacter":25,"endLine":44,"endCharacter":3},{"startLine":34,"startCharacter":44,"endLine":35,"endCharacter":19},{"startLine":38,"startCharacter":47,"endLine":43,"endCharacter":32},{"startLine":40,"startCharacter":45,"endLine":41,"endCharacter":20},{"startLine":47,"startCharacter":44,"endLine":48,"endCharacter":18},{"startLine":53,"startCharacter":39,"endLine":54,"endCharacter":18}]
[Trace - 12:15:40.820 PM] Sending request 'textDocument/codeAction - (94)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"},"range":{"start":{"line":32,"character":25},"end":{"line":45,"character":1}},"context":{"diagnostics":[{"range":{"start":{"line":43,"character":23},"end":{"line":43,"character":31}},"message":"\"Quittung\": Unknown word.","severity":3,"source":"cSpell"}]}}
[Trace - 12:15:40.822 PM] Sending notification 'workspace/didChangeWatchedFiles'.
Params: {"changes":[{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","type":2},{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","type":2},{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go","type":2}]}
[Trace - 12:15:40.967 PM] Received response 'textDocument/codeAction - (94)' in 146ms.
Result: [{"title":"Extract to function","kind":"refactor.extract","edit":{},"command":{"title":"","command":"extract_function","arguments":["file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go",{"start":{"line":32,"character":25},"end":{"line":45,"character":1}}]}}]
[Trace - 12:15:41.277 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/10/23 12:15:41 background refresh finished after 11.575789385s\n"}
[Info  - 12:15:41 PM] 2020/10/23 12:15:41 background refresh finished after 11.575789385s
[Trace - 12:15:41.388 PM] Sending request 'textDocument/documentLink - (95)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"}}
[Trace - 12:15:41.390 PM] Received response 'textDocument/documentLink - (95)' in 1ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/log"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":35}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":44}},"target":"https://pkg.go.dev/github.com/andig/cashterminal/zvt/commands"},{"range":{"start":{"line":16,"character":17},"end":{"line":16,"character":35}},"target":"https://192.168.0.62:20007"}]
[Trace - 12:15:42.025 PM] Sending request 'textDocument/codeLens - (96)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"}}
[Trace - 12:15:42.025 PM] Received response 'textDocument/codeLens - (96)' in 0ms.
Result: null
[Trace - 12:15:42.026 PM] Sending request 'textDocument/codeLens - (97)'.
Params: {"textDocument":{"uri":"file:///Users/andig/htdocs/cashterminal/cmd/ecr/ecr.go"}}
[Trace - 12:15:42.027 PM] Received response 'textDocument/codeLens - (97)' in 0ms.
Result: null
@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 23, 2020

@andig Thanks! It looks like message 58, 59, 61, ... all were cancelled, so I assume the problem started way before.
Requests taking 10~20s are not normal.

  • From the folder you opened in the vscode, can you please try

    $ gopls -rpc.trace -v check /path/to/file.go

I noticed that you are working on a project in a private repository.

  • Does the cashterminal have only one single go.mod file in the root of the repository?
  • Does setting GOPRIVATE environment variable help?
@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 23, 2020

@stamblerre noticed the following errors that caused workspace loading to fail.

[Error - 4:31:17 PM] 2020/10/23 16:31:17 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.a370d376d6e40e0bcf32ee359cd3a7c37a103fec36e170c17beca9f354f4b942.940940284.mod -- ./... builtin]: exit status 1: verifying github.com/hashicorp/go-version@v1.2.1/go.mod: checksum mismatch
	downloaded: h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
	go.sum:     h1:fltr4n8CU8Ke44wwcashterminaloEymUuxUHl09ZGVZPK5anwXA=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

	snapshot=0
	directory=/Users/andig/htdocs/evcc-config
	query=[./... builtin]
	packages=0

[Error - 4:31:17 PM] 2020/10/23 16:31:17 initial workspace load failed: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.a370d376d6e40e0bcf32ee359cd3a7c37a103fec36e170c17beca9f354f4b942.940940284.mod -- ./... builtin]: exit status 1: verifying github.com/hashicorp/go-version@v1.2.1/go.mod: checksum mismatch
	downloaded: h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
	go.sum:     h1:fltr4n8CU8Ke44wwcashterminaloEymUuxUHl09ZGVZPK5anwXA=

SECURITY ERROR
...

Not sure how you ended up with corrupted module caches. Can you please try to clear the module cache and see if it helps?

go clean -modcache
@andig
Copy link
Contributor Author

@andig andig commented Oct 26, 2020

I'm seeing this once more after the mod cache has been cleaned. The last request shows that it was cancelled after >10s waiting time.

vscode.txt.zip

@andig
Copy link
Contributor Author

@andig andig commented Oct 27, 2020

I'm just now noticing this on my public repo, too. Anything else I could so in terms of troubleshooting?

vscode-trace.txt.zip

@andig
Copy link
Contributor Author

@andig andig commented Oct 27, 2020

Another indication: once this has happend, I'm seeing these processes running for minutes, PID sometime changes:

go mod tidy -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.065677157.mod -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.229142400.mod -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.765650accb750fab0138da9dc978ebb8c5078b45961534ebf4f856934597e12c.531043551.mod

This happens even when I leave VSCode entirely to itself during that time and continues until I close code.

@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 28, 2020

@andig Same issue - your module cache has corrupted entries (specifically, github.com/hashicorp/go-version) so the go command refuses to build - regardless of your project is private or public if your project has dependency on this corrupted cache entry.

Please can you clean your module cache (go clean -modcache) and try again?

[Trace - 14:03:02.912 PM] Received notification 'window/logMessage'.
Params: {"type":3,"message":"2020/10/27 14:03:02 go env for /Users/andig/htdocs/evcc-config\n(root /Users/andig/htdocs/evcc-config)\n(go version go version go1.15.3 darwin/amd64\n)\n(valid build configuration = true)\n(build flags: [])\nGO111MODULE=\nGOMOD=/Users/andig/htdocs/evcc-config/go.mod\nGONOPROXY=\nGONOSUMDB=\nGOSUMDB=sum.golang.org\nGOFLAGS=\nGOPATH=/Users/andig/go\nGOPROXY=https://proxy.golang.org,direct\nGOROOT=/usr/local/Cellar/go/1.15.3/libexec\nGOCACHE=/Users/andig/Library/Caches/go-build\nGOINSECURE=\nGOMODCACHE=/Users/andig/go/pkg/mod\nGOPRIVATE=\n\n"}


[Trace - 14:03:02.958 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/10/27 14:03:02 go/packages.Load: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.a370d376d6e40e0bcf32ee359cd3a7c37a103fec36e170c17beca9f354f4b942.604150706.mod -- ./... builtin]: exit status 1: verifying github.com/hashicorp/go-version@v1.2.1/go.mod: checksum mismatch\n\tdownloaded: h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=\n\tgo.sum:     h1:fltr4n8CU8Ke44wwcashterminaloEymUuxUHl09ZGVZPK5anwXA=\n\nSECURITY ERROR\nThis download does NOT match an earlier download recorded in go.sum.\nThe bits may have been replaced on the origin server, or an attacker may\nhave intercepted the download attempt.\n\nFor more information, see 'go help module-auth'.\n\n\tsnapshot=0\n\tdirectory=/Users/andig/htdocs/evcc-config\n\tquery=[./... builtin]\n\tpackages=0\n"}


[Trace - 14:03:02.958 PM] Received notification 'window/logMessage'.
Params: {"type":1,"message":"2020/10/27 14:03:02 initial workspace load failed: go [-e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/73/89ycv7qn51j4kbm04jsz9b840000gn/T/go.a370d376d6e40e0bcf32ee359cd3a7c37a103fec36e170c17beca9f354f4b942.604150706.mod -- ./... builtin]: exit status 1: verifying github.com/hashicorp/go-version@v1.2.1/go.mod: checksum mismatch\n\tdownloaded: h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=\n\tgo.sum:     h1:fltr4n8CU8Ke44wwcashterminaloEymUuxUHl09ZGVZPK5anwXA=\n\nSECURITY ERROR\nThis download does NOT match an earlier download recorded in go.sum.\nThe bits may have been replaced on the origin server, or an attacker may\nhave intercepted the download attempt.\n\nFor more information, see 'go help module-auth'.\n: packages.Load error\n"}
@andig
Copy link
Contributor Author

@andig andig commented Oct 28, 2020

Cleaned cache again. I'm stumped how it could have gotten corrupted twice. I'm assuming it was not the mod cache that needed be cleaned but more the local go.sum failed which got corrupted (probably stray search/replace in the workspace). Hope this is solved.

However, even after cleaning- and without "failed" in the live log view- saving files is still broken (i.e. hanging). Here are a couple of points from the new logfile that are slow:

[Trace - 13:21:09.728 PM] Received response 'textDocument/documentLink - (4)' in 1291087ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/fmt"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":6}},"target":"https://pkg.go.dev/sort"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":28}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util"},{"range":{"start":{"line":9,"character":2},"end":{"line":9,"character":36}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util/request"},{"range":{"start":{"line":12,"character":3},"end":{"line":12,"character":62}},"target":"https://api.forecast.solar/estimate/:lat/:lon/:dec/:az/:kwp"}]

[Trace - 13:21:09.747 PM] Received response 'textDocument/documentLink - (16)' in 1285476ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/fmt"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":6}},"target":"https://pkg.go.dev/sort"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":28}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util"},{"range":{"start":{"line":9,"character":2},"end":{"line":9,"character":36}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util/request"},{"range":{"start":{"line":12,"character":3},"end":{"line":12,"character":62}},"target":"https://api.forecast.solar/estimate/:lat/:lon/:dec/:az/:kwp"}]

[Trace - 13:21:10.001 PM] Received response 'textDocument/documentLink - (41)' in 926156ms.
Result: [{"range":{"start":{"line":3,"character":2},"end":{"line":3,"character":5}},"target":"https://pkg.go.dev/fmt"},{"range":{"start":{"line":4,"character":2},"end":{"line":4,"character":6}},"target":"https://pkg.go.dev/sort"},{"range":{"start":{"line":5,"character":2},"end":{"line":5,"character":9}},"target":"https://pkg.go.dev/strings"},{"range":{"start":{"line":6,"character":2},"end":{"line":6,"character":6}},"target":"https://pkg.go.dev/time"},{"range":{"start":{"line":8,"character":2},"end":{"line":8,"character":28}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util"},{"range":{"start":{"line":9,"character":2},"end":{"line":9,"character":36}},"target":"https://pkg.go.dev/github.com/andig/evcc@v0.0.0-20201028095451-1f909a16e6e8/util/request"},{"range":{"start":{"line":12,"character":3},"end":{"line":12,"character":62}},"target":"https://api.forecast.solar/estimate/:lat/:lon/:dec/:az/:kwp"}]

There is also:

Params: {"type":1,"message":"2020/10/28 13:21:07 initial workspace load failed: go [-e -json -compiled=t ....
go: main/beats4pi/beats/auditbeat/datastore imports
    github.com/coreos/bbolt: github.com/coreos/bbolt@v1.3.5: parsing go.mod:
    module declares its path as: go.etcd.io/bbolt
            but was required as: github.com/coreos/bbolt
: packages.Load error

Not much to do here as this happens upstream.

I'm still unable to really use the go plugin right now and have no idea what's wrong.

vscode.txt.zip

@hyangah
Copy link
Contributor

@hyangah hyangah commented Oct 28, 2020

@andig Thanks a lot for being patient and providing the full trace.
From the trace, I see gopls failed to load packages (due to failed go list caused by bad dependency you mentioned) from the very beginning and stopped responding to requests timely. I will transfer this to gopls repo now for further investigation.
@andig - you said the problem is reproducible with public repos. Can you share the public repos so we can try to repro?

Corrupted module cache or failed go list calls shouldn't stop gopls this badly.

cc @stamblerre @findleyr @heschik

@hyangah hyangah changed the title Getting code actions from Go takes forever x/tools/gopls: Getting code actions from Go takes forever Oct 28, 2020
@hyangah hyangah transferred this issue from golang/vscode-go Oct 28, 2020
@gopherbot gopherbot added this to the Unreleased milestone Oct 28, 2020
@andig
Copy link
Contributor Author

@andig andig commented Oct 28, 2020

Thanks a lot for being patient and providing the full trace.

No! I'm greatful for the great support I'm receiving. This is my workspace corresponding with the last log:

Screenshot 2020-10-28 at 16 15 15

These are the respective repos, one per module:

They are all public.

@stamblerre stamblerre changed the title x/tools/gopls: Getting code actions from Go takes forever x/tools/gopls: getting code actions from Go takes forever Oct 28, 2020
@heschik
Copy link
Contributor

@heschik heschik commented Oct 28, 2020

Some of this is the same symptoms as #42132. But the most recent problem is still

go: main/beats4pi/beats/auditbeat/datastore imports
	github.com/coreos/bbolt: github.com/coreos/bbolt@v1.3.5: parsing go.mod:
	module declares its path as: go.etcd.io/bbolt
	        but was required as: github.com/coreos/bbolt

Please make sure that you're using a recent version of elastic/beats; https://github.com/elastic/beats/blob/master/auditbeat/datastore/datastore.go imports the correct path go.etc.io/bbolt as of March.

@andig
Copy link
Contributor Author

@andig andig commented Oct 28, 2020

My problem here is that I‘m not even using it as part of this workspace. Where/how should I even ensure that?

UPDATE here's something interesting. I've tried to find out where that comes from using go mod why in the module folders. While two ended up with (main module does not need package github.com/elastic/beats) this unexpectedly happened in the third:

~/htdocs/gridx-modbus fix/logger
❯ go mod why github.com/elastic/beats
go: finding module for package github.com/elastic/beats
go: found github.com/elastic/beats in github.com/elastic/beats v7.6.2+incompatible
warning: ignoring symlink /Users/andig/htdocs/beats4pi/beats/beats
warning: ignoring symlink /Users/andig/htdocs/pimatic-app/node_modules/pimatic-fritz
go: finding module for package github.com/docker/docker/daemon/graphdriver
go: finding module for package github.com/docker/docker/client
go: finding module for package github.com/andig/ingress/pkg/registry
go: finding module for package github.com/docker/docker/api/types
go: finding module for package github.com/docker/swarmkit/agent/exec
go: finding module for package github.com/moby/buildkit/frontend/dockerfile/shell

After that it basically starts to download the internet forever....

All my modules are below htdocs. These are not part of the workspace:

warning: ignoring symlink /Users/andig/htdocs/beats4pi/beats/beats
warning: ignoring symlink /Users/andig/htdocs/pimatic-app/node_modules/pimatic-fritz

Why are they even analyzed as part of the go mod why?

@heschik
Copy link
Contributor

@heschik heschik commented Oct 28, 2020

Glancing at https://github.com/andig/beats4pi, it appears that it's an argument to the docker run command.

@andig
Copy link
Contributor Author

@andig andig commented Oct 28, 2020

Glancing at https://github.com/andig/beats4pi, it appears that it's an argument to the docker run command.

...but it's nowhere part of the workspace? It is not even a go module. It shouldn't matter?

~/htdocs/gridx-modbus master
❯ go mod why github.com/elastic/beats
go: downloading github.com/elastic/beats v7.6.2+incompatible
^C

~/htdocs/gridx-modbus master 9s
❯ cat go.* | grep elastic
zsh: no matches found: go.*

Why does it start downloading that right away and hence pulling in the entire internet?

@heschik
Copy link
Contributor

@heschik heschik commented Oct 28, 2020

I believe your problem is that the gridx-modbus package doesn't have a go.mod file, and you do have one at /Users/andig/htdocs/go.mod so it is looking at everything in htdocs.

@andig
Copy link
Contributor Author

@andig andig commented Oct 29, 2020

... so it is looking at everything in htdocs.

Spot-on. To summarise:

  • corrupted module-local go.sum leads to checksum mismatch and (assumption) process is repeated forever. Not a problem with the module cache.
  • missing go.mod in one workspace module leads to go tools going up fs hierarchy to outside of the workspace and draws in huge amount of unwanted dependencies, one of is/was broken upstream

We could close this here as issue understood and solved, unless anyone sees a specific improvement that could have helped remedy especially the second issue?

@heschik
Copy link
Contributor

@heschik heschik commented Oct 29, 2020

Unfortunately the latter problem is just how the go command works. I can't think of anything in particular to do to improve that. We can make the first case clearer so I'll leave this open.

@stamblerre stamblerre changed the title x/tools/gopls: getting code actions from Go takes forever x/tools/gopls: use ShowMessageRequests in combination with diagnostics to surface packages.Load error Oct 30, 2020
@stamblerre stamblerre added the Soon label Nov 2, 2020
@stamblerre stamblerre changed the title x/tools/gopls: use ShowMessageRequests in combination with diagnostics to surface packages.Load error x/tools/gopls: improve messaging for "critical" errors Nov 10, 2020
@gopherbot
Copy link

@gopherbot gopherbot commented Nov 10, 2020

Change https://golang.org/cl/268677 mentions this issue: internal/lsp: show critical error pop-ups as progress reports

@stamblerre stamblerre added this to Needs Triage in vscode-go: gopls by default Nov 10, 2020
@stamblerre stamblerre moved this from Needs Triage to Critical in vscode-go: gopls by default Nov 10, 2020
gopherbot pushed a commit to golang/tools that referenced this issue Nov 17, 2020
We've been looking for a way to show unintrusive error status reports to
users--try using progress reports as a way of populating a status bar.
This avoids the problem of annoying the user with constant pop-ups.

Whenever an error is returns from (*snapshot).WorkspacePackages, we
start a progress report with the error message. If the error goes away
on the next call to diagnostics, or the error message changes, we will
either remove or update the progress report.

Screencast: https://drive.google.com/file/d/1tG9pc_tPsLoqkQHiJqdY8b06TzTkPVae/view?usp=sharing&resourcekey=0-CEG_LhGHYiFp9S37ut_kgw

Updates golang/go#42250

Change-Id: I8a529a911883092bc08af32246719d883dc5f5a2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/268677
Trust: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
@andig
Copy link
Contributor Author

@andig andig commented Nov 19, 2020

missing go.mod in one workspace module leads to go tools going up fs hierarchy to outside of the workspace and draws in huge amount of unwanted dependencies, one of is/was broken upstream

I've just noticed this again when I've added a documentation-only github repo to my workspace:

  • go module 1
  • go module 2
  • ...
  • documentation repo <- new

The docs repo doesn't contain any go files but still triggers the above behaviour and renders gopls useless (plus killing the battery).

I'd propose to exclude folder hierarchies that do not contain any go files from contribution to the work gopls does. Such folders should not be traversed higher- outside of the workspace root- to find go.mod files.

@heschik
Copy link
Contributor

@heschik heschik commented Nov 19, 2020

Sorry, I don't think we're going to do that. The behavior of the go command is that any enclosing go.mod file denotes a module, and gopls needs to follow that rule to avoid creating confusion. I strongly suggest you delete the go.mod file in htdocs.

@andig
Copy link
Contributor Author

@andig andig commented Nov 19, 2020

The htdocs folder is my scratch area, so it will always contain random go or go.mod files. I could of course adjust that.

I understand why that happens now, but find it hard to adjust. I don‘t see why the docs folder should be part of the build at all:

  • it is part of a vscode workspace, nothing more
  • it doesn‘t contain any go files, nor do its child folders
  • it can never contribute anything to the build

Why should its parent folders be searched at all, much more when they lead outside of the workspace? This might be expected behaviour from the go command side, but it‘s certainly not looking from vscode user‘s side imho.

So when and why is that folder even added to the build? Imho that step happens outside of the go command, in vscode, and hence is modifyable behaviour?

Note this is different from #42250 (comment) where the folder did contain go files but not go.mod. This „new“ issue here is that non-go folders are added to the go build with unwanted side effects.

@andig
Copy link
Contributor Author

@andig andig commented Nov 22, 2020

This „new“ issue here is that non-go folders are added to the go build with unwanted side effects.

Am I making sense here? Should we split this into a new issue about what workspace folders are being added to gopls?

@stamblerre
Copy link
Contributor

@stamblerre stamblerre commented Nov 22, 2020

Do you mind sharing a log with the behavior you're experiencing? And if the issue is reproducible with a public repo, please share it if you can. gopls will try to load the docs folder on start-up to check if it contains any Go files, but if it doesn't, it shouldn't affect the user experience after that point.

@heschik
Copy link
Contributor

@heschik heschik commented Nov 23, 2020

We have explicit support for opening folders underneath the go.mod file, and I don't think that behavior should break. The first time you hit this problem, it was with a folder that did contain go code in #42250 (comment). Given that, I think a change that fixes the problem only for folders that happen to not have any go code is not worth making. It is simply not good practice to have a stray go.mod at a high level in a folder hierarchy.

@stamblerre stamblerre added WaitingForInfo and removed Soon labels Nov 25, 2020
@stamblerre stamblerre changed the title x/tools/gopls: improve messaging for "critical" errors x/tools/gopls: docs folder in workspace causes gopls slowdown Nov 25, 2020
@stamblerre stamblerre moved this from Critical to Waiting for Info in vscode-go: gopls by default Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
vscode-go: gopls by default
  
Waiting for Info
Linked pull requests

Successfully merging a pull request may close this issue.

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