The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-ai, reference main (06dc4f), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 10:18:16 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ohitslaurence/swift-ai-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ohitslaurence/swift-ai-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 06dc4f1 Improve repo quality and contributor experience (#17)
Cloned https://github.com/ohitslaurence/swift-ai-sdk.git
Revision (git rev-parse @):
06dc4f18b25297f3171bca5366ae0b7f38b769e2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ohitslaurence/swift-ai-sdk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ohitslaurence/swift-ai-sdk.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 / 356]
[Planning deferred tasks]
[58 / 118]
[59 / 119] AICore
[68 / 164]
[71 / 164]
[76 / 164]
[78 / 164]
[82 / 164]
[84 / 164]
[87 / 164]
[90 / 164]
[92 / 164]
[93 / 164]
[104 / 164] AICore
[105 / 164] AICore
[117 / 168]
[117 / 168] AITestSupport
[127 / 188] AIProviderOpenAI
[131 / 188] AITestSupport
[141 / 188] AIProviderAnthropic
[158 / 226]
[167 / 226]
[175 / 226]
[181 / 226] AIIntegrationTests-product
[185 / 227] AIProviderOpenAI
[191 / 227]
[200 / 231]
[202 / 231] AIIntegrationTests-product
[204 / 231] AIIntegrationTests-product
[213 / 231] AISwiftUI
[220 / 232] AI
[222 / 234] AI
[229 / 234] AISwiftUI
Build complete! (15.10 sec)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-ai",
  "name" : "swift-ai",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "AI",
      "targets" : [
        "AI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AICore",
      "targets" : [
        "AICore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIProviderAnthropic",
      "targets" : [
        "AIProviderAnthropic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIProviderOpenAI",
      "targets" : [
        "AIProviderOpenAI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AISwiftUI",
      "targets" : [
        "AISwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AIIntegrationTests",
      "targets" : [
        "AIIntegrationTests"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AITestSupport",
      "module_type" : "SwiftTarget",
      "name" : "AITestSupport",
      "path" : "Tests/AITestSupport",
      "sources" : [
        "MockProvider.swift",
        "MockTransport.swift",
        "MockURLProtocol.swift"
      ],
      "target_dependencies" : [
        "AICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AISwiftUITests",
      "module_type" : "SwiftTarget",
      "name" : "AISwiftUITests",
      "path" : "Tests/AISwiftUITests",
      "sources" : [
        "AISwiftUISmokeTests.swift",
        "AISwiftUITests.swift"
      ],
      "target_dependencies" : [
        "AISwiftUI",
        "AITestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AISwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "AISwiftUI",
      "path" : "Sources/AISwiftUI",
      "product_memberships" : [
        "AI",
        "AISwiftUI"
      ],
      "sources" : [
        "AIConversation.swift",
        "AIMessageList.swift",
        "AIStreamState.swift",
        "MessageBubble.swift",
        "StreamingText.swift"
      ],
      "target_dependencies" : [
        "AICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIProviderOpenAITests",
      "module_type" : "SwiftTarget",
      "name" : "AIProviderOpenAITests",
      "path" : "Tests/AIProviderOpenAITests",
      "sources" : [
        "OpenAIProviderSmokeTests.swift",
        "OpenAIProviderTests.swift"
      ],
      "target_dependencies" : [
        "AIProviderOpenAI",
        "AITestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIProviderOpenAI",
      "module_type" : "SwiftTarget",
      "name" : "AIProviderOpenAI",
      "path" : "Sources/AIProviderOpenAI",
      "product_memberships" : [
        "AI",
        "AIProviderOpenAI",
        "AIIntegrationTests"
      ],
      "sources" : [
        "Internal/OpenAIEmbeddingRequestBuilder.swift",
        "Internal/OpenAIEmbeddingResponseParser.swift",
        "Internal/OpenAIErrorMapper.swift",
        "Internal/OpenAIRequestBuilder.swift",
        "Internal/OpenAIResponseParser.swift",
        "Internal/OpenAIStreamParser.swift",
        "OpenAIModels.swift",
        "OpenAIProvider.swift"
      ],
      "target_dependencies" : [
        "AICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIProviderAnthropicTests",
      "module_type" : "SwiftTarget",
      "name" : "AIProviderAnthropicTests",
      "path" : "Tests/AIProviderAnthropicTests",
      "sources" : [
        "AnthropicProviderSmokeTests.swift",
        "AnthropicProviderTransportTests.swift"
      ],
      "target_dependencies" : [
        "AIProviderAnthropic",
        "AITestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AIProviderAnthropic",
      "module_type" : "SwiftTarget",
      "name" : "AIProviderAnthropic",
      "path" : "Sources/AIProviderAnthropic",
      "product_memberships" : [
        "AI",
        "AIProviderAnthropic",
        "AIIntegrationTests"
      ],
      "sources" : [
        "AnthropicModels.swift",
        "AnthropicProvider.swift",
        "Internal/AnthropicErrorMapper.swift",
        "Internal/AnthropicRequestBuilder.swift",
        "Internal/AnthropicResponseParser.swift",
        "Internal/AnthropicStreamParser.swift"
      ],
      "target_dependencies" : [
        "AICore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AIIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "AIIntegrationTests",
      "path" : "Tools/AIIntegrationTests",
      "product_memberships" : [
        "AIIntegrationTests"
      ],
      "sources" : [
        "LoggingTransport.swift",
        "TestRunner.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "AICore",
        "AIProviderOpenAI",
        "AIProviderAnthropic"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AICoreTests",
      "module_type" : "SwiftTarget",
      "name" : "AICoreTests",
      "path" : "Tests/AICoreTests",
      "sources" : [
        "CoreTypesTests.swift",
        "MiddlewareTests.swift",
        "ObservabilityTests.swift",
        "ProviderHelpersAndEmbeddingsTests.swift",
        "ResponseAndErrorTests.swift",
        "RetryAndTimeoutTests.swift",
        "StreamTests.swift",
        "StructuredOutput/StructuredOutputTests.swift",
        "ToolAndSchemaTests.swift",
        "ToolUse/ToolUseTests.swift",
        "TransportAndSupportTests.swift",
        "UsageTests.swift"
      ],
      "target_dependencies" : [
        "AICore",
        "AITestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AICore",
      "module_type" : "SwiftTarget",
      "name" : "AICore",
      "path" : "Sources/AICore",
      "product_memberships" : [
        "AI",
        "AICore",
        "AIProviderAnthropic",
        "AIProviderOpenAI",
        "AISwiftUI",
        "AIIntegrationTests"
      ],
      "sources" : [
        "Agent/Agent.swift",
        "Embeddings/AIEmbedding.swift",
        "Embeddings/AIEmbeddingRequest.swift",
        "Embeddings/AIEmbeddingResponse.swift",
        "Errors/AIError.swift",
        "Messages/AIContent.swift",
        "Messages/AIDocument.swift",
        "Messages/AIImage.swift",
        "Messages/AIMessage.swift",
        "Messages/AIRole.swift",
        "Middleware/AIMiddleware.swift",
        "Middleware/DefaultSettingsMiddleware.swift",
        "Middleware/LoggingMiddleware.swift",
        "Middleware/MiddlewareProvider.swift",
        "Models/AIModel.swift",
        "Observability/AIAccounting.swift",
        "Observability/AITelemetry.swift",
        "Observability/AITelemetryEvent.swift",
        "Observability/AITelemetryMetrics.swift",
        "Observability/AITelemetryRedaction.swift",
        "Provider/AIProvider+ToolExecution.swift",
        "Provider/AIProvider.swift",
        "Provider/AIProviderCapabilities.swift",
        "Request/AIRequest.swift",
        "Request/AIResponseFormat.swift",
        "Response/AIProviderWarning.swift",
        "Response/AIResponse.swift",
        "Response/AIUsage.swift",
        "Response/AIUsageAccumulator.swift",
        "Retry/RetryExecutor.swift",
        "Retry/RetryPolicy.swift",
        "Streaming/AIStream.swift",
        "Streaming/AIStreamDelta.swift",
        "Streaming/AIStreamEvent.swift",
        "Streaming/SmoothStreaming.swift",
        "StructuredOutput/AIJSONSchema.swift",
        "StructuredOutput/AIJSONSchemaGenerator.swift",
        "StructuredOutput/AIProvider+StructuredOutput.swift",
        "StructuredOutput/AIStructured.swift",
        "StructuredOutput/AIStructuredResponse.swift",
        "StructuredOutput/StructuredOutputGenerator.swift",
        "StructuredOutput/StructuredOutputRepair.swift",
        "Timeout/AITimeout.swift",
        "Tools/AITool.swift",
        "Tools/AIToolChoice.swift",
        "Tools/AIToolExecution.swift",
        "Tools/AIToolResponse.swift",
        "Tools/AIToolResult.swift",
        "Tools/AIToolStream.swift",
        "Tools/AIToolUse.swift",
        "Tools/StopCondition.swift",
        "Transport/AIHTTPTransport.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AI",
      "module_type" : "SwiftTarget",
      "name" : "AI",
      "path" : "Sources/AI",
      "product_memberships" : [
        "AI"
      ],
      "sources" : [
        "AI.swift"
      ],
      "target_dependencies" : [
        "AICore",
        "AIProviderAnthropic",
        "AIProviderOpenAI",
        "AISwiftUI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.