golang/go
Documented errors, page 9 of 11. Back to golang/go
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| %s %s: %v | exception | error | go, go-mod, cache, verification, hashing, corruption |
| is not a regular file | validation | error | go-toolchain, work, modules, filesystem, validation |
| crypto/ecdh: mismatched curves | validation | error | go, crypto, fips, ecdh, key-validation, curve-mismatch |
| not completely extracted | exception | error | go, modules, cache, corruption |
| object is [ ] expected [ ] | error_code | error | go-compiler, abi, toolchain-mismatch, object-files |
| private key seed not available | exception | error | hpke, post-quantum, kem, serialization, hybrid |
| SHA-256 hash of is , want (from ) | console | critical | security, fips140, verification, integrity, tampering, go-command |
| cannot determine module path for source directory | exception | error | go-mod-init, module-path, inference, gopath, vcs |
| crypto/md5: invalid hash state identifier | validation | error | crypto, hash, md5, serialization, go-stdlib |
| import path is reserved and cannot be used | validation | error | go-compiler, import-path, reserved, validation |
| lzw: unknown order | validation | error | lzw, compression, argument-validation, enum, reader |
| no DWARF data in Plan 9 file | exception | error | dwarf, plan9, debugging, pprof, go-toolchain |
| not in workspace mode but number of indexes is | panic | critical | go-modules, panic, internal-error, vendor, workspace |
| package not provided by module | exception | error | go-toolchain, module, package-loading, install |
| tls: server did not echo the legacy session ID | exception | error | tls, go, tls13, session-id, protocol-violation, rfc8446 |
| error opening target for caching | exception | error | pgo, build-cache, io, profile |
| Loong64 extension: invalid LSX arrangement type | exception | error | loong64, assembly, simd, lsx, assembler |
| mlkem: invalid encapsulation key length | validation | error | mlkem, post-quantum, fips140, crypto, key-parsing, input-validation |
| ref deleted | error_code | error | git, cache-reuse, ref-deleted, upstream-change |
| archive/tar: missed writing | exception | error | archive, tar, writer, flush, contract |
| binary-only packages are no longer supported | validation | error | go, gopath, binary-only, legacy, build |
| ecdsa: curve not supported by PrivateKey.Bytes | error_code | error | crypto, ecdsa, private-key, serialization, curve-mismatch |
| error: cannot use -w with standard input | validation | error | gofmt, cli, stdin, flags |
| path matched multiple packages | error_code | warning | doc, package, ambiguous, build-tags |
| proxy returned info for version | exception | error | goproxy, versioning, proxy, stat |
| refs changed | error_code | info | git, cache-reuse, refs, upstream-change, benign |
| / is missing module path at revision | exception | error | go-modules, go-mod, module-path, repository-layout |
| unknown -mode | validation | error | go-toolchain, cover, cli-flags, enum, validation |
| gzip.Write: non-Latin-1 header string | validation | error | gzip, compression, header-validation, encoding, latin-1, unicode |
| no SHA-256 hash for in | console | error | security, fips140, verification, toolchain, go-command |
| pbkdf2: keyLength must be larger than 0 | validation | error | crypto, fips140, pbkdf2, kdf, input-validation |
| git remote ( ) must not be local directory | validation | error | git, url, local-mode, replace-directive, config |
| invalid format: invalid header line | error_code | error | go-toolchain, goauth, authentication, parsing, headers, custom-command |
| non-specific origin | error_code | warning | git, cache-reuse, origin, metadata |
| unable to parse output of fossil info | exception | error | vcs, fossil, parsing, date, locale |
| hash changed | error_code | warning | vcs, checkreuse, hash, force-push, retag |
| : parsing //go:build line | exception | error | build-constraints, go-build, parsing, module-index |
| tls: server selected TLS 1.3 in a renegotiation | exception | error | tls, go, tls13, renegotiation, protocol-violation |
| tls: server sent a cookie in a normal ServerHello | exception | error | tls, tls13, handshake, cookie, protocol-violation, network, go |
| tls: unknown session encoding | exception | error | tls, session-resumption, version-compat, corruption |
| crypto/md5: invalid hash state size | validation | error | crypto, hash, md5, serialization, go-stdlib |
| crypto/rsa: missing private exponent | validation | error | crypto, rsa, key-validation, go |
| invalid vcs remote | validation | error | vcs, url, vanity-import, configuration |
| MapViewOfFile | exception | error | go-toolchain, mmap, windows, memory |
| preprocessed profile error processing call line | exception | error | pgo, deserialization, parse-error, strconv, go-compiler-internal |
| exists but is not executable | validation | error | script, test-framework, exists, permissions, executable, assertion, go-compiler-internal |
| CC not set and no default found | exception | error | cgo, cc, compiler, environment, cross-compile |
| preprocessed profile error processing call weight | exception | error | pgo, deserialization, parse-error, strconv, go-compiler-internal |
| tls: server selected an invalid PSK and cipher suite pair | exception | error | tls, tls13, handshake, psk, session-resumption, cipher-suite, protocol-violation, network, go |
| tls: server selected TLS 1.3 using the legacy version field | exception | error | tls, go, tls13, version-negotiation, protocol-violation, rfc8446 |
| -asan: C compiler is not gcc or clang | validation | error | go-toolchain, asan, cgo, compiler-detection |
| crypto/rsa: prime factor is <= 1 | validation | error | crypto, rsa, key-validation, go |
| crypto/rsa: prime factor is nil | validation | error | crypto, rsa, key-validation, multi-prime, go |
| crypto/rsa: prime factors are not relatively prime | exception | error | crypto, rsa, key-validation, math, go |
| gccgo -importcfg does not support shared libraries | exception | error | go-toolchain, gccgo, importcfg, shared-libraries |
| go:embed cannot apply to multiple vars | validation | error | compiler, go-embed, var-declaration, go-directives |
| ecdsa: invalid signature: r is zero | validation | error | go, crypto, fips, ecdsa, verification, signature |
| GOPATH entry is relative; must be absolute path | validation | error | config, env, gopath, validation, filesystem |
| exists but is writable | validation | error | script, test-framework, exists, permissions, readonly, assertion, go-compiler-internal |
| codehost.WorkDir: can't find or create lock file | exception | error | filesystem, permissions, locking, vcs-cache, gomodcache |
| crypto/rsa: prime P is nil | validation | error | crypto, rsa, key-validation, go |
| is not a directory | validation | error | go-work, filesystem, cli, path-validation |
| : missing .go_export section | exception | error | gccgo, shared-library, elf, build-cache |
| tls: invalid client key share | validation | error | tls, go, key-share, ecdhe, crypto, handshake |
| archive/tar: sockets not supported | validation | error | archive, tar, filesystem, socket, file-mode |
| crypto/ecdh: private key and public key curves do not match | error_code | error | crypto, ecdh, keys, validation, go, security |
| failed to find matching goroutines for name | exception | error | go-tool-trace, pprof, goroutine, filter |
| go:embed cannot apply to var inside func | validation | error | compiler, go-embed, scope, package-level, go-directives |
| no symbol in package | error_code | warning | doc, symbol, lookup, user-input |
| origin moved from to | error_code | error | vcs, checkreuse, subdir, monorepo, origin |
| tags changed | error_code | info | git, cache-reuse, tags, upstream-change, benign |
| subprogram DIE low_pc not convertible to uint64 | exception | error | dwarf, go-linker, dwtest, debug-info |
| tls: unexpected encrypted client hello extension in… | exception | error | tls, go, ech, tls13, unsolicited-extension, protocol-violation |
| too many arguments | validation | error | go-toolchain, cover, cli-flags, too-many-arguments |
| cannot find .go.fipsinfo | exception | error | fips, fips140, elf, linker, go-toolchain, linux |
| invalid GOSUMDB URL | validation | error | go-sumdb, gosumdb, url-validation, configuration |
| ecdsa: private key does not match curve | validation | error | go, crypto, fips, ecdsa, key-validation, curve-mismatch |
| Ed25519 verification failure | exception | error | crypto, tls, ed25519, signature, go |
| error reading : invalid module path | validation | error | go-modules, go-mod, validation, reserved-path |
| FIPS 140-3 mode is incompatible with… | exception | error | fips140, boringcrypto, goexperiment, config, compatibility |
| import path contains space character | validation | error | go-compiler, import-path, whitespace, validation |
| P521 point is the point at infinity | validation | error | crypto, fips140, p521, elliptic-curve, point-at-infinity |
| unclosed quote | validation | error | cgo, cc, environment, quoting, shell |
| error reading -outfilelist file | error_code | error | go-toolchain, cover, filesystem, pkgcfg, io-error |
| import path contains invalid character '%c | validation | error | go-compiler, import-path, invalid-characters, validation |
| not allowed in import path | validation | error | vcs, import-path, user-error |
| unsupported scheme | exception | error | network, modules, url, validation |
| crypto/rsa: d does not match dP | validation | critical | crypto, rsa, key-validation, crt, go |
| server's certificate is not allowed in FIPS 140-3 mode | exception | critical | tls, go, fips, certificate, compliance, security |
| tls: second client hello missing encrypted client hello… | exception | error | tls, go, ech, encrypted-client-hello, hello-retry-request, handshake |
| unknown go command variable | validation | error | config, env, validation, typo |
| cipher: the nonce can't have zero length | validation | error | crypto, aes, gcm, cipher, fips, validation |
| hpke: invalid hybrid KEM secret length | validation | error | hpke, post-quantum, hybrid, validation, go |
| import path cannot be absolute path | validation | error | compiler, imports, absolute-path, go-build |
| parse : no go-import meta tags ( ) | exception | error | go, modules, vcs, vanity |
| pattern does not specify a single package | validation | warning | doc, pattern, package, user-input |
| too many options | validation | error | go-toolchain, cover, cli-flags, flag-conflict |
| build output already exists and is not an object file | validation | error | go-toolchain, build, filesystem, validation |
| ed25519: expected opts.HashFunc() zero (unhashed message… | validation | error | go, crypto, ed25519, api-misuse |
| invalid PQ KEM for P-256 hybrid | validation | error | hpke, post-quantum, ml-kem, hybrid, go |