golang/go

Documented errors, page 8 of 11. Back to golang/go

Code / MessageTypeSeverityTags
invalid } encoding
validation error elliptic-curve, fips140, crypto, nistec, fiat, input-validation, code-generation
invalid package directory
validation error go, go-build, filesystem, validation, path-sanitization, security
multiple VCS detected
exception error vcs, security, injection, supply-chain
updating go.mod
exception error go-mod, update, wrapper, concurrency, io-error
ambiguous revision
error_code error git, revision-resolution, hash-prefix, ambiguous
archive/tar: FileInfo is nil
validation error archive-tar, nil-check, api-misuse, programmer-error
empty command
validation warning script, parser, test-framework, syntax-error
import cycle not allowed in test
validation error go, testing, imports, cycle, build
key contains space
validation error godebug, validation, whitespace, go-mod, go-work
: wrong signature for
validation error go-toolchain, testing, signature, vet
tls: received malformed key_share extension
exception error tls, go, tls13, key-share, hello-retry-request, malformed
tls: server selected unadvertised ALPN protocol
exception error tls, alpn, config, protocol
writing metafiles file
exception error coverage, testing, io, build-cache
empty string
validation error go-types, go-imports, validation, code-generation
flag triggers external linking
validation error go-toolchain, cgo, linker, lto, flags
go:embed cannot apply to var without type
validation error compiler, go-embed, var-declaration, type-annotation, go-directives
malformed prefix : escape sequence must contain two hex…
validation error path-encoding, symbol-table, escape-sequence, objabi
tls: received empty certificates message
exception error tls, tls13, handshake, certificate, authentication, protocol-violation, network, go
tls: server's certificate uses ML-DSA, which requires TLS…
exception error tls, go, ml-dsa, post-quantum, tls13, certificate
ecdsa: hash cannot be empty
error_code error crypto, ecdsa, signing, hash, input-validation
error processing profile header
error_code error go-compiler, go-pgo, data-parsing, file-validation
invalid flag in : (see https://go.dev/s/invalidflag)
validation error go-toolchain, cgo, flags, security, validation
malformed -http value
console error cli, go-tool-trace, network, argument-validation
missing user-config dir
error_code error configuration, environment, goenv
: invalid #cgo line
validation error cgo, parsing, build-directives
verifying
console critical checksum, ziphash, fatal, security, modcache
%v: %w
exception error android, go-toolchain, exec, goroot-sync
copying vet tool stdout
exception error go-toolchain, vet, io, broken-pipe
crypto/pbkdf2: use of hash functions other than SHA-2 or…
validation error cryptography, go, pbkdf2, fips140, hash-function, compliance
crypto/rsa: public key missing N
validation error crypto, rsa, fips, key-validation
existing contents have changed since last read
exception error go-mod, concurrency, write-conflict, consistency
invalid version
validation error go-toolchain, go-mod, version, mod-edit
verifying go.mod
exception error checksum, go-mod, hashing
crypto/sha256: invalid hash state size
validation error crypto, hash, sha256, serialization, go-stdlib
crypto/sha512: invalid hash state size
validation error crypto, hash, sha512, serialization, go-stdlib
importcfg: : invalid importmap: syntax is "importmap old=new
exception error go-toolchain, gccgo, importcfg, config-parsing
replacement directory
exception error replace-directive, local-replace, filesystem, permissions, io-error
xcrun simctl install booted
exception error ios, simulator, xcrun, go-test, exec-wrapper
ambiguous semantic version
validation error go-modules, query, semver, ambiguity
crypto/aes: GCM tag and nonce sizes can't be non-standard…
validation error crypto, aes, gcm, boringcrypto, fips, validation
git remote ( ) must not be local directory (use URL syntax…
validation error git, url, scp-syntax, ssh, replace-directive
cannot open directory in overlay
exception error go, overlay, filesystem, virtual-fs, api-misuse
corrupt index
exception error go, modules, index, corruption, cache
crypto/pbkdf2: use of keys shorter than 112 bits is not…
validation error cryptography, go, pbkdf2, fips140, key-derivation, compliance
globalThis.performance is not available, polyfill required…
exception critical wasm, go, performance, polyfill, runtime, environment
gzip: invalid compression level
validation error compress, gzip, argument-validation, configuration
ReadZip: encoded file exceeds allowed size
exception error go, modules, vcs, size-limit
: argument must not be a package in the standard library
validation error go-toolchain, stdlib, module, install
: can not find compilation command in
exception error gccgo, cgo, toolchain, compiler-detection
verifying : checksum mismatch\n\tdownloaded: \n\t …
exception critical checksum, security, tampering, sumdb
zip for has unexpected file
exception error zip, cache, verification, modcache
file too large ( bytes > bytes)
validation error go-compiler, go-embed, file-system, size-limit, resource-constraint
go doc
error_code error doc, exec, propagation, go-list
incorrect number of packages: want 1, got
error_code error doc, module, version, goproxy
point not on curve
validation error crypto, ecdh, boringcrypto, fips, security, validation
cipher: NewGCMWithRandomNonce requires aes.Block
error_code error crypto, aes, gcm, type-assertion, constructor
crypto/rsa: p == q
validation critical crypto, rsa, key-validation, go
crypto/sha1: invalid hash state size
validation error crypto, sha1, boringcrypto, serialization, validation
P521 point not on curve
validation critical crypto, fips140, p521, elliptic-curve, on-curve-check, invalid-curve-attack
tls: peer doesn't support any of the certificate's…
exception error crypto, tls, handshake, signature-algorithms, go
tls: session supported extended_master_secret but client…
validation error tls, server-handshake, extended-master-secret, rfc-7627, session-resumption, downgrade
C++ source files not allowed when not using cgo or SWIG
exception error go, go-build, cgo, cpp, cxx, native-code
${e.Err}
exception error vet, json, analysis, build-errors
invalid GOSUMDB: too many fields
exception error go-sumdb, gosumdb, configuration, env-var
zip file contains more than one top-level directory
exception error zip, archive, structure, proxy, security
can't query specific version
validation error go-modules, query, stdlib, validation
cannot parse GOAUTH command
error_code error go-toolchain, goauth, authentication, quoting, config, env
empty condition
validation error script, parser, test-framework, syntax-error, conditions
file not found
exception error compiler, imports, local-imports, missing-file, go-build
invalid debug mode , want one of: parsed, wire, footprint
console error cli, go-tool-trace, argument-validation
revision does not exist locally
error_code error git, local-mode, revision-resolution, missing-revision, replace-directive
: compilation command confusion
exception error gccgo, cgo, toolchain, compiler-detection
clause has elements, wanted 2
validation error go-compiler, inline-heuristics, flag-parsing, internal
crypto/cipher: incorrect nonce length given to…
validation error crypto, aes, gcm, quic, cipher, fips, validation
disallowed module version
exception error exclusions, retractions, versioning, go-mod
multiple definitions of TestMain
validation error go, testing, build
not a regular file
validation error go-compiler, go-embed, file-system, file-type
please use '-outfilelist' flag instead of '-o'
validation error go-toolchain, cover, cli-flags, flag-conflict, pkgcfg
version is not canonical
exception error versioning, canonical, go-mod, api-misuse
crypto/rand: prime size must be at least 2-bit
validation error cryptography, go, rand, prime, input-validation
FIPS 140-3 mode is incompatible with ASAN
exception error fips140, asan, sanitizer, config, compatibility
: pkgconfig requires perblock/perfunc value
validation error go-toolchain, cover, pkgcfg, enum, validation
C compiler not found
exception error cgo, build, c-compiler, path, toolchain
can't decode XML document using charset
exception error encoding, vcs, network, xml, charset, discovery
crypto/des: use of DES is not allowed in FIPS 140-only mode
error_code error crypto, des, fips, compliance, go, security
crypto/ecdh: only crypto/rand.Reader is allowed in FIPS…
error_code error crypto, ecdh, fips, random, compliance, go, security
ed25519: expected opts.Hash zero (unhashed message, for…
validation error go, crypto, ed25519, api-misuse
error loading go.work
exception error go-work, use-directive, duplicate, workspace
invalid PQ KEM for P-384 hybrid
validation error hpke, post-quantum, ml-kem, hybrid, go
invalid PQ KEM for X25519 hybrid
validation error hpke, post-quantum, ml-kem, hybrid, go
Loong64 extension: invalid LASX arrangement type
exception error loong64, assembly, simd, lasx, assembler
tls: server sent an unnecessary HelloRetryRequest message
exception error tls, go, tls13, hello-retry-request, protocol-violation, rfc8446
tls: unexpected server_name extension in server hello
exception error tls, go, ech, tls13, sni, privacy
-var: is not a valid identifier
validation error go-toolchain, cover, cli-flags, identifier, validation
did not find package for
error_code error go-toolchain, cover, profile, path-resolution, go-list
globalThis.TextEncoder is not available, polyfill required
exception critical wasm, go, textencoder, polyfill, runtime, environment
GOCACHE is not defined and
error_code error cache, configuration, environment, gocache
ref moved from to
error_code warning git, cache-reuse, ref-moved, mutable-ref, upstream-change
tls: server selected unsupported compression format
exception error tls, compression, security, protocol
archive/tar: unknown file mode
validation error archive, tar, filesystem, file-mode, type-flag