Build Information
Failed to build ContextCore, reference main (811813), with Swift 6.4 for Android on 24 Sep 2026 11:44:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/ContextCore.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/christopherkarani/ContextCore
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 811813f Merge remote main
Cloned https://github.com/christopherkarani/ContextCore.git
Revision (git rev-parse @):
811813fb7ba12f761d3b6c23dbd7422480358418
SUCCESS checkout https://github.com/christopherkarani/ContextCore.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/christopherkarani/ContextCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/christopherkarani/MetalANNS.git
[1/2345] Fetching swift-docc-plugin
[2346/4914] Fetching swift-docc-plugin, metalanns
Fetched https://github.com/christopherkarani/MetalANNS.git (0.70s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.70s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.3.0 (0.85s)
Fetching https://github.com/groue/GRDB.swift.git
[1/113920] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git (9.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (10.61s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.11.1 (1.12s)
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.11.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 419]
[Planning deferred tasks]
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/Distance.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/DistanceFloat16.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/FlatSearch.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/HammingDistance.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/NNDescent.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/NNDescentFloat16.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/PQDistance.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/Search.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/SearchFloat16.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Shaders/Sort.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Attention.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Compression.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Consolidation.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Recency.metal' of type 'sourcecode.metal' for architecture 'aarch64'
warning: no rule to process file '/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Relevance.metal' of type 'sourcecode.metal' for architecture 'aarch64'
[82 / 143]
[97 / 166] MetalANNSCore
[100 / 175] MetalANNSCore
[112 / 175] MetalANNSCore
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/AccelerateBackend.swift:1:8: [1;31merror: [1;39mno such module 'Accelerate'[0;0m
[0;36m1 |[0;0m import Accelerate
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Accelerate'[0;0m
[0;36m2 |[0;0m import Foundation
[0;36m3 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/AccelerateBackend.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/BatchIncrementalBuilder.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/BeamSearchCPU.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/BinaryVectorBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/BoundedExactScan.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/BoundedSelection.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/CommandQueuePool.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/ComputeBackend.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/DiskBackedVectorBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Errors.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/FlatGPUSearch.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Float16VectorBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/FullGPUSearch.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/GPUADCSearch.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/GraphBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/GraphPruner.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/GraphRepairer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/HNSWBuilder.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/HNSWConfiguration.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/HNSWLayers.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/HNSWSearchCPU.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/IDMap.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/IVFFlatSearch.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/IncrementalBuilder.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/IndexCompactor.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/IndexSerializer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Int8CodeCache.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/KMeans.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/MetadataBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/MetadataStore.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/MetalBackend.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/MetalDevice.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/Metric.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/MmapIndexLoader.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/NNDescentCPU.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/NNDescentGPU.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/PQVectorBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/ParallelFlatScan.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/PipelineCache.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/ProductQuantizer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/QuantizedStorage.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/RepairConfiguration.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SIMDDistance.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SearchBufferPool.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SearchFilter.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SearchGPU.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SearchResult.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/SoftDeletion.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/VectorBuffer.swift /host/spi-builder-workspace/.build/checkouts/MetalANNS/Sources/MetalANNSCore/VectorStorage.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -user-module-version 0.3.0 -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/MetalANNSC.modulemap -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/checkouts/MetalANNS/Sources/MetalANNSC/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MetalANNSCore -package-name metalanns -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/MetalANNSCore_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/Modules/MetalANNSCore.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/Modules/MetalANNSCore.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/MetalANNSCore-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/MetalANNSCore-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/MetalANNSCore-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MetalANNS.build/Debug-android-aarch64/MetalANNSCore-t.build/Objects-normal/aarch64/Modules/MetalANNSCore.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android