Build Information
Successful build of FalClient with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fal-ai/fal-swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fal-ai/fal-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4a589b9 chore: update realtime example to use turbo
Cloned https://github.com/fal-ai/fal-swift.git
Revision (git rev-parse @):
4a589b99b4b029250652c8a6d3f73188e9a10184
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/fal-ai/fal-swift.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/fal-ai/fal-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling SwiftMsgpack MsgPackTimestamp.swift
[5/9] Compiling SwiftMsgpack MsgPackEncoder.swift
[6/9] Compiling SwiftMsgpack MsgPackDecoder.swift
[7/9] Compiling SwiftMsgpack AnyCodable.swift
[8/9] Compiling SwiftMsgpack MsgPackScanner.swift
[9/9] Emitting module SwiftMsgpack
[10/25] Compiling FalClient TimeInterval+Extensions.swift
[11/26] Compiling FalClient Storage.swift
[12/26] Compiling FalClient Utility.swift
[13/26] Compiling FalClient FalClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/FalError.swift:3:10: warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
1 |
2 | enum FalError: Error {
3 | case httpError(status: Int, message: String, payload: Payload?)
| `- warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
4 | case invalidResultFormat
5 | case invalidUrl(url: String)
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Payload.swift:10:13: note: consider making enum 'Payload' conform to the 'Sendable' protocol
8 | /// It supports binary data as well, so it can be kept and transformed if needed
9 | /// before it's encoded to JSON or any other supported format (e.g. msgpack).
10 | public enum Payload: Codable {
| `- note: consider making enum 'Payload' conform to the 'Sendable' protocol
11 | case string(String)
12 | case int(Int)
[14/26] Compiling FalClient FalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/FalError.swift:3:10: warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
1 |
2 | enum FalError: Error {
3 | case httpError(status: Int, message: String, payload: Payload?)
| `- warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
4 | case invalidResultFormat
5 | case invalidUrl(url: String)
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Payload.swift:10:13: note: consider making enum 'Payload' conform to the 'Sendable' protocol
8 | /// It supports binary data as well, so it can be kept and transformed if needed
9 | /// before it's encoded to JSON or any other supported format (e.g. msgpack).
10 | public enum Payload: Codable {
| `- note: consider making enum 'Payload' conform to the 'Sendable' protocol
11 | case string(String)
12 | case int(Int)
[15/26] Compiling FalClient QueueStatus.swift
[16/26] Compiling FalClient Realtime+Codable.swift
[17/26] Compiling FalClient Realtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:152:7: warning: non-final class 'WebSocketConnection' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
150 | typealias WebSocketMessage = URLSessionWebSocketTask.Message
151 |
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
| `- warning: non-final class 'WebSocketConnection' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
153 | let app: String
154 | let client: Client
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:154:9: warning: stored property 'client' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type 'any Client'; this is an error in the Swift 6 language mode
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
153 | let app: String
154 | let client: Client
| `- warning: stored property 'client' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type 'any Client'; this is an error in the Swift 6 language mode
155 | let onMessage: (WebSocketMessage) -> Void
156 | let onError: (Error) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:33:17: note: protocol 'Client' does not conform to the 'Sendable' protocol
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
32 |
33 | public protocol Client {
| `- note: protocol 'Client' does not conform to the 'Sendable' protocol
34 | var config: ClientConfig { get }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:155:9: warning: stored property 'onMessage' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(WebSocketMessage) -> Void' (aka '(URLSessionWebSocketTask.Message) -> ()'); this is an error in the Swift 6 language mode
153 | let app: String
154 | let client: Client
155 | let onMessage: (WebSocketMessage) -> Void
| |- warning: stored property 'onMessage' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(WebSocketMessage) -> Void' (aka '(URLSessionWebSocketTask.Message) -> ()'); this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | let onError: (Error) -> Void
157 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:156:9: warning: stored property 'onError' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(any Error) -> Void'; this is an error in the Swift 6 language mode
154 | let client: Client
155 | let onMessage: (WebSocketMessage) -> Void
156 | let onError: (Error) -> Void
| |- warning: stored property 'onError' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(any Error) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 |
158 | private let queue = DispatchQueue(label: "ai.fal.WebSocketConnection.\(UUID().uuidString)")
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:160:17: warning: stored property 'enqueuedMessage' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
158 | private let queue = DispatchQueue(label: "ai.fal.WebSocketConnection.\(UUID().uuidString)")
159 | private let session = URLSession(configuration: .default)
160 | private var enqueuedMessage: WebSocketMessage? = nil
| `- warning: stored property 'enqueuedMessage' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
161 | private var task: URLSessionWebSocketTask?
162 | private var token: String?
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:329:5: warning: var 'connectionPool' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
327 | }
328 |
329 | var connectionPool: [String: WebSocketConnection] = [:]
| |- warning: var 'connectionPool' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'connectionPool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'connectionPool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | /// The real-time client contract.
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:236:21: warning: capture of 'completion' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 | )
235 | if let token = String(data: response, encoding: .utf8) {
236 | completion(.success(token.replacingOccurrences(of: "\"", with: "")))
| |- warning: capture of 'completion' with non-sendable type '(Result<String, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
237 | } else {
238 | completion(.failure(FalRealtimeError.unauthorized))
[18/26] Compiling FalClient Queue+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client+Codable.swift:5:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct EmptyInput: Encodable {
| `- note: consider making struct 'EmptyInput' conform to the 'Sendable' protocol
5 | public static let empty = EmptyInput()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[19/26] Compiling FalClient Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client+Codable.swift:5:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct EmptyInput: Encodable {
| `- note: consider making struct 'EmptyInput' conform to the 'Sendable' protocol
5 | public static let empty = EmptyInput()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[20/26] Compiling FalClient Client+Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:29:12: warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct RunOptions: RequestOptions {
| `- note: consider making struct 'RunOptions' conform to the 'Sendable' protocol
17 | public let path: String
18 | public let httpMethod: HttpMethod
:
27 | }
28 |
29 | public let DefaultRunOptions: RunOptions = .withMethod(.post)
| |- warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultRunOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
[21/26] Compiling FalClient Client.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:29:12: warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct RunOptions: RequestOptions {
| `- note: consider making struct 'RunOptions' conform to the 'Sendable' protocol
17 | public let path: String
18 | public let httpMethod: HttpMethod
:
27 | }
28 |
29 | public let DefaultRunOptions: RunOptions = .withMethod(.post)
| |- warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultRunOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
[22/26] Emitting module FalClient
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client+Codable.swift:5:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct EmptyInput: Encodable {
| `- note: consider making struct 'EmptyInput' conform to the 'Sendable' protocol
5 | public static let empty = EmptyInput()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:29:12: warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct RunOptions: RequestOptions {
| `- note: consider making struct 'RunOptions' conform to the 'Sendable' protocol
17 | public let path: String
18 | public let httpMethod: HttpMethod
:
27 | }
28 |
29 | public let DefaultRunOptions: RunOptions = .withMethod(.post)
| |- warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultRunOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/FalError.swift:3:10: warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
1 |
2 | enum FalError: Error {
3 | case httpError(status: Int, message: String, payload: Payload?)
| `- warning: associated value 'httpError(status:message:payload:)' of 'Sendable'-conforming enum 'FalError' has non-sendable type 'Payload'; this is an error in the Swift 6 language mode
4 | case invalidResultFormat
5 | case invalidUrl(url: String)
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Payload.swift:10:13: note: consider making enum 'Payload' conform to the 'Sendable' protocol
8 | /// It supports binary data as well, so it can be kept and transformed if needed
9 | /// before it's encoded to JSON or any other supported format (e.g. msgpack).
10 | public enum Payload: Codable {
| `- note: consider making enum 'Payload' conform to the 'Sendable' protocol
11 | case string(String)
12 | case int(Int)
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:152:7: warning: non-final class 'WebSocketConnection' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
150 | typealias WebSocketMessage = URLSessionWebSocketTask.Message
151 |
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
| `- warning: non-final class 'WebSocketConnection' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
153 | let app: String
154 | let client: Client
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:154:9: warning: stored property 'client' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type 'any Client'; this is an error in the Swift 6 language mode
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
153 | let app: String
154 | let client: Client
| `- warning: stored property 'client' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type 'any Client'; this is an error in the Swift 6 language mode
155 | let onMessage: (WebSocketMessage) -> Void
156 | let onError: (Error) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:33:17: note: protocol 'Client' does not conform to the 'Sendable' protocol
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
32 |
33 | public protocol Client {
| `- note: protocol 'Client' does not conform to the 'Sendable' protocol
34 | var config: ClientConfig { get }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:155:9: warning: stored property 'onMessage' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(WebSocketMessage) -> Void' (aka '(URLSessionWebSocketTask.Message) -> ()'); this is an error in the Swift 6 language mode
153 | let app: String
154 | let client: Client
155 | let onMessage: (WebSocketMessage) -> Void
| |- warning: stored property 'onMessage' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(WebSocketMessage) -> Void' (aka '(URLSessionWebSocketTask.Message) -> ()'); this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
156 | let onError: (Error) -> Void
157 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:156:9: warning: stored property 'onError' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(any Error) -> Void'; this is an error in the Swift 6 language mode
154 | let client: Client
155 | let onMessage: (WebSocketMessage) -> Void
156 | let onError: (Error) -> Void
| |- warning: stored property 'onError' of 'Sendable'-conforming class 'WebSocketConnection' has non-sendable type '(any Error) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
157 |
158 | private let queue = DispatchQueue(label: "ai.fal.WebSocketConnection.\(UUID().uuidString)")
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:160:17: warning: stored property 'enqueuedMessage' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
158 | private let queue = DispatchQueue(label: "ai.fal.WebSocketConnection.\(UUID().uuidString)")
159 | private let session = URLSession(configuration: .default)
160 | private var enqueuedMessage: WebSocketMessage? = nil
| `- warning: stored property 'enqueuedMessage' of 'Sendable'-conforming class 'WebSocketConnection' is mutable; this is an error in the Swift 6 language mode
161 | private var task: URLSessionWebSocketTask?
162 | private var token: String?
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Realtime.swift:329:5: warning: var 'connectionPool' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
327 | }
328 |
329 | var connectionPool: [String: WebSocketConnection] = [:]
| |- warning: var 'connectionPool' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'connectionPool' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'connectionPool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | /// The real-time client contract.
[23/26] Compiling FalClient FalImage.swift
[24/26] Compiling FalClient Payload.swift
[25/26] Compiling FalClient Client+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client+Codable.swift:5:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct EmptyInput: Encodable {
| `- note: consider making struct 'EmptyInput' conform to the 'Sendable' protocol
5 | public static let empty = EmptyInput()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:29:12: warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct RunOptions: RequestOptions {
| `- note: consider making struct 'RunOptions' conform to the 'Sendable' protocol
17 | public let path: String
18 | public let httpMethod: HttpMethod
:
27 | }
28 |
29 | public let DefaultRunOptions: RunOptions = .withMethod(.post)
| |- warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultRunOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
[26/26] Compiling FalClient Client+Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client+Codable.swift:5:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import Foundation
3 |
4 | public struct EmptyInput: Encodable {
| `- note: consider making struct 'EmptyInput' conform to the 'Sendable' protocol
5 | public static let empty = EmptyInput()
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'EmptyInput' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/FalClient/Client.swift:29:12: warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct RunOptions: RequestOptions {
| `- note: consider making struct 'RunOptions' conform to the 'Sendable' protocol
17 | public let path: String
18 | public let httpMethod: HttpMethod
:
27 | }
28 |
29 | public let DefaultRunOptions: RunOptions = .withMethod(.post)
| |- warning: let 'DefaultRunOptions' is not concurrency-safe because non-'Sendable' type 'RunOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'DefaultRunOptions' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | public typealias OnQueueUpdate = (QueueStatus) -> Void
Build complete! (32.24s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/nnabeyang/swift-msgpack.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick.git
[1/439] Fetching cwlcatchexception
[190/986] Fetching cwlcatchexception, swift-msgpack
[316/2233] Fetching cwlcatchexception, swift-msgpack, cwlpreconditiontesting
[2135/16782] Fetching cwlcatchexception, swift-msgpack, cwlpreconditiontesting, quick
[16783/35422] Fetching cwlcatchexception, swift-msgpack, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.56s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.57s)
Fetched https://github.com/nnabeyang/swift-msgpack.git from cache (2.57s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.57s)
Fetched https://github.com/Quick/Nimble.git from cache (2.57s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.2.0 (0.56s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.3.1 (0.68s)
Computing version for https://github.com/nnabeyang/swift-msgpack.git
Computed https://github.com/nnabeyang/swift-msgpack.git at 0.3.3 (0.67s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.0 (0.66s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.66s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.2.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.3.1
Creating working copy for https://github.com/nnabeyang/swift-msgpack.git
Working copy of https://github.com/nnabeyang/swift-msgpack.git resolved at 0.3.3
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.0
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "swift-msgpack",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nnabeyang/swift-msgpack.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "7.3.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "13.0.0",
"upper_bound" : "14.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "FalClient",
"name" : "FalClient",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "maccatalyst",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "FalClient",
"targets" : [
"FalClient"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FalClientTests",
"module_type" : "SwiftTarget",
"name" : "FalClientTests",
"path" : "Tests/FalClientTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"UtilitySpec.swift"
],
"target_dependencies" : [
"FalClient"
],
"type" : "test"
},
{
"c99name" : "FalClient",
"module_type" : "SwiftTarget",
"name" : "FalClient",
"path" : "Sources/FalClient",
"product_dependencies" : [
"SwiftMsgpack"
],
"product_memberships" : [
"FalClient"
],
"sources" : [
"Client+Codable.swift",
"Client+Config.swift",
"Client+Request.swift",
"Client.swift",
"FalClient.swift",
"FalError.swift",
"FalImage.swift",
"Payload.swift",
"Queue+Codable.swift",
"Queue.swift",
"QueueStatus.swift",
"Realtime+Codable.swift",
"Realtime.swift",
"Storage.swift",
"TimeInterval+Extensions.swift",
"Utility.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.