The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AIChatKitMLX, reference 1.5.0 (79d40d), with Swift 6.4 for Android on 9 Oct 2026 10:48:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Reference: 1.5.0
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/NerdSnipe-Inc/AIChatKitMLX
 * tag               1.5.0      -> FETCH_HEAD
HEAD is now at 79d40d6 Report adapter status and allow retry; tolerate a stray string delimiter in Gemma tool calls (1.5.0)
Cloned https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Revision (git rev-parse @):
79d40d626eb354b4eb1ae893be0ba22a451cf126
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/NerdSnipe-Inc/AIChatKitMLX.git at 1.5.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/NerdSnipe-Inc/AIChatKitMLX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/ml-explore/mlx-swift-lm.git
Fetching https://github.com/huggingface/swift-huggingface.git
Fetching https://github.com/NerdSnipe-Inc/AIChatKit.git
Fetching https://github.com/kevinhermawan/swift-json-schema.git
Fetching https://github.com/huggingface/swift-transformers.git
[1/223] Fetching swift-json-schema
Fetched https://github.com/kevinhermawan/swift-json-schema.git (0.37s)
[1/298] Fetching aichatkit
Fetched https://github.com/NerdSnipe-Inc/AIChatKit.git (0.45s)
[1/7084] Fetching swift-transformers
[214/10051] Fetching swift-transformers, swift-huggingface
Fetched https://github.com/huggingface/swift-huggingface.git (0.77s)
Fetched https://github.com/huggingface/swift-transformers.git (0.78s)
[1/22513] Fetching mlx-swift-lm
Fetching https://github.com/ml-explore/mlx-swift
[22514/39597] Fetching mlx-swift-lm, mlx-swift
Fetched https://github.com/ml-explore/mlx-swift (1.30s)
Fetched https://github.com/ml-explore/mlx-swift-lm.git (4.29s)
Computing version for https://github.com/kevinhermawan/swift-json-schema.git
Computed https://github.com/kevinhermawan/swift-json-schema.git at 2.0.1 (4.43s)
Computing version for https://github.com/ml-explore/mlx-swift-lm.git
Computed https://github.com/ml-explore/mlx-swift-lm.git at 3.31.4 (0.17s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80403] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.14s)
Computing version for https://github.com/ml-explore/mlx-swift
Computed https://github.com/ml-explore/mlx-swift at 0.31.6 (5.36s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-numerics
[1/6717] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics (0.55s)
[1/19096] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (2.95s)
Computing version for https://github.com/NerdSnipe-Inc/AIChatKit.git
Computed https://github.com/NerdSnipe-Inc/AIChatKit.git at 2.0.0 (3.11s)
Fetching https://github.com/JohnSundell/Splash.git
Fetching https://github.com/gonzalezreal/swift-markdown-ui.git
[1/2180] Fetching splash
[2181/10702] Fetching splash, swift-markdown-ui
Fetched https://github.com/JohnSundell/Splash.git (3.73s)
Fetched https://github.com/gonzalezreal/swift-markdown-ui.git (3.77s)
Computing version for https://github.com/JohnSundell/Splash.git
Computed https://github.com/JohnSundell/Splash.git at 0.16.0 (3.95s)
Computing version for https://github.com/gonzalezreal/swift-markdown-ui.git
Computed https://github.com/gonzalezreal/swift-markdown-ui.git at 2.4.1 (0.17s)
Fetching https://github.com/swiftlang/swift-cmark
Fetching https://github.com/gonzalezreal/NetworkImage
[1/1072] Fetching networkimage
[1073/19687] Fetching networkimage, swift-cmark
Fetched https://github.com/gonzalezreal/NetworkImage (1.03s)
Fetched https://github.com/swiftlang/swift-cmark (1.03s)
Computing version for https://github.com/gonzalezreal/NetworkImage
Computed https://github.com/gonzalezreal/NetworkImage at 6.0.1 (1.19s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/huggingface/swift-transformers.git
Computed https://github.com/huggingface/swift-transformers.git at 1.3.4 (0.16s)
Fetching https://github.com/ibireme/yyjson.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/apple/swift-crypto.git
[1/18603] Fetching swift-crypto
[2048/47294] Fetching swift-crypto, swift-collections
[10205/52374] Fetching swift-crypto, swift-collections, yyjson
[11810/53750] Fetching swift-crypto, swift-collections, yyjson, swift-jinja
Fetched https://github.com/ibireme/yyjson.git (1.15s)
Fetched https://github.com/huggingface/swift-jinja.git (1.35s)
Fetched https://github.com/apple/swift-collections.git (1.38s)
Fetched https://github.com/apple/swift-crypto.git (1.39s)
Computing version for https://github.com/ibireme/yyjson.git
Computed https://github.com/ibireme/yyjson.git at 0.12.0 (1.56s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.14s)
Computing version for https://github.com/huggingface/swift-huggingface.git
Computed https://github.com/huggingface/swift-huggingface.git at 0.13.0 (0.16s)
Fetching https://github.com/mattt/EventSource.git
[1/303] Fetching eventsource
Fetched https://github.com/mattt/EventSource.git (0.40s)
Computing version for https://github.com/swiftlang/swift-cmark
Computed https://github.com/swiftlang/swift-cmark at 0.9.0 (0.58s)
Computing version for https://github.com/mattt/EventSource.git
Computed https://github.com/mattt/EventSource.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.94s)
Fetching https://github.com/apple/swift-asn1.git
[1/1995] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.62s)
Creating working copy for https://github.com/gonzalezreal/NetworkImage
Working copy of https://github.com/gonzalezreal/NetworkImage resolved at 6.0.1
Creating working copy for https://github.com/mattt/EventSource.git
Working copy of https://github.com/mattt/EventSource.git resolved at 1.5.1
Creating working copy for https://github.com/kevinhermawan/swift-json-schema.git
Working copy of https://github.com/kevinhermawan/swift-json-schema.git resolved at 2.0.1
Creating working copy for https://github.com/gonzalezreal/swift-markdown-ui.git
Working copy of https://github.com/gonzalezreal/swift-markdown-ui.git resolved at 2.4.1
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/ml-explore/mlx-swift-lm.git
Working copy of https://github.com/ml-explore/mlx-swift-lm.git resolved at 3.31.4
Creating working copy for https://github.com/huggingface/swift-transformers.git
Working copy of https://github.com/huggingface/swift-transformers.git resolved at 1.3.4
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/huggingface/swift-huggingface.git
Working copy of https://github.com/huggingface/swift-huggingface.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/swiftlang/swift-cmark
Working copy of https://github.com/swiftlang/swift-cmark resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/NerdSnipe-Inc/AIChatKit.git
Working copy of https://github.com/NerdSnipe-Inc/AIChatKit.git resolved at 2.0.0
Creating working copy for https://github.com/JohnSundell/Splash.git
Working copy of https://github.com/JohnSundell/Splash.git resolved at 0.16.0
Creating working copy for https://github.com/ml-explore/mlx-swift
Working copy of https://github.com/ml-explore/mlx-swift resolved at 0.31.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/ibireme/yyjson.git
Working copy of https://github.com/ibireme/yyjson.git resolved at 0.12.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1134]
[Planning 540 / 1134]
[Planning 1068 / 1134]
[Planning deferred tasks]
[Constructing 31 / 3165]
[Constructing 1523 / 3165]
[Starting]
[6 / 1119]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/arg_reduce.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/conv.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/gemv.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/layer_norm.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/random.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rms_norm.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/rope.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/scaled_dot_product_attention.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/mlx-swift/Source/Cmlx/mlx-generated/metal/steel/attn/kernels/steel_attention.metal' of type 'sourcecode.metal' for architecture 'aarch64'
[168 / 1119] CCryptoBoringSSLShims
[209 / 1135] swift-crypto_CXKCP
[214 / 1158] InternalCollectionsUtilities
[215 / 1158] RealModule
[221 / 1158] _NumericsShims
[223 / 1158] InternalCollectionsUtilities
[229 / 1158] RealModule
[231 / 1158] JSONSchema
[239 / 1158] JSONSchema
[243 / 1158] EventSource
[249 / 1159] RealModule
[252 / 1160] RealModule
[255 / 1160] RealModule
[258 / 1160] OrderedCollections
[260 / 1160] InternalCollectionsUtilities
[261 / 1160] InternalCollectionsUtilities
[264 / 1160] InternalCollectionsUtilities
[266 / 1160] EventSource
[268 / 1160] EventSource
[271 / 1169] CXKCPShims
[275 / 1170] CryptoBoringWrapper
[275 / 1170] JSONSchema
[278 / 1170] InternalCollectionsUtilities
[279 / 1170] CryptoBoringWrapper
[281 / 1170] CryptoBoringWrapper
[282 / 1171] CryptoBoringWrapper
[291 / 1171] CXKCP
[295 / 1171] CCryptoBoringSSL
[296 / 1171] CryptoBoringWrapper
[299 / 1171] CCryptoBoringSSL
[301 / 1172] CXKCP
[303 / 1173] CCryptoBoringSSL
[304 / 1173] CCryptoBoringSSL
[305 / 1173] CCryptoBoringSSL
[308 / 1173] CCryptoBoringSSL
[309 / 1173] CCryptoBoringSSL
[311 / 1173] CCryptoBoringSSL
[315 / 1173] CCryptoBoringSSL
[317 / 1173] CCryptoBoringSSL
[320 / 1173] CCryptoBoringSSL
[321 / 1173] CCryptoBoringSSL
[323 / 1173] CCryptoBoringSSL
[324 / 1173] CCryptoBoringSSL
[325 / 1173] CCryptoBoringSSL
[327 / 1173] CCryptoBoringSSL
[330 / 1173] CCryptoBoringSSL
[332 / 1173] CCryptoBoringSSL
[334 / 1173] CCryptoBoringSSL
[337 / 1173] CCryptoBoringSSL
[339 / 1173] CCryptoBoringSSL
[341 / 1173] CCryptoBoringSSL
[345 / 1173] CCryptoBoringSSL
[346 / 1173] CCryptoBoringSSL
[348 / 1173] CCryptoBoringSSL
[350 / 1173] CCryptoBoringSSL
[351 / 1173] CCryptoBoringSSL
[355 / 1173] CCryptoBoringSSL
[358 / 1173] CCryptoBoringSSL
[361 / 1173] CCryptoBoringSSL
[364 / 1173] CCryptoBoringSSL
[366 / 1173] CCryptoBoringSSL
[368 / 1173] CCryptoBoringSSL
[371 / 1173] CCryptoBoringSSL
[373 / 1173] CCryptoBoringSSL
[375 / 1173] CCryptoBoringSSL
[378 / 1173] CCryptoBoringSSL
[380 / 1173] CCryptoBoringSSL
[382 / 1173] CCryptoBoringSSL
[383 / 1173] CCryptoBoringSSL
[387 / 1173] CCryptoBoringSSL
[390 / 1173] CCryptoBoringSSL
[392 / 1173] CCryptoBoringSSL
[393 / 1173] CCryptoBoringSSL
[399 / 1173] CCryptoBoringSSL
[406 / 1173] CCryptoBoringSSL
[411 / 1173] CCryptoBoringSSL
[420 / 1173] CCryptoBoringSSL
[427 / 1173] CCryptoBoringSSL
[428 / 1173] CCryptoBoringSSL
[431 / 1173] CCryptoBoringSSL
[432 / 1173] CCryptoBoringSSL
[435 / 1173] CCryptoBoringSSL
[436 / 1173] CCryptoBoringSSL
[441 / 1173] CCryptoBoringSSL
[443 / 1173] CCryptoBoringSSL
[446 / 1173] CCryptoBoringSSL
[449 / 1173] CCryptoBoringSSL
[451 / 1173] CCryptoBoringSSL
[454 / 1173] CCryptoBoringSSL
[457 / 1173] CCryptoBoringSSL
[458 / 1173] CCryptoBoringSSL
[459 / 1173] CCryptoBoringSSL
[463 / 1173] CCryptoBoringSSL
[465 / 1173] CCryptoBoringSSL
[468 / 1173] CCryptoBoringSSL
[470 / 1173] CCryptoBoringSSL
[473 / 1173] CCryptoBoringSSL
[480 / 1173] CCryptoBoringSSL
[486 / 1173] CCryptoBoringSSL
[489 / 1173] CCryptoBoringSSL
[492 / 1173] CCryptoBoringSSL
[498 / 1173] CCryptoBoringSSL
[500 / 1173] CCryptoBoringSSL
[502 / 1173] CCryptoBoringSSL
[506 / 1173] CCryptoBoringSSL
[519 / 1173] CCryptoBoringSSL
[525 / 1173] CCryptoBoringSSL
[528 / 1173] CCryptoBoringSSL
[532 / 1173] CCryptoBoringSSL
[536 / 1173] CCryptoBoringSSL
[537 / 1173] CCryptoBoringSSL
[540 / 1173] CCryptoBoringSSL
[542 / 1173] CCryptoBoringSSL
[547 / 1173] CCryptoBoringSSL
[548 / 1173] CCryptoBoringSSL
[550 / 1173] CCryptoBoringSSL
[555 / 1173] CCryptoBoringSSL
[558 / 1173] CCryptoBoringSSL
[562 / 1173] CCryptoBoringSSL
[565 / 1173] CCryptoBoringSSL
[567 / 1173] CCryptoBoringSSL
[572 / 1173] CCryptoBoringSSL
[576 / 1173] CCryptoBoringSSL
[583 / 1173] CCryptoBoringSSL
[590 / 1173] CCryptoBoringSSL
[599 / 1173] CCryptoBoringSSL
[600 / 1173] CCryptoBoringSSL
[604 / 1173] CCryptoBoringSSL
[609 / 1173] CCryptoBoringSSL
[611 / 1173] CCryptoBoringSSL
[614 / 1173] CCryptoBoringSSL
[616 / 1173] CCryptoBoringSSL
[621 / 1173] CCryptoBoringSSL
[629 / 1173] CCryptoBoringSSL
[639 / 1173] CCryptoBoringSSL
[645 / 1173] CCryptoBoringSSL
[647 / 1173] CCryptoBoringSSL
[650 / 1173] CCryptoBoringSSL
[651 / 1173] CCryptoBoringSSL
[654 / 1173] CCryptoBoringSSL
[655 / 1173] CCryptoBoringSSL
[656 / 1173] CCryptoBoringSSL
[658 / 1173] CCryptoBoringSSL
[662 / 1173] JSONSchema
[671 / 1178] OrderedCollections
[673 / 1186] CCryptoBoringSSL
[680 / 1186] CCryptoBoringSSL
[683 / 1186] OrderedCollections
[684 / 1186] OrderedCollections
[685 / 1187] ArgumentParserToolInfo
[692 / 1198] AIChatCore
[693 / 1207] RealModule
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatLog.swift:2:8: error: no such module 'os'
 1 | import Foundation
 2 | import os
   |        `- error: no such module 'os'
 3 |
 4 | /// Logging facility shared by every AIChatKit module.
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/BalancedEmitter.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatError.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatLog.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatMessage.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatProvider.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatRequestOptions.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/ChatStreamEvent.swift /host/spi-builder-workspace/.build/checkouts/AIChatKit/Sources/AIChatCore/SSEParser.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AIChatCore -package-name aichatkit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/AIChatCore_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/Modules/AIChatCore.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/Modules/AIChatCore.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/AIChatCore-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/AIChatCore-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/AIChatCore-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AIChatKit.build/Debug-android-aarch64/AIChatCore-t.build/Objects-normal/aarch64/Modules/AIChatCore.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android