Build Information
Successful build of ParseSwift, reference main (3f02f5
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 23:20:56 UTC.
Swift 6 data race errors: 41
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:82:50: warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
80 | let result = try await withCheckedThrowingContinuation { continuation in
81 | self.purge(options: options,
82 | completion: continuation.resume)
| |- warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
83 | }
84 | if case let .failure(error) = result {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:105:50: warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
103 | let result = try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: continuation.resume)
| |- warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
106 | }
107 | if case let .failure(error) = result {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:24:18: warning: stored property 'indexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]?'; this is an error in the Swift 6 language mode
22 | public var classLevelPermissions: ParseCLP?
23 | internal var fields: [String: ParseField]?
24 | internal var indexes: [String: [String: AnyCodable]]?
| `- warning: stored property 'indexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]?'; this is an error in the Swift 6 language mode
25 | internal var pendingIndexes = [String: [String: AnyCodable]]()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:25:18: warning: stored property 'pendingIndexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]'; this is an error in the Swift 6 language mode
23 | internal var fields: [String: ParseField]?
24 | internal var indexes: [String: [String: AnyCodable]]?
25 | internal var pendingIndexes = [String: [String: AnyCodable]]()
| `- warning: stored property 'pendingIndexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]'; this is an error in the Swift 6 language mode
26 |
27 | enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:29:50: warning: converting a value of type '(__shared sending Result<ParseServer.Status, ParseError>) -> ()' to type '(Result<ParseServer.Status, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
27 | Self.health(options: options,
28 | allowIntermediateResponses: false,
29 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseServer.Status, ParseError>) -> ()' to type '(Result<ParseServer.Status, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:55: warning: converting a value of type '(__shared sending Result<ParseServer.Information, ParseError>) -> ()' to type '(Result<ParseServer.Information, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseServer.Information, ParseError>) -> ()' to type '(Result<ParseServer.Information, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:120:26: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
118 | }
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | return API.Command(method: .POST,
122 | path: .health) { (data) -> Status in
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:156:26: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
154 | }
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | return API.Command(method: .GET,
158 | path: .serverInfo) { (data) -> Information in
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:92:18: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
91 | await healthCommand()
92 | .execute(options: options,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
93 | callbackQueue: callbackQueue,
94 | allowIntermediateResponses: allowIntermediateResponses,
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:121:16: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
121 | return API.Command(method: .POST,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | path: .health) { (data) -> Status in
123 | return try ParseCoding.jsonDecoder().decode(HealthResponse.self, from: data).status
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:121:20: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
121 | return API.Command(method: .POST,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | path: .health) { (data) -> Status in
123 | return try ParseCoding.jsonDecoder().decode(HealthResponse.self, from: data).status
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:150:18: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
149 | await infoCommand()
150 | .execute(options: options,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
151 | callbackQueue: callbackQueue,
152 | completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:157:16: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
157 | return API.Command(method: .GET,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | path: .serverInfo) { (data) -> Information in
159 | return try ParseCoding.jsonDecoder().decode(Information.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:157:20: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
157 | return API.Command(method: .GET,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | path: .serverInfo) { (data) -> Information in
159 | return try ParseCoding.jsonDecoder().decode(Information.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:28:49: warning: converting a value of type '(__shared sending Result<Pointer<T>.Object, ParseError>) -> ()' (aka '(__shared sending Result<T, ParseError>) -> ()') to type '(Result<Pointer<T>.Object, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Pointer<T>.Object, ParseError>) -> ()' (aka '(__shared sending Result<T, ParseError>) -> ()') to type '(Result<Pointer<T>.Object, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:24:48: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:55: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:51: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:49: warning: converting a value of type '(__shared sending Result<T, ParseError>) -> ()' to type '(Result<T, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, ParseError>) -> ()' to type '(Result<T, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:56: warning: converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:49: warning: converting a value of type '(__shared sending Result<Int, ParseError>) -> ()' to type '(Result<Int, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Int, ParseError>) -> ()' to type '(Result<Int, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:56: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:53: warning: converting a value of type '(__shared sending Result<([T], Int), ParseError>) -> ()' to type '(Result<([T], Int), ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<([T], Int), ParseError>) -> ()' to type '(Result<([T], Int), ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:60: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:53: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:60: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
223 | }
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:241:52: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
239 | self.distinct(key,
240 | options: options,
241 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:59: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:25:18: warning: stored property 'hint' of 'Sendable'-conforming generic struct 'Query' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
23 | internal var isCount: Bool?
24 | internal var explain: Bool?
25 | internal var hint: AnyCodable?
| `- warning: stored property 'hint' of 'Sendable'-conforming generic struct 'Query' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
26 | internal var `where` = QueryWhere()
27 | internal var excludeKeys: Set<String>?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:32:18: warning: stored property 'pipeline' of 'Sendable'-conforming generic struct 'Query' has non-sendable type '[[String : AnyCodable]]?'; this is an error in the Swift 6 language mode
30 | internal var subqueryReadPreference: String?
31 | internal var distinct: String?
32 | internal var pipeline: [[String: AnyCodable]]?
| `- warning: stored property 'pipeline' of 'Sendable'-conforming generic struct 'Query' has non-sendable type '[[String : AnyCodable]]?'; this is an error in the Swift 6 language mode
33 | internal var fields: Set<String>?
34 | internal var watch: Set<String>?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:479:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
477 | guard limit > 0 else {
478 | callbackQueue.async {
479 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
480 | }
481 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:491:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | let parseError = error as? ParseError ?? ParseError(swift: error)
490 | callbackQueue.async {
491 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
492 | }
493 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:518:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
516 | guard limit > 0 else {
517 | callbackQueue.async {
518 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
519 | }
520 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:531:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 | let parseError = error as? ParseError ?? ParseError(swift: error)
530 | callbackQueue.async {
531 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
532 | }
533 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:542:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
540 | let parseError = error as? ParseError ?? ParseError(swift: error)
541 | callbackQueue.async {
542 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
543 | }
544 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:568:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | if self.limit == 0 {
567 | callbackQueue.async {
568 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 | }
570 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:578:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | message: "Cannot iterate on a query with sort, skip, or limit.")
577 | callbackQueue.async {
578 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 | }
580 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:607:25: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
605 | let parseError = error as? ParseError ?? ParseError(swift: error)
606 | callbackQueue.async {
607 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
608 | }
609 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:614:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
612 | let finalResults = results
613 | callbackQueue.async {
614 | completion(.success(finalResults))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
615 | }
616 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:635:17: warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
633 | message: "Object not found on the server.")
634 | callbackQueue.async {
635 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
636 | }
637 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:647:21: warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | let parseError = error as? ParseError ?? ParseError(swift: error)
646 | callbackQueue.async {
647 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
648 | }
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:678:17: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
676 | message: "Object not found on the server.")
677 | callbackQueue.async {
678 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:691:25: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
689 | let parseError = error as? ParseError ?? ParseError(swift: error)
690 | callbackQueue.async {
691 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
692 | }
693 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:702:25: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
700 | let parseError = error as? ParseError ?? ParseError(swift: error)
701 | callbackQueue.async {
702 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
703 | }
704 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:722:17: warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
720 | guard limit > 0 else {
721 | callbackQueue.async {
722 | completion(.success(0))
| |- warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
723 | }
724 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:734:21: warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
732 | let parseError = error as? ParseError ?? ParseError(swift: error)
733 | callbackQueue.async {
734 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
735 | }
736 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:761:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | guard limit > 0 else {
760 | callbackQueue.async {
761 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
762 | }
763 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:774:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
772 | let parseError = error as? ParseError ?? ParseError(swift: error)
773 | callbackQueue.async {
774 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
775 | }
776 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:785:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
783 | let parseError = error as? ParseError ?? ParseError(swift: error)
784 | callbackQueue.async {
785 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
786 | }
787 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:806:17: warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
804 | guard limit > 0 else {
805 | callbackQueue.async {
806 | completion(.success(([], 0)))
| |- warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
807 | }
808 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:818:21: warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
816 | let parseError = error as? ParseError ?? ParseError(swift: error)
817 | callbackQueue.async {
818 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
819 | }
820 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:845:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
843 | guard limit > 0 else {
844 | callbackQueue.async {
845 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
846 | }
847 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:858:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
856 | let parseError = error as? ParseError ?? ParseError(swift: error)
857 | callbackQueue.async {
858 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
859 | }
860 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:869:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
867 | let parseError = error as? ParseError ?? ParseError(swift: error)
868 | callbackQueue.async {
869 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
870 | }
871 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:894:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
892 | guard limit > 0 else {
893 | callbackQueue.async {
894 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
895 | }
896 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:910:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
908 | message: "Cannot decode \"where\" to String.")
909 | callbackQueue.async {
910 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
911 | }
912 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:934:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
932 | let parseError = error as? ParseError ?? ParseError(swift: error)
933 | callbackQueue.async {
934 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
935 | }
936 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:966:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
964 | guard limit > 0 else {
965 | callbackQueue.async {
966 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
967 | }
968 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:982:21: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
980 | message: "Cannot decode \"where\" to String.")
981 | callbackQueue.async {
982 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
983 | }
984 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1007:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1005 | let parseError = error as? ParseError ?? ParseError(swift: error)
1006 | callbackQueue.async {
1007 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1008 | }
1009 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1019:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1017 | let parseError = error as? ParseError ?? ParseError(swift: error)
1018 | callbackQueue.async {
1019 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1020 | }
1021 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1044:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
1042 | guard limit > 0 else {
1043 | callbackQueue.async {
1044 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1045 | }
1046 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1059:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
1057 | let parseError = error as? ParseError ?? ParseError(swift: error)
1058 | callbackQueue.async {
1059 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1060 | }
1061 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1091:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1089 | guard limit > 0 else {
1090 | callbackQueue.async {
1091 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1092 | }
1093 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1107:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1105 | let parseError = error as? ParseError ?? ParseError(swift: error)
1106 | callbackQueue.async {
1107 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1108 | }
1109 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1119:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1117 | let parseError = error as? ParseError ?? ParseError(swift: error)
1118 | callbackQueue.async {
1119 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1120 | }
1121 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Parse.swift:11:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct Parse {
11 | static var configuration: ParseConfiguration!
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static var sessionDelegate: ParseURLSessionDelegate!
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/QueryConstraint.swift:52:9: warning: stored property 'value' of 'Sendable'-conforming struct 'QueryConstraint' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
50 |
51 | var key: String
52 | var value: AnyCodable?
| `- warning: stored property 'value' of 'Sendable'-conforming struct 'QueryConstraint' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
53 | var comparator: Comparator?
54 | var isNull = false
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Extensions/URLSession.swift:17:16: warning: static property 'parse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | internal extension URLSession {
16 | #if !os(Linux) && !os(Android) && !os(Windows)
17 | static var parse = URLSession.shared
| |- warning: static property 'parse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 | static var parse: URLSession = {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Parse.swift:12:16: warning: static property 'sessionDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct Parse {
11 | static var configuration: ParseConfiguration!
12 | static var sessionDelegate: ParseURLSessionDelegate!
| |- warning: static property 'sessionDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionDelegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:265:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
263 | callbackQueue: DispatchQueue = .main,
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
266 | var options = options
267 | options.insert(.usePrimaryKey)
:
270 | .execute(options: options,
271 | callbackQueue: callbackQueue,
272 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:304:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
305 | var options = options
306 | options.insert(.usePrimaryKey)
:
309 | .execute(options: options,
310 | callbackQueue: callbackQueue,
311 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
312 | }
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:338:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
336 | }
337 | let schema = mutableSchema
338 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
339 | var options = options
340 | options.insert(.usePrimaryKey)
:
343 | .execute(options: options,
344 | callbackQueue: callbackQueue,
345 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:389:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
389 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
390 | var options = options
391 | options.insert(.usePrimaryKey)
:
396 |
397 | case .success:
398 | completion(.success(()))
| `- note: closure captures 'completion' which is accessible to code in the current task
399 | case .failure(let error):
400 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:427:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
427 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
428 | var options = options
429 | options.insert(.usePrimaryKey)
:
434 |
435 | case .success:
436 | completion(.success(()))
| `- note: closure captures 'completion' which is accessible to code in the current task
437 | case .failure(let error):
438 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:88:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
88 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
:
93 | callbackQueue: callbackQueue,
94 | allowIntermediateResponses: allowIntermediateResponses,
95 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
96 | }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:145:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
143 | callbackQueue: DispatchQueue = .main,
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 | var options = options
147 | options.insert(.usePrimaryKey)
:
150 | .execute(options: options,
151 | callbackQueue: callbackQueue,
152 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
153 | }
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:483:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
481 | return
482 | }
483 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
484 | do {
485 | try await findCommand().execute(options: options,
486 | callbackQueue: callbackQueue,
487 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
488 | } catch {
489 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:522:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
520 | return
521 | }
522 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
526 | callbackQueue: callbackQueue,
527 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
528 | } catch {
529 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:583:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
581 | }
582 |
583 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
584 | var query = self
585 | .order([.ascending("objectId")])
:
605 | let parseError = error as? ParseError ?? ParseError(swift: error)
606 | callbackQueue.async {
607 | completion(.failure(parseError))
| `- note: closure captures 'completion' which is accessible to code in the current task
608 | }
609 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:639:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
637 | return
638 | }
639 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
640 | do {
641 | try await firstCommand().execute(options: options,
642 | callbackQueue: callbackQueue,
643 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
644 | } catch {
645 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:682:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
680 | return
681 | }
682 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
686 | callbackQueue: callbackQueue,
687 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
688 | } catch {
689 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:726:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
724 | return
725 | }
726 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
727 | do {
728 | try await countCommand().execute(options: options,
729 | callbackQueue: callbackQueue,
730 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
731 | } catch {
732 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:765:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
763 | return
764 | }
765 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
769 | callbackQueue: callbackQueue,
770 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
771 | } catch {
772 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:810:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
808 | return
809 | }
810 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
811 | do {
812 | try await withCountCommand().execute(options: options,
813 | callbackQueue: callbackQueue,
814 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
815 | } catch {
816 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:849:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
847 | return
848 | }
849 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
853 | callbackQueue: callbackQueue,
854 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
855 | } catch {
856 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:898:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
896 | return
897 | }
898 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
899 | var options = options
900 | options.insert(.usePrimaryKey)
:
908 | message: "Cannot decode \"where\" to String.")
909 | callbackQueue.async {
910 | completion(.failure(error))
| `- note: closure captures 'completion' which is accessible to code in the current task
911 | }
912 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:970:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
968 | return
969 | }
970 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
971 | var options = options
972 | options.insert(.usePrimaryKey)
:
980 | message: "Cannot decode \"where\" to String.")
981 | callbackQueue.async {
982 | completion(.failure(error))
| `- note: closure captures 'completion' which is accessible to code in the current task
983 | }
984 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1048:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1046 | return
1047 | }
1048 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1049 | var options = options
1050 | options.insert(.usePrimaryKey)
:
1053 | .execute(options: options,
1054 | callbackQueue: callbackQueue,
1055 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
1056 | } catch {
1057 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1095:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1093 | return
1094 | }
1095 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1096 | var options = options
1097 | options.insert(.usePrimaryKey)
:
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
1103 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
1104 | } catch {
1105 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/QueryViewModel.swift:99:44: warning: sending 'pipeline' risks causing data races; this is an error in the Swift 6 language mode
97 | options: API.Options = []) async {
98 | do {
99 | self.results = try await query.aggregate(pipeline, options: options)
| |- warning: sending 'pipeline' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'pipeline' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
100 | } catch {
101 | self.error = error as? ParseError ?? ParseError(swift: error)
[203/203] Compiling ParseSwift Utility.swift
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParsePushPayload/ParsePushPayloadAny.swift:35:9: warning: stored property 'badge' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
33 | public var notification: ParsePushFirebaseNotification?
34 | public var alert: ParsePushAppleAlert?
35 | var badge: AnyCodable?
| `- warning: stored property 'badge' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
36 | var sound: AnyCodable?
37 | var priority: AnyCodable?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParsePushPayload/ParsePushPayloadAny.swift:36:9: warning: stored property 'sound' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
34 | public var alert: ParsePushAppleAlert?
35 | var badge: AnyCodable?
36 | var sound: AnyCodable?
| `- warning: stored property 'sound' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
37 | var priority: AnyCodable?
38 | var contentAvailable: AnyCodable?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParsePushPayload/ParsePushPayloadAny.swift:37:9: warning: stored property 'priority' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
35 | var badge: AnyCodable?
36 | var sound: AnyCodable?
37 | var priority: AnyCodable?
| `- warning: stored property 'priority' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
38 | var contentAvailable: AnyCodable?
39 | var mutableContent: AnyCodable?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParsePushPayload/ParsePushPayloadAny.swift:38:9: warning: stored property 'contentAvailable' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
36 | var sound: AnyCodable?
37 | var priority: AnyCodable?
38 | var contentAvailable: AnyCodable?
| `- warning: stored property 'contentAvailable' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
39 | var mutableContent: AnyCodable?
40 |
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParsePushPayload/ParsePushPayloadAny.swift:39:9: warning: stored property 'mutableContent' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
37 | var priority: AnyCodable?
38 | var contentAvailable: AnyCodable?
39 | var mutableContent: AnyCodable?
| `- warning: stored property 'mutableContent' of 'Sendable'-conforming struct 'ParsePushPayloadAny' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
40 |
41 | public init(from decoder: Decoder) throws {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:27:49: warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
25 | try await withCheckedThrowingContinuation { continuation in
26 | self.fetch(options: options,
27 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:45:50: warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
43 | try await withCheckedThrowingContinuation { continuation in
44 | self.create(options: options,
45 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:63:50: warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
61 | try await withCheckedThrowingContinuation { continuation in
62 | self.update(options: options,
63 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseSchema<SchemaObject>, ParseError>) -> ()' to type '(Result<ParseSchema<SchemaObject>, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
64 | }
65 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:82:50: warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
80 | let result = try await withCheckedThrowingContinuation { continuation in
81 | self.purge(options: options,
82 | completion: continuation.resume)
| |- warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
83 | }
84 | if case let .failure(error) = result {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:105:50: warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
103 | let result = try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: continuation.resume)
| |- warning: converting a value of type '(sending Result<Void, ParseError>) -> ()' to type '(Result<Void, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
106 | }
107 | if case let .failure(error) = result {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:24:18: warning: stored property 'indexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]?'; this is an error in the Swift 6 language mode
22 | public var classLevelPermissions: ParseCLP?
23 | internal var fields: [String: ParseField]?
24 | internal var indexes: [String: [String: AnyCodable]]?
| `- warning: stored property 'indexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]?'; this is an error in the Swift 6 language mode
25 | internal var pendingIndexes = [String: [String: AnyCodable]]()
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:25:18: warning: stored property 'pendingIndexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]'; this is an error in the Swift 6 language mode
23 | internal var fields: [String: ParseField]?
24 | internal var indexes: [String: [String: AnyCodable]]?
25 | internal var pendingIndexes = [String: [String: AnyCodable]]()
| `- warning: stored property 'pendingIndexes' of 'Sendable'-conforming generic struct 'ParseSchema' has non-sendable type '[String : [String : AnyCodable]]'; this is an error in the Swift 6 language mode
26 |
27 | enum CodingKeys: String, CodingKey {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:29:50: warning: converting a value of type '(__shared sending Result<ParseServer.Status, ParseError>) -> ()' to type '(Result<ParseServer.Status, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
27 | Self.health(options: options,
28 | allowIntermediateResponses: false,
29 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseServer.Status, ParseError>) -> ()' to type '(Result<ParseServer.Status, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
30 | }
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:55: warning: converting a value of type '(__shared sending Result<ParseServer.Information, ParseError>) -> ()' to type '(Result<ParseServer.Information, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<ParseServer.Information, ParseError>) -> ()' to type '(Result<ParseServer.Information, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:120:26: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
118 | }
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | return API.Command(method: .POST,
122 | path: .health) { (data) -> Status in
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:156:26: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
154 | }
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | return API.Command(method: .GET,
158 | path: .serverInfo) { (data) -> Information in
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:92:18: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
91 | await healthCommand()
92 | .execute(options: options,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
93 | callbackQueue: callbackQueue,
94 | allowIntermediateResponses: allowIntermediateResponses,
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:121:16: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
121 | return API.Command(method: .POST,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | path: .health) { (data) -> Status in
123 | return try ParseCoding.jsonDecoder().decode(HealthResponse.self, from: data).status
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:121:20: warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
21 |
22 | /// The health status value of a Parse Server.
23 | public enum Status: String, Codable {
| `- note: consider making enum 'Status' conform to the 'Sendable' protocol
24 | /// The server started and is running.
25 | case ok
:
119 |
120 | internal static func healthCommand() -> API.Command<NoBody, Status> {
121 | return API.Command(method: .POST,
| `- warning: type 'ParseServer.Status' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | path: .health) { (data) -> Status in
123 | return try ParseCoding.jsonDecoder().decode(HealthResponse.self, from: data).status
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:150:18: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
149 | await infoCommand()
150 | .execute(options: options,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
151 | callbackQueue: callbackQueue,
152 | completion: completion)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:157:16: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
157 | return API.Command(method: .GET,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | path: .serverInfo) { (data) -> Information in
159 | return try ParseCoding.jsonDecoder().decode(Information.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:157:20: warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 |
34 | /// Any provided information from the Parse Server.
35 | public struct Information: Decodable {
| `- note: consider making struct 'Information' conform to the 'Sendable' protocol
36 |
37 | /// The version of the Parse Server.
:
155 |
156 | internal static func infoCommand() -> API.Command<NoBody, Information> {
157 | return API.Command(method: .GET,
| `- warning: type 'ParseServer.Information' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | path: .serverInfo) { (data) -> Information in
159 | return try ParseCoding.jsonDecoder().decode(Information.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:28:49: warning: converting a value of type '(__shared sending Result<Pointer<T>.Object, ParseError>) -> ()' (aka '(__shared sending Result<T, ParseError>) -> ()') to type '(Result<Pointer<T>.Object, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Pointer<T>.Object, ParseError>) -> ()' (aka '(__shared sending Result<T, ParseError>) -> ()') to type '(Result<Pointer<T>.Object, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:24:48: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
25 | }
26 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:55: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
48 | }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:51: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:49: warning: converting a value of type '(__shared sending Result<T, ParseError>) -> ()' to type '(Result<T, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<T, ParseError>) -> ()' to type '(Result<T, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
79 | }
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:56: warning: converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<U, ParseError>) -> ()' to type '(Result<U, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
102 | }
103 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:49: warning: converting a value of type '(__shared sending Result<Int, ParseError>) -> ()' to type '(Result<Int, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<Int, ParseError>) -> ()' to type '(Result<Int, ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
115 | }
116 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:56: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
138 | }
139 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:53: warning: converting a value of type '(__shared sending Result<([T], Int), ParseError>) -> ()' to type '(Result<([T], Int), ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<([T], Int), ParseError>) -> ()' to type '(Result<([T], Int), ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
152 | }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:60: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
175 | }
176 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:53: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
194 | }
195 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:60: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
223 | }
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:241:52: warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
239 | self.distinct(key,
240 | options: options,
241 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[T], ParseError>) -> ()' to type '(Result<[T], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
242 | }
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:59: warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: continuation.resume)
| |- warning: converting a value of type '(__shared sending Result<[U], ParseError>) -> ()' to type '(Result<[U], ParseError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:25:18: warning: stored property 'hint' of 'Sendable'-conforming generic struct 'Query' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
23 | internal var isCount: Bool?
24 | internal var explain: Bool?
25 | internal var hint: AnyCodable?
| `- warning: stored property 'hint' of 'Sendable'-conforming generic struct 'Query' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
26 | internal var `where` = QueryWhere()
27 | internal var excludeKeys: Set<String>?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:32:18: warning: stored property 'pipeline' of 'Sendable'-conforming generic struct 'Query' has non-sendable type '[[String : AnyCodable]]?'; this is an error in the Swift 6 language mode
30 | internal var subqueryReadPreference: String?
31 | internal var distinct: String?
32 | internal var pipeline: [[String: AnyCodable]]?
| `- warning: stored property 'pipeline' of 'Sendable'-conforming generic struct 'Query' has non-sendable type '[[String : AnyCodable]]?'; this is an error in the Swift 6 language mode
33 | internal var fields: Set<String>?
34 | internal var watch: Set<String>?
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:479:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
477 | guard limit > 0 else {
478 | callbackQueue.async {
479 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
480 | }
481 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:491:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 | let parseError = error as? ParseError ?? ParseError(swift: error)
490 | callbackQueue.async {
491 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
492 | }
493 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:518:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
516 | guard limit > 0 else {
517 | callbackQueue.async {
518 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
519 | }
520 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:531:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
529 | let parseError = error as? ParseError ?? ParseError(swift: error)
530 | callbackQueue.async {
531 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
532 | }
533 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:542:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
540 | let parseError = error as? ParseError ?? ParseError(swift: error)
541 | callbackQueue.async {
542 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
543 | }
544 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:568:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | if self.limit == 0 {
567 | callbackQueue.async {
568 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
569 | }
570 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:578:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
576 | message: "Cannot iterate on a query with sort, skip, or limit.")
577 | callbackQueue.async {
578 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 | }
580 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:607:25: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
605 | let parseError = error as? ParseError ?? ParseError(swift: error)
606 | callbackQueue.async {
607 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
608 | }
609 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:614:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
612 | let finalResults = results
613 | callbackQueue.async {
614 | completion(.success(finalResults))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
615 | }
616 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:635:17: warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
633 | message: "Object not found on the server.")
634 | callbackQueue.async {
635 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
636 | }
637 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:647:21: warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
645 | let parseError = error as? ParseError ?? ParseError(swift: error)
646 | callbackQueue.async {
647 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<Query<T>.ResultType, ParseError>) -> Void' (aka '(Result<T, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
648 | }
649 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:678:17: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
676 | message: "Object not found on the server.")
677 | callbackQueue.async {
678 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
679 | }
680 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:691:25: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
689 | let parseError = error as? ParseError ?? ParseError(swift: error)
690 | callbackQueue.async {
691 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
692 | }
693 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:702:25: warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
700 | let parseError = error as? ParseError ?? ParseError(swift: error)
701 | callbackQueue.async {
702 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<U, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
703 | }
704 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:722:17: warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
720 | guard limit > 0 else {
721 | callbackQueue.async {
722 | completion(.success(0))
| |- warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
723 | }
724 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:734:21: warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
732 | let parseError = error as? ParseError ?? ParseError(swift: error)
733 | callbackQueue.async {
734 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<Int, ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
735 | }
736 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:761:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
759 | guard limit > 0 else {
760 | callbackQueue.async {
761 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
762 | }
763 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:774:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
772 | let parseError = error as? ParseError ?? ParseError(swift: error)
773 | callbackQueue.async {
774 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
775 | }
776 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:785:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
783 | let parseError = error as? ParseError ?? ParseError(swift: error)
784 | callbackQueue.async {
785 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
786 | }
787 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:806:17: warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
804 | guard limit > 0 else {
805 | callbackQueue.async {
806 | completion(.success(([], 0)))
| |- warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
807 | }
808 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:818:21: warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
816 | let parseError = error as? ParseError ?? ParseError(swift: error)
817 | callbackQueue.async {
818 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<([Query<T>.ResultType], Int), ParseError>) -> Void' (aka '(Result<(Array<T>, Int), ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
819 | }
820 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:845:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
843 | guard limit > 0 else {
844 | callbackQueue.async {
845 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
846 | }
847 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:858:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
856 | let parseError = error as? ParseError ?? ParseError(swift: error)
857 | callbackQueue.async {
858 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
859 | }
860 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:869:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
867 | let parseError = error as? ParseError ?? ParseError(swift: error)
868 | callbackQueue.async {
869 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
870 | }
871 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:894:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
892 | guard limit > 0 else {
893 | callbackQueue.async {
894 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
895 | }
896 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:910:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
908 | message: "Cannot decode \"where\" to String.")
909 | callbackQueue.async {
910 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
911 | }
912 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:934:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
932 | let parseError = error as? ParseError ?? ParseError(swift: error)
933 | callbackQueue.async {
934 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
935 | }
936 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:966:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
964 | guard limit > 0 else {
965 | callbackQueue.async {
966 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
967 | }
968 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:982:21: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
980 | message: "Cannot decode \"where\" to String.")
981 | callbackQueue.async {
982 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
983 | }
984 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1007:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1005 | let parseError = error as? ParseError ?? ParseError(swift: error)
1006 | callbackQueue.async {
1007 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1008 | }
1009 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1019:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1017 | let parseError = error as? ParseError ?? ParseError(swift: error)
1018 | callbackQueue.async {
1019 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1020 | }
1021 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1044:17: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
1042 | guard limit > 0 else {
1043 | callbackQueue.async {
1044 | completion(.success([ResultType]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1045 | }
1046 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1059:21: warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
1057 | let parseError = error as? ParseError ?? ParseError(swift: error)
1058 | callbackQueue.async {
1059 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[Query<T>.ResultType], ParseError>) -> Void' (aka '(Result<Array<T>, ParseError>) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1060 | }
1061 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1091:17: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1089 | guard limit > 0 else {
1090 | callbackQueue.async {
1091 | completion(.success([U]()))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1092 | }
1093 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1107:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1105 | let parseError = error as? ParseError ?? ParseError(swift: error)
1106 | callbackQueue.async {
1107 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1108 | }
1109 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1119:25: warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1117 | let parseError = error as? ParseError ?? ParseError(swift: error)
1118 | callbackQueue.async {
1119 | completion(.failure(parseError))
| |- warning: capture of 'completion' with non-sendable type '(Result<[U], ParseError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1120 | }
1121 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Parse.swift:11:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | internal struct Parse {
11 | static var configuration: ParseConfiguration!
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | static var sessionDelegate: ParseURLSessionDelegate!
13 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/QueryConstraint.swift:52:9: warning: stored property 'value' of 'Sendable'-conforming struct 'QueryConstraint' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
50 |
51 | var key: String
52 | var value: AnyCodable?
| `- warning: stored property 'value' of 'Sendable'-conforming struct 'QueryConstraint' has non-sendable type 'AnyCodable?'; this is an error in the Swift 6 language mode
53 | var comparator: Comparator?
54 | var isNull = false
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Coding/AnyCodable.swift:18:8: note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
16 | Source: https://github.com/Flight-School/AnyCodable
17 | */
18 | struct AnyCodable: Codable {
| `- note: consider making struct 'AnyCodable' conform to the 'Sendable' protocol
19 |
20 | let value: Any
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Extensions/URLSession.swift:17:16: warning: static property 'parse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | internal extension URLSession {
16 | #if !os(Linux) && !os(Android) && !os(Windows)
17 | static var parse = URLSession.shared
| |- warning: static property 'parse' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'parse' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'parse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 | static var parse: URLSession = {
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Parse.swift:12:16: warning: static property 'sessionDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | internal struct Parse {
11 | static var configuration: ParseConfiguration!
12 | static var sessionDelegate: ParseURLSessionDelegate!
| |- warning: static property 'sessionDelegate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sessionDelegate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sessionDelegate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:265:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
263 | callbackQueue: DispatchQueue = .main,
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
266 | var options = options
267 | options.insert(.usePrimaryKey)
:
270 | .execute(options: options,
271 | callbackQueue: callbackQueue,
272 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
273 | }
274 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:304:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
305 | var options = options
306 | options.insert(.usePrimaryKey)
:
309 | .execute(options: options,
310 | callbackQueue: callbackQueue,
311 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
312 | }
313 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:338:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
336 | }
337 | let schema = mutableSchema
338 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
339 | var options = options
340 | options.insert(.usePrimaryKey)
:
343 | .execute(options: options,
344 | callbackQueue: callbackQueue,
345 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
346 | }
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:389:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
389 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
390 | var options = options
391 | options.insert(.usePrimaryKey)
:
396 |
397 | case .success:
398 | completion(.success(()))
| `- note: closure captures 'completion' which is accessible to code in the current task
399 | case .failure(let error):
400 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:427:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
427 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
428 | var options = options
429 | options.insert(.usePrimaryKey)
:
434 |
435 | case .success:
436 | completion(.success(()))
| `- note: closure captures 'completion' which is accessible to code in the current task
437 | case .failure(let error):
438 | completion(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:88:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
88 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
:
93 | callbackQueue: callbackQueue,
94 | allowIntermediateResponses: allowIntermediateResponses,
95 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
96 | }
97 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:145:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
143 | callbackQueue: DispatchQueue = .main,
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
146 | var options = options
147 | options.insert(.usePrimaryKey)
:
150 | .execute(options: options,
151 | callbackQueue: callbackQueue,
152 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
153 | }
154 | }
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:483:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
481 | return
482 | }
483 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
484 | do {
485 | try await findCommand().execute(options: options,
486 | callbackQueue: callbackQueue,
487 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
488 | } catch {
489 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:522:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
520 | return
521 | }
522 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
526 | callbackQueue: callbackQueue,
527 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
528 | } catch {
529 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:583:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
581 | }
582 |
583 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
584 | var query = self
585 | .order([.ascending("objectId")])
:
605 | let parseError = error as? ParseError ?? ParseError(swift: error)
606 | callbackQueue.async {
607 | completion(.failure(parseError))
| `- note: closure captures 'completion' which is accessible to code in the current task
608 | }
609 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:639:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
637 | return
638 | }
639 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
640 | do {
641 | try await firstCommand().execute(options: options,
642 | callbackQueue: callbackQueue,
643 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
644 | } catch {
645 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:682:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
680 | return
681 | }
682 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
686 | callbackQueue: callbackQueue,
687 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
688 | } catch {
689 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:726:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
724 | return
725 | }
726 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
727 | do {
728 | try await countCommand().execute(options: options,
729 | callbackQueue: callbackQueue,
730 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
731 | } catch {
732 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:765:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
763 | return
764 | }
765 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
769 | callbackQueue: callbackQueue,
770 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
771 | } catch {
772 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:810:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
808 | return
809 | }
810 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
811 | do {
812 | try await withCountCommand().execute(options: options,
813 | callbackQueue: callbackQueue,
814 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
815 | } catch {
816 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:849:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
847 | return
848 | }
849 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
853 | callbackQueue: callbackQueue,
854 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
855 | } catch {
856 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:898:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
896 | return
897 | }
898 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
899 | var options = options
900 | options.insert(.usePrimaryKey)
:
908 | message: "Cannot decode \"where\" to String.")
909 | callbackQueue.async {
910 | completion(.failure(error))
| `- note: closure captures 'completion' which is accessible to code in the current task
911 | }
912 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:970:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
968 | return
969 | }
970 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
971 | var options = options
972 | options.insert(.usePrimaryKey)
:
980 | message: "Cannot decode \"where\" to String.")
981 | callbackQueue.async {
982 | completion(.failure(error))
| `- note: closure captures 'completion' which is accessible to code in the current task
983 | }
984 | return
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1048:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1046 | return
1047 | }
1048 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1049 | var options = options
1050 | options.insert(.usePrimaryKey)
:
1053 | .execute(options: options,
1054 | callbackQueue: callbackQueue,
1055 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
1056 | } catch {
1057 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1095:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1093 | return
1094 | }
1095 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
1096 | var options = options
1097 | options.insert(.usePrimaryKey)
:
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
1103 | completion: completion)
| `- note: closure captures 'completion' which is accessible to code in the current task
1104 | } catch {
1105 | let parseError = error as? ParseError ?? ParseError(swift: error)
/Users/admin/builder/spi-builder-workspace/Sources/ParseSwift/Types/QueryViewModel.swift:99:44: warning: sending 'pipeline' risks causing data races; this is an error in the Swift 6 language mode
97 | options: API.Options = []) async {
98 | do {
99 | self.results = try await query.aggregate(pipeline, options: options)
| |- warning: sending 'pipeline' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'pipeline' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
100 | } catch {
101 | self.error = error as? ParseError ?? ParseError(swift: error)
Build complete! (22.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ParseSwift",
"name" : "ParseSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ParseSwift",
"targets" : [
"ParseSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ParseSwiftTests",
"module_type" : "SwiftTarget",
"name" : "ParseSwiftTests",
"path" : "Tests/ParseSwiftTests",
"sources" : [
"APICommandMultipleAttemptsTests.swift",
"APICommandTests.swift",
"AnyCodableTests/AnyCodableTests.swift",
"AnyCodableTests/AnyDecodableTests.swift",
"AnyCodableTests/AnyEncodableTests.swift",
"BatchUtilsTests.swift",
"ExtensionsTests.swift",
"IOS13Tests.swift",
"InitializeSDKTests.swift",
"KeychainStoreTests.swift",
"MigrateObjCSDKCombineTests.swift",
"MigrateObjCSDKTests.swift",
"NetworkMocking/MockURLProtocol.swift",
"NetworkMocking/MockURLResponse.swift",
"ObjectEndpointTests.swift",
"ParseACLTests.swift",
"ParseAnalyticsAsyncTests.swift",
"ParseAnalyticsCombineTests.swift",
"ParseAnalyticsTests.swift",
"ParseAnonymousAsyncTests.swift",
"ParseAnonymousCombineTests.swift",
"ParseAnonymousTests.swift",
"ParseAppleCombineTests.swift",
"ParseAppleTests.swift",
"ParseAuthenticationAsyncTests.swift",
"ParseAuthenticationCombineTests.swift",
"ParseAuthenticationTests.swift",
"ParseBytesTests.swift",
"ParseCLPTests.swift",
"ParseCloudViewModelTests.swift",
"ParseCloudableAsyncTests.swift",
"ParseCloudableCombineTests.swift",
"ParseCloudableTests.swift",
"ParseConfigAsyncTests.swift",
"ParseConfigCodableCombineTests.swift",
"ParseConfigCodableTests.swift",
"ParseConfigCombineTests.swift",
"ParseConfigTests.swift",
"ParseEncoderTests/ParseEncoderExtraTests.swift",
"ParseEncoderTests/TestParseEncoder.swift",
"ParseErrorTests.swift",
"ParseFacebookCombineTests.swift",
"ParseFacebookTests.swift",
"ParseFileAsyncTests.swift",
"ParseFileCombineTests.swift",
"ParseFileManagerTests.swift",
"ParseFileTests.swift",
"ParseFileTransferableTests.swift",
"ParseGeoPointTests.swift",
"ParseGitHubCombineTests.swift",
"ParseGitHubTests.swift",
"ParseGoogleCombineTests.swift",
"ParseGoogleTests.swift",
"ParseHookFunctionCombineTests.swift",
"ParseHookFunctionRequestCombineTests.swift",
"ParseHookFunctionRequestTests.swift",
"ParseHookFunctionTests.swift",
"ParseHookResponseTests.swift",
"ParseHookTriggerCombineTests.swift",
"ParseHookTriggerRequestCombineTests.swift",
"ParseHookTriggerRequestTests.swift",
"ParseHookTriggerTests.swift",
"ParseInstagramCombineTests.swift",
"ParseInstagramTests.swift",
"ParseInstallationCombineTests.swift",
"ParseInstallationTests.swift",
"ParseKeychainAccessGroupTests.swift",
"ParseLDAPCombineTests.swift",
"ParseLDAPTests.swift",
"ParseLinkedInCombineTests.swift",
"ParseLinkedInTests.swift",
"ParseLiveQueryAsyncTests.swift",
"ParseLiveQueryCombineTests.swift",
"ParseLiveQueryTests.swift",
"ParseObjectAsyncTests.swift",
"ParseObjectBatchTests.swift",
"ParseObjectCombineTests.swift",
"ParseObjectCustomObjectIdTests.swift",
"ParseObjectTests.swift",
"ParseOperationAsyncTests.swift",
"ParseOperationCombineTests.swift",
"ParseOperationTests.swift",
"ParsePointerAsyncTests.swift",
"ParsePointerCombineTests.swift",
"ParsePointerTests.swift",
"ParsePolygonTests.swift",
"ParsePushAsyncTests.swift",
"ParsePushCombineTests.swift",
"ParsePushPayloadAnyTests.swift",
"ParsePushPayloadAppleTests.swift",
"ParsePushPayloadFirebaseTests.swift",
"ParsePushTests.swift",
"ParseQueryAsyncTests.swift",
"ParseQueryCacheTests.swift",
"ParseQueryCombineTests.swift",
"ParseQueryTests.swift",
"ParseQueryViewModelTests.swift",
"ParseRelationTests.swift",
"ParseRoleTests.swift",
"ParseSchemaAsyncTests.swift",
"ParseSchemaCombineTests.swift",
"ParseSchemaTests.swift",
"ParseServerAsyncTests.swift",
"ParseServerCombineTests.swift",
"ParseServerTests.swift",
"ParseSessionTests.swift",
"ParseSpotifyCombineTests.swift",
"ParseSpotifyTests.swift",
"ParseTwitterCombineTests.swift",
"ParseTwitterTests.swift",
"ParseUserCombineTests.swift",
"ParseUserTests.swift",
"ParseVersionTests.swift"
],
"target_dependencies" : [
"ParseSwift"
],
"type" : "test"
},
{
"c99name" : "ParseSwift",
"module_type" : "SwiftTarget",
"name" : "ParseSwift",
"path" : "Sources/ParseSwift",
"product_memberships" : [
"ParseSwift"
],
"sources" : [
"API/API+BatchCommand.swift",
"API/API+Command+async.swift",
"API/API+Command.swift",
"API/API+NonParseBodyCommand+async.swift",
"API/API+NonParseBodyCommand.swift",
"API/API.swift",
"API/BatchUtils.swift",
"API/ParseURLSessionDelegate.swift",
"API/Responses.swift",
"Authentication/3rd Party/ParseApple/ParseApple+async.swift",
"Authentication/3rd Party/ParseApple/ParseApple+combine.swift",
"Authentication/3rd Party/ParseApple/ParseApple.swift",
"Authentication/3rd Party/ParseFacebook/ParseFacebook+async.swift",
"Authentication/3rd Party/ParseFacebook/ParseFacebook+combine.swift",
"Authentication/3rd Party/ParseFacebook/ParseFacebook.swift",
"Authentication/3rd Party/ParseGithub/ParseGitHub+async.swift",
"Authentication/3rd Party/ParseGithub/ParseGitHub+combine.swift",
"Authentication/3rd Party/ParseGithub/ParseGitHub.swift",
"Authentication/3rd Party/ParseGoogle/ParseGoogle+async.swift",
"Authentication/3rd Party/ParseGoogle/ParseGoogle+combine.swift",
"Authentication/3rd Party/ParseGoogle/ParseGoogle.swift",
"Authentication/3rd Party/ParseInstagram/ParseInstagram+async.swift",
"Authentication/3rd Party/ParseInstagram/ParseInstagram+combine.swift",
"Authentication/3rd Party/ParseInstagram/ParseInstagram.swift",
"Authentication/3rd Party/ParseLDAP/ParseLDAP+async.swift",
"Authentication/3rd Party/ParseLDAP/ParseLDAP+combine.swift",
"Authentication/3rd Party/ParseLDAP/ParseLDAP.swift",
"Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+async.swift",
"Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn+combine.swift",
"Authentication/3rd Party/ParseLinkedIn/ParseLinkedIn.swift",
"Authentication/3rd Party/ParseSpotify/ParseSpotify+async.swift",
"Authentication/3rd Party/ParseSpotify/ParseSpotify+combine.swift",
"Authentication/3rd Party/ParseSpotify/ParseSpotify.swift",
"Authentication/3rd Party/ParseTwitter/ParseTwitter+async.swift",
"Authentication/3rd Party/ParseTwitter/ParseTwitter+combine.swift",
"Authentication/3rd Party/ParseTwitter/ParseTwitter.swift",
"Authentication/Internal/ParseAnonymous+async.swift",
"Authentication/Internal/ParseAnonymous+combine.swift",
"Authentication/Internal/ParseAnonymous.swift",
"Authentication/Protocols/ParseAuthentication+async.swift",
"Authentication/Protocols/ParseAuthentication+combine.swift",
"Authentication/Protocols/ParseAuthentication.swift",
"Coding/AnyCodable.swift",
"Coding/AnyDecodable.swift",
"Coding/AnyEncodable.swift",
"Coding/ParseCoding.swift",
"Coding/ParseEncoder.swift",
"Extensions/Data.swift",
"Extensions/Date.swift",
"Extensions/Dictionary.swift",
"Extensions/Encodable.swift",
"Extensions/InputStream.swift",
"Extensions/URLCache.swift",
"Extensions/URLSession.swift",
"InternalObjects/BaseConfig.swift",
"InternalObjects/BaseParseInstallation.swift",
"InternalObjects/BaseParseUser.swift",
"InternalObjects/NoBody.swift",
"LiveQuery/LiveQueryConstants.swift",
"LiveQuery/LiveQuerySocket.swift",
"LiveQuery/Messages.swift",
"LiveQuery/Operations.swift",
"LiveQuery/ParseLiveQuery+async.swift",
"LiveQuery/ParseLiveQuery+combine.swift",
"LiveQuery/ParseLiveQuery.swift",
"LiveQuery/Protocols/LiveQuerySocketDelegate.swift",
"LiveQuery/Protocols/LiveQueryable.swift",
"LiveQuery/Protocols/ParseLiveQueryDelegate.swift",
"LiveQuery/Protocols/QuerySubscribable.swift",
"LiveQuery/SocketTasks.swift",
"LiveQuery/Subscription.swift",
"LiveQuery/SubscriptionCallback.swift",
"LiveQuery/Subscriptions.swift",
"Objects/ParseCloudUser.swift",
"Objects/ParseInstallation+async.swift",
"Objects/ParseInstallation+combine.swift",
"Objects/ParseInstallation.swift",
"Objects/ParseObject+async.swift",
"Objects/ParseObject+combine.swift",
"Objects/ParseObject.swift",
"Objects/ParsePushStatusable.swift",
"Objects/ParseRole.swift",
"Objects/ParseSession.swift",
"Objects/ParseUser+async.swift",
"Objects/ParseUser+combine.swift",
"Objects/ParseUser.swift",
"Parse.swift",
"ParseConstants.swift",
"Protocols/CloudObservable.swift",
"Protocols/Deletable.swift",
"Protocols/Fetchable.swift",
"Protocols/Fileable.swift",
"Protocols/Objectable.swift",
"Protocols/ParseCloudable+async.swift",
"Protocols/ParseCloudable+combine.swift",
"Protocols/ParseCloudable.swift",
"Protocols/ParseConfig+async.swift",
"Protocols/ParseConfig+combine.swift",
"Protocols/ParseConfig.swift",
"Protocols/ParseEncodable.swift",
"Protocols/ParseFileTransferable.swift",
"Protocols/ParseHookFunctionable+async.swift",
"Protocols/ParseHookFunctionable+combine.swift",
"Protocols/ParseHookFunctionable.swift",
"Protocols/ParseHookParametable.swift",
"Protocols/ParseHookRequestable+async.swift",
"Protocols/ParseHookRequestable+combine.swift",
"Protocols/ParseHookRequestable.swift",
"Protocols/ParseHookTriggerRequestable.swift",
"Protocols/ParseHookTriggerable+async.swift",
"Protocols/ParseHookTriggerable+combine.swift",
"Protocols/ParseHookTriggerable.swift",
"Protocols/ParseHookable.swift",
"Protocols/ParseOperationable.swift",
"Protocols/ParsePointerable+async.swift",
"Protocols/ParsePointerable+combine.swift",
"Protocols/ParsePointerable.swift",
"Protocols/ParsePushApplePayloadable.swift",
"Protocols/ParsePushFirebasePayloadable.swift",
"Protocols/ParsePushPayloadable.swift",
"Protocols/ParseQueryScorable.swift",
"Protocols/ParseRelationOperationable.swift",
"Protocols/ParseTypeable.swift",
"Protocols/QueryObservable.swift",
"Protocols/Queryable.swift",
"Protocols/Savable.swift",
"Storage/InMemoryPrimitiveStore.swift",
"Storage/KeychainStore.swift",
"Storage/ParseFileManager.swift",
"Storage/ParsePrimitiveStorable.swift",
"Storage/ParseStorage.swift",
"Storage/SecureStorable.swift",
"Types/CloudViewModel.swift",
"Types/Operations/ParseOperationAdd.swift",
"Types/Operations/ParseOperationAddRelation.swift",
"Types/Operations/ParseOperationAddUnique.swift",
"Types/Operations/ParseOperationBatch.swift",
"Types/Operations/ParseOperationCommand.swift",
"Types/Operations/ParseOperationDelete.swift",
"Types/Operations/ParseOperationIncrement.swift",
"Types/Operations/ParseOperationIncrementDouble.swift",
"Types/Operations/ParseOperationRemove.swift",
"Types/Operations/ParseOperationRemoveRelation.swift",
"Types/ParseACL.swift",
"Types/ParseAnalytics+async.swift",
"Types/ParseAnalytics+combine.swift",
"Types/ParseAnalytics.swift",
"Types/ParseBytes.swift",
"Types/ParseCLP.swift",
"Types/ParseConfigCodable+async.swift",
"Types/ParseConfigCodable+combine.swift",
"Types/ParseConfigCodable.swift",
"Types/ParseConfiguration.swift",
"Types/ParseError.swift",
"Types/ParseField.swift",
"Types/ParseFieldOptions.swift",
"Types/ParseFile+async.swift",
"Types/ParseFile+combine.swift",
"Types/ParseFile.swift",
"Types/ParseFileDefaultTransfer.swift",
"Types/ParseGeoPoint.swift",
"Types/ParseHookFunction.swift",
"Types/ParseHookFunctionRequest.swift",
"Types/ParseHookResponse.swift",
"Types/ParseHookTrigger.swift",
"Types/ParseHookTriggerObjectRequest.swift",
"Types/ParseHookTriggerRequest.swift",
"Types/ParseKeychainAccessGroup.swift",
"Types/ParseOperation+async.swift",
"Types/ParseOperation+combine.swift",
"Types/ParseOperation.swift",
"Types/ParsePolygon.swift",
"Types/ParsePush+async.swift",
"Types/ParsePush+combine.swift",
"Types/ParsePush.swift",
"Types/ParsePushPayload/Apple/ParsePushAppleAlert.swift",
"Types/ParsePushPayload/Apple/ParsePushAppleSound.swift",
"Types/ParsePushPayload/Apple/ParsePushPayloadApple.swift",
"Types/ParsePushPayload/Firebase/ParsePushFirebaseNotification.swift",
"Types/ParsePushPayload/Firebase/ParsePushPayloadFirebase.swift",
"Types/ParsePushPayload/ParsePushPayloadAny.swift",
"Types/ParsePushStatus.swift",
"Types/ParseRelation.swift",
"Types/ParseSchema+async.swift",
"Types/ParseSchema+combine.swift",
"Types/ParseSchema.swift",
"Types/ParseServer+async.swift",
"Types/ParseServer+combine.swift",
"Types/ParseServer.swift",
"Types/ParseVersion.swift",
"Types/Pointer+async.swift",
"Types/Pointer+combine.swift",
"Types/Pointer.swift",
"Types/Query+async.swift",
"Types/Query+combine.swift",
"Types/Query.swift",
"Types/QueryConstraint.swift",
"Types/QueryViewModel.swift",
"Types/QueryWhere.swift",
"Utility.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.