tring) (after string, found bool)func(fd int, level int, opt int, value byte) (err error)func(domain int, typ int, proto int) (fd int, err error)Return-terminated block has %d successors; expected noneoperand %d of %s is an instruction (%s) from function %srecord on line %d; parse error on line %d, column %d: %voutput JSON (Go compatible legacy flag, see format flag)The package pattern matched the following root package: both Defs and Definitions are set; at most one should bemaxProperties: object has %d properties, greater than %dcrypto/cipher: internal error: generic CBC used with AEScrypto/cipher: internal error: generic CTR used with AESb4050a850c04b3abf54132565044b0b7d7bfd8ba270b39432355ffb4b70e0cbd6bb4bf7f321390b94a03c1d356c21122343280d6115c1d21bd376388b5f723fb4c22dfe6cd4375a05a07476444d5819985007e34x509: subject key identifier incorrectly marked criticalx509: internal error: empty chain when appending CA certunexpected table separator (table names cannot be empty)non-deterministic or non-symmetric function detected: %sgopls cannot access its persistent index (disk full?): %vsync: WaitGroup misuse: Add called concurrently with Waitsync: WaitGroup.Add called from multiple synctest bubblesruntime: checkmarks found unexpected unmarked object obj=runtime: failed to disable profiling timer; timer_delete(non-Go code set up signal handler without SA_ONSTACK flagcannot run executable found relative to current directory (set GODEBUG=execwait=2 to capture stacks for debugging)unmarshal failed to match one of [DefinitionOptions bool]internal error: could not compute pos to range for %v: %vBelow is a summary of the APIs it uses from other files. To read the full API of any package, use go_package_api. invalid qualified symbol: could not find %q in package %qhttp2: TLS conn unexpectedly found in unencrypted handoff^\s*(?:[A-Z0-9a-z_]+:)?\s*([A-Z]+)\s*([^,]*)(?:,\s*(.*))?malformed //go:build line (space between // and go:build)invalid AST: short variable declaration of non-identifier%s: internal error in findLabels: unexpected statement %Tshould replace this if statement with an unconditional %sEmpty critical section, did you mean to defer the unlock?(AssignStmt sel@(SelectorExpr selX (Ident "N")) "=" [_] )Impossible comparison of interface value with untyped nilshould check error returned from %s() before deferring %s\"for { select { ...\" with an empty default branch spinsPrintf format %s reads arg #%d, but call has only %d argsPrintf format %s reads invalid arg 0; indices are 1-basedDefers in range loops may not run when you expect them toshould not use MixedCaps in package name; %s should be %serror strings should not end with punctuation or newlinesA function's error value should be its last return value.Poorly chosen name for variable of type \'time.Duration\'should use constant http.%s instead of numeric literal %dGobDecoder: invalid data length %d: exceeds input size %dtype mismatch: no fields matched compiling decoder for %sinvalid operation: %s %s= %s (mismatched types %s and %s)parser.ParseFile: no token.FileSet provided (fset == nil)AddTool %q: input schema must have type "object" (got %v)crypto/drbg: internal error: request size exceeds maximumtls: client sent invalid encrypted_client_hello extensiontls: Ed25519 public keys are not supported before TLS 1.2received record with version %x when expecting version %xtls: server sent an unnecessary HelloRetryRequest messagetls: server selected an invalid PSK and cipher suite pairtls: no key exchanges supported by both client and servertls: client sent invalid encrypted client hello extensionfunc(s []byte, suffix []byte) (before []byte, found bool)func(v any, prefix string, indent string) ([]byte, error)func(dir string, pattern string) (name string, err error)func[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) boolfunc(network string, address string) (*rpc.Client, error)func(name string, atime time.Time, mtime time.Time) errorfunc(name string, flag int, perm FileMode) (*File, error)func(s string, suffix string) (before string, found bool)func(addr *uint32, old uint32, new uint32) (swapped bool)func(addr *uint64, old uint64, new uint64) (swapped bool)func(fd int, flags int) (nfd int, sa Sockaddr, err error)func(fd int, level int, opt int, tv *Timeval) (err error)expected successor edge in predecessor %s; found only: %sexpected predecessor edge in successor %s; found only: %scan't handle assignment of %s to empty interface argumentinvalid finding: all findings must have an associated OSVmaxContains: contains validated %d items, greater than %dcrypto/cipher: invalid buffer overlap of output and inputx509: failed to parse EC private key embedded in PKCS#8: expected '.' or ']' to end table name, but got %q insteadcalled CompareAndSwap when value is not of comparable typesync/atomic: swap of inconsistently typed value into ValueGODEBUG=execwait=2 detected a leaked exec.Cmd created by: unexpected type %T, expected AnnotatedTextEdit or TextEditunmarshal failed to match one of [Pattern RelativePattern]failed to get workspace configuration from client (%s): %vjson: cannot set embedded pointer to unexported struct: %vProvides metadata about the Go package containing the filecannot push URL with scheme %q from request with scheme %qhttp2: client connection force closed via ClientConn.Close//go:debug directive only valid before package declarationredundant type from array, slice, or map composite literalshould use time.Sleep instead of elaborate way of sleepingChannels used with \'os/signal.Notify\' should be bufferedonly the first constant in this group has an explicit typeineffectual compiler directive due to extraneous space: %qshould not use ALL_CAPS in Go names; use CamelCase insteadshould not use underscores in Go names; %s %s should be %sAvoid zero-width and control characters in string literalsgob: cannot encode nil pointer of type %s inside interfacecannot use generic function %s without instantiation in %sinvalid operation: %v expects %d or %d arguments; found %dinvalid argument: field %s is embedded via a pointer in %sinvalid argument: maps of %s must have identical key typesimpossible type assertion: %s %s does not implement %s %scannot slice %s: %s and %s have different underlying typesfunc must be func(yield func(...) bool): in yield type, %sassignment operation %s requires single-valued expressions ($GOPATH not set. For more details see: 'go help gopath')attrNoneattrScriptattrScriptTypeattrStyleattrURLattrSrcseturlPartNoneurlPartPreQueryurlPartQueryOrFragurlPartUnknown"seconds" parameter is not supported for this profile typeinlining affected declaration order: found %v, not func %sparsed file does not contain expected function declarationinlining failed (%q), likely because inputs were ill-typedcouldn't find name %s: adding parameters not yet supported would change the %s method of %s invoked via interface %srenaming %q to %q not possible because %q in %q has errorsAddTool %q: output schema must have type "object" (got %v)reading resource %s: read handler returned nil informationtls: FIPS 140-3 requires the use of Extended Master Secrettls: server changed cipher suite after a HelloRetryRequestkeeping param %q and following ones: argument %s is spreadfunc(w io.Writer, level int, dict []byte) (*Writer, error)func(r io.Reader, order Order, litWidth int) io.ReadCloserfunc(parent Context) (ctx Context, cancel CancelCauseFunc)func(publicKey PublicKey, message []byte, sig []byte) boolfunc(rand io.Reader, max *big.Int) (n *big.Int, err error)func(certFile string, keyFile string) (Certificate, error)func(p *float64, name string, value float64, usage string)func(filename string, data []byte, perm fs.FileMode) errorfunc[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[K]func[Map ~map[K]V, K comparable, V any](m Map) iter.Seq[V]func(x uint, y uint, carry uint) (sum uint, carryOut uint)func(network string, laddr *TCPAddr) (*TCPListener, error)func(network string, service string) (port int, err error)func(ctx context.Context, name string, arg ...string) *Cmdfunc(ctx context.Context, labels LabelSet) context.Contextfunc(ctx context.Context, category string, message string)func(c complex128, fmt byte, prec int, bitSize int) stringfunc(s string, base int, bitSize int) (i int64, err error)func(dirfd int, path string, mode uint32, flags int) errorfunc(fd int, p []byte, flags int, to Sockaddr) (err error)func(fd int, level int, opt int, mreq *IPMreq) (err error)anonymous functions should not be built by buildFunction()crypto/elliptic: ScalarMult was called on an invalid pointx509: authority key identifier incorrectly marked criticalx509: certificate contains duplicate extension with OID %qx509: failed to parse RSA private key embedded in PKCS#8: crypto/ecdh: bad X25519 remote ECDH input: low order pointunexpected end of table name (table names cannot be empty)Invalid float %q: underscores must be surrounded by digitsdynamic symbol table seen before any ordinary symbol tableArrayTypeClassTypeEntryPointEnumerationTypeFormalParameterrun a server for Go code using the Language Server Protocolsync: WaitGroup is reused before previous Wait has returnedsync/atomic: store of inconsistently typed value into Valueruntime: mmap: too much locked memory (check 'ulimit -l'). tried to trace goroutine with invalid or unsupported statusunmarshal failed to match one of [Location LocationUriOnly]reflect: reflect.Value.Elem on an invalid notinheap pointerreflect: indirection through nil pointer to embedded structmust save workspace file %s before running go work commandsFile `%s` is in package %q, which has the following files: token.Pos offset overflow (> 2G of source code in file set)http2: Transport received Server's graceful shutdown GOAWAYRoundTripper returned a response & error; ignoring responsehttp: superfluous response.WriteHeader call from %s (%s:%d)http: response.Write on hijacked connection from %s (%s:%d)address of non 64-bit aligned field .%s passed to atomic.%sshould copy arrays using assignment instead of using a loopReplace call to \'strings.Index\' with \'strings.Contains\'(CallExpr (Builtin "make") [typ size@(IntegerLiteral "0")])(CallExpr (Symbol "time.Sleep") lit@(IntegerLiteral value))\'Write\' must not modify the slice data, even temporarily.\'TestMain\' doesn't call \'os.Exit\', hiding test failuresimpossible type assertion; %s and %s contradict each other:EnableAlias set while !EnableAlias type checking is ongoing!EnableAlias set while EnableAlias type checking is ongoinggeneric type alias requires GODEBUG=gotypesalias=1 or unsetmixture of field:value and value elements in struct literalfunc must be func(yield func(...) bool): unexpected resultsfunction with receiver type parameters must have a receiverinternal error: getPackages returned wrong path %q, want %qinternal error in importing %q (%v); please report an issuefailed to split patterns into chunks, a pattern is too longbufio.Scanner: SplitFunc returns advance count beyond inputdelimNonedelimDoubleQuotedelimSingleQuotedelimSpaceOrTagEnd\[\*?([\pL_][\pL_0-9]*(\.[\pL_][\pL_0-9]*){0,2})](?:[^:]|$)%[2]sadded in %vfailed to parse file %q declaring implementation symbol: %wSee https://go.dev/s/gopls-support-policy for more details.AddTool %q: can't marshal input schema to a JSON object: %vtls: server resumed a session with a different cipher suitetls: server selected TLS 1.3 using the legacy version fieldtls: server sent an unnecessary HelloRetryRequest key_sharetls: client didn't send one key share in second ClientHellotls: client sent unexpected key share in second ClientHello'Analyzer %s' heading not followed by '%s: summary...' linefunc(w io.Writer, order Order, litWidth int) io.WriteCloserfunc(c elliptic.Curve, rand io.Reader) (*PrivateKey, error)func(curve elliptic.Curve, data []byte) (*PublicKey, error)func(encapsulationKey []byte) (*EncapsulationKey768, error)func(driverName string, dataSourceName string) (*DB, error)(RowsColumnTypeDatabaseTypeName).ColumnTypeDatabaseTypeNamefunc(buf []byte, order ByteOrder, data any) ([]byte, error)func(output io.Writer, fset *token.FileSet, node any) errorfunc(fsys FS, pattern string) (matches []string, err error)func(hostport string) (host string, port string, err error)func(w ResponseWriter, r *Request, fsys fs.FS, name string)func(pattern string, name string) (matched bool, err error)func(skip int) (pc uintptr, file string, line int, ok bool)func(p []MemProfileRecord, inuseZero bool) (n int, ok bool)func(fd int, mode uint32, off int64, len int64) (err error)func(fd int, level int, opt int) (value [4]byte, err error)func(fd int, level int, opt int, mreq *IPMreqn) (err error)func(fd int, level int, opt int, value [4]byte) (err error)func(domain int, typ int, proto int) (fd [2]int, err error)func(h slog.Handler, results func() []map[string]any) errorlocal parameterized type abstraction must be an origin type%s field %q with tag %q conflicts with field %q with tag %qmaxLength: %q contains %d Unicode code points, more than %decdsa: internal error: ordInverse produced an invalid valuecrypto/rc4: use of RC4 is not allowed in FIPS 140-only modecrypto/ecdh: private key and public key curves do not matchcrypto/md5: use of MD5 is not allowed in FIPS 140-only modeconsider using cmpopts.EquateErrors to compare error valuescalled CompareAndDelete when value is not of comparable typesync/atomic: compare and swap of inconsistently typed valuesmanual span allocation called with non-manually-managed typeaddr range base and limit are not in the same memory segmentruntime: failed to configure profiling timer; timer_settime(runtime: malformed profBuf buffer - tag and data out of syncreflect: call of reflect.Value.Cap on ptr to non-array Valuereflect: call of reflect.Value.Len on ptr to non-array Value`go run golang.org/x/telemetry/cmd/gotelemetry@latest local`bytes.Reader.UnreadRune: previous operation was not ReadRuneThe reference is located on line %v, which has content `%s` call to WriteTo for trace.FlightRecorder already in progress (Client.Timeout or context cancellation while reading body)internal error: attempt to send frame on a closed stream: %vmalformed response from server: missing status pseudo headernet/http: server response headers exceeded %d bytes; aborted%#v returned a non-nil result for a %q Request without an IDreport mismatches between assembly files and Go declarationscomma-separated list of functions whose results must be usedcould merge conditional assignment into variable declaration x = append(x, y...) x = append(x, y...) x = append(x, y...)should replace this if statement with an unconditional %s.%sshould use copy() instead of loop for sliding slice elements if s != nil { for _, x := range s { ... } }should call %s before starting the goroutine to avoid a race%s doesn't have side effects and its return value is ignoredChecking for impossible return value from a builtin functionStoring non-pointer values in \'sync.Pool\' allocates memoryat least one file in a package should have a package commentShould use constants for HTTP error codes, not magic numberscould not determine absolute path of file= query path %q: %v

Imported symbols

changing results not yet supported (got %d results, want %d)internal error: missing type information for %s import at %sgetting file %s for Completion: %v (package completions: %v)reference of type %q must not have a URI set for marshallingAddTool %q: can't marshal output schema to a JSON object: %vtls: no supported versions satisfy MinVersion and MaxVersiontls: initial handshake had non-empty renegotiation extensiontls: server resumed a session with a different EMS extensiontls: client requested unsupported application protocols (%q)invalid //go:fix inline directive: array types not supportedcannot inline: type parameter inference is not yet supportedarg #%d: %s pure=%t effects=%t duplicable=%t free=%v type=%vfunc(curve elliptic.Curve, data []byte) (*PrivateKey, error)func(encapsulationKey []byte) (*EncapsulationKey1024, error)func(str string, format string, a ...any) (n int, err error)func(obj *TypeName, underlying Type, methods []*Func) *Namedfunc(r Rectangle, subsampleRatio YCbCrSubsampleRatio) *YCbCrfunc(r uint8, g uint8, b uint8) (uint8, uint8, uint8, uint8)func[V any](seq Seq[V]) (next func() (V, bool), stop func())func(network string, laddr *UnixAddr) (*UnixListener, error)func(pattern string, handler func(ResponseWriter, *Request))func(base string, elem ...string) (result string, err error)func(addr *uintptr, old uintptr, new uintptr) (swapped bool)func(argv0 string, argv []string, envv []string) (err error)func(path string, mode int, perm uint32) (fd int, err error)func(fd int, level int, opt int, filter *ICMPv6Filter) errorfunc(fd int, level int, opt int, mreq *IPv6Mreq) (err error)Unreachable-terminated block has %d successors; expected oneinvalid finding: all callstacks must have at least one frame// Subtle: this method shadows the method (%s).%s of %s.%s. minLength: %q contains %d Unicode code points, fewer than %dx509: certificate is valid for %d names, but none matched %sexpected a comma (',') or array terminator (']'), but got %sInvalid integer %q: underscores must be surrounded by digitsInvalid float %q: '.' must be followed by one or more digitsKey '%s' was already created and cannot be used as an array.OSV entries must have filename of the form .json, got %sGovulncheck determined that the vulnerable code isn't calledoptional header size is less than optional header magic size is in a tiny block with other (possibly long-lived) values runtime: may need to increase max user processes (ulimit -u) exec: Cmd started a Process but leaked without a call to Waitunmarshal failed to match one of [InsertReplaceEdit TextEdit]unmarshal failed to match one of [DocumentSymbolOptions bool]reflect: wrong return count from function created by MakeFuncforwarder: gopls path mismatch: forwarder is %q, remote is %qThe following changes are necessary to rename the symbol: %s net/http: invalid Cookie.Domain %q; dropping domain attributenil slice being cast to an array of len > 0 will always panichttps://pkg.go.dev/golang.org/x/tools/go/analysis/passes/slog(CallExpr (SelectorExpr (Ident "fmt") (Ident "Errorf")) args)this condition occurs multiple times in this if/else if chaintype mismatch in decoder: want struct type %s; got non-structinvalid argument: argument has type %s, expected complex typefile requires newer Go version %v (application built with %v)conversion of slice to array pointer requires go1.17 or laterfunc must be func(yield func(...) bool): wrong argument countfunc must be func(yield func(...) bool): argument is not funcembedded field type cannot be a (pointer to a) type parameterparser.ParseExprFrom: no token.FileSet provided (fset == nil)internal error: go list returned non-absolute Package.Dir: %sinternal error: package %q without types was imported from %qinvalid: package move would result in illegal internal importspecifying relative paths in package rename not yet supportedThe build selects version %s rather than go.mod's version %s.elicit schema property %q has maximum %g less than minimum %greference of type %q must not have a Name set for marshallingtls: unsupported certificate: private key is %T, expected *%Ttls: EncryptedClientHelloConfigList contains no valid configstls: server sent a ServerHello extension forbidden in TLS 1.3tls: received a session ticket with empty opaque ticket labeltls: client certificate used with invalid signature algorithmone of info.Types or info.Uses is nil; both must be populatedfunc(w io.Writer, format string, a ...any) (n int, err error)func(r io.Reader, format string, a ...any) (n int, err error)func(pkg *ast.Package, importPath string, mode Mode) *Packagefunc(pos token.Pos, pkg *Package, name string, typ Type) *Varfunc(t time.Time, level Level, msg string, pc uintptr) Recordfunc(hi uint32, lo uint32, y uint32) (quo uint32, rem uint32)func(hi uint64, lo uint64, y uint64) (quo uint64, rem uint64)func(x uint, y uint, borrow uint) (diff uint, borrowOut uint)func(url string, data url.Values) (resp *Response, err error)func(ctx context.Context, trace *ClientTrace) context.Contextfunc(typ Type, fn func(args []Value) (results []Value)) Valuefunc(epfd int, op int, fd int, event *EpollEvent) (err error)func(fd int, offset int64, whence int) (off int64, err error)MakeClosure has %d Bindings for function %s with %d free vars%v -> %v [label=" %d ",style="%s",color="%s",arrowhead="%s"];supports 'source', 'binary', and 'extract' (default 'source'), but your code doesn't appear to call these vulnerabilities.could not find the enclosing function of the return statementx509: failed to parse URI constraint %q: cannot be IP addressimport specification: package path has no quotation marks: %v, but doesn’t appear to call any of the vulnerable symbols.bigmod: internal error: u and v are not in the expected statemalformed line table: program offset %d exceeds end offset %dfound bad pointer in Go heap (incorrect use of unsafe or cgo?)limiterEvent.stop: found wrong event in p's limiter event slotslice length too short to convert to array or pointer to arrayruntime: internal error: misuse of lockOSThread/unlockOSThreadstrings.Reader.UnreadRune: previous operation was not ReadRunetype %T not one of [ClientSemanticTokensRequestFullDelta bool]unmarshal failed to match one of [WorkspaceSymbolOptions bool]reflect.ArrayOf: array size would exceed virtual address spacereflect: reflect.Value.Pointer on an invalid notinheap pointerinternal error: inconsistent token.Files for pos (fixed files)go/packages returned unexpected package %q for standalone fileDecodeArgs: expected %d input arguments, got %d JSON argumentstrying to put back buffer of the wrong size in the copyBufPoolinternal error: no comments should be associated with sentinelhttps://pkg.go.dev/golang.org/x/tools/go/analysis/passes/boolscheck for shifts that equal or exceed the width of the integerhttps://pkg.go.dev/golang.org/x/tools/go/analysis/passes/shifthttps://pkg.go.dev/golang.org/x/tools/go/analysis/passes/tests(CallExpr (SelectorExpr (Ident "bytes") (Ident "Equal")) args)(CallExpr (SelectorExpr (Ident "time") (Ident "Since")) [arg])should merge variable declaration with assignment on next line(CallExpr (SelectorExpr (Ident "time") (Ident "Until")) [arg])(CallExpr (SelectorExpr (Ident "time") (Ident "Sleep")) [arg])\'strings.Replace\' called with \'n == 0\', which does nothingComparing unsigned values against negative values is pointlessConverting a string to a slice of runes before ranging over itinvalid operation: %s arguments for %v (expected %d, found %d)select case must be send or receive (possibly with assignment)no token.File for TextEdit.End (%v; File(start).FileEnd is %d)internal error while importing %q (%v); please report an issue