The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Replicate, reference 0.24.0 (efd033), with Swift 6.4 for macOS (SPM) on 21 Sep 2026 05:20: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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/replicate/replicate-swift.git
Reference: 0.24.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/replicate/replicate-swift
 * tag               0.24.0     -> FETCH_HEAD
HEAD is now at efd033f Bump version to 0.24.0
Cloned https://github.com/replicate/replicate-swift.git
Revision (git rev-parse @):
efd033f4e421112b70e82221c813417e164aab7a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/replicate/replicate-swift.git at 0.24.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/replicate/replicate-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Replicate
[30 / 74]
[35 / 74]
[38 / 74]
[39 / 74]
[43 / 74]
[45 / 74]
[48 / 74]
[51 / 74]
[53 / 74]
[54 / 74]
[65 / 74] Replicate
[66 / 74] Replicate
[71 / 74] Replicate
Build complete! (8.38 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:99:31: warning: cannot use default expression for inference of 'Output.Type' because it is inferrable from parameters #3, #4; this will be an error in a future Swift language mode
  97 |         input: Input,
  98 |         webhook: Webhook? = nil,
  99 |         _ type: Output.Type = Value.self,
     |                               `- warning: cannot use default expression for inference of 'Output.Type' because it is inferrable from parameters #3, #4; this will be an error in a future Swift language mode
 100 |         updateHandler: @escaping (Prediction<Input, Output>) throws -> Void = { _ in () }
 101 |     ) async throws -> Output? {
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:165:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 163 |     @available(*, deprecated, message: "wait parameter is deprecated; use ``Prediction/wait(with:)`` or ``Client/run(_:input:webhook:_:)``")
 164 |     public func createPrediction<Input: Codable, Output: Codable>(
 165 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 166 |         version id: Model.Version.ID,
 167 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:221:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 219 |     /// - Returns: The created prediction.
 220 |     public func createPrediction<Input: Codable, Output: Codable>(
 221 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 222 |         version id: Model.Version.ID,
 223 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:270:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 268 |     /// - Returns: The created prediction.
 269 |     public func createPrediction<Input: Codable, Output: Codable>(
 270 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 271 |         model id: Model.ID,
 272 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:319:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 317 |     /// - Returns: The created prediction.
 318 |     public func createPrediction<Input: Codable, Output: Codable>(
 319 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 320 |         deployment id: Deployment.ID,
 321 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:624:40: warning: cannot use default expression for inference of 'Training<Input>.Type' because it is inferrable from parameters #0, #4; this will be an error in a future Swift language mode
 622 |     ///         so make sure it can be safely called more than once.
 623 |     public func createTraining<Input: Codable>(
 624 |         _ type: Training<Input>.Type = AnyTraining.self,
     |                                        `- warning: cannot use default expression for inference of 'Training<Input>.Type' because it is inferrable from parameters #0, #4; this will be an error in a future Swift language mode
 625 |         model: Model.ID,
 626 |         version: Model.Version.ID,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:99:31: warning: cannot use default expression for inference of 'Output.Type' because it is inferrable from parameters #3, #4; this will be an error in a future Swift language mode
  97 |         input: Input,
  98 |         webhook: Webhook? = nil,
  99 |         _ type: Output.Type = Value.self,
     |                               `- warning: cannot use default expression for inference of 'Output.Type' because it is inferrable from parameters #3, #4; this will be an error in a future Swift language mode
 100 |         updateHandler: @escaping (Prediction<Input, Output>) throws -> Void = { _ in () }
 101 |     ) async throws -> Output? {
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:165:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 163 |     @available(*, deprecated, message: "wait parameter is deprecated; use ``Prediction/wait(with:)`` or ``Client/run(_:input:webhook:_:)``")
 164 |     public func createPrediction<Input: Codable, Output: Codable>(
 165 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 166 |         version id: Model.Version.ID,
 167 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:221:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 219 |     /// - Returns: The created prediction.
 220 |     public func createPrediction<Input: Codable, Output: Codable>(
 221 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 222 |         version id: Model.Version.ID,
 223 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:270:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 268 |     /// - Returns: The created prediction.
 269 |     public func createPrediction<Input: Codable, Output: Codable>(
 270 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 271 |         model id: Model.ID,
 272 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:319:50: warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 317 |     /// - Returns: The created prediction.
 318 |     public func createPrediction<Input: Codable, Output: Codable>(
 319 |         _ type: Prediction<Input, Output>.Type = AnyPrediction.self,
     |                                                  `- warning: cannot use default expression for inference of 'Prediction<Input, Output>.Type' because it is inferrable from parameters #0, #2; this will be an error in a future Swift language mode
 320 |         deployment id: Deployment.ID,
 321 |         input: Input,
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Client.swift:624:40: warning: cannot use default expression for inference of 'Training<Input>.Type' because it is inferrable from parameters #0, #4; this will be an error in a future Swift language mode
 622 |     ///         so make sure it can be safely called more than once.
 623 |     public func createTraining<Input: Codable>(
 624 |         _ type: Training<Input>.Type = AnyTraining.self,
     |                                        `- warning: cannot use default expression for inference of 'Training<Input>.Type' because it is inferrable from parameters #0, #4; this will be an error in a future Swift language mode
 625 |         model: Model.ID,
 626 |         version: Model.Version.ID,
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Replicate",
  "name" : "Replicate",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Replicate",
      "targets" : [
        "Replicate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReplicateTests",
      "module_type" : "SwiftTarget",
      "name" : "ReplicateTests",
      "path" : "Tests/ReplicateTests",
      "sources" : [
        "ClientTests.swift",
        "DateDecodingTests.swift",
        "Helpers/MockURLProtocol.swift",
        "PredictionTests.swift",
        "RetryPolicyTests.swift",
        "URIEncodingTests.swift"
      ],
      "target_dependencies" : [
        "Replicate"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Replicate",
      "module_type" : "SwiftTarget",
      "name" : "Replicate",
      "path" : "Sources/Replicate",
      "product_memberships" : [
        "Replicate"
      ],
      "sources" : [
        "Account.swift",
        "Client.swift",
        "Deployment.swift",
        "Error.swift",
        "Extensions/Data+uriEncoded.swift",
        "Hardware.swift",
        "Identifier.swift",
        "Model.swift",
        "Predictable.swift",
        "Prediction.swift",
        "Status.swift",
        "Training.swift",
        "Value.swift",
        "Webhook.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.