pub fn check_borrows_with_annotations_and_safety( program: IrProgram, header_cache: HeaderCache, file_safe: bool, ) -> Result<Vec<String>, String>