The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AnyLanguageModel, reference 0.16.0 (3e0040), with Swift 6.4 for Linux on 8 Oct 2026 18:25:20 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huggingface/AnyLanguageModel.git
Reference: 0.16.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/huggingface/AnyLanguageModel
 * tag               0.16.0     -> FETCH_HEAD
HEAD is now at 3e00403 Bump README install snippets to 0.16.0 (#296)
Cloned https://github.com/huggingface/AnyLanguageModel.git
Revision (git rev-parse @):
3e00403e1ea1d2e6870eb07747d602482e2fb982
SUCCESS checkout https://github.com/huggingface/AnyLanguageModel.git at 0.16.0
========================================
Build
========================================
Selected platform:         linux
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-54344843-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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
Fetched https://github.com/mattt/JSONSchema (0.75s)
[1/80381] Fetching swift-syntax
Fetched https://github.com/mattt/EventSource (4.42s)
Fetched https://github.com/swiftlang/swift-syntax (4.47s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (6.34s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.24s)
Fetching https://github.com/apple/swift-collections.git
[1/28545] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (2.64s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (2.81s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.31s)
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.5.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/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 712]
[Planning deferred tasks]
[155 / 320] _SwiftSyntaxCShims
[187 / 329] InternalCollectionsUtilities
[188 / 329] EventSource
[200 / 329] InternalCollectionsUtilities
[206 / 331] OrderedCollections
[211 / 333] SwiftSyntax601
[219 / 334] SwiftSyntax600
[225 / 336] OrderedCollections
[231 / 354] SwiftSyntax
[232 / 354] SwiftSyntax
[233 / 355] SwiftSyntax
[233 / 355] OrderedCollections
[236 / 355] SwiftSyntax
[236 / 355] EventSource
[239 / 356] OrderedCollections
[244 / 356] OrderedCollections
[245 / 356] OrderedCollections
[246 / 356] OrderedCollections-product
[247 / 356] OrderedCollections-product
[248 / 356] OrderedCollections-product
[251 / 356] InternalCollectionsUtilities
[255 / 357]
[258 / 360] JSONSchema
[259 / 360] JSONSchema
[266 / 361] JSONSchema
[269 / 362] SwiftSyntax
[281 / 382] SwiftParser
[282 / 390] SwiftParser
[285 / 390] SwiftBasicFormat
[296 / 390] SwiftParser
[299 / 390] SwiftParser
[303 / 390] SwiftParser
[306 / 390] SwiftDiagnostics
[308 / 390] SwiftDiagnostics
[310 / 390] SwiftParser
[312 / 390] SwiftDiagnostics
[314 / 390] SwiftBasicFormat
[315 / 390] SwiftParserDiagnostics
[318 / 391] SwiftDiagnostics
[321 / 401] SwiftBasicFormat
[323 / 402] SwiftParserDiagnostics
[324 / 402] SwiftParserDiagnostics
[327 / 402] SwiftParserDiagnostics
[331 / 402] SwiftParserDiagnostics
[332 / 402] SwiftSyntaxBuilder
[336 / 403] SwiftParser
[341 / 413] SwiftParser
[345 / 414] SwiftOperators
[352 / 414] SwiftParserDiagnostics
[355 / 414] SwiftOperators
[357 / 424] SwiftOperators
[360 / 424] SwiftSyntaxBuilder
[362 / 425] SwiftSyntaxBuilder
[363 / 425] SwiftSyntaxBuilder
[367 / 425] SwiftSyntaxBuilder
[373 / 426]
[374 / 435] SwiftSyntaxBuilder
[376 / 435] SwiftSyntaxMacros
[382 / 435] SwiftSyntaxMacros
[388 / 436]
[392 / 446] SwiftSyntax
[396 / 446] SwiftSyntaxMacroExpansion
[397 / 446] SwiftSyntaxMacros
[402 / 447] SwiftSyntaxMacroExpansion
[410 / 457] SwiftCompilerPluginMessageHandling
[412 / 457] SwiftCompilerPluginMessageHandling
[414 / 457] SwiftCompilerPluginMessageHandling
[416 / 457] SwiftCompilerPluginMessageHandling
[424 / 460] SwiftCompilerPlugin
[429 / 461] SwiftCompilerPlugin
[431 / 461] SwiftSyntaxMacroExpansion
[433 / 462] SwiftCompilerPluginMessageHandling
[435 / 463] SwiftSyntax
[438 / 464] SwiftSyntax
[444 / 464] SwiftSyntaxBuilder
[453 / 465] AnyLanguageModelMacros
[457 / 469] AnyLanguageModelMacros
[458 / 469] AnyLanguageModelMacros
[462 / 470] AnyLanguageModelMacros
[472 / 480] AnyLanguageModel
[477 / 480] AnyLanguageModel
[480 / 481] AnyLanguageModel
Build complete! (39.80 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",
        "GeneratedContentJSONTests.swift",
        "GenerationGuideTests.swift",
        "InstructionsTests.swift",
        "JSONCompleterTests.swift",
        "JSONDecoderExtensionsTests.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",
        "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/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.