The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Replicate, reference main (efd033), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 02:32:14 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/replicate/replicate-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/replicate/replicate-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/replicate/replicate-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/16] Compiling Replicate Predictable.swift
[4/16] Compiling Replicate Deployment.swift
[5/16] Compiling Replicate Error.swift
[6/17] Compiling Replicate Account.swift
[7/17] Compiling Replicate Client.swift
[8/17] Emitting module Replicate
[9/17] Compiling Replicate Value.swift
[10/17] Compiling Replicate Webhook.swift
[11/17] Compiling Replicate Data+uriEncoded.swift
[12/17] Compiling Replicate Hardware.swift
[13/17] Compiling Replicate Identifier.swift
[14/17] Compiling Replicate Model.swift
[15/17] Compiling Replicate Status.swift
[16/17] Compiling Replicate Prediction.swift
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Prediction.swift:198:28: warning: capture of non-sendable type 'Input.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
    |                            `- warning: capture of non-sendable type 'Input.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Prediction.swift:198:28: warning: capture of non-sendable type 'Output.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |             group.addTask {
197 |                 try await Task.sleep(nanoseconds: UInt64(delay * 1e+9))
198 |                 return try await client.getPrediction(Self.self, id: id)
    |                            `- warning: capture of non-sendable type 'Output.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |             }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Prediction.swift:202:31: warning: capture of non-sendable type 'Input.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |
201 |             if let deadline = retrier.deadline {
202 |                 group.addTask {
    |                               `- warning: capture of non-sendable type 'Input.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |                     try await Task.sleep(nanoseconds: deadline.uptimeNanoseconds - DispatchTime.now().uptimeNanoseconds)
204 |                     throw CancellationError()
/Users/admin/builder/spi-builder-workspace/Sources/Replicate/Prediction.swift:202:31: warning: capture of non-sendable type 'Output.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |
201 |             if let deadline = retrier.deadline {
202 |                 group.addTask {
    |                               `- warning: capture of non-sendable type 'Output.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |                     try await Task.sleep(nanoseconds: deadline.uptimeNanoseconds - DispatchTime.now().uptimeNanoseconds)
204 |                     throw CancellationError()
[17/17] Compiling Replicate Training.swift
Build complete! (4.49s)
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.