10.5a5 release build is broken with InvocationTargetException in android-components compilation

When I looked at my 10.0a5 build I found

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':feature-share:kaptReleaseKotlin'.
> A failure occurred while executing
org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message)

in the android-components-android.-x86.log file. I think that's the first time I see this error but what is weirder is that android-components is built separately for x86 it seems. And, yes, looking at the nightly mobile logs it seems that we now build application-services, android-components, and fenix per arch even though they are already resulting in "fat" archives.

I suppose that this is caused by the uniffi-rs inclusion. I made sure that no OS is included in the filename of the artifact to avoid that but that might not have been enough...

Edited by Matthew Finkel