Build Information
Failed to build ParseCareKit, reference 2.0.4 (97c1cd), with Swift 6.1 for Wasm on 31 Jan 2026 02:27:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
846 | usingMongoDB: Bool = false,
847 | options: API.Options = [],
848 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:180:18: error: generic parameter 'U' could not be inferred
173 | [here](https://github.com/parse-community/parse-server/pull/7440).
174 | */
175 | func withCountExplain<U: Decodable & Sendable>(
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
176 | usingMongoDB: Bool = false,
177 | options: API.Options = []
178 | ) async throws -> [U] {
179 | try await withCheckedThrowingContinuation { continuation in
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:182:47: error: extra argument 'completion' in call
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
183 | }
184 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:898:42: error: cannot find type 'DispatchQueue' in scope
896 | public func aggregate(_ pipeline: [[String: Encodable & Sendable]],
897 | options: API.Options = [],
898 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
899 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
900 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:201:40: error: extra argument 'completion' in call
199 | self.aggregate(pipeline,
200 | options: options,
201 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
202 | }
203 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:971:18: error: cannot find type 'DispatchQueue' in scope
969 | usingMongoDB: Bool = false,
970 | options: API.Options = [],
971 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
972 | completion: @escaping @Sendable (Result<[U], ParseError>
973 | ) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:229:18: error: generic parameter 'U' could not be inferred
221 | [here](https://github.com/parse-community/parse-server/pull/7440).
222 | */
223 | func aggregateExplain<U: Decodable & Sendable>(
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
224 | _ pipeline: [[String: Encodable & Sendable]],
225 | usingMongoDB: Bool = false,
:
227 | ) async throws -> [U] {
228 | try await withCheckedThrowingContinuation { continuation in
229 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
230 | usingMongoDB: usingMongoDB,
231 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:232:47: error: extra argument 'completion' in call
230 | usingMongoDB: usingMongoDB,
231 | options: options,
232 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
233 | }
234 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1050:41: error: cannot find type 'DispatchQueue' in scope
1048 | public func distinct(_ key: String,
1049 | options: API.Options = [],
1050 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1051 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
1052 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:249:18: error: cannot call value of non-function type 'String?'
247 | options: API.Options = []) async throws -> [ResultType] {
248 | try await withCheckedThrowingContinuation { continuation in
249 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
250 | options: options,
251 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1098:18: error: cannot find type 'DispatchQueue' in scope
1096 | usingMongoDB: Bool = false,
1097 | options: API.Options = [],
1098 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1099 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
1100 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:282:46: error: extra argument 'completion' in call
280 | usingMongoDB: usingMongoDB,
281 | options: options,
282 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
283 | }
284 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:279:18: error: generic parameter 'U' could not be inferred
271 | [here](https://github.com/parse-community/parse-server/pull/7440).
272 | */
273 | func distinctExplain<U: Decodable & Sendable>(
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
274 | _ key: String,
275 | usingMongoDB: Bool = false,
:
277 | ) async throws -> [U] {
278 | try await withCheckedThrowingContinuation { continuation in
279 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
280 | usingMongoDB: usingMongoDB,
281 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:38:37: error: cannot find type 'DispatchQueue' in scope
36 | // MARK: Asynchronous Execution
37 | func execute(options: API.Options,
38 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
39 | allowIntermediateResponses: Bool = false,
40 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:17:33: error: cannot find type 'DispatchQueue' in scope
15 | // MARK: Asynchronous Execution
16 | func execute(options: API.Options,
17 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
18 | allowIntermediateResponses: Bool = false) async throws -> U {
19 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:527:31: error: generic parameter 'U' could not be inferred
525 | if !usingMongoDB {
526 | do {
527 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
528 | callbackQueue: callbackQueue,
529 | completion: completion)
:
1260 | }
1261 |
1262 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1263 | try await yieldIfNotInitialized()
1264 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:689:31: error: generic parameter 'U' could not be inferred
687 | if !usingMongoDB {
688 | do {
689 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
690 | callbackQueue: callbackQueue,
691 | completion: completion)
:
1279 | }
1280 |
1281 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1282 | try await yieldIfNotInitialized()
1283 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:774:31: error: generic parameter 'U' could not be inferred
772 | if !usingMongoDB {
773 | do {
774 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
775 | callbackQueue: callbackQueue,
776 | completion: completion)
:
1313 | }
1314 |
1315 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1316 | try await yieldIfNotInitialized()
1317 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:860:31: error: generic parameter 'U' could not be inferred
858 | if !usingMongoDB {
859 | do {
860 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
861 | callbackQueue: callbackQueue,
862 | completion: completion)
:
1334 | }
1335 |
1336 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1337 | try await yieldIfNotInitialized()
1338 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1112:31: error: generic parameter 'U' could not be inferred
1110 | if !usingMongoDB {
1111 | do {
1112 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1113 | .execute(options: options,
1114 | callbackQueue: callbackQueue,
:
1376 |
1377 | // swiftlint:disable:next line_length
1378 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1379 | try await yieldIfNotInitialized()
1380 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:18:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 | static func updateParseURLSession() {
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 | configuration.urlCache = URLCache.parse
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:19:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
19 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseConfiguration.swift:66:51: error: cannot find 'URLRequest' in scope
64 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
65 | /// for more info.
66 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
67 |
68 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:25:20: error: 'nil' requires a contextual type
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
25 | delegateQueue: nil
| `- error: 'nil' requires a contextual type
26 | )
27 | } else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:15: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
36 | #endif
37 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | #endif
37 | }
[311/396] Compiling ParseSwift QueryConstraint.swift
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:264:38: error: cannot find type 'DispatchQueue' in scope
262 | */
263 | public func fetch(options: API.Options = [],
264 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
265 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
266 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:30:36: error: extra argument 'completion' in call
28 | try await withCheckedThrowingContinuation { continuation in
29 | self.fetch(options: options,
30 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
31 | }
32 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:303:39: error: cannot find type 'DispatchQueue' in scope
301 | */
302 | public func create(options: API.Options = [],
303 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
304 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
305 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:48:37: error: extra argument 'completion' in call
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.create(options: options,
48 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
49 | }
50 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:330:39: error: cannot find type 'DispatchQueue' in scope
328 | */
329 | public func update(options: API.Options = [],
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
332 | var mutableSchema = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:66:37: error: extra argument 'completion' in call
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.update(options: options,
66 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
67 | }
68 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:387:24: error: cannot find type 'DispatchQueue' in scope
385 | public func purge(
386 | options: API.Options = [],
387 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
388 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
389 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:82:13: error: generic parameter 'T' could not be inferred
80 | */
81 | func purge(options: API.Options = []) async throws {
82 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
83 | self.purge(
84 | options: options,
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:85:17: error: extra argument 'completion' in call
83 | self.purge(
84 | options: options,
85 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
86 | )
87 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:425:24: error: cannot find type 'DispatchQueue' in scope
423 | public func delete(
424 | options: API.Options = [],
425 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
426 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
427 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:103:13: error: generic parameter 'T' could not be inferred
101 | */
102 | func delete(options: API.Options = []) async throws {
103 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:105:19: error: extra argument 'completion' in call
103 | try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API.swift:174:26: error: cannot find type 'URLRequest' in scope
172 | /// [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
173 | /// for more info.
174 | case cachePolicy(URLRequest.CachePolicy)
| `- error: cannot find type 'URLRequest' in scope
175 | /// Use a specific server URL.
176 | /// - note: The URL of the Swift SDK is provided by default. Only set this
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:269:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
267 | var options = options
268 | options.insert(.usePrimaryKey)
269 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
270 | await fetchCommand()
271 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:308:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
306 | var options = options
307 | options.insert(.usePrimaryKey)
308 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
309 | await createCommand()
310 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:342:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
340 | var options = options
341 | options.insert(.usePrimaryKey)
342 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
343 | await schema.updateCommand()
344 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:393:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
391 | var options = options
392 | options.insert(.usePrimaryKey)
393 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
394 | await purgeCommand().execute(options: options,
395 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:431:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
429 | var options = options
430 | options.insert(.usePrimaryKey)
431 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
432 | await deleteCommand().execute(options: options,
433 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:82:46: error: cannot find type 'DispatchQueue' in scope
80 | */
81 | static public func health(options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | allowIntermediateResponses: Bool = true,
84 | completion: @escaping @Sendable (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:27:24: error: extra arguments at positions #2, #3 in call
23 | this method.
24 | */
25 | static func health(options: API.Options = []) async throws -> Status {
| `- note: 'health(options:)' declared here
26 | try await withCheckedThrowingContinuation { continuation in
27 | Self.health(options: options,
| `- error: extra arguments at positions #2, #3 in call
28 | allowIntermediateResponses: false,
29 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:119:51: error: cannot find type 'DispatchQueue' in scope
117 | */
118 | static public func information(options: API.Options = [],
119 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
120 | completion: @escaping @Sendable (Result<Information, ParseError>) -> Void) {
121 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:45:42: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | Self.information(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:87:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
85 | Task {
86 | var options = options
87 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | await healthCommand()
89 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:124:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
122 | var options = options
123 | options.insert(.usePrimaryKey)
124 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
125 | await infoCommand()
126 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/ParsePointerable.swift:85:31: error: cannot find type 'DispatchQueue' in scope
83 | func fetch(includeKeys: [String]? = nil,
84 | options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | completion: @escaping @Sendable (Result<Object, ParseError>) -> Void) {
87 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Pointer+async.swift:28:36: error: extra argument 'completion' in call
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
29 | }
30 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) async throws -> ResultType
15 | func count(options: API.Options) async throws -> Int
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:475:37: error: cannot find type 'DispatchQueue' in scope
473 | */
474 | public func find(options: API.Options = [],
475 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
476 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:34:18: error: cannot find type 'DispatchQueue' in scope
32 | */
33 | func find(
34 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
35 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void
36 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:24:35: error: extra argument 'completion' in call
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
25 | }
26 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:515:18: error: cannot find type 'DispatchQueue' in scope
513 | usingMongoDB: Bool = false,
514 | options: API.Options = [],
515 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
516 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
517 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:49:42: error: extra argument 'completion' in call
47 | self.findExplain(usingMongoDB: usingMongoDB,
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:47:18: error: generic parameter 'U' could not be inferred
40 | [here](https://github.com/parse-community/parse-server/pull/7440).
41 | */
42 | func findExplain<U: Decodable & Sendable>(
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | usingMongoDB: Bool = false,
44 | options: API.Options = []
45 | ) async throws -> [U] {
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:566:40: error: cannot find type 'DispatchQueue' in scope
564 | public func findAll(batchLimit limit: Int? = nil,
565 | options: API.Options = [],
566 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
567 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
568 | if self.limit == 0 {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:67:38: error: extra argument 'completion' in call
65 | self.findAll(batchLimit: batchLimit,
66 | options: options,
67 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
68 | }
69 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:18:53: error: cannot find type 'DispatchQueue' in scope
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:631:38: error: cannot find type 'DispatchQueue' in scope
629 | */
630 | public func first(options: API.Options = [],
631 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
632 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void) {
633 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:52:18: error: cannot find type 'DispatchQueue' in scope
50 | */
51 | func first(
52 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
53 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void
54 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:80:36: error: extra argument 'completion' in call
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.first(options: options,
80 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
81 | }
82 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:675:18: error: cannot find type 'DispatchQueue' in scope
673 | usingMongoDB: Bool = false,
674 | options: API.Options = [],
675 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
676 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void
677 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:103:18: error: type 'Void' cannot conform to 'Decodable'
96 | [here](https://github.com/parse-community/parse-server/pull/7440).
97 | */
98 | func firstExplain<U: Decodable & Sendable>(
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
99 | usingMongoDB: Bool = false,
100 | options: API.Options = []
101 | ) async throws -> U {
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.firstExplain(usingMongoDB: usingMongoDB,
| |- error: type 'Void' cannot conform to 'Decodable'
| `- note: only concrete types such as structs, enums and classes can conform to protocols
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:105:43: error: extra argument 'completion' in call
103 | self.firstExplain(usingMongoDB: usingMongoDB,
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:20:53: error: cannot find type 'DispatchQueue' in scope
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:722:38: error: cannot find type 'DispatchQueue' in scope
720 | */
721 | public func count(options: API.Options = [],
722 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
723 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void) {
724 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:66:18: error: cannot find type 'DispatchQueue' in scope
64 | */
65 | func count(
66 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
67 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void
68 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:118:36: error: extra argument 'completion' in call
116 | try await withCheckedThrowingContinuation { continuation in
117 | self.count(options: options,
118 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
119 | }
120 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:762:18: error: cannot find type 'DispatchQueue' in scope
760 | usingMongoDB: Bool = false,
761 | options: API.Options = [],
762 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
763 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
764 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:141:18: error: generic parameter 'U' could not be inferred
134 | [here](https://github.com/parse-community/parse-server/pull/7440).
135 | */
136 | func countExplain<U: Decodable & Sendable>(
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
137 | usingMongoDB: Bool = false,
138 | options: API.Options = []
139 | ) async throws -> [U] {
140 | try await withCheckedThrowingContinuation { continuation in
141 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:143:43: error: extra argument 'completion' in call
141 | self.countExplain(usingMongoDB: usingMongoDB,
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
144 | }
145 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:808:42: error: cannot find type 'DispatchQueue' in scope
806 | */
807 | public func withCount(options: API.Options = [],
808 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
809 | completion: @escaping @Sendable (Result<([ResultType], Int), ParseError>) -> Void) {
810 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:157:40: error: extra argument 'completion' in call
155 | try await withCheckedThrowingContinuation { continuation in
156 | self.withCount(options: options,
157 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
158 | }
159 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:848:18: error: cannot find type 'DispatchQueue' in scope
846 | usingMongoDB: Bool = false,
847 | options: API.Options = [],
848 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:180:18: error: generic parameter 'U' could not be inferred
173 | [here](https://github.com/parse-community/parse-server/pull/7440).
174 | */
175 | func withCountExplain<U: Decodable & Sendable>(
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
176 | usingMongoDB: Bool = false,
177 | options: API.Options = []
178 | ) async throws -> [U] {
179 | try await withCheckedThrowingContinuation { continuation in
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:182:47: error: extra argument 'completion' in call
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
183 | }
184 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:898:42: error: cannot find type 'DispatchQueue' in scope
896 | public func aggregate(_ pipeline: [[String: Encodable & Sendable]],
897 | options: API.Options = [],
898 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
899 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
900 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:201:40: error: extra argument 'completion' in call
199 | self.aggregate(pipeline,
200 | options: options,
201 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
202 | }
203 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:971:18: error: cannot find type 'DispatchQueue' in scope
969 | usingMongoDB: Bool = false,
970 | options: API.Options = [],
971 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
972 | completion: @escaping @Sendable (Result<[U], ParseError>
973 | ) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:229:18: error: generic parameter 'U' could not be inferred
221 | [here](https://github.com/parse-community/parse-server/pull/7440).
222 | */
223 | func aggregateExplain<U: Decodable & Sendable>(
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
224 | _ pipeline: [[String: Encodable & Sendable]],
225 | usingMongoDB: Bool = false,
:
227 | ) async throws -> [U] {
228 | try await withCheckedThrowingContinuation { continuation in
229 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
230 | usingMongoDB: usingMongoDB,
231 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:232:47: error: extra argument 'completion' in call
230 | usingMongoDB: usingMongoDB,
231 | options: options,
232 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
233 | }
234 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1050:41: error: cannot find type 'DispatchQueue' in scope
1048 | public func distinct(_ key: String,
1049 | options: API.Options = [],
1050 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1051 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
1052 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:249:18: error: cannot call value of non-function type 'String?'
247 | options: API.Options = []) async throws -> [ResultType] {
248 | try await withCheckedThrowingContinuation { continuation in
249 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
250 | options: options,
251 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1098:18: error: cannot find type 'DispatchQueue' in scope
1096 | usingMongoDB: Bool = false,
1097 | options: API.Options = [],
1098 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1099 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
1100 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:282:46: error: extra argument 'completion' in call
280 | usingMongoDB: usingMongoDB,
281 | options: options,
282 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
283 | }
284 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:279:18: error: generic parameter 'U' could not be inferred
271 | [here](https://github.com/parse-community/parse-server/pull/7440).
272 | */
273 | func distinctExplain<U: Decodable & Sendable>(
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
274 | _ key: String,
275 | usingMongoDB: Bool = false,
:
277 | ) async throws -> [U] {
278 | try await withCheckedThrowingContinuation { continuation in
279 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
280 | usingMongoDB: usingMongoDB,
281 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:38:37: error: cannot find type 'DispatchQueue' in scope
36 | // MARK: Asynchronous Execution
37 | func execute(options: API.Options,
38 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
39 | allowIntermediateResponses: Bool = false,
40 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:17:33: error: cannot find type 'DispatchQueue' in scope
15 | // MARK: Asynchronous Execution
16 | func execute(options: API.Options,
17 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
18 | allowIntermediateResponses: Bool = false) async throws -> U {
19 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:527:31: error: generic parameter 'U' could not be inferred
525 | if !usingMongoDB {
526 | do {
527 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
528 | callbackQueue: callbackQueue,
529 | completion: completion)
:
1260 | }
1261 |
1262 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1263 | try await yieldIfNotInitialized()
1264 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:689:31: error: generic parameter 'U' could not be inferred
687 | if !usingMongoDB {
688 | do {
689 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
690 | callbackQueue: callbackQueue,
691 | completion: completion)
:
1279 | }
1280 |
1281 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1282 | try await yieldIfNotInitialized()
1283 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:774:31: error: generic parameter 'U' could not be inferred
772 | if !usingMongoDB {
773 | do {
774 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
775 | callbackQueue: callbackQueue,
776 | completion: completion)
:
1313 | }
1314 |
1315 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1316 | try await yieldIfNotInitialized()
1317 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:860:31: error: generic parameter 'U' could not be inferred
858 | if !usingMongoDB {
859 | do {
860 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
861 | callbackQueue: callbackQueue,
862 | completion: completion)
:
1334 | }
1335 |
1336 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1337 | try await yieldIfNotInitialized()
1338 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1112:31: error: generic parameter 'U' could not be inferred
1110 | if !usingMongoDB {
1111 | do {
1112 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1113 | .execute(options: options,
1114 | callbackQueue: callbackQueue,
:
1376 |
1377 | // swiftlint:disable:next line_length
1378 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1379 | try await yieldIfNotInitialized()
1380 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:18:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 | static func updateParseURLSession() {
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 | configuration.urlCache = URLCache.parse
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:19:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
19 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseConfiguration.swift:66:51: error: cannot find 'URLRequest' in scope
64 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
65 | /// for more info.
66 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
67 |
68 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:25:20: error: 'nil' requires a contextual type
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
25 | delegateQueue: nil
| `- error: 'nil' requires a contextual type
26 | )
27 | } else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:15: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
36 | #endif
37 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | #endif
37 | }
[312/396] Compiling ParseSwift QueryViewModel.swift
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:264:38: error: cannot find type 'DispatchQueue' in scope
262 | */
263 | public func fetch(options: API.Options = [],
264 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
265 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
266 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:30:36: error: extra argument 'completion' in call
28 | try await withCheckedThrowingContinuation { continuation in
29 | self.fetch(options: options,
30 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
31 | }
32 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:303:39: error: cannot find type 'DispatchQueue' in scope
301 | */
302 | public func create(options: API.Options = [],
303 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
304 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
305 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:48:37: error: extra argument 'completion' in call
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.create(options: options,
48 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
49 | }
50 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:330:39: error: cannot find type 'DispatchQueue' in scope
328 | */
329 | public func update(options: API.Options = [],
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
332 | var mutableSchema = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:66:37: error: extra argument 'completion' in call
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.update(options: options,
66 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
67 | }
68 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:387:24: error: cannot find type 'DispatchQueue' in scope
385 | public func purge(
386 | options: API.Options = [],
387 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
388 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
389 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:82:13: error: generic parameter 'T' could not be inferred
80 | */
81 | func purge(options: API.Options = []) async throws {
82 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
83 | self.purge(
84 | options: options,
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:85:17: error: extra argument 'completion' in call
83 | self.purge(
84 | options: options,
85 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
86 | )
87 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:425:24: error: cannot find type 'DispatchQueue' in scope
423 | public func delete(
424 | options: API.Options = [],
425 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
426 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
427 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:103:13: error: generic parameter 'T' could not be inferred
101 | */
102 | func delete(options: API.Options = []) async throws {
103 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:105:19: error: extra argument 'completion' in call
103 | try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API.swift:174:26: error: cannot find type 'URLRequest' in scope
172 | /// [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
173 | /// for more info.
174 | case cachePolicy(URLRequest.CachePolicy)
| `- error: cannot find type 'URLRequest' in scope
175 | /// Use a specific server URL.
176 | /// - note: The URL of the Swift SDK is provided by default. Only set this
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:269:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
267 | var options = options
268 | options.insert(.usePrimaryKey)
269 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
270 | await fetchCommand()
271 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:308:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
306 | var options = options
307 | options.insert(.usePrimaryKey)
308 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
309 | await createCommand()
310 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:342:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
340 | var options = options
341 | options.insert(.usePrimaryKey)
342 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
343 | await schema.updateCommand()
344 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:393:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
391 | var options = options
392 | options.insert(.usePrimaryKey)
393 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
394 | await purgeCommand().execute(options: options,
395 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:431:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
429 | var options = options
430 | options.insert(.usePrimaryKey)
431 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
432 | await deleteCommand().execute(options: options,
433 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:82:46: error: cannot find type 'DispatchQueue' in scope
80 | */
81 | static public func health(options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | allowIntermediateResponses: Bool = true,
84 | completion: @escaping @Sendable (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:27:24: error: extra arguments at positions #2, #3 in call
23 | this method.
24 | */
25 | static func health(options: API.Options = []) async throws -> Status {
| `- note: 'health(options:)' declared here
26 | try await withCheckedThrowingContinuation { continuation in
27 | Self.health(options: options,
| `- error: extra arguments at positions #2, #3 in call
28 | allowIntermediateResponses: false,
29 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:119:51: error: cannot find type 'DispatchQueue' in scope
117 | */
118 | static public func information(options: API.Options = [],
119 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
120 | completion: @escaping @Sendable (Result<Information, ParseError>) -> Void) {
121 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:45:42: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | Self.information(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:87:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
85 | Task {
86 | var options = options
87 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | await healthCommand()
89 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:124:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
122 | var options = options
123 | options.insert(.usePrimaryKey)
124 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
125 | await infoCommand()
126 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/ParsePointerable.swift:85:31: error: cannot find type 'DispatchQueue' in scope
83 | func fetch(includeKeys: [String]? = nil,
84 | options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | completion: @escaping @Sendable (Result<Object, ParseError>) -> Void) {
87 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Pointer+async.swift:28:36: error: extra argument 'completion' in call
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
29 | }
30 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) async throws -> ResultType
15 | func count(options: API.Options) async throws -> Int
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:475:37: error: cannot find type 'DispatchQueue' in scope
473 | */
474 | public func find(options: API.Options = [],
475 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
476 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:34:18: error: cannot find type 'DispatchQueue' in scope
32 | */
33 | func find(
34 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
35 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void
36 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:24:35: error: extra argument 'completion' in call
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
25 | }
26 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:515:18: error: cannot find type 'DispatchQueue' in scope
513 | usingMongoDB: Bool = false,
514 | options: API.Options = [],
515 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
516 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
517 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:49:42: error: extra argument 'completion' in call
47 | self.findExplain(usingMongoDB: usingMongoDB,
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:47:18: error: generic parameter 'U' could not be inferred
40 | [here](https://github.com/parse-community/parse-server/pull/7440).
41 | */
42 | func findExplain<U: Decodable & Sendable>(
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | usingMongoDB: Bool = false,
44 | options: API.Options = []
45 | ) async throws -> [U] {
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:566:40: error: cannot find type 'DispatchQueue' in scope
564 | public func findAll(batchLimit limit: Int? = nil,
565 | options: API.Options = [],
566 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
567 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
568 | if self.limit == 0 {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:67:38: error: extra argument 'completion' in call
65 | self.findAll(batchLimit: batchLimit,
66 | options: options,
67 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
68 | }
69 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:18:53: error: cannot find type 'DispatchQueue' in scope
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:631:38: error: cannot find type 'DispatchQueue' in scope
629 | */
630 | public func first(options: API.Options = [],
631 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
632 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void) {
633 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:52:18: error: cannot find type 'DispatchQueue' in scope
50 | */
51 | func first(
52 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
53 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void
54 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:80:36: error: extra argument 'completion' in call
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.first(options: options,
80 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
81 | }
82 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:675:18: error: cannot find type 'DispatchQueue' in scope
673 | usingMongoDB: Bool = false,
674 | options: API.Options = [],
675 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
676 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void
677 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:103:18: error: type 'Void' cannot conform to 'Decodable'
96 | [here](https://github.com/parse-community/parse-server/pull/7440).
97 | */
98 | func firstExplain<U: Decodable & Sendable>(
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
99 | usingMongoDB: Bool = false,
100 | options: API.Options = []
101 | ) async throws -> U {
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.firstExplain(usingMongoDB: usingMongoDB,
| |- error: type 'Void' cannot conform to 'Decodable'
| `- note: only concrete types such as structs, enums and classes can conform to protocols
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:105:43: error: extra argument 'completion' in call
103 | self.firstExplain(usingMongoDB: usingMongoDB,
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:20:53: error: cannot find type 'DispatchQueue' in scope
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:722:38: error: cannot find type 'DispatchQueue' in scope
720 | */
721 | public func count(options: API.Options = [],
722 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
723 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void) {
724 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:66:18: error: cannot find type 'DispatchQueue' in scope
64 | */
65 | func count(
66 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
67 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void
68 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:118:36: error: extra argument 'completion' in call
116 | try await withCheckedThrowingContinuation { continuation in
117 | self.count(options: options,
118 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
119 | }
120 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:762:18: error: cannot find type 'DispatchQueue' in scope
760 | usingMongoDB: Bool = false,
761 | options: API.Options = [],
762 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
763 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
764 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:141:18: error: generic parameter 'U' could not be inferred
134 | [here](https://github.com/parse-community/parse-server/pull/7440).
135 | */
136 | func countExplain<U: Decodable & Sendable>(
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
137 | usingMongoDB: Bool = false,
138 | options: API.Options = []
139 | ) async throws -> [U] {
140 | try await withCheckedThrowingContinuation { continuation in
141 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:143:43: error: extra argument 'completion' in call
141 | self.countExplain(usingMongoDB: usingMongoDB,
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
144 | }
145 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:808:42: error: cannot find type 'DispatchQueue' in scope
806 | */
807 | public func withCount(options: API.Options = [],
808 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
809 | completion: @escaping @Sendable (Result<([ResultType], Int), ParseError>) -> Void) {
810 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:157:40: error: extra argument 'completion' in call
155 | try await withCheckedThrowingContinuation { continuation in
156 | self.withCount(options: options,
157 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
158 | }
159 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:848:18: error: cannot find type 'DispatchQueue' in scope
846 | usingMongoDB: Bool = false,
847 | options: API.Options = [],
848 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:180:18: error: generic parameter 'U' could not be inferred
173 | [here](https://github.com/parse-community/parse-server/pull/7440).
174 | */
175 | func withCountExplain<U: Decodable & Sendable>(
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
176 | usingMongoDB: Bool = false,
177 | options: API.Options = []
178 | ) async throws -> [U] {
179 | try await withCheckedThrowingContinuation { continuation in
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:182:47: error: extra argument 'completion' in call
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
183 | }
184 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:898:42: error: cannot find type 'DispatchQueue' in scope
896 | public func aggregate(_ pipeline: [[String: Encodable & Sendable]],
897 | options: API.Options = [],
898 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
899 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
900 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:201:40: error: extra argument 'completion' in call
199 | self.aggregate(pipeline,
200 | options: options,
201 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
202 | }
203 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:971:18: error: cannot find type 'DispatchQueue' in scope
969 | usingMongoDB: Bool = false,
970 | options: API.Options = [],
971 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
972 | completion: @escaping @Sendable (Result<[U], ParseError>
973 | ) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:229:18: error: generic parameter 'U' could not be inferred
221 | [here](https://github.com/parse-community/parse-server/pull/7440).
222 | */
223 | func aggregateExplain<U: Decodable & Sendable>(
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
224 | _ pipeline: [[String: Encodable & Sendable]],
225 | usingMongoDB: Bool = false,
:
227 | ) async throws -> [U] {
228 | try await withCheckedThrowingContinuation { continuation in
229 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
230 | usingMongoDB: usingMongoDB,
231 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:232:47: error: extra argument 'completion' in call
230 | usingMongoDB: usingMongoDB,
231 | options: options,
232 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
233 | }
234 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1050:41: error: cannot find type 'DispatchQueue' in scope
1048 | public func distinct(_ key: String,
1049 | options: API.Options = [],
1050 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1051 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
1052 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:249:18: error: cannot call value of non-function type 'String?'
247 | options: API.Options = []) async throws -> [ResultType] {
248 | try await withCheckedThrowingContinuation { continuation in
249 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
250 | options: options,
251 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1098:18: error: cannot find type 'DispatchQueue' in scope
1096 | usingMongoDB: Bool = false,
1097 | options: API.Options = [],
1098 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1099 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
1100 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:282:46: error: extra argument 'completion' in call
280 | usingMongoDB: usingMongoDB,
281 | options: options,
282 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
283 | }
284 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:279:18: error: generic parameter 'U' could not be inferred
271 | [here](https://github.com/parse-community/parse-server/pull/7440).
272 | */
273 | func distinctExplain<U: Decodable & Sendable>(
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
274 | _ key: String,
275 | usingMongoDB: Bool = false,
:
277 | ) async throws -> [U] {
278 | try await withCheckedThrowingContinuation { continuation in
279 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
280 | usingMongoDB: usingMongoDB,
281 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:38:37: error: cannot find type 'DispatchQueue' in scope
36 | // MARK: Asynchronous Execution
37 | func execute(options: API.Options,
38 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
39 | allowIntermediateResponses: Bool = false,
40 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:17:33: error: cannot find type 'DispatchQueue' in scope
15 | // MARK: Asynchronous Execution
16 | func execute(options: API.Options,
17 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
18 | allowIntermediateResponses: Bool = false) async throws -> U {
19 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:527:31: error: generic parameter 'U' could not be inferred
525 | if !usingMongoDB {
526 | do {
527 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
528 | callbackQueue: callbackQueue,
529 | completion: completion)
:
1260 | }
1261 |
1262 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1263 | try await yieldIfNotInitialized()
1264 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:689:31: error: generic parameter 'U' could not be inferred
687 | if !usingMongoDB {
688 | do {
689 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
690 | callbackQueue: callbackQueue,
691 | completion: completion)
:
1279 | }
1280 |
1281 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1282 | try await yieldIfNotInitialized()
1283 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:774:31: error: generic parameter 'U' could not be inferred
772 | if !usingMongoDB {
773 | do {
774 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
775 | callbackQueue: callbackQueue,
776 | completion: completion)
:
1313 | }
1314 |
1315 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1316 | try await yieldIfNotInitialized()
1317 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:860:31: error: generic parameter 'U' could not be inferred
858 | if !usingMongoDB {
859 | do {
860 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
861 | callbackQueue: callbackQueue,
862 | completion: completion)
:
1334 | }
1335 |
1336 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1337 | try await yieldIfNotInitialized()
1338 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1112:31: error: generic parameter 'U' could not be inferred
1110 | if !usingMongoDB {
1111 | do {
1112 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1113 | .execute(options: options,
1114 | callbackQueue: callbackQueue,
:
1376 |
1377 | // swiftlint:disable:next line_length
1378 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1379 | try await yieldIfNotInitialized()
1380 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:18:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 | static func updateParseURLSession() {
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 | configuration.urlCache = URLCache.parse
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:19:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
19 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseConfiguration.swift:66:51: error: cannot find 'URLRequest' in scope
64 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
65 | /// for more info.
66 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
67 |
68 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:25:20: error: 'nil' requires a contextual type
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
25 | delegateQueue: nil
| `- error: 'nil' requires a contextual type
26 | )
27 | } else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:15: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
36 | #endif
37 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | #endif
37 | }
[313/396] Compiling ParseSwift QueryWhere.swift
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:264:38: error: cannot find type 'DispatchQueue' in scope
262 | */
263 | public func fetch(options: API.Options = [],
264 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
265 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
266 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:30:36: error: extra argument 'completion' in call
28 | try await withCheckedThrowingContinuation { continuation in
29 | self.fetch(options: options,
30 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
31 | }
32 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:303:39: error: cannot find type 'DispatchQueue' in scope
301 | */
302 | public func create(options: API.Options = [],
303 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
304 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
305 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:48:37: error: extra argument 'completion' in call
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.create(options: options,
48 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
49 | }
50 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:330:39: error: cannot find type 'DispatchQueue' in scope
328 | */
329 | public func update(options: API.Options = [],
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
332 | var mutableSchema = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:66:37: error: extra argument 'completion' in call
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.update(options: options,
66 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
67 | }
68 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:387:24: error: cannot find type 'DispatchQueue' in scope
385 | public func purge(
386 | options: API.Options = [],
387 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
388 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
389 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:82:13: error: generic parameter 'T' could not be inferred
80 | */
81 | func purge(options: API.Options = []) async throws {
82 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
83 | self.purge(
84 | options: options,
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:85:17: error: extra argument 'completion' in call
83 | self.purge(
84 | options: options,
85 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
86 | )
87 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:425:24: error: cannot find type 'DispatchQueue' in scope
423 | public func delete(
424 | options: API.Options = [],
425 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
426 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
427 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:103:13: error: generic parameter 'T' could not be inferred
101 | */
102 | func delete(options: API.Options = []) async throws {
103 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:105:19: error: extra argument 'completion' in call
103 | try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API.swift:174:26: error: cannot find type 'URLRequest' in scope
172 | /// [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
173 | /// for more info.
174 | case cachePolicy(URLRequest.CachePolicy)
| `- error: cannot find type 'URLRequest' in scope
175 | /// Use a specific server URL.
176 | /// - note: The URL of the Swift SDK is provided by default. Only set this
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:269:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
267 | var options = options
268 | options.insert(.usePrimaryKey)
269 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
270 | await fetchCommand()
271 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:308:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
306 | var options = options
307 | options.insert(.usePrimaryKey)
308 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
309 | await createCommand()
310 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:342:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
340 | var options = options
341 | options.insert(.usePrimaryKey)
342 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
343 | await schema.updateCommand()
344 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:393:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
391 | var options = options
392 | options.insert(.usePrimaryKey)
393 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
394 | await purgeCommand().execute(options: options,
395 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:431:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
429 | var options = options
430 | options.insert(.usePrimaryKey)
431 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
432 | await deleteCommand().execute(options: options,
433 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:82:46: error: cannot find type 'DispatchQueue' in scope
80 | */
81 | static public func health(options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | allowIntermediateResponses: Bool = true,
84 | completion: @escaping @Sendable (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:27:24: error: extra arguments at positions #2, #3 in call
23 | this method.
24 | */
25 | static func health(options: API.Options = []) async throws -> Status {
| `- note: 'health(options:)' declared here
26 | try await withCheckedThrowingContinuation { continuation in
27 | Self.health(options: options,
| `- error: extra arguments at positions #2, #3 in call
28 | allowIntermediateResponses: false,
29 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:119:51: error: cannot find type 'DispatchQueue' in scope
117 | */
118 | static public func information(options: API.Options = [],
119 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
120 | completion: @escaping @Sendable (Result<Information, ParseError>) -> Void) {
121 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:45:42: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | Self.information(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:87:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
85 | Task {
86 | var options = options
87 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | await healthCommand()
89 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:124:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
122 | var options = options
123 | options.insert(.usePrimaryKey)
124 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
125 | await infoCommand()
126 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/ParsePointerable.swift:85:31: error: cannot find type 'DispatchQueue' in scope
83 | func fetch(includeKeys: [String]? = nil,
84 | options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | completion: @escaping @Sendable (Result<Object, ParseError>) -> Void) {
87 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Pointer+async.swift:28:36: error: extra argument 'completion' in call
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
29 | }
30 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) async throws -> ResultType
15 | func count(options: API.Options) async throws -> Int
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:475:37: error: cannot find type 'DispatchQueue' in scope
473 | */
474 | public func find(options: API.Options = [],
475 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
476 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:34:18: error: cannot find type 'DispatchQueue' in scope
32 | */
33 | func find(
34 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
35 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void
36 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:24:35: error: extra argument 'completion' in call
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
25 | }
26 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:515:18: error: cannot find type 'DispatchQueue' in scope
513 | usingMongoDB: Bool = false,
514 | options: API.Options = [],
515 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
516 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
517 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:49:42: error: extra argument 'completion' in call
47 | self.findExplain(usingMongoDB: usingMongoDB,
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:47:18: error: generic parameter 'U' could not be inferred
40 | [here](https://github.com/parse-community/parse-server/pull/7440).
41 | */
42 | func findExplain<U: Decodable & Sendable>(
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | usingMongoDB: Bool = false,
44 | options: API.Options = []
45 | ) async throws -> [U] {
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:566:40: error: cannot find type 'DispatchQueue' in scope
564 | public func findAll(batchLimit limit: Int? = nil,
565 | options: API.Options = [],
566 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
567 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
568 | if self.limit == 0 {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:67:38: error: extra argument 'completion' in call
65 | self.findAll(batchLimit: batchLimit,
66 | options: options,
67 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
68 | }
69 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:18:53: error: cannot find type 'DispatchQueue' in scope
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:631:38: error: cannot find type 'DispatchQueue' in scope
629 | */
630 | public func first(options: API.Options = [],
631 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
632 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void) {
633 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:52:18: error: cannot find type 'DispatchQueue' in scope
50 | */
51 | func first(
52 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
53 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void
54 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:80:36: error: extra argument 'completion' in call
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.first(options: options,
80 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
81 | }
82 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:675:18: error: cannot find type 'DispatchQueue' in scope
673 | usingMongoDB: Bool = false,
674 | options: API.Options = [],
675 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
676 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void
677 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:103:18: error: type 'Void' cannot conform to 'Decodable'
96 | [here](https://github.com/parse-community/parse-server/pull/7440).
97 | */
98 | func firstExplain<U: Decodable & Sendable>(
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
99 | usingMongoDB: Bool = false,
100 | options: API.Options = []
101 | ) async throws -> U {
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.firstExplain(usingMongoDB: usingMongoDB,
| |- error: type 'Void' cannot conform to 'Decodable'
| `- note: only concrete types such as structs, enums and classes can conform to protocols
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:105:43: error: extra argument 'completion' in call
103 | self.firstExplain(usingMongoDB: usingMongoDB,
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:20:53: error: cannot find type 'DispatchQueue' in scope
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:722:38: error: cannot find type 'DispatchQueue' in scope
720 | */
721 | public func count(options: API.Options = [],
722 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
723 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void) {
724 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:66:18: error: cannot find type 'DispatchQueue' in scope
64 | */
65 | func count(
66 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
67 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void
68 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:118:36: error: extra argument 'completion' in call
116 | try await withCheckedThrowingContinuation { continuation in
117 | self.count(options: options,
118 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
119 | }
120 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:762:18: error: cannot find type 'DispatchQueue' in scope
760 | usingMongoDB: Bool = false,
761 | options: API.Options = [],
762 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
763 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
764 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:141:18: error: generic parameter 'U' could not be inferred
134 | [here](https://github.com/parse-community/parse-server/pull/7440).
135 | */
136 | func countExplain<U: Decodable & Sendable>(
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
137 | usingMongoDB: Bool = false,
138 | options: API.Options = []
139 | ) async throws -> [U] {
140 | try await withCheckedThrowingContinuation { continuation in
141 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:143:43: error: extra argument 'completion' in call
141 | self.countExplain(usingMongoDB: usingMongoDB,
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
144 | }
145 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:808:42: error: cannot find type 'DispatchQueue' in scope
806 | */
807 | public func withCount(options: API.Options = [],
808 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
809 | completion: @escaping @Sendable (Result<([ResultType], Int), ParseError>) -> Void) {
810 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:157:40: error: extra argument 'completion' in call
155 | try await withCheckedThrowingContinuation { continuation in
156 | self.withCount(options: options,
157 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
158 | }
159 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:848:18: error: cannot find type 'DispatchQueue' in scope
846 | usingMongoDB: Bool = false,
847 | options: API.Options = [],
848 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:180:18: error: generic parameter 'U' could not be inferred
173 | [here](https://github.com/parse-community/parse-server/pull/7440).
174 | */
175 | func withCountExplain<U: Decodable & Sendable>(
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
176 | usingMongoDB: Bool = false,
177 | options: API.Options = []
178 | ) async throws -> [U] {
179 | try await withCheckedThrowingContinuation { continuation in
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:182:47: error: extra argument 'completion' in call
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
183 | }
184 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:898:42: error: cannot find type 'DispatchQueue' in scope
896 | public func aggregate(_ pipeline: [[String: Encodable & Sendable]],
897 | options: API.Options = [],
898 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
899 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
900 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:201:40: error: extra argument 'completion' in call
199 | self.aggregate(pipeline,
200 | options: options,
201 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
202 | }
203 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:971:18: error: cannot find type 'DispatchQueue' in scope
969 | usingMongoDB: Bool = false,
970 | options: API.Options = [],
971 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
972 | completion: @escaping @Sendable (Result<[U], ParseError>
973 | ) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:229:18: error: generic parameter 'U' could not be inferred
221 | [here](https://github.com/parse-community/parse-server/pull/7440).
222 | */
223 | func aggregateExplain<U: Decodable & Sendable>(
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
224 | _ pipeline: [[String: Encodable & Sendable]],
225 | usingMongoDB: Bool = false,
:
227 | ) async throws -> [U] {
228 | try await withCheckedThrowingContinuation { continuation in
229 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
230 | usingMongoDB: usingMongoDB,
231 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:232:47: error: extra argument 'completion' in call
230 | usingMongoDB: usingMongoDB,
231 | options: options,
232 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
233 | }
234 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1050:41: error: cannot find type 'DispatchQueue' in scope
1048 | public func distinct(_ key: String,
1049 | options: API.Options = [],
1050 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1051 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
1052 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:249:18: error: cannot call value of non-function type 'String?'
247 | options: API.Options = []) async throws -> [ResultType] {
248 | try await withCheckedThrowingContinuation { continuation in
249 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
250 | options: options,
251 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1098:18: error: cannot find type 'DispatchQueue' in scope
1096 | usingMongoDB: Bool = false,
1097 | options: API.Options = [],
1098 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1099 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
1100 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:282:46: error: extra argument 'completion' in call
280 | usingMongoDB: usingMongoDB,
281 | options: options,
282 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
283 | }
284 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:279:18: error: generic parameter 'U' could not be inferred
271 | [here](https://github.com/parse-community/parse-server/pull/7440).
272 | */
273 | func distinctExplain<U: Decodable & Sendable>(
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
274 | _ key: String,
275 | usingMongoDB: Bool = false,
:
277 | ) async throws -> [U] {
278 | try await withCheckedThrowingContinuation { continuation in
279 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
280 | usingMongoDB: usingMongoDB,
281 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:38:37: error: cannot find type 'DispatchQueue' in scope
36 | // MARK: Asynchronous Execution
37 | func execute(options: API.Options,
38 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
39 | allowIntermediateResponses: Bool = false,
40 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:17:33: error: cannot find type 'DispatchQueue' in scope
15 | // MARK: Asynchronous Execution
16 | func execute(options: API.Options,
17 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
18 | allowIntermediateResponses: Bool = false) async throws -> U {
19 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:527:31: error: generic parameter 'U' could not be inferred
525 | if !usingMongoDB {
526 | do {
527 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
528 | callbackQueue: callbackQueue,
529 | completion: completion)
:
1260 | }
1261 |
1262 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1263 | try await yieldIfNotInitialized()
1264 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:689:31: error: generic parameter 'U' could not be inferred
687 | if !usingMongoDB {
688 | do {
689 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
690 | callbackQueue: callbackQueue,
691 | completion: completion)
:
1279 | }
1280 |
1281 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1282 | try await yieldIfNotInitialized()
1283 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:774:31: error: generic parameter 'U' could not be inferred
772 | if !usingMongoDB {
773 | do {
774 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
775 | callbackQueue: callbackQueue,
776 | completion: completion)
:
1313 | }
1314 |
1315 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1316 | try await yieldIfNotInitialized()
1317 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:860:31: error: generic parameter 'U' could not be inferred
858 | if !usingMongoDB {
859 | do {
860 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
861 | callbackQueue: callbackQueue,
862 | completion: completion)
:
1334 | }
1335 |
1336 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1337 | try await yieldIfNotInitialized()
1338 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1112:31: error: generic parameter 'U' could not be inferred
1110 | if !usingMongoDB {
1111 | do {
1112 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1113 | .execute(options: options,
1114 | callbackQueue: callbackQueue,
:
1376 |
1377 | // swiftlint:disable:next line_length
1378 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1379 | try await yieldIfNotInitialized()
1380 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:18:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 | static func updateParseURLSession() {
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 | configuration.urlCache = URLCache.parse
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:19:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
19 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseConfiguration.swift:66:51: error: cannot find 'URLRequest' in scope
64 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
65 | /// for more info.
66 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
67 |
68 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:25:20: error: 'nil' requires a contextual type
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
25 | delegateQueue: nil
| `- error: 'nil' requires a contextual type
26 | )
27 | } else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:15: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
36 | #endif
37 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | #endif
37 | }
[314/396] Compiling ParseSwift Utility.swift
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:264:38: error: cannot find type 'DispatchQueue' in scope
262 | */
263 | public func fetch(options: API.Options = [],
264 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
265 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
266 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:30:36: error: extra argument 'completion' in call
28 | try await withCheckedThrowingContinuation { continuation in
29 | self.fetch(options: options,
30 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
31 | }
32 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:303:39: error: cannot find type 'DispatchQueue' in scope
301 | */
302 | public func create(options: API.Options = [],
303 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
304 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
305 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:48:37: error: extra argument 'completion' in call
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.create(options: options,
48 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
49 | }
50 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:330:39: error: cannot find type 'DispatchQueue' in scope
328 | */
329 | public func update(options: API.Options = [],
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | completion: @escaping @Sendable (Result<Self, ParseError>) -> Void) {
332 | var mutableSchema = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:66:37: error: extra argument 'completion' in call
64 | try await withCheckedThrowingContinuation { continuation in
65 | self.update(options: options,
66 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
67 | }
68 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:387:24: error: cannot find type 'DispatchQueue' in scope
385 | public func purge(
386 | options: API.Options = [],
387 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
388 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
389 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:82:13: error: generic parameter 'T' could not be inferred
80 | */
81 | func purge(options: API.Options = []) async throws {
82 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
83 | self.purge(
84 | options: options,
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:85:17: error: extra argument 'completion' in call
83 | self.purge(
84 | options: options,
85 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
86 | )
87 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:425:24: error: cannot find type 'DispatchQueue' in scope
423 | public func delete(
424 | options: API.Options = [],
425 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
426 | completion: @escaping @Sendable (Result<Void, ParseError>) -> Void
427 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:103:13: error: generic parameter 'T' could not be inferred
101 | */
102 | func delete(options: API.Options = []) async throws {
103 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
_Concurrency.withCheckedThrowingContinuation:3:24: note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
1 | @available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
2 | @backDeployed(before: macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0)
3 | @inlinable public func withCheckedThrowingContinuation<T>(isolation: isolated (any Actor)? = #isolation, function: String = #function, _ body: (CheckedContinuation<T, any Error>) -> Void) async throws -> sending T
| `- note: in call to function 'withCheckedThrowingContinuation(isolation:function:_:)'
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema+async.swift:105:19: error: extra argument 'completion' in call
103 | try await withCheckedThrowingContinuation { continuation in
104 | self.delete(options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API.swift:174:26: error: cannot find type 'URLRequest' in scope
172 | /// [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
173 | /// for more info.
174 | case cachePolicy(URLRequest.CachePolicy)
| `- error: cannot find type 'URLRequest' in scope
175 | /// Use a specific server URL.
176 | /// - note: The URL of the Swift SDK is provided by default. Only set this
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:269:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
267 | var options = options
268 | options.insert(.usePrimaryKey)
269 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
270 | await fetchCommand()
271 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:308:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
306 | var options = options
307 | options.insert(.usePrimaryKey)
308 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
309 | await createCommand()
310 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:342:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
340 | var options = options
341 | options.insert(.usePrimaryKey)
342 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
343 | await schema.updateCommand()
344 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:393:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
391 | var options = options
392 | options.insert(.usePrimaryKey)
393 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
394 | await purgeCommand().execute(options: options,
395 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseSchema.swift:431:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
429 | var options = options
430 | options.insert(.usePrimaryKey)
431 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
432 | await deleteCommand().execute(options: options,
433 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:82:46: error: cannot find type 'DispatchQueue' in scope
80 | */
81 | static public func health(options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | allowIntermediateResponses: Bool = true,
84 | completion: @escaping @Sendable (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:27:24: error: extra arguments at positions #2, #3 in call
23 | this method.
24 | */
25 | static func health(options: API.Options = []) async throws -> Status {
| `- note: 'health(options:)' declared here
26 | try await withCheckedThrowingContinuation { continuation in
27 | Self.health(options: options,
| `- error: extra arguments at positions #2, #3 in call
28 | allowIntermediateResponses: false,
29 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:119:51: error: cannot find type 'DispatchQueue' in scope
117 | */
118 | static public func information(options: API.Options = [],
119 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
120 | completion: @escaping @Sendable (Result<Information, ParseError>) -> Void) {
121 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer+async.swift:45:42: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | Self.information(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:87:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
85 | Task {
86 | var options = options
87 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | await healthCommand()
89 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseServer.swift:124:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
122 | var options = options
123 | options.insert(.usePrimaryKey)
124 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
125 | await infoCommand()
126 | .execute(options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/ParsePointerable.swift:85:31: error: cannot find type 'DispatchQueue' in scope
83 | func fetch(includeKeys: [String]? = nil,
84 | options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | completion: @escaping @Sendable (Result<Object, ParseError>) -> Void) {
87 | Task {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Pointer+async.swift:28:36: error: extra argument 'completion' in call
26 | self.fetch(includeKeys: includeKeys,
27 | options: options,
28 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
29 | }
30 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) async throws -> ResultType
15 | func count(options: API.Options) async throws -> Int
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:475:37: error: cannot find type 'DispatchQueue' in scope
473 | */
474 | public func find(options: API.Options = [],
475 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
476 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:34:18: error: cannot find type 'DispatchQueue' in scope
32 | */
33 | func find(
34 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
35 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void
36 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:24:35: error: extra argument 'completion' in call
22 | try await withCheckedThrowingContinuation { continuation in
23 | self.find(options: options,
24 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
25 | }
26 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:515:18: error: cannot find type 'DispatchQueue' in scope
513 | usingMongoDB: Bool = false,
514 | options: API.Options = [],
515 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
516 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
517 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:49:42: error: extra argument 'completion' in call
47 | self.findExplain(usingMongoDB: usingMongoDB,
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:47:18: error: generic parameter 'U' could not be inferred
40 | [here](https://github.com/parse-community/parse-server/pull/7440).
41 | */
42 | func findExplain<U: Decodable & Sendable>(
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | usingMongoDB: Bool = false,
44 | options: API.Options = []
45 | ) async throws -> [U] {
46 | try await withCheckedThrowingContinuation { continuation in
47 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
48 | options: options,
49 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:566:40: error: cannot find type 'DispatchQueue' in scope
564 | public func findAll(batchLimit limit: Int? = nil,
565 | options: API.Options = [],
566 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
567 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
568 | if self.limit == 0 {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:67:38: error: extra argument 'completion' in call
65 | self.findAll(batchLimit: batchLimit,
66 | options: options,
67 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
68 | }
69 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:18:53: error: cannot find type 'DispatchQueue' in scope
16 | func find(options: API.Options, callbackQueue: DispatchQueue,
17 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:631:38: error: cannot find type 'DispatchQueue' in scope
629 | */
630 | public func first(options: API.Options = [],
631 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
632 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void) {
633 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:52:18: error: cannot find type 'DispatchQueue' in scope
50 | */
51 | func first(
52 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
53 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void
54 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:80:36: error: extra argument 'completion' in call
78 | try await withCheckedThrowingContinuation { continuation in
79 | self.first(options: options,
80 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
81 | }
82 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:675:18: error: cannot find type 'DispatchQueue' in scope
673 | usingMongoDB: Bool = false,
674 | options: API.Options = [],
675 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
676 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void
677 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:103:18: error: type 'Void' cannot conform to 'Decodable'
96 | [here](https://github.com/parse-community/parse-server/pull/7440).
97 | */
98 | func firstExplain<U: Decodable & Sendable>(
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
99 | usingMongoDB: Bool = false,
100 | options: API.Options = []
101 | ) async throws -> U {
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.firstExplain(usingMongoDB: usingMongoDB,
| |- error: type 'Void' cannot conform to 'Decodable'
| `- note: only concrete types such as structs, enums and classes can conform to protocols
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:105:43: error: extra argument 'completion' in call
103 | self.firstExplain(usingMongoDB: usingMongoDB,
104 | options: options,
105 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
106 | }
107 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:20:53: error: cannot find type 'DispatchQueue' in scope
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
19 | completion: @escaping @Sendable (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:722:38: error: cannot find type 'DispatchQueue' in scope
720 | */
721 | public func count(options: API.Options = [],
722 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
723 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void) {
724 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Protocols/Queryable.swift:66:18: error: cannot find type 'DispatchQueue' in scope
64 | */
65 | func count(
66 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
67 | completion: @escaping @Sendable (Result<Int, ParseError>) -> Void
68 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:118:36: error: extra argument 'completion' in call
116 | try await withCheckedThrowingContinuation { continuation in
117 | self.count(options: options,
118 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
119 | }
120 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:762:18: error: cannot find type 'DispatchQueue' in scope
760 | usingMongoDB: Bool = false,
761 | options: API.Options = [],
762 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
763 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
764 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:141:18: error: generic parameter 'U' could not be inferred
134 | [here](https://github.com/parse-community/parse-server/pull/7440).
135 | */
136 | func countExplain<U: Decodable & Sendable>(
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
137 | usingMongoDB: Bool = false,
138 | options: API.Options = []
139 | ) async throws -> [U] {
140 | try await withCheckedThrowingContinuation { continuation in
141 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:143:43: error: extra argument 'completion' in call
141 | self.countExplain(usingMongoDB: usingMongoDB,
142 | options: options,
143 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
144 | }
145 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:808:42: error: cannot find type 'DispatchQueue' in scope
806 | */
807 | public func withCount(options: API.Options = [],
808 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
809 | completion: @escaping @Sendable (Result<([ResultType], Int), ParseError>) -> Void) {
810 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:157:40: error: extra argument 'completion' in call
155 | try await withCheckedThrowingContinuation { continuation in
156 | self.withCount(options: options,
157 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
158 | }
159 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:848:18: error: cannot find type 'DispatchQueue' in scope
846 | usingMongoDB: Bool = false,
847 | options: API.Options = [],
848 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:180:18: error: generic parameter 'U' could not be inferred
173 | [here](https://github.com/parse-community/parse-server/pull/7440).
174 | */
175 | func withCountExplain<U: Decodable & Sendable>(
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
176 | usingMongoDB: Bool = false,
177 | options: API.Options = []
178 | ) async throws -> [U] {
179 | try await withCheckedThrowingContinuation { continuation in
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:182:47: error: extra argument 'completion' in call
180 | self.withCountExplain(usingMongoDB: usingMongoDB,
181 | options: options,
182 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
183 | }
184 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:898:42: error: cannot find type 'DispatchQueue' in scope
896 | public func aggregate(_ pipeline: [[String: Encodable & Sendable]],
897 | options: API.Options = [],
898 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
899 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
900 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:201:40: error: extra argument 'completion' in call
199 | self.aggregate(pipeline,
200 | options: options,
201 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
202 | }
203 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:971:18: error: cannot find type 'DispatchQueue' in scope
969 | usingMongoDB: Bool = false,
970 | options: API.Options = [],
971 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
972 | completion: @escaping @Sendable (Result<[U], ParseError>
973 | ) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:229:18: error: generic parameter 'U' could not be inferred
221 | [here](https://github.com/parse-community/parse-server/pull/7440).
222 | */
223 | func aggregateExplain<U: Decodable & Sendable>(
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
224 | _ pipeline: [[String: Encodable & Sendable]],
225 | usingMongoDB: Bool = false,
:
227 | ) async throws -> [U] {
228 | try await withCheckedThrowingContinuation { continuation in
229 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
230 | usingMongoDB: usingMongoDB,
231 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:232:47: error: extra argument 'completion' in call
230 | usingMongoDB: usingMongoDB,
231 | options: options,
232 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
233 | }
234 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1050:41: error: cannot find type 'DispatchQueue' in scope
1048 | public func distinct(_ key: String,
1049 | options: API.Options = [],
1050 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1051 | completion: @escaping @Sendable (Result<[ResultType], ParseError>) -> Void) {
1052 | guard limit > 0 else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:249:18: error: cannot call value of non-function type 'String?'
247 | options: API.Options = []) async throws -> [ResultType] {
248 | try await withCheckedThrowingContinuation { continuation in
249 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
250 | options: options,
251 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1098:18: error: cannot find type 'DispatchQueue' in scope
1096 | usingMongoDB: Bool = false,
1097 | options: API.Options = [],
1098 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1099 | completion: @escaping @Sendable (Result<[U], ParseError>) -> Void
1100 | ) {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:282:46: error: extra argument 'completion' in call
280 | usingMongoDB: usingMongoDB,
281 | options: options,
282 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
283 | }
284 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query+async.swift:279:18: error: generic parameter 'U' could not be inferred
271 | [here](https://github.com/parse-community/parse-server/pull/7440).
272 | */
273 | func distinctExplain<U: Decodable & Sendable>(
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
274 | _ key: String,
275 | usingMongoDB: Bool = false,
:
277 | ) async throws -> [U] {
278 | try await withCheckedThrowingContinuation { continuation in
279 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
280 | usingMongoDB: usingMongoDB,
281 | options: options,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:38:37: error: cannot find type 'DispatchQueue' in scope
36 | // MARK: Asynchronous Execution
37 | func execute(options: API.Options,
38 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
39 | allowIntermediateResponses: Bool = false,
40 | completion: @escaping @Sendable (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:17:33: error: cannot find type 'DispatchQueue' in scope
15 | // MARK: Asynchronous Execution
16 | func execute(options: API.Options,
17 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
18 | allowIntermediateResponses: Bool = false) async throws -> U {
19 | try await withCheckedThrowingContinuation { continuation in
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:527:31: error: generic parameter 'U' could not be inferred
525 | if !usingMongoDB {
526 | do {
527 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
528 | callbackQueue: callbackQueue,
529 | completion: completion)
:
1260 | }
1261 |
1262 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1263 | try await yieldIfNotInitialized()
1264 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:689:31: error: generic parameter 'U' could not be inferred
687 | if !usingMongoDB {
688 | do {
689 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
690 | callbackQueue: callbackQueue,
691 | completion: completion)
:
1279 | }
1280 |
1281 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1282 | try await yieldIfNotInitialized()
1283 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:774:31: error: generic parameter 'U' could not be inferred
772 | if !usingMongoDB {
773 | do {
774 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
775 | callbackQueue: callbackQueue,
776 | completion: completion)
:
1313 | }
1314 |
1315 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1316 | try await yieldIfNotInitialized()
1317 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:860:31: error: generic parameter 'U' could not be inferred
858 | if !usingMongoDB {
859 | do {
860 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
861 | callbackQueue: callbackQueue,
862 | completion: completion)
:
1334 | }
1335 |
1336 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1337 | try await yieldIfNotInitialized()
1338 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/Query.swift:1112:31: error: generic parameter 'U' could not be inferred
1110 | if !usingMongoDB {
1111 | do {
1112 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1113 | .execute(options: options,
1114 | callbackQueue: callbackQueue,
:
1376 |
1377 | // swiftlint:disable:next line_length
1378 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1379 | try await yieldIfNotInitialized()
1380 | var query = self
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:18:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 | static func updateParseURLSession() {
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 | configuration.urlCache = URLCache.parse
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:19:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
17 | if !Parse.configuration.isTestingSDK {
18 | let configuration = URLSessionConfiguration.default
19 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Types/ParseConfiguration.swift:66:51: error: cannot find 'URLRequest' in scope
64 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
65 | /// for more info.
66 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
67 |
68 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:22:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
20 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
21 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
22 | URLSession.parse = URLSession(
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:25:20: error: 'nil' requires a contextual type
23 | configuration: configuration,
24 | delegate: Parse.sessionDelegate,
25 | delegateQueue: nil
| `- error: 'nil' requires a contextual type
26 | )
27 | } else {
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:15: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
36 | #endif
37 | }
/host/spi-builder-workspace/.build/checkouts/Parse-Swift/Sources/ParseSwift/Utility.swift:35:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
33 | URLSession.parse = session
34 | #else
35 | URLSession.parse = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
36 | #endif
37 | }
BUILD FAILURE 6.1 wasm