CI Perf Lint

dockerfile-cargo-build-release-without-cache-mount

Warnings require a CI-discovered build with a recognized persistent builder path: Depot, configured Blacksmith, or repository-visible Buildkite local Docker state persistence. Unknown/disposable builders are not flagged for missing cache mounts.

Detects Rust Dockerfiles that run cargo build --release without a visible BuildKit cache mount on the same instruction.

This rule looks for:

Why it matters:

What to do:

This rule does not require a full cargo-chef or sccache setup. It flags the narrower missing cache mount on a heavy release build step.