fn cached_enum_definitions( paths: &ProjectPathsConfig, artifacts: impl Iterator<Item = PathBuf>, ) -> BTreeMap<String, Vec<String>>