Build Information
Successful build of AnyLanguageModel, reference main (ad3c5a), with Swift 6.4 for Android on 22 Nov 2026 08:07:26 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.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/huggingface/AnyLanguageModel
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ad3c5a1 Bump README install snippets to 1.4.1 (#438)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
ad3c5a1d1e9a36e4c55d80b9244650b60ab03c17
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/huggingface/AnyLanguageModel.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:8c75a76a95057fd39be8bfba32b7cf15b3a8a4b3b65299863763333672fd9e67
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/swiftlang/swift-syntax
[1/1990] Fetching swift-http-types
[1275/2196] Fetching swift-http-types, jsonschema
[1330/2529] Fetching swift-http-types, jsonschema, eventsource
Fetched https://github.com/mattt/EventSource (0.42s)
[1/82267] Fetching swift-syntax
Fetched https://github.com/mattt/JSONSchema (3.25s)
Fetched https://github.com/apple/swift-http-types (3.25s)
Fetched https://github.com/swiftlang/swift-syntax (3.27s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.26s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.6.0 (0.14s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.13s)
Fetching https://github.com/apple/swift-collections.git
[1/30450] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.26s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (1.45s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.24s)
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.8.0
Creating working copy for https://github.com/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.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.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.6.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 772]
[Planning deferred tasks]
[Starting]
[40 / 327] SwiftSyntax600
[163 / 334]
[173 / 363] InternalCollectionsUtilities
[204 / 368] EventSource
[205 / 368] InternalCollectionsUtilities
[212 / 370] SwiftSyntax509
[217 / 372] SwiftSyntax509
[224 / 373] HTTPTypes
[237 / 373] HTTPTypes
[240 / 373] HTTPTypes
[242 / 373] HTTPTypes
[243 / 373] HTTPTypesFoundation
[244 / 373] HTTPTypes
[247 / 373] EventSource
[248 / 373] EventSource
[253 / 374] SwiftSyntax601
[259 / 377] InternalCollectionsUtilities
[261 / 383] SwiftSyntax
[264 / 401] SwiftSyntax
[267 / 401] HTTPTypes
[273 / 401] SwiftSyntax
[274 / 402] SwiftSyntax
[275 / 402] SwiftSyntax
[278 / 403] OrderedCollections
[283 / 403] SwiftSyntax
[284 / 403] OrderedCollections
[286 / 403] OrderedCollections-product
[287 / 403] OrderedCollections-product
[290 / 403] OrderedCollections
[291 / 403] OrderedCollections
[291 / 403] JSONSchema
[292 / 403] JSONSchema
[295 / 404] OrderedCollections
[301 / 404] HTTPTypes
[305 / 408] JSONSchema
[307 / 409] HTTPTypesFoundation
[313 / 409] JSONSchema
[314 / 409] JSONSchema
[317 / 410] JSONSchema
[317 / 410] SwiftSyntax
[329 / 429] SwiftDiagnostics
[330 / 438] SwiftParser
[332 / 438] SwiftParser
[333 / 438] SwiftDiagnostics
[343 / 438] SwiftParser
[346 / 438] SwiftParser
[349 / 438] SwiftParser
[353 / 438] SwiftParser
[355 / 438] SwiftDiagnostics
[356 / 438] SwiftOperators
[357 / 438] SwiftOperators
[359 / 438] SwiftDiagnostics
[361 / 438] SwiftDiagnostics
[362 / 438] SwiftBasicFormat
[363 / 438] SwiftParserDiagnostics
[364 / 439] SwiftParserDiagnostics
[367 / 439] SwiftDiagnostics
[369 / 441] SwiftParserDiagnostics
[372 / 459] SwiftOperators
[373 / 460] SwiftParserDiagnostics
[374 / 461] SwiftSyntax
[377 / 461] SwiftParserDiagnostics
[387 / 461] SwiftSyntaxBuilder
[392 / 461] SwiftParser
[394 / 461] SwiftOperators
[399 / 461] SwiftOperators
[402 / 463] SwiftSyntaxBuilder
[406 / 471] SwiftSyntaxBuilder
[406 / 472] SwiftSyntaxBuilder
[408 / 472] SwiftSyntaxBuilder
[409 / 472] SwiftSyntaxBuilder
[417 / 472] SwiftOperators
[425 / 483] SwiftSyntaxMacros
[430 / 483] SwiftSyntaxMacros
[443 / 494] SwiftSyntaxMacroExpansion
[445 / 495] SwiftSyntaxMacros
[449 / 495] SwiftSyntaxMacroExpansion
[459 / 505] SwiftCompilerPluginMessageHandling
[461 / 505] SwiftCompilerPluginMessageHandling
[464 / 505] SwiftSyntaxMacroExpansion
[474 / 509] SwiftCompilerPlugin
[479 / 510] SwiftCompilerPlugin
[481 / 510] SwiftCompilerPluginMessageHandling
[483 / 511] SwiftSyntax
[486 / 512] SwiftSyntax
[493 / 512] SwiftSyntaxMacros
[501 / 513] AnyLanguageModelMacros
[506 / 518] AnyLanguageModelMacros
[507 / 518] AnyLanguageModelMacros
[511 / 519] AnyLanguageModelMacros
[521 / 529] AnyLanguageModel
/host/spi-builder-workspace/Sources/AnyLanguageModel/Attachment.swift:35:9: [1;33mwarning: [1;39mdefault will never be executed[0;0m
[0;36m33 |[0;0m return a === b && ao == bo
[0;36m34 |[0;0m #endif
[0;36m35 |[0;0m default:
[0;36m|[0;0m `- [1;33mwarning: [1;39mdefault will never be executed[0;0m
[0;36m36 |[0;0m return false
[0;36m37 |[0;0m }
[526 / 529] AnyLanguageModel
[529 / 530] AnyLanguageModel
Build complete! (52.00 secs)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-transformers",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-transformers"
},
{
"identity" : "swift-huggingface",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/huggingface/swift-huggingface"
},
{
"identity" : "eventsource",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/EventSource"
},
{
"identity" : "jsonschema",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/JSONSchema"
},
{
"identity" : "llama.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/llama.swift"
},
{
"identity" : "mlx-swift-lm",
"requirement" : {
"range" : [
{
"lower_bound" : "3.32.3",
"upper_bound" : "3.33.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ml-explore/mlx-swift-lm"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "602.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-http-types",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-http-types"
}
],
"manifest_display_name" : "AnyLanguageModel",
"name" : "AnyLanguageModel",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "AnyLanguageModel",
"targets" : [
"AnyLanguageModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AnyLanguageModelMacros",
"targets" : [
"AnyLanguageModelMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "AnyLanguageModelTests",
"module_type" : "SwiftTarget",
"name" : "AnyLanguageModelTests",
"path" : "Tests/AnyLanguageModelTests",
"sources" : [
"APICompatibilityAnyLanguageModelTests.swift",
"APICompatibilityFoundationModelsTests.swift",
"AnthropicLanguageModelTests.swift",
"AnthropicProfileTests.swift",
"AnthropicReasoningTests.swift",
"AnthropicSystemInstructionsTests.swift",
"AnthropicToolContinuationTests.swift",
"AnyOfGenerationTests.swift",
"ArrayGenerationSchemaTests.swift",
"BoundsTests.swift",
"CharacterExtensionsTests.swift",
"CollectCancellationTests.swift",
"ConvertibleToGeneratedContentTests.swift",
"CoreMLLanguageModelTests.swift",
"CustomGenerationOptionsTests.swift",
"DynamicGenerationSchemaTests.swift",
"DynamicInstructionsBuilderTests.swift",
"DynamicInstructionsTests.swift",
"DynamicProfilePublicAPITests.swift",
"DynamicProfileTests.swift",
"DynamicSchemaConversionTests.swift",
"ExplicitNilTests.swift",
"FoundationLanguageModelTests.swift",
"FoundationModelsGenerationOptionsTests.swift",
"GeminiAssistantHistoryTests.swift",
"GeminiLanguageModelTests.swift",
"GeminiProfileTests.swift",
"GeminiSystemInstructionsTests.swift",
"GeminiThoughtSignatureTests.swift",
"GenerableEnumPayloadFoundationModelsTests.swift",
"GenerableEnumPayloadTests.swift",
"GenerableMacroTests.swift",
"GenerableMissingPropertyTests.swift",
"GeneratedContentErrorTests.swift",
"GeneratedContentJSONFoundationModelsTests.swift",
"GeneratedContentJSONTests.swift",
"GenerationGuideTests.swift",
"GenerationOptionsTests.swift",
"HTTPTransportTests.swift",
"HistoryViewTests.swift",
"InlineObjectNamesFoundationModelsTests.swift",
"InstructionsTests.swift",
"JSONCompleterTests.swift",
"JSONDecoderExtensionsTests.swift",
"JSONLinesTests.swift",
"JSONValueTests.swift",
"LanguageModelFeedbackTests.swift",
"LlamaGemma4TemplateTests.swift",
"LlamaHubFileResolverTests.swift",
"LlamaHubModelSourceTests.swift",
"LlamaLanguageModelExitTests.swift",
"LlamaLanguageModelTests.swift",
"LlamaLogFilterTests.swift",
"LlamaSamplerChainTests.swift",
"LlamaServerIntegrationTests.swift",
"LlamaSessionContextOwnerTests.swift",
"LlamaToolCallFormatTests.swift",
"LocalGenerationUsageTests.swift",
"LockedTests.swift",
"MLXLanguageModelTests.swift",
"MigrationTests.swift",
"MockLanguageModelTests.swift",
"NativeProfileHistoryTests.swift",
"NativeSessionPropertyTests.swift",
"ObservationTests.swift",
"OllamaAuthorizationTests.swift",
"OllamaLanguageModelTests.swift",
"OllamaProfileTests.swift",
"OllamaReasoningReplayTests.swift",
"OllamaRequestHistoryTests.swift",
"OneOfDecodingTests.swift",
"OpenAILanguageModelTests.swift",
"OpenAIProfileTests.swift",
"OpenAIToolCallHistoryTests.swift",
"OpenResponsesLanguageModelTests.swift",
"OpenResponsesProfileTests.swift",
"PrimitiveStringCoercionTests.swift",
"ProfileActionSerializerTests.swift",
"ProfileHistoryConflictTests.swift",
"ProfileInstructionsTranscriptTests.swift",
"ProfileLifecycleHistoryTests.swift",
"ProfileReentrancyTests.swift",
"ProfileRequestOwnershipTests.swift",
"ProfileResolutionLockTests.swift",
"ProfileRuntimeTests.swift",
"ProfileSchemaAndHandoffUsageTests.swift",
"ProfileToolRoundLimitTests.swift",
"PromptAttachmentTests.swift",
"PromptTests.swift",
"ProviderErrorTests.swift",
"ProviderRequestHeadersTests.swift",
"ProviderSchemaResponseTests.swift",
"ProviderStreamErrorTests.swift",
"ProviderUsageTests.swift",
"ReasoningTests.swift",
"ReleaseBehaviourTests.swift",
"RequestContextPublicAPITests.swift",
"RequestContextTests.swift",
"RequestOptionsTests.swift",
"RequestUsageCountingTests.swift",
"RespondCancellationTests.swift",
"ResponseSchemaInliningTests.swift",
"ResponseStartTimeoutTests.swift",
"ResponsesAssistantHistoryTests.swift",
"SchemaPropertyOrderFoundationModelsTests.swift",
"SchemaPropertyOrderTypes.swift",
"SchemaResponseTests.swift",
"SessionPropertyTests.swift",
"Shared/AttachResponse.swift",
"Shared/BlockingTaskExecutor.swift",
"Shared/FakeTransport.swift",
"Shared/FoundationModelsEnumFixtures.swift",
"Shared/Images.swift",
"Shared/LocalToolRoundFixtures.swift",
"Shared/LoopbackServer.swift",
"Shared/MockLanguageModel.swift",
"Shared/MockTokenBackend.swift",
"Shared/Outcome.swift",
"Shared/ProfileProviderFixtures.swift",
"Shared/StructuredGenerationFixtures.swift",
"Shared/StubURLProtocol.swift",
"Shared/ToolSpy.swift",
"Shared/Tools.swift",
"StoppedToolCallReplayTests.swift",
"StrictResponseSchemaTests.swift",
"StringChoiceGuideFoundationModelsTests.swift",
"StringChoiceGuideTests.swift",
"StructuredGenerationTests.swift",
"StructuredGenerationTokenCacheTests.swift",
"SystemLanguageModelTests.swift",
"ToolCallingModeTests.swift",
"ToolContinuationTests.swift",
"ToolExecutionDelegateTests.swift",
"ToolOutputSegmentTests.swift",
"ToolRoundTests.swift",
"ToolSchemaNormalizationTests.swift",
"TranscriptErrorHandlingTests.swift",
"TranscriptOverlapTests.swift",
"TranscriptTests.swift",
"URLSessionExtensionsTests.swift",
"URLSessionTransportTests.swift",
"UsageAPICompatibilityTests.swift",
"UsageTests.swift"
],
"target_dependencies" : [
"AnyLanguageModel"
],
"type" : "test"
},
{
"c99name" : "AnyLanguageModelMacrosTests",
"module_type" : "SwiftTarget",
"name" : "AnyLanguageModelMacrosTests",
"path" : "Tests/AnyLanguageModelMacrosTests",
"product_dependencies" : [
"SwiftParser",
"SwiftSyntax",
"SwiftSyntaxMacroExpansion",
"SwiftSyntaxMacros"
],
"sources" : [
"GenerableMacroGuideTests.swift",
"SessionPropertyEntryMacroTests.swift"
],
"target_dependencies" : [
"AnyLanguageModelMacros"
],
"type" : "test"
},
{
"c99name" : "AnyLanguageModelMacros",
"module_type" : "SwiftTarget",
"name" : "AnyLanguageModelMacros",
"path" : "Sources/AnyLanguageModelMacros",
"product_dependencies" : [
"SwiftCompilerPlugin",
"SwiftSyntax",
"SwiftSyntaxBuilder",
"SwiftSyntaxMacros"
],
"product_memberships" : [
"AnyLanguageModel",
"AnyLanguageModelMacros"
],
"sources" : [
"GenerableMacro.swift",
"GuideMacro.swift",
"Plugin.swift",
"SessionPropertyEntryMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "AnyLanguageModel",
"module_type" : "SwiftTarget",
"name" : "AnyLanguageModel",
"path" : "Sources/AnyLanguageModel",
"product_dependencies" : [
"EventSource",
"JSONSchema",
"HTTPTypes",
"HTTPTypesFoundation"
],
"product_memberships" : [
"AnyLanguageModel"
],
"sources" : [
"Attachment.swift",
"Availability.swift",
"ContextOptions.swift",
"ConvertibleFromGeneratedContent.swift",
"ConvertibleToGeneratedContent.swift",
"DynamicGenerationSchema.swift",
"DynamicInstructions.swift",
"DynamicProfile.swift",
"Extensions/Character+Extensions.swift",
"Extensions/HTTPClient+Extensions.swift",
"Extensions/JSONDecoder+Extensions.swift",
"Extensions/URLSession+Extensions.swift",
"Generable.swift",
"GeneratedContent.swift",
"GenerationGuide.swift",
"GenerationID.swift",
"GenerationOptions.swift",
"GenerationSchema.swift",
"Instructions.swift",
"LanguageModel.swift",
"LanguageModelFeedback.swift",
"LanguageModelSession.swift",
"Models/AnthropicLanguageModel.swift",
"Models/CoreMLLanguageModel.swift",
"Models/FoundationLanguageModel.swift",
"Models/GeminiLanguageModel.swift",
"Models/LlamaHubFileResolver.swift",
"Models/LlamaLanguageModel+Hub.swift",
"Models/LlamaLanguageModel.swift",
"Models/LlamaLifecycle.swift",
"Models/LlamaToolCallFormat.swift",
"Models/MLXLanguageModel.swift",
"Models/OllamaLanguageModel.swift",
"Models/OpenAILanguageModel.swift",
"Models/OpenResponsesLanguageModel.swift",
"Models/PrivateCloudComputeLanguageModel.swift",
"Models/SystemLanguageModel.swift",
"ProfileActionSerializer.swift",
"ProfileToolExecution.swift",
"Prompt.swift",
"SendableMetatype.swift",
"SessionProperties.swift",
"Shared/Bounds.swift",
"Shared/HTTPTransport+Fetch.swift",
"Shared/JSONCompleter.swift",
"Shared/JSONLines.swift",
"Shared/JSONValue+JSONSchema.swift",
"Shared/JSONValue.swift",
"Shared/LocalGenerationUsage.swift",
"Shared/Locked.swift",
"Shared/PendingMessages.swift",
"Shared/ProviderResponseSchema.swift",
"Shared/ResponseSchemaInlining.swift",
"Shared/ResponseStreamFailure.swift",
"Shared/ResponseUsage.swift",
"Shared/SchemaInPrompt.swift",
"Shared/StoppedResponse.swift",
"Shared/StreamingResponseState.swift",
"Shared/StrictResponseSchema.swift",
"Shared/StructuredGeneration.swift",
"Shared/ToolCallingModeRequests.swift",
"Shared/ToolContinuation.swift",
"Shared/ToolRoundLimit.swift",
"Shared/ToolSchemaNormalization.swift",
"Shared/Transport.swift",
"Tool.swift",
"ToolExecution.swift",
"Transcript.swift"
],
"target_dependencies" : [
"AnyLanguageModelMacros"
],
"type" : "library"
}
],
"tools_version" : "6.3"
}
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:8c75a76a95057fd39be8bfba32b7cf15b3a8a4b3b65299863763333672fd9e67
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.