The CI workflow was failing because the Rust toolchain installed via rustup was not available in subsequent steps. Adding `. "$HOME/.cargo/env"` ensures the cargo and rustc binaries are on PATH before the build commands execute.
The CI workflow was failing because the Rust toolchain installed via rustup was not available in subsequent steps. Adding `. "$HOME/.cargo/env"` ensures the cargo and rustc binaries are on PATH before the build commands execute.