cargo
Cargo Exit Codes
Exit codes returned by Cargo, Rust's package manager and build tool. Cargo compiles Rust crates, manages dependencies, runs tests, and publishes packages to crates.io.
2 codes
· All codes 2 codes
- 0 Success The Cargo command completed successfully. For `cargo build` or `cargo test` this means compilation succeeded and all tests passed.
- 101 Cargo Error The Cargo command failed. This covers compilation errors, test failures, unresolvable dependencies, network errors fetching crates, invalid command-line arguments, and most other Cargo failure modes. Inspect the error output above the exit-code line for the specific cause.