The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Apollo, reference main (6ecc75), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 19:43:25 UTC.

Swift 6 data race errors: 28

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

125 |         DispatchQueue.returnResultAsyncIfNeeded(
126 |           on: callbackQueue,
127 |           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'
128 |           result: .success(returnValue)
129 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:153:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
151 |     self.queue.async(flags: .barrier) {
152 |       do {
153 |         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'
154 |
155 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:153:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
151 |     self.queue.async(flags: .barrier) {
152 |       do {
153 |         let returnValue = try body(ReadWriteTransaction(store: self))
    |                                                                `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
154 |
155 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:157:19: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
155 |         DispatchQueue.returnResultAsyncIfNeeded(
156 |           on: callbackQueue,
157 |           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'
158 |           result: .success(returnValue)
159 |         )
[58/122] Compiling Apollo AutomaticPersistedQueryInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:21: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
 19 |
 20 |   /// The current default cache policy.
 21 |   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
 22 | }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloClient.swift:178:9: warning: capture of 'resultHandler' with non-sendable type 'GraphQLResultHandler<Operation.Data>?' (aka 'Optional<(Result<GraphQLResult<Operation.Data>, any Error>) -> ()>') in a '@Sendable' closure
176 |       assertionFailure("Trying to upload without an uploading transport. Please make sure your network transport conforms to `UploadingNetworkTransport`.")
177 |       queue.async {
178 |         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'
179 |       }
180 |       return EmptyCancellable()
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:52:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
 50 |   public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, any Swift.Error>) -> Void)? = nil) {
 51 |     queue.async(flags: .barrier) {
 52 |       let result = Result { try self.cache.clear() }
    |                                 `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 53 |       DispatchQueue.returnResultAsyncIfNeeded(
 54 |         on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:55:17: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
 53 |       DispatchQueue.returnResultAsyncIfNeeded(
 54 |         on: callbackQueue,
 55 |         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'
 56 |         result: result
 57 |       )
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:52:33: warning: capture of 'self' with non-sendable type 'ApolloStore' in an isolated closure; this is an error in the Swift 6 language mode
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
 50 |   public func clearCache(callbackQueue: DispatchQueue = .main, completion: ((Result<Void, any Swift.Error>) -> Void)? = nil) {
 51 |     queue.async(flags: .barrier) {
 52 |       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
 53 |       DispatchQueue.returnResultAsyncIfNeeded(
 54 |         on: callbackQueue,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:71:31: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
 69 |     queue.async(flags: .barrier) {
 70 |       do {
 71 |         let changedKeys = try self.cache.merge(records: records)
    |                               `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 72 |         self.didChangeKeys(changedKeys, identifier: identifier)
 73 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:71:57: warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
 69 |     queue.async(flags: .barrier) {
 70 |       do {
 71 |         let changedKeys = try self.cache.merge(records: records)
    |                                                         `- warning: capture of 'records' with non-sendable type 'RecordSet' in a '@Sendable' closure
 72 |         self.didChangeKeys(changedKeys, identifier: identifier)
 73 |         DispatchQueue.returnResultAsyncIfNeeded(
/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: Hashable {
    |               `- 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:75:19: warning: capture of 'completion' with non-sendable type '((Result<Void, any Error>) -> Void)?' in a '@Sendable' closure
 73 |         DispatchQueue.returnResultAsyncIfNeeded(
 74 |           on: callbackQueue,
 75 |           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'
 76 |           result: .success(())
 77 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:95:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
 93 |   public func subscribe(_ subscriber: any ApolloStoreSubscriber) {
 94 |     queue.async(flags: .barrier) {
 95 |       self.subscribers.append(subscriber)
    |       `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 96 |     }
 97 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:95:31: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
  8 | /// The `ApolloStoreSubscriber` provides a means to observe changes to items in the ApolloStore.
  9 | /// This protocol is available for advanced use cases only. Most users will prefer using `ApolloClient.watch(query:)`.
 10 | public protocol ApolloStoreSubscriber: AnyObject {
    |                 `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
 11 |
 12 |   /// A callback that can be received by subscribers when keys are changed within the database
    :
 93 |   public func subscribe(_ subscriber: any ApolloStoreSubscriber) {
 94 |     queue.async(flags: .barrier) {
 95 |       self.subscribers.append(subscriber)
    |                               `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
 96 |     }
 97 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:106:7: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
104 |   public func unsubscribe(_ subscriber: any ApolloStoreSubscriber) {
105 |     queue.async(flags: .barrier) {
106 |       self.subscribers = self.subscribers.filter({ $0 !== subscriber })
    |       `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
107 |     }
108 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:106:59: warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
  8 | /// The `ApolloStoreSubscriber` provides a means to observe changes to items in the ApolloStore.
  9 | /// This protocol is available for advanced use cases only. Most users will prefer using `ApolloClient.watch(query:)`.
 10 | public protocol ApolloStoreSubscriber: AnyObject {
    |                 `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
 11 |
 12 |   /// A callback that can be received by subscribers when keys are changed within the database
    :
104 |   public func unsubscribe(_ subscriber: any ApolloStoreSubscriber) {
105 |     queue.async(flags: .barrier) {
106 |       self.subscribers = self.subscribers.filter({ $0 !== subscriber })
    |                                                           `- warning: capture of 'subscriber' with non-sendable type 'any ApolloStoreSubscriber' in a '@Sendable' closure
107 |     }
108 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:106: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
  8 | /// The `ApolloStoreSubscriber` provides a means to observe changes to items in the ApolloStore.
  9 | /// This protocol is available for advanced use cases only. Most users will prefer using `ApolloClient.watch(query:)`.
 10 | public protocol ApolloStoreSubscriber: AnyObject {
    |                 `- note: protocol 'ApolloStoreSubscriber' does not conform to the 'Sendable' protocol
 11 |
 12 |   /// A callback that can be received by subscribers when keys are changed within the database
    :
104 |   public func unsubscribe(_ subscriber: any ApolloStoreSubscriber) {
105 |     queue.async(flags: .barrier) {
106 |       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
107 |     }
108 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:123:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadTransaction) throws -> T' in a '@Sendable' closure
121 |     self.queue.async {
122 |       do {
123 |         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'
124 |
125 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:123:59: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
121 |     self.queue.async {
122 |       do {
123 |         let returnValue = try body(ReadTransaction(store: self))
    |                                                           `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
124 |
125 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:127:19: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
125 |         DispatchQueue.returnResultAsyncIfNeeded(
126 |           on: callbackQueue,
127 |           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'
128 |           result: .success(returnValue)
129 |         )
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:153:31: warning: capture of 'body' with non-sendable type '(ApolloStore.ReadWriteTransaction) throws -> T' in a '@Sendable' closure
151 |     self.queue.async(flags: .barrier) {
152 |       do {
153 |         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'
154 |
155 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:153:64: warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
 22 |
 23 | /// The `ApolloStore` class acts as a local cache for normalized GraphQL results.
 24 | public class ApolloStore {
    |              `- note: class 'ApolloStore' does not conform to the 'Sendable' protocol
 25 |   private let cache: any NormalizedCache
 26 |   private let queue: DispatchQueue
    :
151 |     self.queue.async(flags: .barrier) {
152 |       do {
153 |         let returnValue = try body(ReadWriteTransaction(store: self))
    |                                                                `- warning: capture of 'self' with non-sendable type 'ApolloStore' in a '@Sendable' closure
154 |
155 |         DispatchQueue.returnResultAsyncIfNeeded(
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ApolloStore.swift:157:19: warning: capture of 'completion' with non-sendable type '((Result<T, any Error>) -> Void)?' in a '@Sendable' closure
155 |         DispatchQueue.returnResultAsyncIfNeeded(
156 |           on: callbackQueue,
157 |           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'
158 |           result: .success(returnValue)
159 |         )
[59/122] Compiling Apollo DataLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[60/122] Compiling Apollo DefaultInterceptorProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[61/122] Compiling Apollo Dictionary+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[62/122] Compiling Apollo DispatchQueue+Optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[63/122] Compiling Apollo CacheDataExecutionSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[64/122] Compiling Apollo NetworkResponseExecutionSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[65/122] Compiling Apollo SelectionSetModelExecutionSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[66/122] Compiling Apollo FieldSelectionCollector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/DispatchQueue+Optional.swift:9:9: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
 7 |       // A callback queue was provided, perform the action on that queue
 8 |       callbackQueue.async {
 9 |         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'
10 |       }
11 |     } else {
[67/122] Compiling Apollo MultipartResponseParsingInterceptor.swift
[68/122] Compiling Apollo MultipartResponseSubscriptionParser.swift
[69/122] Compiling Apollo NetworkFetchInterceptor.swift
[70/122] Compiling Apollo NetworkTransport.swift
[71/122] Compiling Apollo NormalizedCache.swift
[72/122] Compiling Apollo PathComponent.swift
[73/122] Compiling Apollo PossiblyDeferred.swift
[74/122] Compiling Apollo Record.swift
[75/122] Compiling Apollo RecordSet.swift
[76/122] Compiling Apollo RequestBodyCreator.swift
[77/122] Compiling Apollo RequestChain.swift
[78/122] Compiling Apollo RequestChainNetworkTransport.swift
[79/122] Compiling Apollo RequestClientMetadata.swift
[80/122] Compiling Apollo RequestContext.swift
[81/122] Compiling Apollo ResponseCodeInterceptor.swift
[82/122] Compiling Apollo GraphQLDependencyTracker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[83/122] Compiling Apollo GraphQLError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[84/122] Compiling Apollo GraphQLExecutionSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[85/122] Compiling Apollo GraphQLExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[86/122] Compiling Apollo GraphQLFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[87/122] Compiling Apollo GraphQLGETTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[88/122] Compiling Apollo GraphQLHTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[89/122] Compiling Apollo GraphQLHTTPRequestError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLError.swift:10:15: warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
 8 | ///  - SeeAlso: [The Response Format section in the GraphQL specification](https://facebook.github.io/graphql/#sec-Response-Format)
 9 | public struct GraphQLError: Error, Hashable {
10 |   private let object: JSONObject
   |               `- warning: stored property 'object' of 'Sendable'-conforming struct 'GraphQLError' has non-sendable type 'JSONObject' (aka 'Dictionary<String, AnyHashable>'); this is an error in the Swift 6 language mode
11 |
12 |   public init(_ object: JSONObject) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLExecutor.swift:157:7: warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
155 | /// An error which has occurred during GraphQL execution.
156 | public struct GraphQLExecutionError: Error, LocalizedError {
157 |   let path: ResponsePath
    |       `- warning: stored property 'path' of 'Sendable'-conforming struct 'GraphQLExecutionError' has non-sendable type 'ResponsePath'; this is an error in the Swift 6 language mode
158 |
159 |   public var pathString: String { path.description }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/ResponsePath.swift:9:15: note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
  7 | /// of components in the middle or at the beginning of the path. Components may only be appended to
  8 | /// the end of an existing path.
  9 | public struct ResponsePath: ExpressibleByArrayLiteral {
    |               `- note: consider making struct 'ResponsePath' conform to the 'Sendable' protocol
 10 |   public typealias Key = String
 11 |
[90/122] Compiling Apollo JSONConverter.swift
[91/122] Compiling Apollo JSONRequest.swift
[92/122] Compiling Apollo JSONResponseParsingInterceptor.swift
[93/122] Compiling Apollo JSONSerialization+Sorting.swift
[94/122] Compiling Apollo JSONSerializationFormat.swift
[95/122] Compiling Apollo MaxRetryInterceptor.swift
[96/122] Compiling Apollo MultipartFormData.swift
[97/122] Compiling Apollo MultipartResponseDeferParser.swift
[98/122] Compiling Apollo GraphQLQueryWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[99/122] Compiling Apollo GraphQLResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[100/122] Compiling Apollo GraphQLResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[101/122] Compiling Apollo GraphQLResultAccumulator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[102/122] Compiling Apollo GraphQLResultNormalizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[103/122] Compiling Apollo GraphQLSelectionSetMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[104/122] Compiling Apollo HTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[105/122] Compiling Apollo HTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:129:30: warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
 12 | /// longer need results. Failure to call `cancel()` before releasing your reference to the returned watcher will
 13 | /// result in a memory leak.
 14 | public final class GraphQLQueryWatcher<Query: GraphQLQuery>: Cancellable, ApolloStoreSubscriber {
    |                    `- note: generic class 'GraphQLQueryWatcher' does not conform to the 'Sendable' protocol
 15 |   weak var client: (any ApolloClientProtocol)?
 16 |   public let query: Query
    :
127 |         case .success(let graphQLResult):
128 |           self.callbackQueue.async { [weak self] in
129 |             guard let self = self else {
    |                              `- warning: capture of 'self' with non-sendable type 'GraphQLQueryWatcher<Query>?' in a '@Sendable' closure
130 |               return
131 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134:20: warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
132 |
133 |             self.$dependentKeys.mutate {
134 |               $0 = graphQLResult.dependentKeys
    |                    `- warning: capture of 'graphQLResult' with non-sendable type 'GraphQLResult<Query.Data>' in a '@Sendable' closure
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:136:32: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
134 |               $0 = graphQLResult.dependentKeys
135 |             }
136 |             self.resultHandler(result)
    |                                `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Query.Data>, any Error>' in a '@Sendable' closure
137 |           }
138 |         case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLQueryWatcher.swift:134: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
132 |
133 |             self.$dependentKeys.mutate {
134 |               $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
135 |             }
136 |             self.resultHandler(result)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[106/122] Compiling Apollo HTTPURLResponse+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[107/122] Compiling Apollo InMemoryNormalizedCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[108/122] Compiling Apollo IncrementalGraphQLResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[109/122] Compiling Apollo IncrementalGraphQLResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[110/122] Compiling Apollo IncrementalJSONResponseParsingInterceptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[111/122] Compiling Apollo InputValue+Evaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[112/122] Compiling Apollo InterceptorProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[113/122] Compiling Apollo InterceptorRequestChain.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/IncrementalJSONResponseParsingInterceptor.swift:14:10: warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 12 |     case couldNotParseToJSON(data: Data)
 13 |     case mismatchedCurrentResultType
 14 |     case couldNotParseIncrementalJSON(json: JSONValue)
    |          `- warning: associated value 'couldNotParseIncrementalJSON(json:)' of 'Sendable'-conforming enum 'ParsingError' has non-sendable type '(json: JSONValue)' (aka '(json: AnyHashable)'); this is an error in the Swift 6 language mode
 15 |
 16 |     public var errorDescription: String? {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:10:10: warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
  8 |
  9 |   public enum ChainError: Error, LocalizedError {
 10 |     case invalidIndex(chain: any RequestChain, index: Int)
    |          `- warning: associated value 'invalidIndex(chain:index:)' of 'Sendable'-conforming enum 'ChainError' has non-sendable type 'any RequestChain'; this is an error in the Swift 6 language mode
 11 |     case noInterceptors
 12 |     case unknownInterceptor(id: String)
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/RequestChain.swift:5:17: note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 3 | #endif
 4 |
 5 | public protocol RequestChain: Cancellable {
   |                 `- note: protocol 'RequestChain' does not conform to the 'Sendable' protocol
 6 |   func kickoff<Operation>(
 7 |     request: HTTPRequest<Operation>,
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:239:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
237 |     guard let additionalHandler = self.additionalErrorHandler else {
238 |       self.callbackQueue.async {
239 |         completion(.failure(error))
    |         |- warning: capture of 'completion' 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'
240 |       }
241 |       return
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:9: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |         |- warning: capture of 'completion' 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'
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:253:20: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
251 |     ) { result in
252 |       callbackQueue.async {
253 |         completion(result)
    |                    `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
254 |       }
255 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:7: warning: capture of 'completion' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |       |- warning: capture of 'completion' 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'
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/InterceptorRequestChain.swift:274:27: warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
272 |
273 |     self.callbackQueue.async {
274 |       completion(.success(value))
    |                           `- warning: capture of 'value' with non-sendable type 'GraphQLResult<Operation.Data>' in a '@Sendable' closure
275 |     }
276 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: consider making generic struct 'GraphQLResult' conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
[114/122] Compiling Apollo ResponsePath.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[115/122] Compiling Apollo SelectionSet+DictionaryIntializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[116/122] Compiling Apollo SelectionSet+JSONInitializer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[117/122] Compiling Apollo TaskData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[118/122] Compiling Apollo URLSessionClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[119/122] Compiling Apollo UploadRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[120/122] Compiling Apollo resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:12: warning: non-final class 'URLSessionClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | 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
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:48:23: warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), any Error>) -> Void
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
    |                       `- warning: stored property '_tasks' of 'Sendable'-conforming class 'URLSessionClient' is mutable; this is an error in the Swift 6 language mode
 49 |
 50 |   /// The raw URLSession being used for this client
[120/122] Write Objects.LinkFileList
[121/146] Linking libApollo-Dynamic.dylib
[123/146] Compiling ApolloTestSupport TestMockSelectionSetMapper.swift
[124/146] Compiling ApolloSQLite resource_bundle_accessor.swift
[125/146] Compiling ApolloTestSupport Field.swift
[126/146] Emitting module ApolloTestSupport
[127/146] Compiling ApolloTestSupport TestMock.swift
[128/146] Compiling ApolloSQLite SQLiteDatabase.swift
[129/146] 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 |
[130/146] Compiling ApolloSQLite JournalMode.swift
[131/146] Compiling ApolloSQLite SQLiteSerialization.swift
[132/146] Compiling ApolloWebSocket OperationMessageIdCreator.swift
[133/146] 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, AnyHashable>>'); 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, AnyHashable>>'); this is an error in the Swift 6 language mode
36 |
37 |   /// The underlying error, or nil if one was not returned
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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? {
[134/147] Compiling ApolloWebSocket WebSocketClient.swift
[135/147] Compiling ApolloWebSocket SplitNetworkTransport.swift
[136/147] Compiling ApolloSQLite ApolloSQLiteDatabase.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/ApolloSQLiteDatabase.swift:200:9: warning: result of call to 'performSync' is unused
198 |
199 |   public func setJournalMode(mode: JournalMode) throws {
200 |     try performSync {
    |         `- warning: result of call to 'performSync' is unused
201 |       try exec("PRAGMA journal_mode = \(mode.rawValue);", errorMessage: "Failed to set journal mode")
202 |     }
[137/147] Emitting module ApolloSQLite
/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 |
[138/147] Compiling ApolloWebSocket resource_bundle_accessor.swift
[139/147] Compiling ApolloWebSocket WebSocketTask.swift
[140/147] Compiling ApolloWebSocket WebSocketTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:232:26: warning: result of call to 'mutate(block:)' is unused
230 |           // remove the callback if NOT a subscription
231 |           if subscriptions[id] == nil {
232 |             $subscribers.mutate { $0.removeValue(forKey: id) }
    |                          `- warning: result of call to 'mutate(block:)' is unused
233 |           }
234 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:292: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: (any WebSocketTransportDelegate)?
 28 |
    :
290 |   public func initServer() {
291 |     processingQueue.async {
292 |       self.acked = false
    |       `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
293 |
294 |       if let str = OperationMessage(payload: self.config.connectingPayload,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:307: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: (any WebSocketTransportDelegate)?
 28 |
    :
305 |     processingQueue.async {
306 |       if let str = str {
307 |         self.write(str)
    |         `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
308 |       }
309 |
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:356: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: (any WebSocketTransportDelegate)?
 28 |
    :
354 |
355 |     processingQueue.async {
356 |       self.write(message)
    |       `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
357 |
358 |       self.$subscribers.mutate { $0[identifier] = resultHandler }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:358:51: warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, AnyHashable>, any Error>) -> ()') in a '@Sendable' closure
356 |       self.write(message)
357 |
358 |       self.$subscribers.mutate { $0[identifier] = resultHandler }
    |                                                   |- warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, AnyHashable>, any Error>) -> ()') in a '@Sendable' closure
    |                                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
359 |       if Operation.operationType == .subscription {
360 |         self.$subscriptions.mutate { $0[identifier] = message }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:358:51: warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, AnyHashable>, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
356 |       self.write(message)
357 |
358 |       self.$subscribers.mutate { $0[identifier] = resultHandler }
    |                                                   |- warning: capture of 'resultHandler' with non-sendable type '(Result<JSONObject, any Error>) -> Void' (aka '(Result<Dictionary<String, AnyHashable>, any Error>) -> ()') in an isolated closure; this is an error in the Swift 6 language mode
    |                                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
359 |       if Operation.operationType == .subscription {
360 |         self.$subscriptions.mutate { $0[identifier] = message }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:380:25: warning: result of call to 'mutate(block:)' is unused
378 |         self.write(str)
379 |       }
380 |       self.$subscribers.mutate { $0.removeValue(forKey: subscriptionId) }
    |                         `- warning: result of call to 'mutate(block:)' is unused
381 |       self.$subscriptions.mutate { $0.removeValue(forKey: subscriptionId) }
382 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:381:27: warning: result of call to 'mutate(block:)' is unused
379 |       }
380 |       self.$subscribers.mutate { $0.removeValue(forKey: subscriptionId) }
381 |       self.$subscriptions.mutate { $0.removeValue(forKey: subscriptionId) }
    |                           `- warning: result of call to 'mutate(block:)' is unused
382 |     }
383 |   }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:378: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: (any WebSocketTransportDelegate)?
 28 |
    :
376 |     processingQueue.async {
377 |       if let str = str {
378 |         self.write(str)
    |         `- warning: capture of 'self' with non-sendable type 'WebSocketTransport' in a '@Sendable' closure
379 |       }
380 |       self.$subscribers.mutate { $0.removeValue(forKey: subscriptionId) }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:459:9: warning: capture of 'completionHandler' with non-sendable type '(Result<GraphQLResult<Operation.Data>, any Error>) -> Void' in a '@Sendable' closure
457 |       func callCompletion(with result: Result<GraphQLResult<Operation.Data>, any Error>) {
458 |       callbackQueue.async {
459 |         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'
460 |       }
461 |     }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:459:27: warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
457 |       func callCompletion(with result: Result<GraphQLResult<Operation.Data>, any Error>) {
458 |       callbackQueue.async {
459 |         completionHandler(result)
    |                           `- warning: capture of 'result' with non-sendable type 'Result<GraphQLResult<Operation.Data>, any Error>' in a '@Sendable' closure
460 |       }
461 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Apollo/GraphQLResult.swift:6:15: note: generic struct 'GraphQLResult' does not conform to the 'Sendable' protocol
  4 |
  5 | /// Represents the result of a GraphQL operation.
  6 | public struct GraphQLResult<Data: RootSelectionSet> {
    |               `- note: generic struct 'GraphQLResult' does not conform to the 'Sendable' protocol
  7 |
  8 |   /// Represents source of data
/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 ApolloAPI
  4 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/WebSocketTransport.swift:589:24: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
587 |
588 |     DispatchQueue.main.asyncAfter(deadline: .now() + config.reconnectionInterval) { [weak self] in
589 |       guard let self = self else { return }
    |                        |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
590 |       self.$socketConnectionState.mutate { socketConnectionState in
591 |         switch socketConnectionState {
[141/147] Compiling ApolloWebSocket WebSocketStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:136:16: warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
134 |       var out = timeout// wait X seconds before giving up
135 |       workQueue.async { [weak self] in
136 |         while !outStream.hasSpaceAvailable {
    |                `- warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
137 |           usleep(100) // wait until the socket is ready
138 |           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:140:13: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
138 |           out -= 100
139 |           if out < 0 {
140 |             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'
141 |               WebSocket.WSError(
142 |                 type: .writeTimeoutError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:151:21: warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
 43 | }
 44 |
 45 | class FoundationStream : NSObject, WebSocketStream, StreamDelegate, SOCKSProxyable  {
    |       `- note: class 'FoundationStream' does not conform to the 'Sendable' protocol
 46 |   private let workQueue = DispatchQueue(label: "com.apollographql.websocket", attributes: [])
 47 |   private var inputStream: InputStream?
    :
149 |             return // disconnectStream will be called.
150 |
151 |           } else if self == nil {
    |                     `- warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
152 |             completion(WebSocket.WSError(
153 |                         type: .closeError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:138:11: warning: mutation of captured var 'out' in concurrently-executing code
136 |         while !outStream.hasSpaceAvailable {
137 |           usleep(100) // wait until the socket is ready
138 |           out -= 100
    |           `- warning: mutation of captured var 'out' in concurrently-executing code
139 |           if out < 0 {
140 |             completion(
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:139:14: warning: reference to captured var 'out' in concurrently-executing code
137 |           usleep(100) // wait until the socket is ready
138 |           out -= 100
139 |           if out < 0 {
    |              `- warning: reference to captured var 'out' in concurrently-executing code
140 |             completion(
141 |               WebSocket.WSError(
[142/147] Compiling ApolloWebSocket OperationMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:136:16: warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
134 |       var out = timeout// wait X seconds before giving up
135 |       workQueue.async { [weak self] in
136 |         while !outStream.hasSpaceAvailable {
    |                `- warning: capture of 'outStream' with non-sendable type 'OutputStream' in a '@Sendable' closure
137 |           usleep(100) // wait until the socket is ready
138 |           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:140:13: warning: capture of 'completion' with non-sendable type '((any Error)?) -> Void' in a '@Sendable' closure
138 |           out -= 100
139 |           if out < 0 {
140 |             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'
141 |               WebSocket.WSError(
142 |                 type: .writeTimeoutError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:151:21: warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
 43 | }
 44 |
 45 | class FoundationStream : NSObject, WebSocketStream, StreamDelegate, SOCKSProxyable  {
    |       `- note: class 'FoundationStream' does not conform to the 'Sendable' protocol
 46 |   private let workQueue = DispatchQueue(label: "com.apollographql.websocket", attributes: [])
 47 |   private var inputStream: InputStream?
    :
149 |             return // disconnectStream will be called.
150 |
151 |           } else if self == nil {
    |                     `- warning: capture of 'self' with non-sendable type 'FoundationStream?' in a '@Sendable' closure
152 |             completion(WebSocket.WSError(
153 |                         type: .closeError,
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:138:11: warning: mutation of captured var 'out' in concurrently-executing code
136 |         while !outStream.hasSpaceAvailable {
137 |           usleep(100) // wait until the socket is ready
138 |           out -= 100
    |           `- warning: mutation of captured var 'out' in concurrently-executing code
139 |           if out < 0 {
140 |             completion(
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocketStream.swift:139:14: warning: reference to captured var 'out' in concurrently-executing code
137 |           usleep(100) // wait until the socket is ready
138 |           out -= 100
139 |           if out < 0 {
    |              `- warning: reference to captured var 'out' in concurrently-executing code
140 |             completion(
141 |               WebSocket.WSError(
[143/147] Emitting module ApolloWebSocket
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:66:16: warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  55 |
  56 |   public struct WSError: Swift.Error {
  57 |     public enum ErrorType {
     |                 `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
  58 |       case outputStreamWriteError //output stream error during write
  59 |       case invalidSSLError //Invalid SSL certificate
     :
  64 |     }
  65 |
  66 |     public let type: ErrorType
     |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  67 |     public let message: String
  68 |     public let code: Int
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1167:13: warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
1165 | }
1166 |
1167 | private let emptyBuffer = UnsafeBufferPointer<UInt8>(start: nil, count: 0)
     |             |- warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let 'emptyBuffer' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1168 |
1169 | #if swift(>=4)
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/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, AnyHashable>>'); 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, AnyHashable>>'); this is an error in the Swift 6 language mode
36 |
37 |   /// The underlying error, or nil if one was not returned
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/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? {
[144/147] Compiling ApolloWebSocket SSLSecurity.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:90:31: warning: capture of 'certs' with non-sendable type '[SSLCert]' in a '@Sendable' closure
 18 | }
 19 |
 20 | open class SSLCert {
    |            `- note: class 'SSLCert' does not conform to the 'Sendable' protocol
 21 |     var certData: Data?
 22 |     var key: SecKey?
    :
 88 |         if self.usePublicKeys {
 89 |             DispatchQueue.global(qos: .default).async {
 90 |                 let pubKeys = certs.reduce([SecKey]()) { (pubKeys: [SecKey], cert: SSLCert) -> [SecKey] in
    |                               `- warning: capture of 'certs' with non-sendable type '[SSLCert]' in a '@Sendable' closure
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:93:36: warning: capture of 'self' with non-sendable type 'SSLSecurity' in a '@Sendable' closure
 45 | }
 46 |
 47 | open class SSLSecurity : SSLTrustValidator {
    |            `- note: class 'SSLSecurity' does not conform to the 'Sendable' protocol
 48 |     public var validatedDN = true //should the domain name be validated?
 49 |     public var validateEntireChain = true //should the entire cert chain be validated
    :
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
 93 |                         cert.key = self.extractPublicKey(data)
    |                                    `- warning: capture of 'self' with non-sendable type 'SSLSecurity' in a '@Sendable' closure
 94 |                     }
 95 |                     if let key = cert.key {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:93:36: warning: capture of 'self' with non-sendable type 'SSLSecurity' in an isolated closure; this is an error in the Swift 6 language mode
 45 | }
 46 |
 47 | open class SSLSecurity : SSLTrustValidator {
    |            `- note: class 'SSLSecurity' does not conform to the 'Sendable' protocol
 48 |     public var validatedDN = true //should the domain name be validated?
 49 |     public var validateEntireChain = true //should the entire cert chain be validated
    :
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
 93 |                         cert.key = self.extractPublicKey(data)
    |                                    `- warning: capture of 'self' with non-sendable type 'SSLSecurity' in an isolated closure; this is an error in the Swift 6 language mode
 94 |                     }
 95 |                     if let key = cert.key {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:66:16: warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  55 |
  56 |   public struct WSError: Swift.Error {
  57 |     public enum ErrorType {
     |                 `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
  58 |       case outputStreamWriteError //output stream error during write
  59 |       case invalidSSLError //Invalid SSL certificate
     :
  64 |     }
  65 |
  66 |     public let type: ErrorType
     |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  67 |     public let message: String
  68 |     public let code: Int
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1167:13: warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
1165 | }
1166 |
1167 | private let emptyBuffer = UnsafeBufferPointer<UInt8>(start: nil, count: 0)
     |             |- warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let 'emptyBuffer' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1168 |
1169 | #if swift(>=4)
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:317:9: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 315 |       let milliseconds = Int(seconds * 1_000)
 316 |       callbackQueue.asyncAfter(deadline: .now() + .milliseconds(milliseconds)) { [weak self] in
 317 |         self?.disconnectStream(nil)
     |         `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 318 |       }
 319 |       fallthrough
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:503:54: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 501 |       let operation = BlockOperation()
 502 |       operation.addExecutionBlock { [weak self, weak operation] in
 503 |         guard let sOperation = operation, let self = self else { return }
     |                                                      `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 504 |         guard !sOperation.isCancelled else { return }
 505 |         // Do the pinning now if needed
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:659:28: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 657 |       if canDispatch {
 658 |         callbackQueue.async { [weak self] in
 659 |           guard let self = self else { return }
     |                            `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 660 |           self.onConnect?()
 661 |           self.delegate?.websocketDidConnect(socket: self)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:915:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 913 |         if canDispatch {
 914 |           callbackQueue.async { [weak self] in
 915 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 916 |             let pongData: Data? = data.count > 0 ? data : nil
 917 |             self.onPong?(pongData)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1001:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 999 |         if canDispatch {
1000 |           callbackQueue.async { [weak self] in
1001 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1002 |             self.onText?(str)
1003 |             self.delegate?.websocketDidReceiveMessage(socket: self, text: str)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1010:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1008 |           let data = response.buffer! // local copy so it is perverse for writing
1009 |           callbackQueue.async { [weak self] in
1010 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1011 |             self.onData?(data as Data)
1012 |             self.delegate?.websocketDidReceiveData(socket: self, data: data as Data)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1011:26: warning: capture of 'data' with non-sendable type 'NSMutableData' in a '@Sendable' closure
1009 |           callbackQueue.async { [weak self] in
1010 |             guard let self = self else { return }
1011 |             self.onData?(data as Data)
     |                          `- warning: capture of 'data' with non-sendable type 'NSMutableData' in a '@Sendable' closure
1012 |             self.delegate?.websocketDidReceiveData(socket: self, data: data as Data)
1013 |           }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h:192:12: note: class 'NSMutableData' does not conform to the 'Sendable' protocol
190 | /****************	Mutable Data		****************/
191 |
192 | @interface NSMutableData : NSData
    |            `- note: class 'NSMutableData' does not conform to the 'Sendable' protocol
193 |
194 | @property (readonly) void *mutableBytes NS_RETURNS_INNER_POINTER;
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1039:24: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1037 |     operation.addExecutionBlock { [weak self, weak operation] in
1038 |       //stream isn't ready, let's wait
1039 |       guard let self = self else { return }
     |                        `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1040 |       guard let sOperation = operation else { return }
1041 |       var offset = 2
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1042:49: warning: capture of 'code' with non-sendable type 'WebSocket.OpCode' in a '@Sendable' closure
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
  44 |
  45 |   public enum OpCode : UInt8 {
     |               `- note: consider making enum 'OpCode' conform to the 'Sendable' protocol
  46 |     case continueFrame = 0x0
  47 |     case textFrame = 0x1
     :
1040 |       guard let sOperation = operation else { return }
1041 |       var offset = 2
1042 |       var firstByte:UInt8 = Constants.FinMask | code.rawValue
     |                                                 `- warning: capture of 'code' with non-sendable type 'WebSocket.OpCode' in a '@Sendable' closure
1043 |       var data = data
1044 |       if [.textFrame, .binaryFrame].contains(code), let compressor = self.compressionState.compressor {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1095:29: warning: capture of 'writeCompletion' with non-sendable type '(() -> ())?' in a '@Sendable' closure
1093 |         }
1094 |         if total >= offset {
1095 |           if let callback = writeCompletion {
     |                             |- warning: capture of 'writeCompletion' with non-sendable type '(() -> ())?' in a '@Sendable' closure
     |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1096 |             self.callbackQueue.async {
1097 |               callback()
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1097:15: warning: capture of 'callback' with non-sendable type '() -> ()' in a '@Sendable' closure
1095 |           if let callback = writeCompletion {
1096 |             self.callbackQueue.async {
1097 |               callback()
     |               |- warning: capture of 'callback' with non-sendable type '() -> ()' in a '@Sendable' closure
     |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1098 |             }
1099 |           }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1121:26: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1119 |       guard self.canDispatch else {return}
1120 |       self.callbackQueue.async { [weak self] in
1121 |         guard let self = self else { return }
     |                          `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1122 |         self.onDisconnect?(error)
1123 |         self.delegate?.websocketDidDisconnect(socket: self, error: error)
[145/147] Compiling ApolloWebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:90:31: warning: capture of 'certs' with non-sendable type '[SSLCert]' in a '@Sendable' closure
 18 | }
 19 |
 20 | open class SSLCert {
    |            `- note: class 'SSLCert' does not conform to the 'Sendable' protocol
 21 |     var certData: Data?
 22 |     var key: SecKey?
    :
 88 |         if self.usePublicKeys {
 89 |             DispatchQueue.global(qos: .default).async {
 90 |                 let pubKeys = certs.reduce([SecKey]()) { (pubKeys: [SecKey], cert: SSLCert) -> [SecKey] in
    |                               `- warning: capture of 'certs' with non-sendable type '[SSLCert]' in a '@Sendable' closure
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:93:36: warning: capture of 'self' with non-sendable type 'SSLSecurity' in a '@Sendable' closure
 45 | }
 46 |
 47 | open class SSLSecurity : SSLTrustValidator {
    |            `- note: class 'SSLSecurity' does not conform to the 'Sendable' protocol
 48 |     public var validatedDN = true //should the domain name be validated?
 49 |     public var validateEntireChain = true //should the entire cert chain be validated
    :
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
 93 |                         cert.key = self.extractPublicKey(data)
    |                                    `- warning: capture of 'self' with non-sendable type 'SSLSecurity' in a '@Sendable' closure
 94 |                     }
 95 |                     if let key = cert.key {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/SSLSecurity.swift:93:36: warning: capture of 'self' with non-sendable type 'SSLSecurity' in an isolated closure; this is an error in the Swift 6 language mode
 45 | }
 46 |
 47 | open class SSLSecurity : SSLTrustValidator {
    |            `- note: class 'SSLSecurity' does not conform to the 'Sendable' protocol
 48 |     public var validatedDN = true //should the domain name be validated?
 49 |     public var validateEntireChain = true //should the entire cert chain be validated
    :
 91 |                     var pubKeys = pubKeys
 92 |                     if let data = cert.certData, cert.key == nil {
 93 |                         cert.key = self.extractPublicKey(data)
    |                                    `- warning: capture of 'self' with non-sendable type 'SSLSecurity' in an isolated closure; this is an error in the Swift 6 language mode
 94 |                     }
 95 |                     if let key = cert.key {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:66:16: warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  55 |
  56 |   public struct WSError: Swift.Error {
  57 |     public enum ErrorType {
     |                 `- note: consider making enum 'ErrorType' conform to the 'Sendable' protocol
  58 |       case outputStreamWriteError //output stream error during write
  59 |       case invalidSSLError //Invalid SSL certificate
     :
  64 |     }
  65 |
  66 |     public let type: ErrorType
     |                `- warning: stored property 'type' of 'Sendable'-conforming struct 'WSError' has non-sendable type 'WebSocket.WSError.ErrorType'; this is an error in the Swift 6 language mode
  67 |     public let message: String
  68 |     public let code: Int
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1167:13: warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
1165 | }
1166 |
1167 | private let emptyBuffer = UnsafeBufferPointer<UInt8>(start: nil, count: 0)
     |             |- warning: let 'emptyBuffer' is not concurrency-safe because non-'Sendable' type 'UnsafeBufferPointer<UInt8>' may have shared mutable state; this is an error in the Swift 6 language mode
     |             |- note: add '@MainActor' to make let 'emptyBuffer' part of global actor 'MainActor'
     |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
1168 |
1169 | #if swift(>=4)
Swift.UnsafeBufferPointer:1:23: note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
  |                       `- note: generic struct 'UnsafeBufferPointer' does not conform to the 'Sendable' protocol
2 |     public let count: Int
3 |     @inlinable public init(start: UnsafePointer<Element>?, count: Int)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:317:9: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 315 |       let milliseconds = Int(seconds * 1_000)
 316 |       callbackQueue.asyncAfter(deadline: .now() + .milliseconds(milliseconds)) { [weak self] in
 317 |         self?.disconnectStream(nil)
     |         `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 318 |       }
 319 |       fallthrough
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:503:54: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 501 |       let operation = BlockOperation()
 502 |       operation.addExecutionBlock { [weak self, weak operation] in
 503 |         guard let sOperation = operation, let self = self else { return }
     |                                                      `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 504 |         guard !sOperation.isCancelled else { return }
 505 |         // Do the pinning now if needed
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:659:28: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 657 |       if canDispatch {
 658 |         callbackQueue.async { [weak self] in
 659 |           guard let self = self else { return }
     |                            `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 660 |           self.onConnect?()
 661 |           self.delegate?.websocketDidConnect(socket: self)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:915:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 913 |         if canDispatch {
 914 |           callbackQueue.async { [weak self] in
 915 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
 916 |             let pongData: Data? = data.count > 0 ? data : nil
 917 |             self.onPong?(pongData)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1001:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
 999 |         if canDispatch {
1000 |           callbackQueue.async { [weak self] in
1001 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1002 |             self.onText?(str)
1003 |             self.delegate?.websocketDidReceiveMessage(socket: self, text: str)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1010:30: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1008 |           let data = response.buffer! // local copy so it is perverse for writing
1009 |           callbackQueue.async { [weak self] in
1010 |             guard let self = self else { return }
     |                              `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1011 |             self.onData?(data as Data)
1012 |             self.delegate?.websocketDidReceiveData(socket: self, data: data as Data)
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1011:26: warning: capture of 'data' with non-sendable type 'NSMutableData' in a '@Sendable' closure
1009 |           callbackQueue.async { [weak self] in
1010 |             guard let self = self else { return }
1011 |             self.onData?(data as Data)
     |                          `- warning: capture of 'data' with non-sendable type 'NSMutableData' in a '@Sendable' closure
1012 |             self.delegate?.websocketDidReceiveData(socket: self, data: data as Data)
1013 |           }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h:192:12: note: class 'NSMutableData' does not conform to the 'Sendable' protocol
190 | /****************	Mutable Data		****************/
191 |
192 | @interface NSMutableData : NSData
    |            `- note: class 'NSMutableData' does not conform to the 'Sendable' protocol
193 |
194 | @property (readonly) void *mutableBytes NS_RETURNS_INNER_POINTER;
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1039:24: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1037 |     operation.addExecutionBlock { [weak self, weak operation] in
1038 |       //stream isn't ready, let's wait
1039 |       guard let self = self else { return }
     |                        `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1040 |       guard let sOperation = operation else { return }
1041 |       var offset = 2
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1042:49: warning: capture of 'code' with non-sendable type 'WebSocket.OpCode' in a '@Sendable' closure
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
  44 |
  45 |   public enum OpCode : UInt8 {
     |               `- note: consider making enum 'OpCode' conform to the 'Sendable' protocol
  46 |     case continueFrame = 0x0
  47 |     case textFrame = 0x1
     :
1040 |       guard let sOperation = operation else { return }
1041 |       var offset = 2
1042 |       var firstByte:UInt8 = Constants.FinMask | code.rawValue
     |                                                 `- warning: capture of 'code' with non-sendable type 'WebSocket.OpCode' in a '@Sendable' closure
1043 |       var data = data
1044 |       if [.textFrame, .binaryFrame].contains(code), let compressor = self.compressionState.compressor {
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1095:29: warning: capture of 'writeCompletion' with non-sendable type '(() -> ())?' in a '@Sendable' closure
1093 |         }
1094 |         if total >= offset {
1095 |           if let callback = writeCompletion {
     |                             |- warning: capture of 'writeCompletion' with non-sendable type '(() -> ())?' in a '@Sendable' closure
     |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1096 |             self.callbackQueue.async {
1097 |               callback()
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1097:15: warning: capture of 'callback' with non-sendable type '() -> ()' in a '@Sendable' closure
1095 |           if let callback = writeCompletion {
1096 |             self.callbackQueue.async {
1097 |               callback()
     |               |- warning: capture of 'callback' with non-sendable type '() -> ()' in a '@Sendable' closure
     |               `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1098 |             }
1099 |           }
/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/DefaultImplementation/WebSocket.swift:1121:26: warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
  41 | //WebSocket implementation
  42 |
  43 | public final class WebSocket: NSObject, WebSocketClient, StreamDelegate, WebSocketStreamDelegate, SOCKSProxyable {
     |                    `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
  44 |
  45 |   public enum OpCode : UInt8 {
     :
1119 |       guard self.canDispatch else {return}
1120 |       self.callbackQueue.async { [weak self] in
1121 |         guard let self = self else { return }
     |                          `- warning: capture of 'self' with non-sendable type 'WebSocket?' in a '@Sendable' closure
1122 |         self.onDisconnect?(error)
1123 |         self.delegate?.websocketDidDisconnect(socket: self, error: error)
[146/147] Compiling ApolloWebSocket Compression.swift
[147/147] Compiling ApolloWebSocket SSLClientCertificate.swift
Build complete! (11.03s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Apollo",
  "name" : "Apollo",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Apollo",
      "targets" : [
        "Apollo"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloAPI",
      "targets" : [
        "ApolloAPI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Apollo-Dynamic",
      "targets" : [
        "Apollo"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "ApolloSQLite",
      "targets" : [
        "ApolloSQLite"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloWebSocket",
      "targets" : [
        "ApolloWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ApolloTestSupport",
      "targets" : [
        "ApolloTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "InstallCLI",
      "targets" : [
        "Install CLI"
      ],
      "type" : {
        "plugin" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Install_CLI",
      "module_type" : "PluginTarget",
      "name" : "Install CLI",
      "path" : "Plugins/InstallCLI",
      "plugin_capability" : {
        "intent" : {
          "description" : "Installs the Apollo iOS Command line interface.",
          "type" : "custom",
          "verb" : "apollo-cli-install"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Downloads and unzips the CLI executable into your project directory.",
            "type" : "writeToPackageDirectory"
          },
          {
            "network_scope" : {
              "all" : {
                "ports" : [
                ]
              }
            },
            "reason" : "Downloads the Apollo iOS CLI executable from the GitHub Release.",
            "type" : "allowNetworkConnections"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "InstallCLI"
      ],
      "sources" : [
        "InstallCLIPluginCommand.swift"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ApolloWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "ApolloWebSocket",
      "path" : "Sources/ApolloWebSocket",
      "product_memberships" : [
        "ApolloWebSocket"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ApolloWebSocket/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DefaultImplementation/Compression.swift",
        "DefaultImplementation/SSLClientCertificate.swift",
        "DefaultImplementation/SSLSecurity.swift",
        "DefaultImplementation/WebSocket.swift",
        "DefaultImplementation/WebSocketStream.swift",
        "OperationMessage.swift",
        "OperationMessageIdCreator.swift",
        "SplitNetworkTransport.swift",
        "WebSocketClient.swift",
        "WebSocketError.swift",
        "WebSocketTask.swift",
        "WebSocketTransport.swift"
      ],
      "target_dependencies" : [
        "Apollo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "ApolloTestSupport",
      "path" : "Sources/ApolloTestSupport",
      "product_memberships" : [
        "ApolloTestSupport"
      ],
      "sources" : [
        "Field.swift",
        "TestMock.swift",
        "TestMockSelectionSetMapper.swift"
      ],
      "target_dependencies" : [
        "Apollo",
        "ApolloAPI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloSQLite",
      "module_type" : "SwiftTarget",
      "name" : "ApolloSQLite",
      "path" : "Sources/ApolloSQLite",
      "product_memberships" : [
        "ApolloSQLite"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ApolloSQLite/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ApolloSQLiteDatabase.swift",
        "JournalMode.swift",
        "SQLiteDatabase.swift",
        "SQLiteNormalizedCache.swift",
        "SQLiteSerialization.swift"
      ],
      "target_dependencies" : [
        "Apollo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ApolloAPI",
      "module_type" : "SwiftTarget",
      "name" : "ApolloAPI",
      "path" : "Sources/ApolloAPI",
      "product_memberships" : [
        "Apollo",
        "ApolloAPI",
        "Apollo-Dynamic",
        "ApolloSQLite",
        "ApolloWebSocket",
        "ApolloTestSupport"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/ApolloAPI/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyHashableConvertible.swift",
        "CacheKeyInfo.swift",
        "CacheReference.swift",
        "DataDict.swift",
        "Deferred.swift",
        "FragmentProtocols.swift",
        "GraphQLEnum.swift",
        "GraphQLNullable.swift",
        "GraphQLOperation.swift",
        "InputValue.swift",
        "JSON.swift",
        "JSONDecodingError.swift",
        "JSONStandardTypeConversions.swift",
        "LocalCacheMutation.swift",
        "ObjectData.swift",
        "OutputTypeConvertible.swift",
        "ParentType.swift",
        "ScalarTypes.swift",
        "SchemaConfiguration.swift",
        "SchemaMetadata.swift",
        "SchemaTypes/EnumType.swift",
        "SchemaTypes/InputObject.swift",
        "SchemaTypes/Interface.swift",
        "SchemaTypes/Object.swift",
        "SchemaTypes/Union.swift",
        "Selection+Conditions.swift",
        "Selection.swift",
        "SelectionSet.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Apollo",
      "module_type" : "SwiftTarget",
      "name" : "Apollo",
      "path" : "Sources/Apollo",
      "product_memberships" : [
        "Apollo",
        "Apollo-Dynamic",
        "ApolloSQLite",
        "ApolloWebSocket",
        "ApolloTestSupport"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/Apollo/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AnyGraphQLResponse.swift",
        "ApolloClient.swift",
        "ApolloClientProtocol.swift",
        "ApolloErrorInterceptor.swift",
        "ApolloInterceptor.swift",
        "ApolloStore.swift",
        "Atomic.swift",
        "AutomaticPersistedQueryInterceptor.swift",
        "Bundle+Helpers.swift",
        "CacheReadInterceptor.swift",
        "CacheWriteInterceptor.swift",
        "Cancellable.swift",
        "Collection+Helpers.swift",
        "Constants.swift",
        "DataDict+Merging.swift",
        "DataDictMapper.swift",
        "DataLoader.swift",
        "DefaultInterceptorProvider.swift",
        "Dictionary+Helpers.swift",
        "DispatchQueue+Optional.swift",
        "ExecutionSources/CacheDataExecutionSource.swift",
        "ExecutionSources/NetworkResponseExecutionSource.swift",
        "ExecutionSources/SelectionSetModelExecutionSource.swift",
        "FieldSelectionCollector.swift",
        "GraphQLDependencyTracker.swift",
        "GraphQLError.swift",
        "GraphQLExecutionSource.swift",
        "GraphQLExecutor.swift",
        "GraphQLFile.swift",
        "GraphQLGETTransformer.swift",
        "GraphQLHTTPMethod.swift",
        "GraphQLHTTPRequestError.swift",
        "GraphQLQueryWatcher.swift",
        "GraphQLResponse.swift",
        "GraphQLResult.swift",
        "GraphQLResultAccumulator.swift",
        "GraphQLResultNormalizer.swift",
        "GraphQLSelectionSetMapper.swift",
        "HTTPRequest.swift",
        "HTTPResponse.swift",
        "HTTPURLResponse+Helpers.swift",
        "InMemoryNormalizedCache.swift",
        "IncrementalGraphQLResponse.swift",
        "IncrementalGraphQLResult.swift",
        "IncrementalJSONResponseParsingInterceptor.swift",
        "InputValue+Evaluation.swift",
        "InterceptorProvider.swift",
        "InterceptorRequestChain.swift",
        "JSONConverter.swift",
        "JSONRequest.swift",
        "JSONResponseParsingInterceptor.swift",
        "JSONSerialization+Sorting.swift",
        "JSONSerializationFormat.swift",
        "MaxRetryInterceptor.swift",
        "MultipartFormData.swift",
        "MultipartResponseDeferParser.swift",
        "MultipartResponseParsingInterceptor.swift",
        "MultipartResponseSubscriptionParser.swift",
        "NetworkFetchInterceptor.swift",
        "NetworkTransport.swift",
        "NormalizedCache.swift",
        "PathComponent.swift",
        "PossiblyDeferred.swift",
        "Record.swift",
        "RecordSet.swift",
        "RequestBodyCreator.swift",
        "RequestChain.swift",
        "RequestChainNetworkTransport.swift",
        "RequestClientMetadata.swift",
        "RequestContext.swift",
        "ResponseCodeInterceptor.swift",
        "ResponsePath.swift",
        "SelectionSet+DictionaryIntializer.swift",
        "SelectionSet+JSONInitializer.swift",
        "TaskData.swift",
        "URLSessionClient.swift",
        "UploadRequest.swift"
      ],
      "target_dependencies" : [
        "ApolloAPI"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.