pub(crate) fn cargo_build( source: &Path, package: &str, profile: &str, interrupted: &AtomicBool, ) -> Result<(), String>
Build the scheduler crate. Returns Err(combined output) on failure.