rust-lang/cargo

Documented errors, page 2 of 3. Back to rust-lang/cargo

Code / MessageTypeSeverityTags
sparse registry url must end in a slash `/
validation error cargo, registry, sparse, url, configuration, validation
the -Zhost-config flag requires the…
exception error configuration, unstable-flags, target, cross-compilation
registry said cache valid when no cache exists
exception error cargo, registry, cache, invariant, internal
credential process ` ` failed with status
exception error auth, credentials, subprocess, configuration
patch for ` ` in ` ` resolved to more than one…
exception error cargo, patch, registry, version-resolution, config
the binary target name
exception error cargo, config, binary, naming, restricted-names
cannot produce for ` ` as the target ` ` does not support…
exception error cargo, crate-type, cross-compile, target, linker
local registry path is not a directory
exception error cargo, registry, local, filesystem, configuration
unable to read .cargo-ok file at
exception error cargo, registry, unpack, io, permissions, filesystem
failed to parse process output
exception error cargo, process, subprocess, parsing, external-tool
invalid feature ` ` in required-features of target ` `…
validation error cargo-compile, features, required-features, manifest, validation
build script logged errors
exception error cargo, build-script, build-output, diagnostics
manifest is missing either a `[package]` or a `[workspace]`
validation error cargo, manifest, parser, missing-section, package
package ` ` cannot be tested because it requires…
exception error cargo-compile, dev-dependencies, workspace, testing
the `registry.index` config value is no longer…
validation error config, deprecation, registry, cargo
Detected changes in these crates but no version bump found
exception error cargo, xtask, versioning, release, ci
cannot override workspace dependency with
exception error cargo-add, workspace, dependency, default-features, edition
found duplicate name , but all targets must have a unique…
exception error cargo, config, targets, validation, manifest
dependency ` ` in package ` ` requires a ` ` artifact to be…
exception error cargo, dependencies, artifact, build, configuration
The lints documentation is out-of-date. Run `cargo…
exception error cargo, xtask, docs, lint, ci
too many segments on URL
exception error cargo, git, url-parsing, github-fast-path, configuration
{}: {:?}
exception error rustc, encoding, environment, utf8
invalid tarball downloaded, contains an entry at
exception error cargo, registry, tarball, unpack, security, symlink, integrity
lock file version ` ` requires `-Znext-lockfile-bump
exception error lockfile, version-mismatch, unstable, next-lockfile-bump, nightly
no argv[0]
exception error environment, cargo-binary, process
target .name is required
exception error cargo, config, targets, validation, manifest
jobs may not be 0
validation error cargo, build, parallelism, jobs, configuration
several `[patch]` entries resolving to same version
exception error cargo, patch, registry, version-resolution, config
library target names cannot contain hyphens
exception error cargo, config, library, naming, manifest
cache expected 4 bytes for index schema version
exception error cargo, registry, cache, corruption, deserialization
can't specify both lib and binary outputs
validation error cargo-new, cli-usage, project-kind
cannot specify a git URL
exception error cargo-add, git, dependency, conflict
could not parse ` `. Number of parallel jobs should be…
validation error cargo, config, parallelism, build-config
library ` ` cannot set the crate type of both `dylib` and…
exception error cargo, config, library, crate-type, ffi
couldn't find username
exception error cargo, git, url-parsing, github-fast-path, configuration
unrecognized feature
exception error cargo-add, features, dependency
found build scripts with duplicate file stems, but all…
exception error cargo, config, build-script, validation, manifest
invalid configuration for key
exception error configuration, type-mismatch, config-toml
multiple packages found at
exception error cargo-add, git-source, ambiguous-match, user-input
malformed output when learning about crate-type
exception error cargo, rustc, crate-type, toolchain, wrapper
no library targets found in package
exception error cargo-compile, target-selection, library, manifest
ignoring `resolver.feature-unification` without…
console warning cargo, unstable-flags, config, warning
` ` is not supported in build script overrides
exception error configuration, build-scripts, target, links
cannot specify both recursive and precise simultaneously
exception error cargo-update, conflicting-flags, recursive, precise
patch location ` ` does not contain packages matching `…
exception error cargo, patch, registry, source-resolution, config
found a virtual manifest at
exception error manifest, virtual-manifest, workspace, package
config.json not found
exception error cargo, registry, sparse, config, http, configuration
argument for --color must be auto, always, or never, but…
validation error cargo, xtask, spellcheck, cli, color
cannot compile ` ` as the target ` ` does not support any…
exception error cargo, crate-type, cross-compile, target, proc-macro
multiple packages link to native library
exception error cargo, native-lib, links, dependency-graph, symbols
could not find specification for target
exception error cargo, target, cross-compile, rustup, dependency
unstable 'gitoxide' only takes `fetch` and `checkout` as…
exception error cargo, unstable-flags, cli, validation
`cargo init` cannot be run on existing Cargo packages help…
exception error cargo-init, manifest, cli-usage, filesystem
does not exist, unable to build with the standard library…
exception error cargo, build-std, rust-src, rustup, toolchain
could not compile due to
exception error cargo-compile, target-resolution, manifest, aggregate
destination ` ` already exists Use `cargo init` to…
exception error cargo-new, filesystem, cli-usage
could not be found in the environment snapshot
exception error cargo, environment, config-snapshot, env
could not find `base-sha` for
exception error cargo, xtask, git, ci, clone
package ID specification
exception error cargo-clean, package-spec, dependency-resolution, user-input
no timing data found in log
exception error cargo-report, timings, corrupted-log, empty-data
files in the working directory contain changes that were…
exception error cargo-package, git, vcs, dirty, uncommitted
"--package " requires a SPEC format value, which can be any…
validation error cli, arguments, package-selection
cannot specify a path
exception error cargo-add, path, dependency, conflict
package(s) ` ` not found in workspace
exception error cargo-compile, packages, workspace, package-spec, user-input
the manifest file needs to be updated but was passed to…
exception error cargo-add, locked, manifest
the manifest-path must be a path to a Cargo.toml or script…
validation error manifest, paths, script, unstable
unexpected variable ` ` in build.build-dir path
exception error configuration, build-dir, template
path does not have a unicode filename which may not unpack…
exception error cargo-package, filename, unicode, cross-platform
invalid url ` `: cannot-be-a-base-URLs are not supported
validation error url, git, configuration, validation
the listed checksum of
exception error
Could not find typos version in workflow
exception error cargo, xtask, spellcheck, ci, semver
could not find ` ` in ` ` or any parent directory, but…
validation error manifest, paths, case-sensitivity, filesystem
' ' is not a valid artifact specifier
validation error dependencies, artifacts, manifest, validation
local registry index path is not a directory
exception error cargo, registry, local, filesystem, index, configuration
`cargo run` can run at most one executable, but multiple…
exception error cargo-run, multiple-targets, target-selection, binary
crate types can only be specified for libraries and example…
exception error cargo-compile, crate-type, target-kind, rustc
path at ` ` was not valid utf-8
exception error cargo, io, utf-8, encoding, file
crate types to rustc can only be passed to one target…
exception error cargo-compile, crate-type, rustc, target-selection
expect run ID in format…
validation error logging, parsing, configuration, validation
output of --print= missing when learning about…
exception error cargo, rustc, print, toolchain, target
couldn't find repository name
exception error cargo, git, url-parsing, github-fast-path, configuration
Cargo couldn't find your home directory. This probably…
exception critical cargo, environment, home-directory, container, startup
glob patterns on package selection are not supported.
validation error cli, package-selection, glob, validation
cannot package a filename with a special character
exception error cargo-package, filename, windows, cross-platform, special-chars
Deprecated dependency sections are unsupported
exception error cargo-add, manifest, deprecated
does not exist, unable to build with the standard library…
exception error cargo, build-std, rust-src, toolchain, environment
`cargo run` could not determine which binary to run. Use…
exception error cargo-run, ambiguous, multiple-binaries, target-selection
extra arguments to ` ` can only be passed to one target…
exception error cargo-compile, rustc-args, target-selection, user-input
invalid `package.build` file name
exception error cargo, config, build-script, validation, manifest
you can't generate a lockfile for an empty workspace.
exception error cargo-update, empty-workspace, workspace, lockfile
`cargo run` does not support glob patterns on target…
exception error cargo-run, glob, target-selection, binary
no library targets found in packages
exception error cargo-compile, target-selection, library, workspace, manifest
embedded manifest ` ` requires `-Zscript
validation error manifest, script, unstable, feature-gate
several matching instances of `target.'cfg(..)'.runner` in…
exception error cargo, config, runner, target-cfg, ambiguous
example target ` ` is a library and cannot be executed
exception error cargo-run, example, library, not-executable
target names cannot be empty
exception error cargo, config, targets, validation, manifest
missing config key
exception error cargo, config, missing-key, toml
package pattern(s) ` ` not found in workspace
exception error cargo-compile, packages, workspace, glob-pattern, user-input
--exclude can only be used together with --workspace
exception error cargo-compile, packages, workspace, cli-flags, user-input
a bin target must be available for `cargo run`
exception error cargo-run, no-binary, target-selection, missing-target