The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build StringZilla, reference main (682d2b), with Swift 6.2 for Android on 15 Dec 2025 03:05:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ashvardanian/StringZilla.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/ashvardanian/StringZilla
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 682d2ba Release: v4.5.0 [skip ci] ### Minor
Submodule path 'fork_union': checked out 'c613f501a02c3d6b0f4f82ed8638f2427ae2923e'
Submodule 'fork_union' (https://github.com/ashvardanian/fork_union.git) registered for path 'fork_union'
Cloning into '/host/spi-builder-workspace/fork_union'...
Cloned https://github.com/ashvardanian/StringZilla.git
Revision (git rev-parse @):
682d2ba4345820d597d3cbf6a7ca86b564e248c5
SUCCESS checkout https://github.com/ashvardanian/StringZilla.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ashvardanian/StringZilla.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2B04F66FBCF4E350.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module StringZilla
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 386 | #endif
 387 | #include <arm_neon.h>
<module-includes>:2:10: note: in file included from <module-includes>:2:
1 | #include "arm_acle.h"
2 | #include "arm_neon.h"
  |          `- note: in file included from <module-includes>:2:
3 | #include "arm_fp16.h"
4 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/clang/include/arm_neon.h:33815:11: error: invalid conversion between vector type 'float16x8_t' (vector of 8 'float16_t' values) and integer type 'int' of different size
33813 | __ai __attribute__((target("fullfp16"))) float16x8_t vbslq_f16(uint16x8_t __p0, float16x8_t __p1, float16x8_t __p2) {
33814 |   float16x8_t __ret;
33815 |   __ret = (float16x8_t) __builtin_neon_vbslq_f16((int8x16_t)__p0, (int8x16_t)__p1, (int8x16_t)__p2, 40);
      |           `- error: invalid conversion between vector type 'float16x8_t' (vector of 8 'float16_t' values) and integer type 'int' of different size
33816 |   return __ret;
33817 | }
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 386 | #endif
 387 | #include <arm_neon.h>
<module-includes>:2:10: note: in file included from <module-includes>:2:
1 | #include "arm_acle.h"
2 | #include "arm_neon.h"
  |          `- note: in file included from <module-includes>:2:
3 | #include "arm_fp16.h"
4 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/clang/include/arm_neon.h:33833:11: error: invalid conversion between vector type 'float16x4_t' (vector of 4 'float16_t' values) and integer type 'int' of different size
33831 | __ai __attribute__((target("fullfp16"))) float16x4_t vbsl_f16(uint16x4_t __p0, float16x4_t __p1, float16x4_t __p2) {
33832 |   float16x4_t __ret;
33833 |   __ret = (float16x4_t) __builtin_neon_vbsl_f16((int8x8_t)__p0, (int8x8_t)__p1, (int8x8_t)__p2, 8);
      |           `- error: invalid conversion between vector type 'float16x4_t' (vector of 4 'float16_t' values) and integer type 'int' of different size
33834 |   return __ret;
33835 | }
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "stringzilla.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:10: note: in file included from /host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:
 70 | #define STRINGZILLA_H_VERSION_PATCH 0
 71 |
 72 | #include "types.h"        // `sz_size_t`, `sz_bool_t`, `sz_ordering_t`
    |          `- note: in file included from /host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:
 73 | #include "compare.h"      // `sz_equal`, `sz_order`
 74 | #include "memory.h"       // `sz_copy`, `sz_move`, `sz_fill`
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: error: could not build module '_Builtin_intrinsics'
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- error: could not build module '_Builtin_intrinsics'
 386 | #endif
 387 | #include <arm_neon.h>
/host/spi-builder-workspace/swift/StringProtocol+StringZilla.swift:17:8: error: could not build C module 'StringZillaC'
 15 | //    https://forums.swift.org/t/stable-pointer-into-a-c-string-without-copying-it/51244/1
 16 |
 17 | import StringZillaC
    |        `- error: could not build C module 'StringZillaC'
 18 |
 19 | // We need to link the standard libraries.
[4/4] Compiling StringZilla StringProtocol+StringZilla.swift
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 386 | #endif
 387 | #include <arm_neon.h>
<module-includes>:2:10: note: in file included from <module-includes>:2:
1 | #include "arm_acle.h"
2 | #include "arm_neon.h"
  |          `- note: in file included from <module-includes>:2:
3 | #include "arm_fp16.h"
4 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/clang/include/arm_neon.h:33815:11: error: invalid conversion between vector type 'float16x8_t' (vector of 8 'float16_t' values) and integer type 'int' of different size
33813 | __ai __attribute__((target("fullfp16"))) float16x8_t vbslq_f16(uint16x8_t __p0, float16x8_t __p1, float16x8_t __p2) {
33814 |   float16x8_t __ret;
33815 |   __ret = (float16x8_t) __builtin_neon_vbslq_f16((int8x16_t)__p0, (int8x16_t)__p1, (int8x16_t)__p2, 40);
      |           `- error: invalid conversion between vector type 'float16x8_t' (vector of 8 'float16_t' values) and integer type 'int' of different size
33816 |   return __ret;
33817 | }
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- note: while building module '_Builtin_intrinsics' imported from /host/spi-builder-workspace/include/stringzilla/types.h:385:
 386 | #endif
 387 | #include <arm_neon.h>
<module-includes>:2:10: note: in file included from <module-includes>:2:
1 | #include "arm_acle.h"
2 | #include "arm_neon.h"
  |          `- note: in file included from <module-includes>:2:
3 | #include "arm_fp16.h"
4 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/clang/include/arm_neon.h:33833:11: error: invalid conversion between vector type 'float16x4_t' (vector of 4 'float16_t' values) and integer type 'int' of different size
33831 | __ai __attribute__((target("fullfp16"))) float16x4_t vbsl_f16(uint16x4_t __p0, float16x4_t __p1, float16x4_t __p2) {
33832 |   float16x4_t __ret;
33833 |   __ret = (float16x4_t) __builtin_neon_vbsl_f16((int8x8_t)__p0, (int8x8_t)__p1, (int8x8_t)__p2, 8);
      |           `- error: invalid conversion between vector type 'float16x4_t' (vector of 4 'float16_t' values) and integer type 'int' of different size
33834 |   return __ret;
33835 | }
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "stringzilla.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:10: note: in file included from /host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:
 70 | #define STRINGZILLA_H_VERSION_PATCH 0
 71 |
 72 | #include "types.h"        // `sz_size_t`, `sz_bool_t`, `sz_ordering_t`
    |          `- note: in file included from /host/spi-builder-workspace/include/stringzilla/stringzilla.h:72:
 73 | #include "compare.h"      // `sz_equal`, `sz_order`
 74 | #include "memory.h"       // `sz_copy`, `sz_move`, `sz_fill`
/host/spi-builder-workspace/include/stringzilla/types.h:385:10: error: could not build module '_Builtin_intrinsics'
 383 | #if SZ_USE_NEON
 384 | #if !defined(_MSC_VER)
 385 | #include <arm_acle.h>
     |          `- error: could not build module '_Builtin_intrinsics'
 386 | #endif
 387 | #include <arm_neon.h>
/host/spi-builder-workspace/swift/StringProtocol+StringZilla.swift:17:8: error: could not build C module 'StringZillaC'
 15 | //    https://forums.swift.org/t/stable-pointer-into-a-c-string-without-copying-it/51244/1
 16 |
 17 | import StringZillaC
    |        `- error: could not build C module 'StringZillaC'
 18 |
 19 | // We need to link the standard libraries.
BUILD FAILURE 6.2 android