golang/go
Documented errors, page 7 of 11. Back to golang/go
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| overlay maps child to directory | validation | error | go, go-toolchain, overlay, fsys, configuration |
| reading inputs | exception | error | coverage, covdata, filesystem, toolchain |
| doesn't contain type split | exception | error | go-compiler, ir, symbols, methods, internal |
| tls: TLS 1.3 client supports illegal compression methods | validation | error | tls, go, handshake, compression, rfc8446, compliance, crime |
| cannot find .data | exception | error | fips, fips140, pe, linker, go-toolchain, windows |
| crypto/rsa: use of hash functions other than SHA-2 or SHA-3… | validation | error | cryptography, go, rsa, pss, fips140, hash-function, compliance |
errMissData archive/tar: sparse file references non-existent data | error_code | error | archive-tar, sparse, validation, corruption, reader, writer |
| invalid P256 point encoding | validation | error | crypto, fips140, p256, elliptic-curve, point-encoding, input-validation |
| and differ | validation | error | script, test-framework, cmp, file-comparison, assertion, go-compiler-internal |
| tls: server resumed a session with a different version | exception | error | tls, session, resumption, protocol |
| copying | exception | error | go-toolchain, build, filesystem, permissions, install |
| crypto/rsa: d too small | validation | critical | crypto, rsa, key-validation, security, go |
| internal error: MatchDirs | exception | error | go-modules, internal-error, search, patterns |
| invalid ASN.1 | exception | error | crypto, ecdsa, asn1, signature, encoding, input-validation |
| invalid scalar length | validation | error | crypto, fips140, p521, scalar, input-validation, scalar-multiplication |
| missing GOSUMDB | exception | error | go-sumdb, gosumdb, configuration, env-var, checksum |
| not a known dependency | exception | warning | module-resolution, go-list, dependencies |
| preprocessed profile contains duplicate edge %+v | validation | error | pgo, deserialization, duplicate-data, go-compiler-internal |
| unrecognized environment | exception | info | wasm, js, osinfo, version, best-effort |
| use of vendored package not allowed | validation | error | go, vendor, modules, build |
context.Canceled context canceled | error_code | info | context, cancellation, concurrency, sentinel, stdlib |
| GOENV=off | error_code | warning | configuration, environment, goenv |
| no mutually supported protocol versions | exception | warning | crypto, tls, version-negotiation, go |
| tls: server did not send a quic_transport_parameters… | exception | error | tls, tls13, quic, encrypted-extensions, protocol-violation, network, go |
| working directory is not in either GOROOT( ) or GOPATH( ) | exception | error | ios, go-test, gopath, goroot, module-mode, path-resolution |
| 'git credential fill' failed | error_code | error | go-toolchain, goauth, git, authentication, credentials, exec |
| Split called after Scan | panic | critical | bufio, scanner, panic, api-ordering, lifecycle |
| tls: malformed key_share extension | exception | error | tls, tls13, handshake, key-share, protocol-violation, network, go |
| crypto/ecdsa: only crypto/rand.Reader is allowed in FIPS… | error_code | error | crypto, ecdsa, fips, key-generation, compliance, random |
| crypto/rc4: use of RC4 is not allowed in FIPS 140-only mode | validation | error | cryptography, go, rc4, fips140, legacy-cipher, compliance |
| mlkem: invalid seed length | validation | error | crypto, mlkem, fips, validation, input-length |
| mlkemtest: Encapsulate1024: failed to reconstruct key: | validation | error | cryptography, go, post-quantum, mlkem, key-validation, test-utility |
| package provided by module @ All packages must be provided… | exception | error | go-toolchain, module, multi-module, install |
| exists with wrong content (have want ) | exception | error | cache, corruption, vcs-cache, version-mismatch |
| : dir has been modified ( ) | exception | error | go, go-mod, cache, verification, tamper-detection, security |
| tls: server sent encrypted client hello retry configs after… | exception | error | tls, tls13, ech, encrypted-client-hello, encrypted-extensions, protocol-violation, network, go |
| bytes: negative Repeat count | panic | error | bytes, repeat, validation, panic, go |
| condition requires a suffix | validation | error | go-script-test, conditions, go-toolchain |
| creating cpu profile | exception | error | gofmt, profiling, filesystem, permissions |
| crypto/ed25519: only crypto/rand.Reader is allowed in FIPS… | validation | error | go, crypto, ed25519, fips, randomness |
| crypto/sha512: invalid hash state identifier | validation | error | crypto, sha512, sha384, boringcrypto, serialization, hash |
| failed to locate cmd/compile for target platform | error_code | error | go, android, cross-compilation, toolchain, compiler, goroot |
| input overflows the modulus size | validation | error | go, crypto, fips, bigmod, modular-arithmetic, input-validation |
| no match for %#q in | validation | error | script, test-framework, grep, no-match, assertion, go-compiler-internal |
| subprogram DIE has no low_pc attr | exception | error | dwarf, go-linker, dwtest, debug-info |
| unexpected response from git log | error_code | error | git, malformed-output, corruption, stat-local, internal |
| unknown condition prefix | validation | error | go-script-test, conditions, go-toolchain |
| cannot embed : in non-directory | exception | error | embed, filesystem, go-embed |
| entry file incomplete | exception | error | go, build-cache, corruption, disk-cache, truncation |
errWriteHole archive/tar: write non-NUL byte in sparse hole | error_code | error | archive-tar, sparse, writer, validation, data-integrity |
| read name failed | exception | error | linker, go-toolchain, elf, cgo, note-section |
| ecdsa: public key point is the infinity | validation | error | go, crypto, ecdsa, validation, fips |
| error processing serialized PGO profile | error_code | error | go-compiler, go-pgo, data-parsing, serialization, version-compatibility |
| invalid P256 compressed point encoding | validation | error | crypto, fips140, p256, elliptic-curve, compressed-point, quadratic-residue |
| mldsa: nil public key | validation | error | cryptography, go, post-quantum, mldsa, nil-check, verification |
| read desc failed | exception | error | linker, go-toolchain, elf, cgo, note-section |
| : argument must be a package path, not an absolute path | validation | error | modules, go-install, cli, toolchain |
| Config.Importer not installed | validation | error | go-types, go-imports, configuration, api-setup |
| ed25519: invalid signature | validation | error | crypto, ed25519, fips140, signature, canonicalization |
| invalid previous version | validation | error | go-modules, query, semver, validation |
| : zip has been modified ( ) | exception | error | go, go-mod, cache, verification, tamper-detection, security |
| tls: ML-DSA certificates require TLS 1.3 | validation | error | crypto, tls, mldsa, post-quantum, tls13, go |
| use of cgo in test not supported | exception | error | cgo, testing, build-constraints |
| can't request explicit version of standard-library pattern | validation | error | go-modules, go-get, standard-library |
| GOCACHE is not an absolute path | validation | error | cache, configuration, path, gocache |
| gzip.Write: Extra data is too large | validation | error | gzip, compression, header-validation, size-limit, writer |
| missing in = | validation | error | go, go-build, flags, gcflags, ldflags, configuration |
| refusing to pass credentials to insecure URL | exception | error | security, credentials, network, modules, tls |
| tls: server selected an invalid PSK | exception | error | tls, tls13, handshake, psk, session-resumption, protocol-violation, network, go |
| updating go.sum | exception | error | go-sum, io, filesystem, locking |
| ziphash file is missing | exception | error | go, modules, cache, integrity, checksum |
| invalid module version syntax | validation | error | go-get, go-modules, validation, argument-parsing |
| invalid time from git log | error_code | error | git, malformed-output, corruption, stat-local, parse-error, internal |
| : ; output | exception | error | gccgo, cgo, toolchain, compiler-detection |
| valid modes are "set", "count", or "atomic" | validation | error | go-toolchain, coverage, flag, test, validation |
| cannot combine -all and -short | validation | warning | doc, flags, cli, user-input |
| cannot embed irregular file | exception | error | embed, filesystem, go-embed |
| crypto/rsa: salt length cannot be negative | validation | error | crypto, fips140, rsa, pss, salt-length, input-validation |
| error reading pkgconfig file | error_code | error | go-toolchain, cover, filesystem, pkgcfg, io-error |
| expected $$ marker, but found | error_code | error | go-compiler, export-data, toolchain-mismatch, corruption |
| GOROOT not found | error_code | error | go, android, goroot, environment, path, trimpath, toolchain |
| major version suffixes must be in the form of /vN and are… | exception | error | go-mod-init, module-path, validation, major-version |
| not in module index | exception | info | go, modules, index, cache |
| : invalid #cgo verb | validation | error | cgo, build-directives, configuration |
| loaded from , but go would select | exception | error | go-modules, go-mod-tidy, graph-pruning, compatibility, module-selection |
| crypto/rsa: GenerateMultiPrimeKey: nprimes must be >= 2 | validation | error | rsa, multi-prime, key-generation, api-misuse, validation, crypto |
| : invalid repo root | validation | error | go, modules, vcs, vanity |
| / and ... /go.mod both have ... module paths at revision | exception | error | go-modules, go-mod, major-version, repository-layout |
| verifying | exception | error | checksum, sumdb, network, tls |
| Objective-C source files not allowed when not using cgo or… | exception | error | go, go-build, cgo, objective-c, macos, native-code |
| crypto/rsa: public exponent too small or negative | validation | error | crypto, rsa, public-key, input-validation, go |
| file is empty | exception | error | go, build-cache, corruption, disk-cache, filesystem |
| not a directory | error_code | error | cache, filesystem, configuration, gocache |
| parsing go.mod: missing module line | exception | error | go-mod, module-resolution, parsing, proxy |
| : invalid subdirectory | validation | error | go, modules, vcs, vanity, security |
| / has non-... module path at revision | exception | error | go-modules, go-mod, module-path, major-version |
| unknown command | validation | error | script, engine, test-framework, command-dispatch |
zlib.ErrHeader zlib: invalid header | error_code | error | zlib, compression, header-validation, file-format, rfc-1950 |
| decoding go list json | error_code | error | go-toolchain, cover, json, subprocess, go-list |
| directory is outside source root | validation | error | vcs, gopath, filesystem, legacy |