> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sifr.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# SIFR-RUST-CARGO-0001: Rust interop Cargo metadata is unavailable or inconsistent.

> Rust interop Cargo metadata is unavailable or inconsistent.

`SIFR-RUST-CARGO-0001` belongs to the **Rust Cargo metadata** diagnostic family. It means: rust interop Cargo metadata is unavailable or inconsistent.

## Why It Happens

Rust interop Cargo metadata, lockfile, or profile configuration is invalid or incomplete.

<Info>
  Use `sifr --explain SIFR-RUST-CARGO-0001` locally to see the renderer's exact message template and any machine-applicable suggestions for the compiler version you are running.
</Info>

## Details

| Field                  | Value                                                                                             |
| ---------------------- | ------------------------------------------------------------------------------------------------- |
| Code                   | `SIFR-RUST-CARGO-0001`                                                                            |
| Family                 | `RUST-CARGO`                                                                                      |
| Severity               | Error                                                                                             |
| Stability              | stable                                                                                            |
| Owner                  | `sifr_driver::build::rust_interop`                                                                |
| Representative fixture | `crates/sifr_driver/src/build/rust_interop_tests.rs::package_rust_interop_requires_cargo_context` |

See the [Error Codes index](/diagnostics/error-codes) for the complete catalog.
