Build Information
Failed to build ParseSwift, reference main (3d4bb1
), with Swift 6.1 for Linux on 27 Apr 2025 05:10:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[176/184] Compiling ParseSwift Pointer+async.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[177/184] Compiling ParseSwift Pointer+combine.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[178/184] Compiling ParseSwift Pointer.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[179/184] Compiling ParseSwift Query+async.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[180/184] Compiling ParseSwift Query+combine.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[181/184] Compiling ParseSwift Query.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[182/184] Compiling ParseSwift QueryConstraint.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[183/184] Compiling ParseSwift QueryViewModel.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
[184/184] Compiling ParseSwift QueryWhere.swift
/host/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 | }
/host/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 | }
/host/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 | }
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Pointer+async.swift:29: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
27 | self.fetch(includeKeys: includeKeys,
28 | options: options,
29 | 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
30 | }
31 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:25: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
23 | try await withCheckedThrowingContinuation { continuation in
24 | self.find(options: options,
25 | 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
26 | }
27 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:48: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
46 | self.findExplain(usingMongoDB: usingMongoDB,
47 | options: options,
48 | 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
49 | }
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:66: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
64 | self.findAll(batchLimit: batchLimit,
65 | options: options,
66 | 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
67 | }
68 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:79: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
77 | try await withCheckedThrowingContinuation { continuation in
78 | self.first(options: options,
79 | 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
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:102: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
100 | self.firstExplain(usingMongoDB: usingMongoDB,
101 | options: options,
102 | 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
103 | }
104 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:115: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
113 | try await withCheckedThrowingContinuation { continuation in
114 | self.count(options: options,
115 | 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
116 | }
117 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:138: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
136 | self.countExplain(usingMongoDB: usingMongoDB,
137 | options: options,
138 | 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
139 | }
140 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:152: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
150 | try await withCheckedThrowingContinuation { continuation in
151 | self.withCount(options: options,
152 | 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
153 | }
154 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:175: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
173 | self.withCountExplain(usingMongoDB: usingMongoDB,
174 | options: options,
175 | 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
176 | }
177 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:194: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
192 | self.aggregate(pipeline,
193 | options: options,
194 | 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
195 | }
196 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:223: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
221 | usingMongoDB: usingMongoDB,
222 | options: options,
223 | 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
224 | }
225 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:242: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
240 | self.distinct(key,
241 | options: options,
242 | 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
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:271: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
269 | usingMongoDB: usingMongoDB,
270 | options: options,
271 | 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
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:48:26: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
46 | }
47 |
48 | struct AggregateBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
49 | let pipeline: [[String: AnyCodable]]?
50 | let hint: AnyCodable?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:79:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
13 | The `Query` class defines a query that is used to query for `ParseObject`s.
14 | */
15 | public struct Query<T>: ParseTypeable where T: ParseObject {
| `- note: 'T' previously declared here
16 | // interpolate as GET
17 | private let method: String = "GET"
:
77 | }
78 |
79 | struct DistinctBody<T>: Codable where T: ParseObject {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
80 | let hint: AnyCodable?
81 | let explain: Bool?
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:683:37: warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
681 |
682 | callbackQueue.async {
683 | completion(.success(results))
| `- warning: reference to captured var 'results' in concurrently-executing code; this is an error in the Swift 6 language mode
684 | }
685 | }
BUILD FAILURE 6.1 linux