Build Information
Failed to build Apollo, reference 0.x-legacy (75e10a), with Swift 6.1 for macOS (SPM) on 17 Oct 2026 09:59:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The current default cache policy.
18 | public static var `default`: CachePolicy = .returnCacheDataElseFetch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:135:9: warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
133 | assertionFailure("Trying to upload without an uploading transport. Please make sure your network transport conforms to `UploadingNetworkTransport`.")
134 | queue.async {
135 | resultHandler?(.failure(ApolloClientError.noUploadTransport))
| |- warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
136 | }
137 | return EmptyCancellable()
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:64:62: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
62 | let result = Result { try self.cache.clear() }
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | result: result)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:31: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:57: warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RecordSet.swift:2:15: note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
1 | /// A set of cache records.
2 | public struct RecordSet {
| `- note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
3 | public private(set) var storage: [CacheKey: Record] = [:]
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:82:64: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
82 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | result: .success(()))
84 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:31: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:59: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:118:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
118 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | result: .success(returnValue))
120 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:142:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
142 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | result: .success(returnValue))
144 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The current default cache policy.
18 | public static var `default`: CachePolicy = .returnCacheDataElseFetch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:135:9: warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
133 | assertionFailure("Trying to upload without an uploading transport. Please make sure your network transport conforms to `UploadingNetworkTransport`.")
134 | queue.async {
135 | resultHandler?(.failure(ApolloClientError.noUploadTransport))
| |- warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
136 | }
137 | return EmptyCancellable()
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:64:62: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
62 | let result = Result { try self.cache.clear() }
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | result: result)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:31: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:57: warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RecordSet.swift:2:15: note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
1 | /// A set of cache records.
2 | public struct RecordSet {
| `- note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
3 | public private(set) var storage: [CacheKey: Record] = [:]
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:82:64: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
82 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | result: .success(()))
84 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:31: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:59: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:118:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
118 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | result: .success(returnValue))
120 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:142:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
142 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | result: .success(returnValue))
144 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The current default cache policy.
18 | public static var `default`: CachePolicy = .returnCacheDataElseFetch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:135:9: warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
133 | assertionFailure("Trying to upload without an uploading transport. Please make sure your network transport conforms to `UploadingNetworkTransport`.")
134 | queue.async {
135 | resultHandler?(.failure(ApolloClientError.noUploadTransport))
| |- warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
136 | }
137 | return EmptyCancellable()
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:64:62: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
62 | let result = Result { try self.cache.clear() }
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | result: result)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:31: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:57: warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RecordSet.swift:2:15: note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
1 | /// A set of cache records.
2 | public struct RecordSet {
| `- note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
3 | public private(set) var storage: [CacheKey: Record] = [:]
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:82:64: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
82 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | result: .success(()))
84 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:31: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:59: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:118:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
118 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | result: .success(returnValue))
120 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:142:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
142 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | result: .success(returnValue))
144 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:18:21: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | /// The current default cache policy.
18 | public static var `default`: CachePolicy = .returnCacheDataElseFetch
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:135:9: warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
133 | assertionFailure("Trying to upload without an uploading transport. Please make sure your network transport conforms to `UploadingNetworkTransport`.")
134 | queue.async {
135 | resultHandler?(.failure(ApolloClientError.noUploadTransport))
| |- warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
136 | }
137 | return EmptyCancellable()
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:64:62: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
62 | let result = Result { try self.cache.clear() }
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
65 | result: result)
66 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:62:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
60 | public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, Error>) -> Void)? = nil) {
61 | queue.async(flags: .barrier) {
62 | let result = Result { try self.cache.clear() }
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
63 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
64 | action: completion,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:31: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:79:57: warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
77 | queue.async(flags: .barrier) {
78 | do {
79 | let changedKeys = try self.cache.merge(records: records)
| `- warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RecordSet.swift:2:15: note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
1 | /// A set of cache records.
2 | public struct RecordSet {
| `- note: consider making struct 'RecordSet' conform to the 'Sendable' protocol
3 | public private(set) var storage: [CacheKey: Record] = [:]
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:82:64: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
80 | self.didChangeKeys(changedKeys, identifier: identifier)
81 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
82 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
83 | result: .success(()))
84 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:94:31: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
92 | func subscribe(_ subscriber: ApolloStoreSubscriber) {
93 | queue.async(flags: .barrier) {
94 | self.subscribers.append(subscriber)
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
95 | }
96 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:100:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
16 | }
17 |
18 | protocol ApolloStoreSubscriber: AnyObject {
| `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
19 |
20 | /// A callback that can be received by subscribers when keys are changed within the database
:
98 | func unsubscribe(_ subscriber: ApolloStoreSubscriber) {
99 | queue.async(flags: .barrier) {
100 | self.subscribers = self.subscribers.filter({ $0 !== subscriber })
| `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in an isolated closure; this is an error in the Swift 6 language mode
101 | }
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:115:59: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
113 | self.queue.async {
114 | do {
115 | let returnValue = try body(ReadTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:118:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
116 |
117 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
118 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
119 | result: .success(returnValue))
120 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| |- warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:139:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
30 |
31 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
32 | public final class ApolloStore {
| `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
33 | public var cacheKeyForObject: CacheKeyForObject?
34 |
:
137 | self.queue.async(flags: .barrier) {
138 | do {
139 | let returnValue = try body(ReadWriteTransaction(store: self))
| `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:142:64: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
140 |
141 | DispatchQueue.apollo.returnResultAsyncIfNeeded(on: callbackQueue,
142 | action: completion,
| |- warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
143 | result: .success(returnValue))
144 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
[95/137] Compiling Apollo GraphQLGETTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[96/137] Compiling Apollo GraphQLHTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[97/137] Compiling Apollo GraphQLHTTPRequestError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[98/137] Compiling Apollo GraphQLMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[99/137] Compiling Apollo GraphQLOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[100/137] Compiling Apollo GraphQLQueryWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:108:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
7 | ///
8 | /// NOTE: The store retains the watcher while subscribed. You must call `cancel()` on your query watcher when you no longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will result in a memory leak.
9 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
| `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
10 | weak var client: ApolloClientProtocol?
11 | public let query: Query
:
106 | case .success(let graphQLResult):
107 | self.callbackQueue.async { [weak self] in
108 | guard let self = self else {
| `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
109 | return
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:115:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
113 | $0 = graphQLResult.dependentKeys
114 | }
115 | self.resultHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
116 | }
117 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:113:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
111 |
112 | self.dependentKeys.mutate {
113 | $0 = graphQLResult.dependentKeys
| `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in an isolated closure; this is an error in the Swift 6 language mode
114 | }
115 | self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
[101/137] Compiling Apollo JSONSerializationFormat.swift
[102/137] Compiling Apollo JSONStandardTypeConversions.swift
[103/137] Compiling Apollo MaxRetryInterceptor.swift
[104/137] Compiling Apollo MultipartFormData.swift
[105/137] Compiling Apollo NetworkFetchInterceptor.swift
[106/137] Compiling Apollo NetworkTransport.swift
[107/137] Compiling Apollo InputValue+Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[108/137] Compiling Apollo InterceptorProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[109/137] Compiling Apollo JSON.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[110/137] Compiling Apollo JSONRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[111/137] Compiling Apollo JSONResponseParsingInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[112/137] Compiling Apollo JSONSerialization+Sorting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/JSON.swift:19:8: warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
17 | case nullValue
18 | case wrongType
19 | case couldNotConvert(value: Any, to: Any.Type)
| `- warning: associated value 'couldNotConvert(value:to:)' of 'Sendable'-conforming enum 'JSONDecodingError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 | public var errorDescription: String? {
[113/137] Compiling Apollo DefaultInterceptorProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[114/137] Compiling Apollo Dictionary+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[115/137] Compiling Apollo DispatchQueue+Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[116/137] Compiling Apollo GraphQLDependencyTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[117/137] Compiling Apollo GraphQLError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[118/137] Compiling Apollo GraphQLExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[119/137] Compiling Apollo GraphQLFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:14:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
12 | // A callback queue was provided, perform the action on that queue
13 | callbackQueue.async {
14 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
15 | }
16 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:7:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
5 | /// - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
6 | public struct GraphQLError: Error {
7 | private let object: JSONObject
| `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, Any>'); this is an error in the Swift 6 language mode
8 |
9 | public init(_ object: JSONObject) {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:37:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
35 | /// An error which has occurred in processing a GraphQLResult
36 | public struct GraphQLResultError: Error, LocalizedError {
37 | let path: ResponsePath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLResultError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
38 |
39 | public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:3:8: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
1 | /// A response path is stored as a linked list because using an array turned out to be
2 | /// a performance bottleneck during decoding/execution.
3 | struct ResponsePath: ExpressibleByArrayLiteral {
| `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
4 | typealias Key = String
5 |
[120/137] Compiling Apollo RequestChainNetworkTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[121/137] Compiling Apollo ResponseCodeInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[122/137] Compiling Apollo ResponsePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[123/137] Compiling Apollo TaskData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[124/137] Compiling Apollo URLSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[125/137] Compiling Apollo UploadRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
12 | /// and handled within your app, particularly in regards to what needs to be called
13 | /// when for background sessions.
14 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
| `- warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
15 |
16 | public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:45:15: warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
43 | public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
44 |
45 | private var tasks = Atomic<[Int: TaskData]>([:])
| `- warning: stored property 'tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
46 |
47 | /// The raw URLSession being used for this client
[125/137] Write Objects.LinkFileList
[136/149] Linking libApollo-Dynamic.dylib
[138/154] Compiling ApolloWebSocket WebSocketTask.swift
[139/155] Compiling ApolloWebSocket OperationMessageIdCreator.swift
[140/155] Compiling ApolloWebSocket WebSocketClient.swift
[141/155] Compiling ApolloWebSocket WebSocketError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketError.swift:35:14: warning: stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, Any>>'); this is an error in the Swift 6 language mode
33 |
34 | /// The payload of the response.
35 | public let payload: JSONObject?
| `- warning: stored property 'payload' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'JSONObject?' (aka 'Optional<Dictionary<String, Any>>'); this is an error in the Swift 6 language mode
36 |
37 | /// The underlying error, or nil if one was not returned
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketError.swift:41:14: warning: stored property 'kind' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'WebSocketError.ErrorKind'; this is an error in the Swift 6 language mode
6 | /// A structure for capturing problems and any associated errors from a `WebSocketTransport`.
7 | public struct WebSocketError: Error, LocalizedError {
8 | public enum ErrorKind {
| `- note: consider making enum 'ErrorKind' conform to the 'Sendable' protocol
9 | case errorResponse
10 | case networkError
:
39 |
40 | /// The kind of problem which occurred.
41 | public let kind: ErrorKind
| `- warning: stored property 'kind' of 'Sendable'-conforming struct 'WebSocketError' has non-sendable type 'WebSocketError.ErrorKind'; this is an error in the Swift 6 language mode
42 |
43 | public var errorDescription: String? {
[142/155] Compiling ApolloWebSocket SplitNetworkTransport.swift
[143/155] Compiling ApolloWebSocket OperationMessage.swift
[144/155] Compiling ApolloWebSocket WebSocketStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:128:14: warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
126 | var out = timeout// wait X seconds before giving up
127 | workQueue.async { [weak self] in
128 | while !outStream.hasSpaceAvailable {
| `- warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
129 | usleep(100) // wait until the socket is ready
130 | out -= 100
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h:73:12: note: class 'OutputStream' does not conform to the 'Sendable' protocol
71 | // NSOutputStream is an abstract class representing the base functionality of a write stream.
72 | // Subclassers are required to implement these methods.
73 | @interface NSOutputStream : NSStream
| `- note: class 'OutputStream' does not conform to the 'Sendable' protocol
74 | - (NSInteger)write:(const uint8_t *)buffer maxLength:(NSUInteger)len;
75 | // writes the bytes from the specified buffer to the stream up to len bytes. Returns the number of bytes actually written.
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:132:11: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
130 | out -= 100
131 | if out < 0 {
132 | completion(
| |- warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
133 | WebSocket.WSError(
134 | type: .writeTimeoutError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:143:19: warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
37 | }
38 |
39 | class FoundationStream : NSObject, WebSocketStream, StreamDelegate {
| `- note: class 'FoundationStream' does not conform to the 'Sendable' protocol
40 | private let workQueue = DispatchQueue(label: "com.apollographql.websocket", attributes: [])
41 | private var inputStream: InputStream?
:
141 | return // disconnectStream will be called.
142 |
143 | } else if self == nil {
| `- warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
144 | completion(WebSocket.WSError(
145 | type: .closeError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:130:9: warning: mutation of captured var 'out' in concurrently-executing code
128 | while !outStream.hasSpaceAvailable {
129 | usleep(100) // wait until the socket is ready
130 | out -= 100
| `- warning: mutation of captured var 'out' in concurrently-executing code
131 | if out < 0 {
132 | completion(
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:131:12: warning: reference to captured var 'out' in concurrently-executing code
129 | usleep(100) // wait until the socket is ready
130 | out -= 100
131 | if out < 0 {
| `- warning: reference to captured var 'out' in concurrently-executing code
132 | completion(
133 | WebSocket.WSError(
[145/155] Compiling ApolloSQLite SQLiteSerialization.swift
[146/155] Compiling ApolloSQLite SQLiteDatabase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[147/155] Emitting module ApolloSQLite
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteNormalizedCache.swift:8:8: warning: associated value 'invalidRecordShape(object:)' of 'Sendable'-conforming enum 'SQLiteNormalizedCacheError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | public enum SQLiteNormalizedCacheError: Error {
7 | case invalidRecordEncoding(record: String)
8 | case invalidRecordShape(object: Any)
| `- warning: associated value 'invalidRecordShape(object:)' of 'Sendable'-conforming enum 'SQLiteNormalizedCacheError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | }
10 |
[148/155] Compiling ApolloSQLite SQLiteNormalizedCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteNormalizedCache.swift:8:8: warning: associated value 'invalidRecordShape(object:)' of 'Sendable'-conforming enum 'SQLiteNormalizedCacheError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
6 | public enum SQLiteNormalizedCacheError: Error {
7 | case invalidRecordEncoding(record: String)
8 | case invalidRecordShape(object: Any)
| `- warning: associated value 'invalidRecordShape(object:)' of 'Sendable'-conforming enum 'SQLiteNormalizedCacheError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
[149/155] Compiling ApolloSQLite SQLiteDotSwiftDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:31:13: error: generic parameter 'V' could not be inferred
29 | try self.db.run(self.records.create(ifNotExists: true) { table in
30 | table.column(Expression<Int64>(Self.idColumnName), primaryKey: .autoincrement)
31 | table.column(keyColumn, unique: true)
| `- error: generic parameter 'V' could not be inferred
32 | table.column(Expression<String>(Self.recordColumName))
33 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift:222:17: note: in call to function 'column(_:unique:check:defaultValue:)'
220 | fileprivate var definitions = [Expressible]()
221 |
222 | public func column<V: Value>(_ name: Expression<V>, unique: Bool = false, check: Expression<Bool>? = nil,
| `- note: in call to function 'column(_:unique:check:defaultValue:)'
223 | defaultValue: Expression<V>? = nil) {
224 | column(name, V.declaredDatatype, nil, false, unique, check, defaultValue, nil, nil)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:40:23: error: generic parameter 'T' could not be inferred
38 | let query = self.records.filter(keys.contains(keyColumn))
39 | return try self.db.prepareRowIterator(query).map { row in
40 | let record = row[self.recordColumn]
| `- error: generic parameter 'T' could not be inferred
41 | let key = row[self.keyColumn]
42 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Query.swift:1192:12: note: in call to 'subscript(_:)'
1190 | }
1191 |
1192 | public subscript<T: Value>(column: Expression<T?>) -> T? {
| `- note: in call to 'subscript(_:)'
1193 | // swiftlint:disable:next force_try
1194 | try! get(column)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:231:7: warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
24 |
25 | /// A network transport that uses web sockets requests to send GraphQL subscription operations to a server.
26 | public class WebSocketTransport {
| `- note: class 'WebSocketTransport' does not conform to the 'Sendable' protocol
27 | public weak var delegate: WebSocketTransportDelegate?
28 |
:
229 | public func initServer() {
230 | processingQueue.async {
231 | self.acked = false
| `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
232 |
233 | if let str = OperationMessage(payload: self.connectingPayload, type: .connectionInit).rawMessage {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:245:9: warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
24 |
25 | /// A network transport that uses web sockets requests to send GraphQL subscription operations to a server.
26 | public class WebSocketTransport {
| `- note: class 'WebSocketTransport' does not conform to the 'Sendable' protocol
27 | public weak var delegate: WebSocketTransportDelegate?
28 |
:
243 | processingQueue.async {
244 | if let str = str {
245 | self.write(str)
| `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
246 | }
247 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:295:7: warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
24 |
25 | /// A network transport that uses web sockets requests to send GraphQL subscription operations to a server.
26 | public class WebSocketTransport {
| `- note: class 'WebSocketTransport' does not conform to the 'Sendable' protocol
27 | public weak var delegate: WebSocketTransportDelegate?
28 |
:
293 |
294 | processingQueue.async {
295 | self.write(message)
| `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
296 |
297 | self.subscribers[identifier] = resultHandler
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:297:38: warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, Any>, any Error>) -> ()') in a '@Sendable' closure
295 | self.write(message)
296 |
297 | self.subscribers[identifier] = resultHandler
| |- warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, Any>, any Error>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
298 | if operation.operationType == .subscription {
299 | self.subscriptions[identifier] = message
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:298:10: warning: capture of 'operation' with non-sendable type 'Operation' in a '@Sendable' closure
274 | }
275 |
276 | func sendHelper<Operation: GraphQLOperation>(operation: Operation, resultHandler: @escaping (_ result: Result<JSONObject, Error>) -> Void) -> String? {
| `- note: consider making generic parameter 'Operation' conform to the 'Sendable' protocol
277 | let body = requestBodyCreator.requestBody(for: operation,
278 | sendOperationIdentifiers: self.sendOperationIdentifiers,
:
296 |
297 | self.subscribers[identifier] = resultHandler
298 | if operation.operationType == .subscription {
| `- warning: capture of 'operation' with non-sendable type 'Operation' in a '@Sendable' closure
299 | self.subscriptions[identifier] = message
300 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:317:9: warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
24 |
25 | /// A network transport that uses web sockets requests to send GraphQL subscription operations to a server.
26 | public class WebSocketTransport {
| `- note: class 'WebSocketTransport' does not conform to the 'Sendable' protocol
27 | public weak var delegate: WebSocketTransportDelegate?
28 |
:
315 | processingQueue.async {
316 | if let str = str {
317 | self.write(str)
| `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
318 | }
319 | self.subscribers.removeValue(forKey: subscriptionId)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:397:9: warning: capture of 'completionHandler' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
395 | func callCompletion(with result: Result<GraphQLResult<Operation.Data>, Error>) {
396 | callbackQueue.async {
397 | completionHandler(result)
| |- warning: capture of 'completionHandler' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
398 | }
399 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:397:27: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
395 | func callCompletion(with result: Result<GraphQLResult<Operation.Data>, Error>) {
396 | callbackQueue.async {
397 | completionHandler(result)
| `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
398 | }
399 | }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:4:15: note: generic struct 'GraphQLResult' does not conform to the 'Sendable' protocol
2 |
3 | /// Represents the result of a GraphQL operation.
4 | public struct GraphQLResult<Data> {
| `- note: generic struct 'GraphQLResult' does not conform to the 'Sendable' protocol
5 |
6 | /// The typed result data, or `nil` if an error was encountered that prevented a valid response.
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Apollo'
1 | #if !COCOAPODS
2 | import Apollo
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Apollo'
3 | import ApolloUtils
4 | #endif
Fetching https://github.com/stephencelis/SQLite.swift.git
[1/11307] Fetching sqlite.swift
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (2.28s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.13.3 (3.00s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.13.3
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/3] Write swift-version-2F0A5646E1D333AE.txt
[2/35] Compiling ApolloAPI ScalarTypes.swift
[3/35] Compiling ApolloAPI InputValue.swift
[4/35] Emitting module ApolloAPI
[5/35] Compiling ApolloUtils ApolloExtension.swift
[6/35] Compiling ApolloUtils Collection+Apollo.swift
[7/35] Compiling ApolloUtils Atomic.swift
[8/35] Emitting module ApolloUtils
[9/35] Compiling ApolloUtils String+SHA.swift
[10/35] Compiling SQLite Foundation.swift
[11/35] Compiling SQLite Helpers.swift
[12/35] Compiling SQLite AggregateFunctions.swift
[13/35] Compiling SQLite Statement.swift
[14/35] Compiling SQLite Value.swift
[15/35] Compiling SQLite Cipher.swift
[16/37] Emitting module SQLite
[17/119] Compiling Apollo GraphQLError.swift
[18/119] Compiling Apollo GraphQLExecutor.swift
[19/119] Compiling Apollo DefaultInterceptorProvider.swift
[20/119] Compiling Apollo Dictionary+Helpers.swift
[21/119] Compiling Apollo ApolloClient.swift
[22/119] Compiling Apollo ApolloClientProtocol.swift
[23/119] Compiling Apollo ApolloErrorInterceptor.swift
[24/119] Compiling Apollo ApolloInterceptor.swift
[25/119] Compiling Apollo ApolloStore.swift
[26/119] Compiling Apollo AutomaticPersistedQueryInterceptor.swift
[30/121] Emitting module ApolloCodegenLib
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/CodegenLogger.swift:47:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
45 |
46 | // Extension which allows `print` to output to a FileHandle
47 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
48 | public func write(_ string: String) {
49 | guard let data = string.data(using: .utf8) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/FileManager+Apollo.swift:7:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | #endif
6 |
7 | extension FileManager: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | extension ApolloExtension where Base == FileManager {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:7:14: warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
5 | /// Corresponds to https://github.com/graphql/graphql-js/blob/master/src/error/GraphQLError.js
6 | /// You can get error details if you need them, or call `error.logLines` to get errors in a format that lets Xcode show inline errors.
7 | public class GraphQLError: JavaScriptError {
| `- warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
8 | private lazy var source: GraphQLSource = self["source"]
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:45:14: warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
43 |
44 | /// A GraphQL schema validation error. This wraps one or more underlying validation errors.
45 | public class GraphQLSchemaValidationError: JavaScriptError {
| `- warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
46 | private(set) lazy var validationErrors: [GraphQLError] = self["validationErrors"]
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/StaticString+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
4 | #endif
5 |
6 | extension StaticString: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == StaticString {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/URL+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension URL: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public enum ApolloURLError: Error, LocalizedError {
[31/121] Compiling Apollo GraphQLGETTransformer.swift
[32/121] Compiling Apollo GraphQLHTTPMethod.swift
[33/121] Compiling ApolloCodegenLib UntypedGraphQLRequestBodyCreator.swift
[34/121] Compiling ApolloCodegenLib resource_bundle_accessor.swift
[35/121] Compiling Apollo GraphQLOperation.swift
[36/121] Compiling Apollo GraphQLQueryWatcher.swift
[37/121] Compiling Apollo GraphQLResponse.swift
[38/121] Compiling Apollo GraphQLResponseGenerator.swift
[39/121] Compiling Apollo GraphQLResult.swift
[40/121] Compiling Apollo GraphQLResultAccumulator.swift
[41/121] Compiling Apollo GraphQLResultNormalizer.swift
[42/121] Compiling Apollo GraphQLSelectionSet.swift
[45/127] Compiling Apollo InputValue+Evaluation.swift
[46/127] Compiling Apollo InterceptorProvider.swift
[47/127] Compiling Apollo JSON.swift
[48/127] Compiling Apollo JSONRequest.swift
[49/127] Compiling Apollo JSONResponseParsingInterceptor.swift
[50/127] Compiling Apollo JSONSerialization+Sorting.swift
[51/127] Compiling Apollo GraphQLFile.swift
[54/127] Compiling Apollo Decoding.swift
[56/127] Compiling Apollo GraphQLDependencyTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:7:14: warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
5 | /// Corresponds to https://github.com/graphql/graphql-js/blob/master/src/error/GraphQLError.js
6 | /// You can get error details if you need them, or call `error.logLines` to get errors in a format that lets Xcode show inline errors.
7 | public class GraphQLError: JavaScriptError {
| `- warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
8 | private lazy var source: GraphQLSource = self["source"]
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:45:14: warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
43 |
44 | /// A GraphQL schema validation error. This wraps one or more underlying validation errors.
45 | public class GraphQLSchemaValidationError: JavaScriptError {
| `- warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
46 | private(set) lazy var validationErrors: [GraphQLError] = self["validationErrors"]
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:7:14: warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
5 | /// Corresponds to https://github.com/graphql/graphql-js/blob/master/src/error/GraphQLError.js
6 | /// You can get error details if you need them, or call `error.logLines` to get errors in a format that lets Xcode show inline errors.
7 | public class GraphQLError: JavaScriptError {
| `- warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
8 | private lazy var source: GraphQLSource = self["source"]
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:45:14: warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
43 |
44 | /// A GraphQL schema validation error. This wraps one or more underlying validation errors.
45 | public class GraphQLSchemaValidationError: JavaScriptError {
| `- warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
46 | private(set) lazy var validationErrors: [GraphQLError] = self["validationErrors"]
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:7:14: warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
5 | /// Corresponds to https://github.com/graphql/graphql-js/blob/master/src/error/GraphQLError.js
6 | /// You can get error details if you need them, or call `error.logLines` to get errors in a format that lets Xcode show inline errors.
7 | public class GraphQLError: JavaScriptError {
| `- warning: class 'GraphQLError' must restate inherited '@unchecked Sendable' conformance
8 | private lazy var source: GraphQLSource = self["source"]
9 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/Frontend/GraphQLError.swift:45:14: warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
43 |
44 | /// A GraphQL schema validation error. This wraps one or more underlying validation errors.
45 | public class GraphQLSchemaValidationError: JavaScriptError {
| `- warning: class 'GraphQLSchemaValidationError' must restate inherited '@unchecked Sendable' conformance
46 | private(set) lazy var validationErrors: [GraphQLError] = self["validationErrors"]
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/StaticString+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
4 | #endif
5 |
6 | extension StaticString: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == StaticString {
[62/127] Compiling Apollo DispatchQueue+Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/StaticString+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
4 | #endif
5 |
6 | extension StaticString: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'StaticString' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == StaticString {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/CodegenLogger.swift:47:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
45 |
46 | // Extension which allows `print` to output to a FileHandle
47 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
48 | public func write(_ string: String) {
49 | guard let data = string.data(using: .utf8) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/FileManager+Apollo.swift:7:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | #endif
6 |
7 | extension FileManager: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | extension ApolloExtension where Base == FileManager {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/CodegenLogger.swift:47:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
45 |
46 | // Extension which allows `print` to output to a FileHandle
47 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
48 | public func write(_ string: String) {
49 | guard let data = string.data(using: .utf8) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/FileManager+Apollo.swift:7:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | #endif
6 |
7 | extension FileManager: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | extension ApolloExtension where Base == FileManager {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/CodegenLogger.swift:47:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
45 |
46 | // Extension which allows `print` to output to a FileHandle
47 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
48 | public func write(_ string: String) {
49 | guard let data = string.data(using: .utf8) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/FileManager+Apollo.swift:7:1: warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
5 | #endif
6 |
7 | extension FileManager: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'FileManager' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 |
9 | extension ApolloExtension where Base == FileManager {
[66/127] Compiling Apollo Bundle+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/URL+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension URL: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public enum ApolloURLError: Error, LocalizedError {
[67/127] Compiling Apollo CacheReadInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloCodegenLib/URL+Apollo.swift:6:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension URL: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public enum ApolloURLError: Error, LocalizedError {
[68/127] Compiling Apollo Collection+Helpers.swift
[69/127] Compiling Apollo DataLoader.swift
[70/127] Compiling Apollo CacheReference.swift
[71/127] Compiling Apollo CacheWriteInterceptor.swift
[72/127] Compiling Apollo Cancellable.swift
[73/127] Compiling Apollo NormalizedCache.swift
[74/127] Compiling Apollo PossiblyDeferred.swift
[75/127] Compiling Apollo Record.swift
[76/127] Compiling Apollo RecordSet.swift
[77/127] Compiling Apollo RequestBodyCreator.swift
[78/127] Compiling Apollo RequestChain.swift
[79/127] Compiling Apollo GraphQLSelectionSetMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[80/127] Compiling Apollo GroupedSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[81/127] Compiling Apollo HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[82/127] Compiling Apollo HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[83/127] Compiling Apollo HTTPURLResponse+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[84/127] Compiling Apollo InMemoryNormalizedCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
[85/127] Compiling Apollo JSONSerializationFormat.swift
[86/127] Compiling Apollo JSONStandardTypeConversions.swift
[87/127] Compiling Apollo MaxRetryInterceptor.swift
[88/127] Compiling Apollo MultipartFormData.swift
[89/127] Compiling Apollo NetworkFetchInterceptor.swift
[90/127] Compiling Apollo NetworkTransport.swift
[91/127] Emitting module Apollo
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension HTTPURLResponse: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'HTTPURLResponse' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == HTTPURLResponse {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:6:1: warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
4 | #endif
5 |
6 | extension DispatchQueue: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'DispatchQueue' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Dispatch' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | public extension ApolloExtension where Base == DispatchQueue {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Bundle+Helpers.swift:6:1: warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
4 | #endif
5 |
6 | extension Bundle: ApolloCompatible {}
| |- warning: extension declares a conformance of imported type 'Bundle' to imported protocol 'ApolloCompatible'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
7 |
8 | extension ApolloExtension where Base == Bundle {
[120/127] Compiling Apollo RequestChainNetworkTransport.swift
[121/127] Compiling Apollo ResponseCodeInterceptor.swift
[122/127] Compiling Apollo ResponsePath.swift
[123/127] Compiling Apollo TaskData.swift
[124/127] Compiling Apollo URLSessionClient.swift
[125/127] Compiling Apollo UploadRequest.swift
[125/127] Write Objects.LinkFileList
[126/144] Linking libApollo-Dynamic.dylib
[128/144] Compiling ApolloWebSocket OperationMessageIdCreator.swift
[129/144] Compiling ApolloWebSocket WebSocketError.swift
[130/144] Compiling ApolloWebSocket WebSocketClient.swift
[131/144] Compiling ApolloWebSocket WebSocketTask.swift
[132/145] Compiling ApolloWebSocket OperationMessage.swift
[133/145] Compiling ApolloWebSocket SplitNetworkTransport.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[134/145] Compiling ApolloSQLite SQLiteDatabase.swift
[135/145] Compiling ApolloSQLite SQLiteSerialization.swift
[136/145] Emitting module ApolloSQLite
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
[137/145] Compiling ApolloSQLite SQLiteNormalizedCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
[138/145] Compiling ApolloSQLite SQLiteDotSwiftDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:11:26: error: 'Expression' is ambiguous for type lookup in this context
9 |
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | private let recordColumn: Expression<String>
13 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:12:29: error: 'Expression' is ambiguous for type lookup in this context
10 | private let records: Table
11 | private let keyColumn: Expression<CacheKey>
12 | private let recordColumn: Expression<String>
| `- error: 'Expression' is ambiguous for type lookup in this context
13 |
14 | public init(fileURL: URL) throws {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Expression.swift:53:15: note: found this candidate
51 |
52 | /// An `Expression` represents a raw SQL fragment and any associated bindings.
53 | public struct Expression<Datatype>: ExpressionType {
| `- note: found this candidate
54 |
55 | public typealias UnderlyingType = Datatype
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:31:13: error: generic parameter 'V' could not be inferred
29 | try self.db.run(self.records.create(ifNotExists: true) { table in
30 | table.column(Expression<Int64>(Self.idColumnName), primaryKey: .autoincrement)
31 | table.column(keyColumn, unique: true)
| `- error: generic parameter 'V' could not be inferred
32 | table.column(Expression<String>(Self.recordColumName))
33 | })
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Schema.swift:222:17: note: in call to function 'column(_:unique:check:defaultValue:)'
220 | fileprivate var definitions = [Expressible]()
221 |
222 | public func column<V: Value>(_ name: Expression<V>, unique: Bool = false, check: Expression<Bool>? = nil,
| `- note: in call to function 'column(_:unique:check:defaultValue:)'
223 | defaultValue: Expression<V>? = nil) {
224 | column(name, V.declaredDatatype, nil, false, unique, check, defaultValue, nil, nil)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/SQLiteDotSwiftDatabase.swift:40:23: error: generic parameter 'T' could not be inferred
38 | let query = self.records.filter(keys.contains(keyColumn))
39 | return try self.db.prepareRowIterator(query).map { row in
40 | let record = row[self.recordColumn]
| `- error: generic parameter 'T' could not be inferred
41 | let key = row[self.keyColumn]
42 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SQLite.swift/Sources/SQLite/Typed/Query.swift:1192:12: note: in call to 'subscript(_:)'
1190 | }
1191 |
1192 | public subscript<T: Value>(column: Expression<T?>) -> T? {
| `- note: in call to 'subscript(_:)'
1193 | // swiftlint:disable:next force_try
1194 | try! get(column)
BUILD FAILURE 6.1 macosSpm