ErrLookup › bazelbuild/bazel

bazelbuild/bazel

a fast, scalable, multi-language and extensible build system · Java · 471 source files

Analyzed at e6e199d060 on 2026-08-14. 145 documented errors.

Code / MessageTypeSeverityTags
Unsupported JUnit Runner API version ${JUNIT_API_VERSION_PRO
validation error junit, bazel, system-property, version-mismatch
No filter expression specified after ${arg}
validation error junit, bazel, command-line, argument-parsing
Could not write exit file at ${file}
exception error junit, bazel, environment, filesystem, permissions
Error writing shard file ${shardFile}
exception error bazel, sharding, filesystem, environment
Could not create custom sharding strategy class ${strategy}
exception error bazel, sharding, reflection, classpath, configuration
This converter doesn't support Starlark reversal.
exception error bazel, options-api, starlark, converter, custom-converter
'" + input + "' is not a boolean
validation error bazel, options, converter, boolean, cli
'" + input + "' is not an int
validation error bazel, options, converter, integer, cli
'" + input + "' is not a long
validation error bazel, options, converter, long, cli
'" + input + "' is not a double
validation error bazel, options, converter, double, cli
Not a valid %s: '%s' (should be auto or a boolean)
validation error bazel, options, converter, tri-state, cli
'" + input + "' unexpected
validation error bazel, options, converter, void, expansion-flag, cli
Illegal duration '" + input + "'.
validation error bazel, options, converter, duration, cli
Empty values are not allowed as part of this " + getTypeDesc
validation error bazel, options, converter, list, cli
Not a log level: " + input
validation error bazel, options, converter, logging, cli
Not one of " + values
validation error bazel, options, converter, enum, cli
Not a valid regular expression: " + e.getMessage()
validation error bazel, options, converter, regex, cli
'" + input + "' should be >= " + minValue
validation error bazel, options, converter, range, validation, cli
'" + input + "' should be <= " + maxValue
validation error bazel, options, converter, range, validation, cli
Variable definitions must be in the form of a 'name=value' a
validation error options-parsing, command-line, converter, bazel
Must be in the form of a 'key=value[,value]' assignment
validation error options-parsing, converter, command-line, bazel
Variable definitions must not contain empty strings or leadi
validation error options-parsing, converter, list-validation, bazel
Failed to parse CaffeineSpec: " + e.getMessage()
validation error options-parsing, caffeine, cache, converter, bazel
Invalid size: " + input
validation error options-parsing, byte-size, converter, bazel
Not a valid %s: '%s' (should be %s)
validation error options-parsing, enum, converter, version-skew, bazel
Flag policy for flag '%s' does not have an operation
validation error invocation-policy, protobuf, options-parsing, bazel
Invocation policy is applied after --config expansion, chang
exception error invocation-policy, config-expansion, bazel, policy
Allow_Values on expansion flags like %s is not allowed.
exception error invocation-policy, expansion-flags, policy, bazel
Disallow_Values on expansion flags like %s is not allowed.
exception error invocation-policy, expansion-flags, policy, bazel
SetValue operation from invocation policy for has an undefin
exception error invocation-policy, set-value, protobuf-defaults, bazel
SetValue operation from invocation policy for %s does not ha
exception error invocation-policy, set-value, policy, bazel
SetValue operation from invocation policy sets multiple valu
exception error invocation-policy, set-value, repeatable-flags, bazel
User set a value for %s which is not permitted by the invoca
exception error invocation-policy, final-value, flag-override, bazel
%sValues policy disallows the default value '%s' for %s but
exception error invocation-policy, default-values, contradictory-policy, bazel
Default flag value '%s' for %s is not allowed by invocation
exception error invocation-policy, default-values, allow-values, bazel
Flag value '%s' for %s is not allowed by invocation policy.
exception error invocation-policy, repeatable-flags, value-validation, bazel
Flag value '%s' for %s is not allowed by invocation policy a
exception error invocation-policy, allow-values, value-validation, bazel
Malformed value of --invocation_policy:
exception error bazel, options, proto, invocation-policy, flag-parsing
Tried to expand option too many times
exception error bazel, options, expansion, flag-parsing, priority
Unrecognized arguments:
exception error bazel, options, residue, flag-parsing, cli
Invalid options syntax: %s Note: Negative target patterns ca
exception error bazel, options, target-patterns, starlark, flag-parsing
Invalid options syntax: %s
exception error bazel, options, flag-parsing, cli, shell-scripting
Illegal use of 'no' prefix on non-boolean option: %s
exception error bazel, options, boolean-flag, flag-parsing
Unexpected value after boolean option: %s
exception error bazel, options, boolean-flag, flag-parsing, bazelrc
Unrecognized option: %s%s
exception error bazel, options, unknown-flag, flag-parsing, typo, bazelrc
Expected value after %s
exception error bazel, options, flag-parsing, missing-value, params-file
While parsing option %s: %s
exception error bazel, options, converter, flag-value, flag-parsing
A params file must be the only argument: %s
exception error bazel, options, params-file, flag-parsing
Error reading params file: %s %s
exception error bazel, options, params-file, io, flag-parsing
Unfinished quote %s at %s
exception error bazel, options, params-file, shell-quoting, parsing
@Option method must be public
validation error bazel, options, annotation-processor, compile-time, java
@Option method must be abstract
validation error bazel, options, annotation-processor, compile-time, java
Annotated method name must start with 'get' followed by an u
validation error bazel, options, annotation-processor, compile-time, naming-convention, java
Option must have an actual name.
validation error bazel, options, annotation-processor, compile-time, java
Options that are used on the command line as flags must have
validation error bazel, options, annotation-processor, compile-time, naming-convention, java
Option does not list at least one OptionEffectTag. If the op
validation error bazel, options, annotation-processor, compile-time, metadata, java
Option includes UNKNOWN with other, known, effects. Please r
validation error java, bazel, annotation-processing, options, compile-time, option-effect-tags
Option includes NO_OP with other effects. This doesn't make
validation error java, bazel, annotation-processing, options, compile-time, option-effect-tags, deprecation
Option has metadata tag %s but does not have category UNDOCU
validation error java, bazel, annotation-processing, options, compile-time, documentation, option-metadata-tags
Documentation level is no longer read from the option catego
validation error java, bazel, annotation-processing, options, compile-time, migration, deprecated-api
Can't set an option to be both an expansion option and have
validation error java, bazel, annotation-processing, options, compile-time, expansion, implicit-requirements
Can't set an option to accumulate multiple values and let it
validation error java, bazel, annotation-processing, options, compile-time, allow-multiple, expansion
Default values for multiple options are not allowed - use "n
validation error java, bazel, annotation-processing, options, compile-time, allow-multiple, default-value
No-op options must be annotated with @Deprecated, or have me
validation error java, bazel, annotation-processing, options, compile-time, no-op, deprecation, allowlist
Options with metadata tag DEPRECATED must be annotated with
validation error java, bazel, annotation-processing, options, compile-time, deprecation, option-metadata-tags
Options annotated with @Deprecated must have metadata tag DE
validation error java, bazel, annotation-processing, options, compile-time, deprecation, option-metadata-tags
Option is an expansion flag with a static expansion, but doe
validation error java, bazel, annotation-processing, options, compile-time, expansion, type-checking
Option that allows multiple occurrences must be of type %s,
validation error java, bazel, annotation-processing, options, compile-time, allow-multiple, type-checking
Option that allows multiple occurrences must be assignable t
validation error java, bazel, annotation-processing, options, compile-time, allow-multiple, type-checking, generics
Option that allows multiple occurrences must be of type %s,
validation error java, bazel, annotation-processing, options, compile-time, allow-multiple, generics, raw-types
Option lists a default value (%s) that is not parsable by th
validation error java, bazel, annotation-processing, options, compile-time, default-value, converter
Cannot find valid converter for option of type %s
validation error java, bazel, annotation-processing, options, compile-time, converter, type-checking
The converter type %s must be a concrete type
validation error java, bazel, annotation-processing, options, compile-time, converter, abstract-class
Converter %s has %d methods 'convert(String, Object)', expec
validation error java, bazel, annotation-processing, options, compile-time, converter, method-resolution
Type of field (%s) must be assignable from the converter's r
validation error java, bazel, annotation-processing, options, compile-time, converter, type-checking, assignability
Unable to find the type of annotation %s.
validation error java, bazel, annotation-processing, classpath, build-configuration, toolchain
No annotation %s found for this element.
validation error annotation-processing, java, compile-time, options
No member %s of the %s annotation found for element.
validation error annotation-processing, java, compile-time, reflection
Failed to create converter
exception error testing, reflection, options, converter
Failed to parse input: "%s"
exception error testing, converter, options, parsing
Expected one of %s and %s to be a subclass of the other
validation error starlark, annotations, type-system, java
Class %s has an incompatible overload of annotated method %s
validation error starlark, annotations, method-resolution, java
Class %s has multiple overloaded methods named '%s' annotate
validation error starlark, annotations, method-resolution, java
-c <cmd> flag needs an argument
exception error starlark, cli, argument-parsing
-cpuprofile <file> flag needs an argument
exception error starlark, cli, argument-parsing, profiling
unknown flag: %s
exception error starlark, cli, argument-parsing
too many positional arguments
exception error starlark, cli, argument-parsing
Class %s has two selfCall methods defined
validation error starlark, annotations, self-call, java
%s missing getStarlarkType(StarlarkSemantics) method
validation error starlark, annotations, type-system, versioning
Class %s has multiple methods named getAssociatedTypeConstru
validation error starlark, reflection, type-system, java
Method %s#getAssociatedTypeConstructor has an invalid signat
validation error starlark, reflection, type-system, java
Error invoking %s#getAssociatedTypeConstructor
validation error starlark, reflection, initialization, java
Starlark computation cancelled: too many steps
exception error starlark, interpreter, resource-limit, infinite-loop
isinstance() is not yet supported
exception error starlark, interpreter, unsupported-feature, python-compat
unsupported comparison: %s <=> %s
exception error starlark, comparison, runtime, type-mismatch
unsupported comparison: %s <=> %s
exception error starlark, min-max, comparison, key-function, type-mismatch
expected at least one item
exception error starlark, min-max, empty-collection, validation
Cannot mix manual and automatic numbering of positional fiel
exception error starlark, format, str-format, mixed-numbering
%s is experimental and thus unavailable with the current fla
exception error starlark, flags, experimental, resolution, bazel
%s is deprecated and will be removed soon. It may be tempora
exception error starlark, deprecation, incompatible-flags, migration, bazel
name '%s' is not defined
exception error starlark, resolution, undefined-name, typo, load
incomplete format pattern ends with %: %s
exception error starlark, format, percent-format, escaping
not enough arguments for format pattern %s: %s
exception error starlark, format, percent-format, arguments
got %s, want a finite number
exception error starlark, format, float, nan, infinity
got %s for '%%%c' format, want int or float
exception error starlark, format, percent-format, type-mismatch
unsupported format character "%s" at index %s in %s
exception error starlark, format, percent-format, unsupported-conversion
not all arguments converted during string formatting
exception error starlark, format, percent-format, arguments
cannot compare self-referential or overly nested data struct
exception error starlark, comparison, recursion, stack-overflow, cyclic-data
unsupported comparison: %s <=> %s
exception error starlark, comparison, java-api, classcast, embedding
empty string
exception error starlark, int-conversion, parsing, empty-string
cannot infer base when string begins with a 0: %s
exception error starlark, int-conversion, leading-zero, octal, parsing
invalid base %d (want 2 <= base <= 36)
exception error starlark, int-conversion, base, validation
invalid base-%d literal: %s
exception error starlark, int-conversion, parsing, invalid-literal, base
unknown archive type "%s"
exception error build, packaging, distfiles, python
Duplicate output file: Both {} and {} map to {}
validation error build, packaging, embedded-tools, duplicate
No <instrumentation> tag containing the targetPackage attrib
validation error android, manifest, instrumentation-test, xml
The <instrumentation> tags in the manifest at %s do not refe
validation error android, manifest, instrumentation-test, xml
The <manifest> tag in the manifest at %s needs to specify th
validation error android, manifest, instrumentation-test, xml
The targetPackage specified in the instrumentation manifest
validation error android, manifest, instrumentation-test, package-mismatch
Path Fragment id not found.
validation error aquery, bazel, analysis, path-fragments
Runfiles failed to resolve {path}
exception error runfiles, proguard, android, bazel
Runfiles resolved {path} to {binary} but the file does not e
exception error runfiles, proguard, stale-build, bazel
Proguard failed ({p.returncode})
exception error proguard, android, subprocess, build
Could not get config: {stderr}
validation error ctexplain, cquery, bazel, configuration
{tokens[1]} in {line} not surrounded by parentheses
validation error ctexplain, cquery, parsing, bazel
{tokens[2]} in {line} not surrounded by [] brackets
validation error ctexplain, cquery, parsing, bazel
invocation failed: {stderr}
exception error ctexplain, cquery, bazel, cli
Invalid library proguard config parameters (these parameters
exception error proguard, android, build, validation
Bazel does not support execution of Python interpreters via
panic error python, bazel, bootstrap, runfiles
Cannot find .runfiles directory for %s
panic error python, runfiles, bazel, bootstrap
Could not find python binary: {PYTHON_BINARY}
panic critical python, interpreter, bazel, bootstrap
Python coverage tool %r not found. Try running with VERBOSE_
exception error python, coverage, bazel, bootstrap
__FILE__ ":" S__LINE__ ": \"" __VA_ARGS__
console critical c, macro, sandbox, process-wrapper, errno, fatal-exit, client-tools
prefix msg "\n"
console error c-preprocessor, windows, singlejar, zip, logging, fatal-exit
Could not seek to end of file (%s)
console error windows, server, log-file, restart, file-handle, win32
Waiting for previous Bazel server's log file to close (waite
console info windows, server, log-file, wait, sharing-violation, restart
Cannot write PID file %s
console warning windows, server, pid-file, filesystem, non-fatal
Usage: %s -- command arg1 @args
console error c, sandbox, usage, cli, argument-parsing, linux
\nUsage: %s -- command arg1 @args\n
console error c, process-wrapper, usage, cli, argument-parsing, timeout
Failed to make absolute path for %s: %s\n
console error windows, launcher, path-conversion, build-tool, cli
Expected 3 arguments, got %d\n
console error windows, launcher, usage, cli, argument-count
Failed to open " STRING_FORMAT ": %s\n
console error windows, launcher, file-io, ifstream, build-tool
Failed to create " STRING_FORMAT ": %s\n
console error windows, launcher, file-io, ofstream, file-lock
%s\n
console error c, remote-execution, test-only, cli, argument-parsing, grpc
error: %s\n
console error macos, xcode, objective-c, launchservices, toolchain-detection