pub fn generate_objects(paths: &DirPaths) -> Result<(), Box<dyn Error>>