Build Information
Successful build of replicate-kit-swift, reference v1.0.1 (1b2583
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:45:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/replicate-kit-swift.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/replicate-kit-swift
* tag v1.0.1 -> FETCH_HEAD
HEAD is now at 1b25838 Update .gitignore
Cloned https://github.com/swiftuiux/replicate-kit-swift.git
Revision (git rev-parse @):
1b2583850bfa3f16ed611c48d61340fe5124b23d
SUCCESS checkout https://github.com/swiftuiux/replicate-kit-swift.git at v1.0.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftuiux/replicate-kit-swift.git
https://github.com/swiftuiux/replicate-kit-swift.git
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/The-Igor/async-http-client.git"
}
],
"manifest_display_name" : "replicate-kit-swift",
"name" : "replicate-kit-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "replicate-kit-swift",
"targets" : [
"replicate-kit-swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "replicate_kit_swiftTests",
"module_type" : "SwiftTarget",
"name" : "replicate-kit-swiftTests",
"path" : "Tests/replicate-kit-swiftTests",
"sources" : [
"replicate_kit_swiftTests.swift"
],
"target_dependencies" : [
"replicate-kit-swift"
],
"type" : "test"
},
{
"c99name" : "replicate_kit_swift",
"module_type" : "SwiftTarget",
"name" : "replicate-kit-swift",
"path" : "Sources/replicate-kit-swift",
"product_dependencies" : [
"async-http-client"
],
"product_memberships" : [
"replicate-kit-swift"
],
"sources" : [
"ReplicateAPI.swift",
"enum/Expect.swift",
"error/Errors.swift",
"error/ResponseError.swift",
"model/CollectionOfModels.swift",
"model/Model.swift",
"model/Prediction.swift",
"net/ReplicateEndpoint.swift",
"net/model/HttpBody.swift",
"protocol/IEndpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/8] Compiling retry_policy_service DispatchTimeInterval.swift
[6/8] Compiling retry_policy_service Strategy.swift
[7/8] Emitting module retry_policy_service
[8/8] Compiling retry_policy_service RetryService.swift
[9/29] Emitting module async_http_client
[10/31] Compiling async_http_client IReader.swift
[11/31] Compiling async_http_client IWriter.swift
[12/31] Compiling async_http_client IValidate.swift
[13/31] Compiling async_http_client Status.swift
[14/31] Compiling async_http_client JsonWriter.swift
[15/31] Compiling async_http_client RequestHelper.swift
[16/31] Compiling async_http_client SendHelper.swift
[17/31] Compiling async_http_client Response.swift
[18/31] Compiling async_http_client HttpMethod.swift
[19/31] Compiling async_http_client Proxy+.swift
[20/31] Compiling async_http_client Proxy.swift
[21/31] Compiling async_http_client Errors.swift
[22/31] Compiling async_http_client ITaskDelegate.swift
[23/31] Compiling async_http_client JsonReader.swift
[24/31] Compiling async_http_client Validate.swift
[25/31] Compiling async_http_client UrlHelper.swift
[26/31] Compiling async_http_client Configuration.swift
[27/31] Compiling async_http_client IConfiguration.swift
[28/31] Compiling async_http_client IProxy.swift
[29/31] Compiling async_http_client IResponse.swift
[30/31] Compiling async_http_client Direct.swift
[31/31] Compiling async_http_client Http.swift
[32/41] Compiling replicate_kit_swift Prediction.swift
[33/41] Compiling replicate_kit_swift ReplicateEndpoint.swift
[34/42] Compiling replicate_kit_swift HttpBody.swift
[35/42] Compiling replicate_kit_swift Expect.swift
[36/42] Compiling replicate_kit_swift Errors.swift
[37/42] Compiling replicate_kit_swift CollectionOfModels.swift
[38/42] Compiling replicate_kit_swift ResponseError.swift
[39/42] Compiling replicate_kit_swift Model.swift
[40/42] Compiling replicate_kit_swift ReplicateAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:235:17: warning: let 'rule' is not concurrency-safe because non-'Sendable' type '[Http.Validate]' may have shared mutable state; this is an error in the Swift 6 language mode
233 |
234 | /// Between the range responses from the server is valid
235 | fileprivate let rule = [Http.Validate.status(.check(errorFn))]
| `- warning: let 'rule' is not concurrency-safe because non-'Sendable' type '[Http.Validate]' may have shared mutable state; this is an error in the Swift 6 language mode
236 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/Validate.swift:14:10: note: enum 'Validate' does not conform to the 'Sendable' protocol
12 | /// Set of rules for validating Http client
13 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
14 | enum Validate {
| `- note: enum 'Validate' does not conform to the 'Sendable' protocol
15 | /// Set of rules for validating HTTPURLResponse.statusCode
16 | case status(Status)
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'async_http_client'
7 |
8 | import Foundation
9 | import async_http_client
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'async_http_client'
10 | import retry_policy_service
11 |
:
233 |
234 | /// Between the range responses from the server is valid
235 | fileprivate let rule = [Http.Validate.status(.check(errorFn))]
| |- note: add '@MainActor' to make let 'rule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:79:33: warning: type 'CollectionOfModels' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 | let path = "collections/\(collection_slug)"
78 |
79 | return try await client.get(path: path, validate: rule).value
| `- warning: type 'CollectionOfModels' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/CollectionOfModels.swift:13:15: note: consider making struct 'CollectionOfModels' conform to the 'Sendable' protocol
11 | /// https://replicate.com/docs/reference/http#get-collection
12 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
13 | public struct CollectionOfModels: Hashable, Decodable{
| `- note: consider making struct 'CollectionOfModels' conform to the 'Sendable' protocol
14 |
15 | /// Collection name
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:79:65: warning: type 'CollectionOfModels' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
77 | let path = "collections/\(collection_slug)"
78 |
79 | return try await client.get(path: path, validate: rule).value
| `- warning: type 'CollectionOfModels' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/CollectionOfModels.swift:13:15: note: consider making struct 'CollectionOfModels' conform to the 'Sendable' protocol
11 | /// https://replicate.com/docs/reference/http#get-collection
12 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
13 | public struct CollectionOfModels: Hashable, Decodable{
| `- note: consider making struct 'CollectionOfModels' conform to the 'Sendable' protocol
14 |
15 | /// Collection name
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:90:33: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | let path = "models/\(owner)/\(name)"
89 |
90 | return try await client.get(path: path, validate: rule).value
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Model.swift:12:15: note: consider making struct 'Model' conform to the 'Sendable' protocol
10 | ///The response is a model object in the following format
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Model: Hashable, Decodable {
| `- note: consider making struct 'Model' conform to the 'Sendable' protocol
13 |
14 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:90:65: warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
88 | let path = "models/\(owner)/\(name)"
89 |
90 | return try await client.get(path: path, validate: rule).value
| `- warning: type 'Model' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Model.swift:12:15: note: consider making struct 'Model' conform to the 'Sendable' protocol
10 | ///The response is a model object in the following format
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Model: Hashable, Decodable {
| `- note: consider making struct 'Model' conform to the 'Sendable' protocol
13 |
14 | public let url: URL
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:141:26: warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
139 | ) async throws -> Prediction<Output>{
140 |
141 | try await client.get(path: "predictions/\(id)", validate: rule).value
| `- warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Prediction.swift:12:15: note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
10 | /// Result data of running a model with Input data
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Prediction<Output>: Decodable, Identifiable where Output: Decodable{
| `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
13 |
14 | /// The unique ID of the prediction. Can be used to get a single prediction.
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:141:73: warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
139 | ) async throws -> Prediction<Output>{
140 |
141 | try await client.get(path: "predictions/\(id)", validate: rule).value
| `- warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
142 | }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Prediction.swift:12:15: note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
10 | /// Result data of running a model with Input data
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Prediction<Output>: Decodable, Identifiable where Output: Decodable{
| `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
13 |
14 | /// The unique ID of the prediction. Can be used to get a single prediction.
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:190:26: warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
188 | ) async throws -> Prediction<Output>{
189 |
190 | try await client.post(
| `- warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
191 | path: "predictions",
192 | body : body,
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Prediction.swift:12:15: note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
10 | /// Result data of running a model with Input data
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Prediction<Output>: Decodable, Identifiable where Output: Decodable{
| `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
13 |
14 | /// The unique ID of the prediction. Can be used to get a single prediction.
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:194:11: warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
192 | body : body,
193 | validate: rule
194 | ).value
| `- warning: type 'Prediction<Output>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/model/Prediction.swift:12:15: note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
10 | /// Result data of running a model with Input data
11 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
12 | public struct Prediction<Output>: Decodable, Identifiable where Output: Decodable{
| `- note: consider making generic struct 'Prediction' conform to the 'Sendable' protocol
13 |
14 | /// The unique ID of the prediction. Can be used to get a single prediction.
[41/42] Emitting module replicate_kit_swift
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:235:17: warning: let 'rule' is not concurrency-safe because non-'Sendable' type '[Http.Validate]' may have shared mutable state; this is an error in the Swift 6 language mode
233 |
234 | /// Between the range responses from the server is valid
235 | fileprivate let rule = [Http.Validate.status(.check(errorFn))]
| `- warning: let 'rule' is not concurrency-safe because non-'Sendable' type '[Http.Validate]' may have shared mutable state; this is an error in the Swift 6 language mode
236 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/async-http-client/Sources/async-http-client/validate/Validate.swift:14:10: note: enum 'Validate' does not conform to the 'Sendable' protocol
12 | /// Set of rules for validating Http client
13 | @available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
14 | enum Validate {
| `- note: enum 'Validate' does not conform to the 'Sendable' protocol
15 | /// Set of rules for validating HTTPURLResponse.statusCode
16 | case status(Status)
/Users/admin/builder/spi-builder-workspace/Sources/replicate-kit-swift/ReplicateAPI.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'async_http_client'
7 |
8 | import Foundation
9 | import async_http_client
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'async_http_client'
10 | import retry_policy_service
11 |
:
233 |
234 | /// Between the range responses from the server is valid
235 | fileprivate let rule = [Http.Validate.status(.check(errorFn))]
| |- note: add '@MainActor' to make let 'rule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
[42/42] Compiling replicate_kit_swift IEndpoint.swift
Build complete! (12.08s)
Fetching https://github.com/The-Igor/async-http-client.git
[1/904] Fetching async-http-client
Fetched https://github.com/The-Igor/async-http-client.git from cache (0.68s)
Computing version for https://github.com/The-Igor/async-http-client.git
Computed https://github.com/The-Igor/async-http-client.git at 1.5.0 (1.31s)
Fetching https://github.com/swiftuiux/retry-policy-service.git
[1/101] Fetching retry-policy-service
Fetched https://github.com/swiftuiux/retry-policy-service.git from cache (0.57s)
Computing version for https://github.com/swiftuiux/retry-policy-service.git
Computed https://github.com/swiftuiux/retry-policy-service.git at 1.0.1 (1.20s)
Creating working copy for https://github.com/The-Igor/async-http-client.git
Working copy of https://github.com/The-Igor/async-http-client.git resolved at 1.5.0
Creating working copy for https://github.com/swiftuiux/retry-policy-service.git
Working copy of https://github.com/swiftuiux/retry-policy-service.git resolved at 1.0.1
Build complete.
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/The-Igor/async-http-client.git"
}
],
"manifest_display_name" : "replicate-kit-swift",
"name" : "replicate-kit-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "replicate-kit-swift",
"targets" : [
"replicate-kit-swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "replicate_kit_swiftTests",
"module_type" : "SwiftTarget",
"name" : "replicate-kit-swiftTests",
"path" : "Tests/replicate-kit-swiftTests",
"sources" : [
"replicate_kit_swiftTests.swift"
],
"target_dependencies" : [
"replicate-kit-swift"
],
"type" : "test"
},
{
"c99name" : "replicate_kit_swift",
"module_type" : "SwiftTarget",
"name" : "replicate-kit-swift",
"path" : "Sources/replicate-kit-swift",
"product_dependencies" : [
"async-http-client"
],
"product_memberships" : [
"replicate-kit-swift"
],
"sources" : [
"ReplicateAPI.swift",
"enum/Expect.swift",
"error/Errors.swift",
"error/ResponseError.swift",
"model/CollectionOfModels.swift",
"model/Model.swift",
"model/Prediction.swift",
"net/ReplicateEndpoint.swift",
"net/model/HttpBody.swift",
"protocol/IEndpoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.