The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AnyLanguageModel, reference main (d0ea4e), with Swift 6.4 for Android on 10 Oct 2026 18:30:47 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
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 d0ea4e5 Parse and write Llama tool calls without JSONSerialization (#308)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
d0ea4e55a35266c9584adb3b3535c4eca5c21a43
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:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/mattt/JSONSchema
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/swiftlang/swift-syntax
[1/207] Fetching jsonschema
[208/510] Fetching jsonschema, eventsource
[511/80926] Fetching jsonschema, eventsource, swift-syntax
Fetched https://github.com/mattt/JSONSchema (3.71s)
Fetched https://github.com/mattt/EventSource (3.71s)
Fetched https://github.com/swiftlang/swift-syntax (3.73s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.71s)
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/28695] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.37s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.52s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.23s)
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.2
Creating working copy for https://github.com/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 712]
[Planning deferred tasks]
[160 / 332] InternalCollectionsUtilities
[190 / 332] SwiftSyntax509
[191 / 332] EventSource
[202 / 332] SwiftSyntax
[204 / 333] SwiftSyntax510
[216 / 336] EventSource
[223 / 337] SwiftSyntax
[235 / 357] OrderedCollections
[236 / 358] SwiftSyntax
[237 / 358] OrderedCollections
[238 / 359] SwiftSyntax
[244 / 359] OrderedCollections
[245 / 359] OrderedCollections
[247 / 359] OrderedCollections
[249 / 359] OrderedCollections-product
[250 / 359] OrderedCollections
[251 / 359] JSONSchema
[258 / 360] JSONSchema
[263 / 364] OrderedCollections
[269 / 364] JSONSchema
[272 / 365] SwiftSyntax
[285 / 393] SwiftParser
[289 / 393] SwiftDiagnostics
[294 / 393] SwiftParser
[300 / 393] SwiftParser
[301 / 393] SwiftParser
[302 / 393] SwiftParser
[304 / 393] SwiftParser
[308 / 393] SwiftParser
[311 / 393] SwiftDiagnostics
[312 / 393] SwiftOperators
[314 / 393] SwiftOperators
[316 / 393] SwiftDiagnostics
[318 / 393] SwiftBasicFormat
[321 / 394]
[327 / 414] SwiftParserDiagnostics
[329 / 414] SwiftParserDiagnostics
[332 / 414] SwiftBasicFormat
[338 / 416] SwiftParserDiagnostics
[340 / 416] SwiftParserDiagnostics
[343 / 416] SwiftParser
[343 / 416] SwiftOperators
[351 / 416] SwiftOperators
[352 / 416] SwiftParserDiagnostics
[357 / 417] SwiftSyntaxBuilder
[361 / 426] SwiftSyntaxBuilder
[362 / 426] SwiftSyntaxBuilder
[363 / 427] SwiftSyntaxBuilder
[366 / 427] SwiftSyntaxBuilder
[377 / 437] SwiftSyntaxMacros
[380 / 438] SwiftSyntaxMacros
[389 / 438] SwiftSyntaxMacros-product
[395 / 448] SwiftSyntaxMacroExpansion
[398 / 449] SwiftSyntaxMacros
[400 / 449] SwiftSyntaxMacroExpansion
[411 / 460] SwiftSyntaxMacroExpansion
[416 / 460] SwiftCompilerPluginMessageHandling
[423 / 460] SwiftCompilerPluginMessageHandling
[429 / 464]
[434 / 465] SwiftCompilerPlugin
[436 / 465] SwiftCompilerPluginMessageHandling
[436 / 466] SwiftCompilerPluginMessageHandling
[438 / 466] SwiftSyntax
[441 / 467] SwiftSyntax
[448 / 467]
[456 / 468] AnyLanguageModelMacros
[460 / 472] AnyLanguageModelMacros
[461 / 472] AnyLanguageModelMacros
[465 / 473] AnyLanguageModelMacros
[475 / 483] AnyLanguageModel
[480 / 483] AnyLanguageModel
[484 / 484] AnyLanguageModel-product
Build complete! (33.04 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" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/huggingface/swift-huggingface"
    },
    {
      "identity" : "eventsource",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.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" : "2.10549.0",
            "upper_bound" : "3.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"
    }
  ],
  "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",
        "AnthropicReasoningTests.swift",
        "ArrayGenerationSchemaTests.swift",
        "CharacterExtensionsTests.swift",
        "ConvertibleToGeneratedContentTests.swift",
        "CoreMLLanguageModelTests.swift",
        "CustomGenerationOptionsTests.swift",
        "DynamicGenerationSchemaTests.swift",
        "DynamicInstructionsBuilderTests.swift",
        "DynamicInstructionsTests.swift",
        "DynamicSchemaConversionTests.swift",
        "ExplicitNilTests.swift",
        "FoundationLanguageModelTests.swift",
        "FoundationModelsGenerationOptionsTests.swift",
        "GeminiLanguageModelTests.swift",
        "GeminiThoughtSignatureTests.swift",
        "GenerableMacroTests.swift",
        "GeneratedContentErrorTests.swift",
        "GeneratedContentJSONFoundationModelsTests.swift",
        "GeneratedContentJSONTests.swift",
        "GenerationGuideTests.swift",
        "InstructionsTests.swift",
        "JSONCompleterTests.swift",
        "JSONDecoderExtensionsTests.swift",
        "JSONLinesTests.swift",
        "LanguageModelFeedbackTests.swift",
        "LlamaGemma4TemplateTests.swift",
        "LlamaLanguageModelTests.swift",
        "LlamaToolCallFormatTests.swift",
        "LocalGenerationUsageTests.swift",
        "LockedTests.swift",
        "MLXLanguageModelTests.swift",
        "MockLanguageModelTests.swift",
        "ObservationTests.swift",
        "OllamaLanguageModelTests.swift",
        "OllamaRequestHistoryTests.swift",
        "OpenAILanguageModelTests.swift",
        "OpenResponsesLanguageModelTests.swift",
        "PrimitiveStringCoercionTests.swift",
        "PromptTests.swift",
        "ProviderErrorTests.swift",
        "ProviderSchemaResponseTests.swift",
        "ProviderUsageTests.swift",
        "ReasoningTests.swift",
        "RequestContextTests.swift",
        "ResponseSchemaInliningTests.swift",
        "SchemaResponseTests.swift",
        "Shared/Images.swift",
        "Shared/MockLanguageModel.swift",
        "Shared/MockTokenBackend.swift",
        "Shared/StructuredGenerationFixtures.swift",
        "Shared/StubURLProtocol.swift",
        "Shared/ToolSpy.swift",
        "Shared/Tools.swift",
        "StringChoiceGuideFoundationModelsTests.swift",
        "StringChoiceGuideTests.swift",
        "StructuredGenerationTests.swift",
        "StructuredGenerationTokenCacheTests.swift",
        "SystemLanguageModelTests.swift",
        "ToolExecutionDelegateTests.swift",
        "ToolSchemaNormalizationTests.swift",
        "TranscriptErrorHandlingTests.swift",
        "TranscriptOverlapTests.swift",
        "TranscriptTests.swift",
        "URLSessionExtensionsTests.swift",
        "UsageAPICompatibilityTests.swift",
        "UsageTests.swift"
      ],
      "target_dependencies" : [
        "AnyLanguageModel"
      ],
      "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"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "AnyLanguageModel",
      "module_type" : "SwiftTarget",
      "name" : "AnyLanguageModel",
      "path" : "Sources/AnyLanguageModel",
      "product_dependencies" : [
        "EventSource",
        "JSONSchema"
      ],
      "product_memberships" : [
        "AnyLanguageModel"
      ],
      "sources" : [
        "Availability.swift",
        "ConvertibleFromGeneratedContent.swift",
        "ConvertibleToGeneratedContent.swift",
        "DynamicGenerationSchema.swift",
        "DynamicInstructions.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/LlamaLanguageModel.swift",
        "Models/LlamaToolCallFormat.swift",
        "Models/MLXLanguageModel.swift",
        "Models/OllamaLanguageModel.swift",
        "Models/OpenAILanguageModel.swift",
        "Models/OpenResponsesLanguageModel.swift",
        "Models/PrivateCloudComputeLanguageModel.swift",
        "Models/SystemLanguageModel.swift",
        "Prompt.swift",
        "SendableMetatype.swift",
        "Shared/JSONCompleter.swift",
        "Shared/JSONLines.swift",
        "Shared/JSONValue.swift",
        "Shared/LocalGenerationUsage.swift",
        "Shared/Locked.swift",
        "Shared/ResponseSchemaInlining.swift",
        "Shared/ResponseStreamFailure.swift",
        "Shared/ResponseUsage.swift",
        "Shared/StreamingResponseState.swift",
        "Shared/StructuredGeneration.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:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.