The AAR check failed in CI with "the AAR has no jni/arm64-v8a/libwai.so"
although the libraries were built and packed: under pipefail,
`unzip -l | grep -q` fails whenever grep stops at its first match before
unzip has written the rest (SIGPIPE). On the AAR the Studio built, that
pipeline fails 7 times in 300, and the listing read first 0 in 300. The
workflow's AAR check reads the listing once and prints it on a failure;
build-native.sh reads nm's and readelf's output whole too, where the same
race could report an export or a NEEDED entry missing, or let a LOAD
segment's misalignment through.
Co-Authored-By: Claude Opus 5.5 <[email protected]>