ErrLookup › rust-lang/cargo
rust-lang/cargo
The Rust package manager · Rust · 348 source files
Analyzed at 98a09e7e7d on 2026-09-22. 210 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| error: SSH host key has changed for | exception | error | |
| artifact-dir was not locked during clean | panic | critical | rust, cargo, cargo-clean, panic, internal-assertion, nightly, build-dir-new-layout |
| target must support `bin` | panic | critical | rust, cargo, panic, internal-assertion, rustc, bin-target, custom-target |
| unexpected bracket ` ` in build.build-dir path | exception | error | config, lockfile, template, resolver, cargo |
| error: unknown SSH host key The SSH host key for | exception | error | |
| target ` ` in package ` ` requires the features: Consider… | exception | error | features, build-targets, cargo-toml, cli-usage |
| the path was not found | exception | error | windows, path, canonicalize, not-found, cargo |
| failed to read path | exception | error | cache, io, permissions, global-cache, cargo |
| single file packages cannot be used as dependencies | exception | error | path-dependency, manifest, cargo, single-file-package |
| expected table for configuration key | validation | error | config, toml, type-mismatch, cargo |
| error: Found a `@cert-authority` marker for | exception | error | |
| not allowed in embedded manifests | exception | error | cargo, embedded-manifest, script, package, unsupported-field |
| ` ` was defined in but could not be resolved with | exception | error | path, workspace, windows, relativization, cargo |
| unsupported registry protocol | exception | error | config, registry, cargo, crates-io, validation |
| invalid inclusion of reserved file name | exception | error | cargo-package, reserved-files, packaging, vcs-metadata |
| argument for argfile contains invalid UTF-8 characters | exception | error | process, argfile, utf8, cargo-util, subprocess |
| failed to parse the version requirement | exception | error | manifest, semver, dependency, version-requirement, cargo |
| maximum limit reached when reading | exception | error | io, reader, limit, size-cap, cargo |
| Found duplicate binary artifact | validation | error | cargo, artifacts, manifest, validation, duplicate |
| unexpected variable ` ` in resolver.lockfile-path | exception | error | config, lockfile, template, resolver, cargo |
| could not find cargo home dir | exception | error | environment, cargo-home, home-dir, config, cargo |
| $CARGO not set | exception | error | environment, cargo-binary, configuration |
| dependency ( ) specified without providing a local path… | exception | error | cargo, dependencies, manifest, missing-source, parser |
| {err}{help} | exception | error | package-name, cargo-new, validation, naming |
| no credential providers could handle the request | exception | error | auth, credentials, registry, configuration |
| ignoring `build.fingerprint = "content"` without… | console | warning | cargo, unstable-feature, build-config, fingerprint, nightly-only |
| attempting to update a git repository, but | exception | error | cargo, git, offline, network, fetch |
| cannot open specified crate's documentation: no… | exception | error | doc, cargo-doc, cli-usage, open |
| checksum for ` ` was not previously calculated, but a… | exception | error | |
| ` .workspace = false` is unsupported | validation | error | cargo, manifest, dependencies, workspace, editor |
| missing field | exception | error | config, serde, deserialization, missing-field, cargo |
| multiple possible binary sources found | exception | error | cargo-init, source-detection, binary-targets, migration |
| ` ` is unsupported as of the 2024 edition; instead use `… | exception | error | cargo, manifest, edition-2024, deprecation, naming |
| error: Key has been revoked for | exception | error | |
| Use of `default_features` in | validation | error | cargo, manifest, dependencies, naming, editor |
| invalid package name | validation | error | package-name, windows, reserved-names, cargo-new, portability |
| could not find rustup home dir | exception | error | environment, rustup-home, home-dir, config, rustup |
| This may cause issue during packaging, as modules… | exception | error | cargo-package, build-script, manifest, path-validation |
| can't checkout from ' ': you are in the offline mode ( ) | exception | error | cargo, git, offline, network, dependency-resolution |
| all versions of crate | exception | error | cargo-add, security, publish-age, registry, supply-chain |
| no target | exception | error | cargo-compile, target-selection, user-input, manifest |
| unknown vcs specification | validation | error | rust, config, serialization, vcs, fromstr |
| all dependencies must have a version requirement specified… | exception | error | cargo-package, cargo-publish, dependencies, version-requirement, path, git |
| unrecognized `git --version` output | exception | error | git, version-parsing, environment |
| `lints. . ` is not valid lint name; try `lints. . | exception | error | cargo, lints, manifest, naming, parser |
| metabuild package ` ` must be specified in… | exception | error | cargo, config, metabuild, dependencies, manifest |
| ` ` resolved to non-UTF value (` `) | exception | error | path, utf8, encoding, unix, cargo |
| invalid feature ` ` in required-features of target ` `… | validation | error | cargo-compile, features, required-features, weak-deps, manifest, validation |
| checksum for ` ` changed between lock files this could be… | exception | error | |
| checksum for ` ` could not be calculated, but a checksum is… | exception | error | |
| `[project]` is not supported as of the 2024 Edition, please… | exception | error | cargo, manifest, edition-2024, deprecation, package |
| {} | exception | error | cargo-package, manifest, file-not-found, metadata |
| invalid package name | validation | error | package-name, cargo-new, build-artifacts, naming |
| patch for ` ` points to the same source, but patches must… | exception | error | cargo, patch, registry, source-resolution, config |
| failed to find a workspace root | exception | error | cargo, workspace, inheritance, filesystem, parser |
| warnings are denied by `build.warnings` configuration | exception | error | warnings, config, manifest, lint, fetch |
| failed to open | exception | error | cargo-clean, io, filesystem, permissions, race-condition |
| argument for argfile contains newlines | exception | error | process, argfile, newline, cargo-util, subprocess |
| cannot specify both `metabuild` and `build` | exception | error | cargo, config, build-script, metabuild, manifest |
| replacements must specify a version to replace, but | exception | error | cargo, replace, manifest, version, parser |
| `lints. . ` is not a valid lint name | exception | error | cargo, lints, manifest, naming, unknown, parser |
| more than one of .hg, .git, .pijul, .fossil configurations… | exception | error | cargo-init, vcs, auto-detection, ignore-files |
| override found but no real ones | exception | error | cargo, registry, override, lock-file, internal |
| failed to verify the checksum of | exception | error | cargo, registry, local, checksum, sha256, integrity |
| no path segments on url | exception | error | cargo, git, url-parsing, github-fast-path, configuration |
| package replacement is not used | console | warning | config, replace, dependency-resolution, cargo |
| Character at line is invalid. Cargo only supports UTF-8. | exception | error | vcs, ignore-files, utf8, encoding, cargo-init |
| failed to connect to jobserver from environment variable | exception | error | cargo, jobserver, make, environment, parallelism |
| cannot the lock file because was passed to prevent… | exception | error | lockfile, locked, frozen, ci, flag-conflict |
| credential-alias ` ` (defined in ` `) will be ignored… | console | warning | config, authentication, credential-provider, cargo |
| parsing ` ` requires `-Zscript | validation | error | cargo, unstable, script, embedded-manifest, nightly |
| probably rustup rustc, but without rustup's env vars | exception | error | rustup, environment, fingerprint, toolchain |
| invalid package name | validation | error | package-name, keywords, cargo-new, naming |
| Source directory was modified by build.rs during cargo… | exception | error | cargo-publish, build-script, verification, source-modification, out-dir |
| multiple registries are configured with the same index url | validation | error | cargo, registry, configuration, auth, ambiguous, credentials |
| can only edit absolute paths, got | validation | error | cargo, manifest, path, editor, filesystem |
| found an override with a non-locked list | exception | error | cargo, registry, override, lock-file, version-resolution |
| Unrecognized` dependency entry format for | validation | error | cargo, manifest, dependencies, toml, editor, invalid-type |
| the crate ` ` could not be found at | exception | error | cargo-add, dependency-resolution, path-source, git-source |
| can't find library ` `, rename file to `src/lib.rs` or… | exception | error | cargo, config, library, filesystem, manifest |
| invalid package name `test`: it conflicts with Rust's… | validation | error | package-name, cargo-new, test, naming |
| failed to merge config value from | exception | error | cargo, config, merge, toml, type-mismatch |
| non UTF8 path | exception | error | cargo, registry, sparse, utf8, path, validation |
| cannot publish with `open-namespaces` | exception | error | cargo, publish, unstable, open-namespaces, registry |
| no executable for ` ` found in PATH | exception | error | cargo, path, executable, environment, dependency |
| `git` is not available help: to still use `git` for… | exception | error | git, missing-dependency, network, cargo-config |
| cannot override `workspace.lints` in `lints`, either remove… | exception | error | cargo, lints, workspace, inheritance, manifest |
| patch ` ` version mismatch note: patch location contains … | exception | error | cargo, patch, registry, version-resolution, config |
| cannot mix `proc-macro` crate type with others | exception | error | cargo, config, proc-macro, crate-type, manifest |
| found patches and a path override | exception | error | cargo, registry, override, patch, config |
| invalid tarball downloaded, contains a file at | exception | error | cargo, registry, tarball, unpack, security, path-traversal, integrity |
| path ` ` is not a blob in the git repo | exception | error | cargo, registry, git-index, blob, integrity, configuration |
| not implemented | panic | error | mdman, man-page, markdown, footnote, panic |
| cannot have a package with multiple libraries, found both | exception | error | cargo-init, source-detection, library-targets, migration |
| -Zfix-edition expected a value | validation | error | cargo, unstable, cli, edition, fix |
| dependency ( ) specified without providing a local path… | exception | error | cargo-add, workspace, dependency |
| metadata version not supported, only is currently supported | exception | error | metadata, versioning, cli-usage, json |
| unexpectedly found multiple copies of crate | exception | error | cargo-add, dependency-resolution, path-source, git-source, ambiguous-match |
| cannot create package in the home directory help: use… | exception | error | cargo-init, home-directory, filesystem, cli-usage |
| ` ` expected , but found a | exception | error | cargo, config, toml, type-mismatch, schema |