fn validate_feature_name(pkg_id: PackageId, name: &str) -> CargoResult<()>