pub fn write_rust_program_crate( output: &RustProgramOutput, crate_dir: &Path, ) -> Result<(), Error>