The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AnyLanguageModel, reference main (d0ea4e), with Swift 6.4 for macOS (SPM) on 10 Oct 2026 18:45:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/huggingface/AnyLanguageModel.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 214]
[Planning deferred tasks]
[50 / 96]
[53 / 99] InternalCollectionsUtilities
[64 / 112] InternalCollectionsUtilities
[65 / 188] InternalCollectionsUtilities
[84 / 188]
[91 / 189] OrderedCollections
[101 / 200]
[107 / 200]
[114 / 200]
[119 / 200] OrderedCollections
[122 / 200] InternalCollectionsUtilities
[122 / 200] OrderedCollections
[125 / 200]
[131 / 200] OrderedCollections
[142 / 201]
[147 / 201]
[153 / 204]
[156 / 204]
[157 / 204]
[160 / 204]
[162 / 204]
[166 / 204]
[175 / 204] AnyLanguageModelMacros
[181 / 204] JSONSchema
[187 / 204] AnyLanguageModelMacros
[189 / 204] EventSource
[193 / 204] AnyLanguageModelMacros
[196 / 205] AnyLanguageModel
[208 / 242]
[214 / 242]
[216 / 242]
[219 / 242]
[221 / 242]
[222 / 242]
[233 / 242] AnyLanguageModel
[239 / 242] AnyLanguageModel
Build complete! (13.74 sec)
Fetching https://github.com/mattt/EventSource
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/mattt/JSONSchema
[1/207] Fetching jsonschema
[28/510] Fetching jsonschema, eventsource
Fetched https://github.com/mattt/EventSource (0.91s)
[1/80416] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (6.95s)
Fetched https://github.com/mattt/JSONSchema (6.95s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (9.82s)
Computing version for https://github.com/mattt/JSONSchema
Computed https://github.com/mattt/JSONSchema at 1.3.1 (0.54s)
Fetching https://github.com/apple/swift-collections.git
[1/28695] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (3.13s)
Computing version for https://github.com/mattt/EventSource
Computed https://github.com/mattt/EventSource at 1.5.1 (3.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.66s)
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/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/mattt/JSONSchema
Working copy of https://github.com/mattt/JSONSchema resolved at 1.3.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (1.36s)
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" : "/Users/admin/builder/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"
}
Done.