"The plugin archive file cannot be extracted" without obvious error

The plugin verifier now complains about “The plugin archive file cannot be extracted.” and I don’t understand why.
This used to work before, but this is on a new major version of the plugin.
I can install the ZIP into IntelliJ IDEA without problems.
zipinfo is not showing any error.

I also tried to run the command manually on the command line, same results.

Is there a way to find out or fix why the verifier is unable to verify?

Starting the IntelliJ Plugin Verifier 1.384
Verification reports directory: /bashsupport-pro/plugin/build/reports/pluginVerifier
2025-05-08T12:25:24 [main] INFO  verification - Reading IDE /home/jansorg/.gradle/caches/8.14/transforms/6ad18dff20eaf9ff452c397b67c01639/transformed/ideaIC-2024.2.1/
2025-05-08T12:25:24 [main] INFO  c.j.p.options.OptionsParser - Reading IDE from /home/jansorg/.gradle/caches/8.14/transforms/6ad18dff20eaf9ff452c397b67c01639/transformed/ideaIC-2024.2.1
2025-05-08T12:25:24 [main] INFO  c.j.p.options.OptionsParser - Using Java runtime from /home/jansorg/.gradle/caches/8.14/transforms/6ad18dff20eaf9ff452c397b67c01639/transformed/ideaIC-2024.2.1/jbr
2025-05-08T12:25:28 [main] INFO  verification - Reading plugin to check from /bashsupport-pro/plugin/build/distributions/bashsupport-pro-private-5.0.0.242-SNAPSHOT.zip
2025-05-08T12:25:28 [main] INFO  verification - Plugin is invalid in /bashsupport-pro/plugin/build/distributions/bashsupport-pro-private-5.0.0.242-SNAPSHOT.zip: The plugin archive file cannot be extracted.
2025-05-08T12:25:29 [main] INFO  verification - Task check-plugin parameters:
Scheduled verifications (0):


The following files specified for the verification are not valid plugins:
    /bashsupport-pro/plugin/build/distributions/bashsupport-pro-private-5.0.0.242-SNAPSHOT.zip
        Plugin problems:
            The plugin archive file cannot be extracted.
2025-05-08T12:25:29 [main] INFO  verification - Total time spent downloading plugins and their dependencies: 0 ms
2025-05-08T12:25:29 [main] INFO  verification - Total amount of plugins and dependencies downloaded: 0 B
2025-05-08T12:25:29 [main] INFO  verification - Total amount of space used for plugins and dependencies: 3,29 GB
2025-05-08T12:25:29 [main] INFO  verification - Total time spent in plugin verification: 4 s 785 ms

Reported at https://youtrack.jetbrains.com/issue/MP-7472/Plugin-verifier-cant-extract-ZIP-if-items-contain-special-characters

I’m seeing this issue as well in my plugin, but as far as I can tell, my zip file doesn’t contain any “special characters.”

Can be reproduced by checking out that repo and running ./gradlew :verifyPlugin.

$ zipinfo -1 build/distributions/build-sync-metrics-unknown.zip
build-sync-metrics/
build-sync-metrics/lib/
build-sync-metrics/lib/annotations-13.0.jar
build-sync-metrics/lib/client-0.2.1-SNAPSHOT.jar
build-sync-metrics/lib/common-0.2.1-SNAPSHOT.jar
build-sync-metrics/lib/converter-wire-3.0.0.jar
build-sync-metrics/lib/ide-metrics-plugin-1.0.jar
build-sync-metrics/lib/kotlin-stdlib-2.2.10.jar
build-sync-metrics/lib/kotlin-stdlib-jdk7-1.8.21.jar
build-sync-metrics/lib/kotlin-stdlib-jdk8-1.8.21.jar
build-sync-metrics/lib/moshi-1.15.2.jar
build-sync-metrics/lib/okhttp-jvm-5.1.0.jar
build-sync-metrics/lib/okio-jvm-3.16.0.jar
build-sync-metrics/lib/protos-0.2.1-SNAPSHOT.jar
build-sync-metrics/lib/retrofit-3.0.0.jar
build-sync-metrics/lib/wire-runtime-jvm-5.3.11.jar
build-sync-metrics/lib/ide-metrics-plugin-unknown-searchableOptions.jar

This looks like an issue with IntelliJ Platform Gradle Plugin, even the most recent one.

However, please upgrade to the most recent version of the IntelliJ Platform Gradle Plugin, as your version is quite old now.