Build Information
Failed to build ContextCore, reference v1.0.0 (0a5152), with Swift 6.1 for Android on 20 Mar 2026 08:13:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/ContextCore.git
Reference: v1.0.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/christopherkarani/ContextCore
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 0a5152a chore(phase7): refresh checklist after simulator validation
Cloned https://github.com/christopherkarani/ContextCore.git
Revision (git rev-parse @):
0a5152a2dc3568cf3394b1b46c8e62d8b1d84198
SUCCESS checkout https://github.com/christopherkarani/ContextCore.git at v1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/christopherkarani/ContextCore.git
https://github.com/christopherkarani/ContextCore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "metalanns",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/christopherkarani/MetalANNS.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-docc-plugin"
}
],
"manifest_display_name" : "ContextCore",
"name" : "ContextCore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "ContextCore",
"targets" : [
"ContextCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ContextCoreBenchmarks",
"targets" : [
"ContextCoreBenchmarks"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ContextCoreTypes",
"module_type" : "SwiftTarget",
"name" : "ContextCoreTypes",
"path" : "Sources/ContextCoreTypes",
"product_memberships" : [
"ContextCore",
"ContextCoreBenchmarks"
],
"sources" : [
"ContextCoreTypes.swift",
"Errors.swift",
"Memory/MemoryChunk.swift",
"Protocols/CompressionDelegate.swift",
"Protocols/ConsolidationStores.swift",
"Protocols/EmbeddingProvider.swift",
"Protocols/TokenCounter.swift",
"Turn.swift"
],
"type" : "library"
},
{
"c99name" : "ContextCoreTests",
"module_type" : "SwiftTarget",
"name" : "ContextCoreTests",
"path" : "Tests/ContextCoreTests",
"sources" : [
"AgentContextTestSupport.swift",
"AgentContextTests.swift",
"AttentionTests.swift",
"ChunkOrdererTests.swift",
"CompressionEngineTests.swift",
"CompressionScoringTests.swift",
"ConsolidationTests.swift",
"ContextStatsTests.swift",
"ContradictionTests.swift",
"EmbeddingTests.swift",
"MemoryStoreTests.swift",
"PersistenceTests.swift",
"ProgressiveCompressionTests.swift",
"RecencyTests.swift",
"ScoringTests.swift",
"TestHelpers.swift",
"TokenCounterTests.swift",
"TurnTests.swift",
"WindowPackerTests.swift"
],
"target_dependencies" : [
"ContextCore"
],
"type" : "test"
},
{
"c99name" : "ContextCoreShaders",
"module_type" : "SwiftTarget",
"name" : "ContextCoreShaders",
"path" : "Sources/ContextCoreShaders",
"product_memberships" : [
"ContextCore",
"ContextCoreBenchmarks"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Attention.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Compression.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Consolidation.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Recency.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/Relevance.metal",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/ContextCoreShaders/Shaders/placeholder.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"ContextCoreShaders.swift"
],
"type" : "library"
},
{
"c99name" : "ContextCoreEngine",
"module_type" : "SwiftTarget",
"name" : "ContextCoreEngine",
"path" : "Sources/ContextCoreEngine",
"product_dependencies" : [
"MetalANNS"
],
"product_memberships" : [
"ContextCore",
"ContextCoreBenchmarks"
],
"sources" : [
"AttentionEngine.swift",
"CPUReference.swift",
"CompressionEngine.swift",
"ConsolidationEngine.swift",
"ContextCoreEngine.swift",
"EmbeddingCache.swift",
"ExtractiveFallbackDelegate.swift",
"MetalContext.swift",
"ScoringEngine.swift"
],
"target_dependencies" : [
"ContextCoreShaders",
"ContextCoreTypes"
],
"type" : "library"
},
{
"c99name" : "ContextCoreBenchmarks",
"module_type" : "SwiftTarget",
"name" : "ContextCoreBenchmarks",
"path" : "Sources/ContextCoreBenchmarks",
"product_memberships" : [
"ContextCoreBenchmarks"
],
"sources" : [
"BenchmarkDataFactory.swift",
"BenchmarkHarness.swift",
"BenchmarkMarkdownWriter.swift",
"BenchmarkRunner.swift",
"BuildWindowBenchmark.swift",
"ConsolidationBenchmark.swift",
"RecallQualityBenchmark.swift",
"ScoringBenchmark.swift"
],
"target_dependencies" : [
"ContextCore",
"ContextCoreEngine"
],
"type" : "executable"
},
{
"c99name" : "ContextCore",
"module_type" : "SwiftTarget",
"name" : "ContextCore",
"path" : "Sources/ContextCore",
"product_dependencies" : [
"MetalANNS"
],
"product_memberships" : [
"ContextCore",
"ContextCoreBenchmarks"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/ContextCore/Resources/Embeddings/README.md",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AgentContext.swift",
"ChunkOrderer.swift",
"CompressionDelegate.swift",
"ContextConfiguration.swift",
"ContextCore.swift",
"ContextStats.swift",
"ContextWindow.swift",
"EmbeddingProviders.swift",
"Errors.swift",
"Memory/EpisodicStore.swift",
"Memory/MemoryChunk.swift",
"Memory/ProceduralStore.swift",
"Memory/SemanticStore.swift",
"Persistence/ContextCheckpoint.swift",
"Persistence/SessionStore.swift",
"ProgressiveCompressor.swift",
"Protocols/ConsolidationStores.swift",
"Protocols/EmbeddingProvider.swift",
"Protocols/TokenCounter.swift",
"Turn.swift",
"WindowPacker.swift"
],
"target_dependencies" : [
"ContextCoreEngine",
"ContextCoreTypes"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:4aaa9704d9ec48004f0d4dbd1faa76d47dfce67570c934d5c9f7c1557cee5c73
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 android