I've traced this to line 369 in unzip.c where uL != ZIP64ENDLOCHEADERMAGIC is true and as a consequence unz64local_SearchCentralDir64 returns 0, leading to UNZ_BADZIPFILE in unzOpenInternal.
/* read locator signature */
if (unz64local_getLong(pzlib_filefunc_def, filestream, &uL) != UNZ_OK)
return 0;
if (uL != ZIP64ENDLOCHEADERMAGIC)
return 0;
I can't tell if it's the zipping or the unzipping that's tripping up. I'm attaching the file (which unzips just fine in Finder, FWIW).
All this is with Zip 2.1.2
prod-apple-swift-metrics-main-e6a00d36.zip