The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AnyLanguageModel, reference 1.1.1 (dcd18b), with Swift 6.4 for Android on 29 Oct 2026 06:15:01 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.git
Reference: 1.1.1
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
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at dcd18b3 Bump README install snippets to 1.1.1 (#373)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
dcd18b30566de97da9c7fb0197415547c64a2bae
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at 1.1.1
========================================
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-53886769-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
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/swiftlang/swift-syntax
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/mattt/JSONSchema
[1/207] Fetching jsonschema
[14/2168] Fetching jsonschema, swift-http-types
[15/2493] Fetching jsonschema, swift-http-types, eventsource
Fetched https://github.com/mattt/JSONSchema (0.36s)
[953/2286] Fetching swift-http-types, eventsource
Fetched https://github.com/mattt/EventSource (0.36s)
[1354/1961] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types (0.39s)
[1/81347] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (3.39s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.37s)
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/29362] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.49s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (1.64s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.8.0 (0.16s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.22s)
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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/mattt/EventSource
Working copy of https://github.com/mattt/EventSource resolved at 1.5.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 772]
[Planning deferred tasks]
[171 / 353] SwiftSyntax509
[202 / 362] SwiftSyntax
[203 / 362] SwiftSyntax601
[220 / 365] SwiftSyntax600
[227 / 367] SwiftSyntax510
[234 / 367] HTTPTypes
[235 / 367] HTTPTypesFoundation
[243 / 368]
[247 / 373] EventSource
[254 / 377] HTTPTypesFoundation
[260 / 401] EventSource
[272 / 401] SwiftSyntax
[274 / 402] SwiftSyntax
[274 / 402] EventSource
[276 / 403] SwiftSyntax
[277 / 403] SwiftSyntax
[280 / 403] OrderedCollections
[284 / 403] OrderedCollections
[285 / 403] OrderedCollections-product
[286 / 403] OrderedCollections-product
[287 / 403] OrderedCollections-product
[289 / 403] JSONSchema
[291 / 403] HTTPTypesFoundation-product
[294 / 403] HTTPTypes
[301 / 405] HTTPTypesFoundation
[304 / 408] JSONSchema
[305 / 409] OrderedCollections
[314 / 409]
[314 / 409] JSONSchema
[317 / 410] SwiftSyntax
[330 / 438] SwiftParser
[332 / 438] SwiftBasicFormat
[340 / 438] SwiftDiagnostics
[345 / 438] SwiftParser
[346 / 438] SwiftParser
[348 / 438] SwiftParser
[352 / 438] SwiftParser
[354 / 438] SwiftDiagnostics
[355 / 438] SwiftDiagnostics
[356 / 438] SwiftDiagnostics
[358 / 438] SwiftOperators
[362 / 439] SwiftParser
[367 / 439] SwiftBasicFormat
[372 / 450] SwiftParserDiagnostics
[374 / 450] SwiftParserDiagnostics
[376 / 451] SwiftParserDiagnostics
[378 / 451] SwiftParserDiagnostics
[383 / 451] SwiftParserDiagnostics
[385 / 451]
[389 / 462] SwiftSyntaxBuilder
[392 / 471] SwiftSyntaxBuilder
[396 / 471] SwiftParserDiagnostics
[398 / 472] SwiftOperators
[404 / 472] SwiftSyntaxBuilder
[406 / 472] SwiftSyntaxBuilder
[413 / 472] SwiftSyntaxMacros
[418 / 472] SwiftOperators
[422 / 482] SwiftSyntaxMacros
[431 / 482] SwiftSyntaxMacros
[437 / 492] SwiftSyntaxMacroExpansion
[441 / 495] SwiftSyntaxMacroExpansion
[445 / 495] SwiftSyntaxMacroExpansion
[458 / 505] SwiftOperators
[461 / 505] SwiftCompilerPluginMessageHandling
[463 / 505] SwiftCompilerPluginMessageHandling
[472 / 508] SwiftCompilerPluginMessageHandling
[479 / 509] SwiftCompilerPlugin
[481 / 510] SwiftCompilerPluginMessageHandling
[483 / 511] SwiftSyntax
[486 / 512] SwiftSyntax
[493 / 512]
[501 / 513] AnyLanguageModelMacros
[505 / 517] AnyLanguageModelMacros
[506 / 517] AnyLanguageModelMacros
[510 / 518] AnyLanguageModelMacros
/host/spi-builder-workspace/Sources/AnyLanguageModel/Attachment.swift:35:9: warning: default will never be executed
 33 |                 return a === b && ao == bo
 34 |         #endif
 35 |         default:
    |         `- warning: default will never be executed
 36 |             return false
 37 |         }
[520 / 528] AnyLanguageModel
[525 / 528] AnyLanguageModel
[529 / 529] AnyLanguageModel-product
Build complete! (33.61 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.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"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.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",
        "AnthropicReasoningTests.swift",
        "AnyOfGenerationTests.swift",
        "ArrayGenerationSchemaTests.swift",
        "BoundsTests.swift",
        "CharacterExtensionsTests.swift",
        "CollectCancellationTests.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",
        "GenerableEnumPayloadFoundationModelsTests.swift",
        "GenerableEnumPayloadTests.swift",
        "GenerableMacroTests.swift",
        "GenerableMissingPropertyTests.swift",
        "GeneratedContentErrorTests.swift",
        "GeneratedContentJSONFoundationModelsTests.swift",
        "GeneratedContentJSONTests.swift",
        "GenerationGuideTests.swift",
        "GenerationOptionsTests.swift",
        "HTTPTransportTests.swift",
        "InlineObjectNamesFoundationModelsTests.swift",
        "InstructionsTests.swift",
        "JSONCompleterTests.swift",
        "JSONDecoderExtensionsTests.swift",
        "JSONLinesTests.swift",
        "JSONValueTests.swift",
        "LanguageModelFeedbackTests.swift",
        "LlamaGemma4TemplateTests.swift",
        "LlamaLanguageModelTests.swift",
        "LlamaToolCallFormatTests.swift",
        "LocalGenerationUsageTests.swift",
        "LockedTests.swift",
        "MLXLanguageModelTests.swift",
        "MigrationTests.swift",
        "MockLanguageModelTests.swift",
        "ObservationTests.swift",
        "OllamaLanguageModelTests.swift",
        "OllamaReasoningReplayTests.swift",
        "OllamaRequestHistoryTests.swift",
        "OneOfDecodingTests.swift",
        "OpenAILanguageModelTests.swift",
        "OpenAIToolCallHistoryTests.swift",
        "OpenResponsesLanguageModelTests.swift",
        "PrimitiveStringCoercionTests.swift",
        "PromptAttachmentTests.swift",
        "PromptTests.swift",
        "ProviderErrorTests.swift",
        "ProviderSchemaResponseTests.swift",
        "ProviderUsageTests.swift",
        "ReasoningTests.swift",
        "ReleaseBehaviourTests.swift",
        "RequestContextTests.swift",
        "RequestOptionsTests.swift",
        "RequestUsageCountingTests.swift",
        "ResponseSchemaInliningTests.swift",
        "ResponseStartTimeoutTests.swift",
        "SchemaPropertyOrderFoundationModelsTests.swift",
        "SchemaPropertyOrderTypes.swift",
        "SchemaResponseTests.swift",
        "Shared/FakeTransport.swift",
        "Shared/FoundationModelsEnumFixtures.swift",
        "Shared/Images.swift",
        "Shared/LoopbackServer.swift",
        "Shared/MockLanguageModel.swift",
        "Shared/MockTokenBackend.swift",
        "Shared/StructuredGenerationFixtures.swift",
        "Shared/StubURLProtocol.swift",
        "Shared/ToolSpy.swift",
        "Shared/Tools.swift",
        "StrictResponseSchemaTests.swift",
        "StringChoiceGuideFoundationModelsTests.swift",
        "StringChoiceGuideTests.swift",
        "StructuredGenerationTests.swift",
        "StructuredGenerationTokenCacheTests.swift",
        "SystemLanguageModelTests.swift",
        "ToolCallingModeTests.swift",
        "ToolExecutionDelegateTests.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"
      ],
      "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"
      ],
      "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",
        "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/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/ProviderResponseSchema.swift",
        "Shared/ResponseSchemaInlining.swift",
        "Shared/ResponseStreamFailure.swift",
        "Shared/ResponseUsage.swift",
        "Shared/StreamingResponseState.swift",
        "Shared/StrictResponseSchema.swift",
        "Shared/StructuredGeneration.swift",
        "Shared/ToolCallingModeRequests.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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Done.