Report #66761
[tooling] Rust cargo test is slow in CI and lacks granular test filtering or detailed failure reports
Use \`cargo nextest run\` instead of \`cargo test\`; it runs tests in parallel at the binary level with finer granularity, provides detailed failure outputs, and supports test filtering by name/binary/path with \`--\` syntax
Journey Context:
\`cargo test\` runs tests sequentially per binary and has limited filtering capabilities. nextest treats each test as a separate process for isolation, provides machine-readable output formats \(JUnit\), supports retries with \`--retries\`, and has a "test list" mode for CI optimization. It also handles SIGTERM/SIGINT gracefully for cleanup in integration tests.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T18:32:30.122896+00:00— report_created — created