Build Information
Failed to build ParseSwift, reference 5.12.3 (12b8e7
), with Swift 6.1 for Wasm on 31 May 2025 03:25:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
:
1301 | }
1302 |
1303 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1304 | try await yieldIfNotInitialized()
1305 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:852:31: error: generic parameter 'U' could not be inferred
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
853 | callbackQueue: callbackQueue,
854 | completion: completion)
:
1322 | }
1323 |
1324 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1325 | try await yieldIfNotInitialized()
1326 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1100:31: error: generic parameter 'U' could not be inferred
1098 | if !usingMongoDB {
1099 | do {
1100 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
:
1364 |
1365 | // swiftlint:disable:next line_length
1366 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1367 | try await yieldIfNotInitialized()
1368 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:16:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
14 | #if !os(Linux) && !os(Android) && !os(Windows)
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 | configuration.urlCache = URLCache.parse
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:17:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
17 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseConfiguration.swift:76:51: error: cannot find 'URLRequest' in scope
74 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
75 | /// for more info.
76 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
77 |
78 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:22:58: error: 'nil' requires a contextual type
20 | URLSession.parse = URLSession(configuration: configuration,
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | } else {
24 | let session = URLSession.shared
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:24:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | delegateQueue: nil)
23 | } else {
24 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | session.configuration.urlCache = URLCache.parse
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:25:55: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
23 | } else {
24 | let session = URLSession.shared
25 | session.configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:28:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
28 | URLSession.parse = session
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
29 | }
30 | #endif
[199/202] Compiling ParseSwift QueryConstraint.swift
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:263:38: error: cannot find type 'DispatchQueue' in scope
261 | */
262 | public func fetch(options: API.Options = [],
263 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:27:36: error: extra argument 'completion' in call
25 | try await withCheckedThrowingContinuation { continuation in
26 | self.fetch(options: options,
27 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
28 | }
29 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | */
301 | public func create(options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:45:37: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | self.create(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:329:39: error: cannot find type 'DispatchQueue' in scope
327 | */
328 | public func update(options: API.Options = [],
329 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
330 | completion: @escaping (Result<Self, ParseError>) -> Void) {
331 | var mutableSchema = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:63:37: error: extra argument 'completion' in call
61 | try await withCheckedThrowingContinuation { continuation in
62 | self.update(options: options,
63 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
64 | }
65 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:386:24: error: cannot find type 'DispatchQueue' in scope
384 | public func purge(
385 | options: API.Options = [],
386 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:80:13: error: generic parameter 'T' could not be inferred
78 | */
79 | func purge(options: API.Options = []) async throws {
80 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
81 | self.purge(
82 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:83:17: error: extra argument 'completion' in call
81 | self.purge(
82 | options: options,
83 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
84 | )
85 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:424:24: error: cannot find type 'DispatchQueue' in scope
422 | public func delete(
423 | options: API.Options = [],
424 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:102:13: error: generic parameter 'T' could not be inferred
100 | */
101 | func delete(options: API.Options = []) async throws {
102 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
103 | self.delete(options: options,
104 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:104:19: error: extra argument 'completion' in call
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.delete(options: options,
104 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
105 | }
106 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseSchema.swift:268:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
266 | var options = options
267 | options.insert(.usePrimaryKey)
268 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
269 | await fetchCommand()
270 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:307:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
305 | var options = options
306 | options.insert(.usePrimaryKey)
307 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
308 | await createCommand()
309 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:341:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
339 | var options = options
340 | options.insert(.usePrimaryKey)
341 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
342 | await schema.updateCommand()
343 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:392:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
390 | var options = options
391 | options.insert(.usePrimaryKey)
392 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
393 | await purgeCommand().execute(options: options,
394 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:430:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
428 | var options = options
429 | options.insert(.usePrimaryKey)
430 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
431 | await deleteCommand().execute(options: options,
432 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:85:46: error: cannot find type 'DispatchQueue' in scope
83 | */
84 | static public func health(options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseServer.swift:143:51: error: cannot find type 'DispatchQueue' in scope
141 | */
142 | static public func information(options: API.Options = [],
143 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:42: error: extra argument 'completion' in call
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
61 | }
62 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:111:45: error: cannot find type 'DispatchQueue' in scope
109 | @available(*, deprecated, renamed: "health")
110 | static public func check(options: API.Options = [],
111 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:90:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | Task {
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
91 | await healthCommand()
92 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:114:15: error: extra arguments at positions #2, #3, #4 in call
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
114 | health(options: options,
| `- error: extra arguments at positions #2, #3, #4 in call
115 | callbackQueue: callbackQueue,
116 | allowIntermediateResponses: allowIntermediateResponses,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:25:17: note: 'health(options:)' declared here
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,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:148:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
146 | var options = options
147 | options.insert(.usePrimaryKey)
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
149 | await infoCommand()
150 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/ParsePointerable.swift:82:31: error: cannot find type 'DispatchQueue' in scope
80 | func fetch(includeKeys: [String]? = nil,
81 | options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | completion: @escaping (Result<Object, ParseError>) -> Void) {
84 | Task {
/host/spi-builder-workspace/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/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:33:30: error: cannot find type 'DispatchQueue' in scope
31 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
32 | */
33 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
34 | find(options: [], callbackQueue: callbackQueue, completion: completion)
35 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:514:58: error: cannot find type 'DispatchQueue' in scope
512 | public func findExplain<U: Decodable>(usingMongoDB: Bool = false,
513 | options: API.Options = [],
514 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
515 | completion: @escaping (Result<[U], ParseError>) -> Void) {
516 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:42: error: extra argument 'completion' in call
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
48 | }
49 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:45: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>(usingMongoDB: Bool = false,
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | options: API.Options = []) async throws -> [U] {
44 | try await withCheckedThrowingContinuation { continuation in
45 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:564:40: error: cannot find type 'DispatchQueue' in scope
562 | public func findAll(batchLimit limit: Int? = nil,
563 | options: API.Options = [],
564 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
565 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
566 | if self.limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:38: error: extra argument 'completion' in call
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
66 | }
67 | }
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:629:38: error: cannot find type 'DispatchQueue' in scope
627 | */
628 | public func first(options: API.Options = [],
629 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
630 | completion: @escaping (Result<ResultType, ParseError>) -> Void) {
631 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:48:31: error: cannot find type 'DispatchQueue' in scope
46 | `error` will be `nil` if `result` is set OR if the query succeeded, but found no results.
47 | */
48 | func first(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<ResultType, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
49 | first(options: [], callbackQueue: callbackQueue, completion: completion)
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:36: error: extra argument 'completion' in call
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
79 | }
80 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:672:59: error: cannot find type 'DispatchQueue' in scope
670 | public func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
671 | options: API.Options = [],
672 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
673 | completion: @escaping (Result<U, ParseError>) -> Void) {
674 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:99:18: error: type 'Void' cannot conform to 'Decodable'
94 | [here](https://github.com/parse-community/parse-server/pull/7440).
95 | */
96 | func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
97 | options: API.Options = []) async throws -> U {
98 | try await withCheckedThrowingContinuation { continuation in
99 | 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
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:43: error: extra argument 'completion' in call
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
102 | }
103 | }
/host/spi-builder-workspace/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 (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:718:38: error: cannot find type 'DispatchQueue' in scope
716 | */
717 | public func count(options: API.Options = [],
718 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
719 | completion: @escaping (Result<Int, ParseError>) -> Void) {
720 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:59:31: error: cannot find type 'DispatchQueue' in scope
57 | It should have the following argument signature: `^(int count, ParseError *error)`
58 | */
59 | func count(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<Int, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
60 | count(options: [], callbackQueue: callbackQueue, completion: completion)
61 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:36: error: extra argument 'completion' in call
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
115 | }
116 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:757:59: error: cannot find type 'DispatchQueue' in scope
755 | public func countExplain<U: Decodable>(usingMongoDB: Bool = false,
756 | options: API.Options = [],
757 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
758 | completion: @escaping (Result<[U], ParseError>) -> Void) {
759 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:43: error: extra argument 'completion' in call
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
138 | }
139 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:135:18: error: generic parameter 'U' could not be inferred
130 | [here](https://github.com/parse-community/parse-server/pull/7440).
131 | */
132 | func countExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
133 | options: API.Options = []) async throws -> [U] {
134 | try await withCheckedThrowingContinuation { continuation in
135 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:802:42: error: cannot find type 'DispatchQueue' in scope
800 | */
801 | public func withCount(options: API.Options = [],
802 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
803 | completion: @escaping (Result<([ResultType], Int), ParseError>) -> Void) {
804 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:40: error: extra argument 'completion' in call
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
152 | }
153 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:841:63: error: cannot find type 'DispatchQueue' in scope
839 | public func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
840 | options: API.Options = [],
841 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
842 | completion: @escaping (Result<[U], ParseError>) -> Void) {
843 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:47: error: extra argument 'completion' in call
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
175 | }
176 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:172:18: error: generic parameter 'U' could not be inferred
167 | [here](https://github.com/parse-community/parse-server/pull/7440).
168 | */
169 | func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
170 | options: API.Options = []) async throws -> [U] {
171 | try await withCheckedThrowingContinuation { continuation in
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:890:42: error: cannot find type 'DispatchQueue' in scope
888 | public func aggregate(_ pipeline: [[String: Encodable]],
889 | options: API.Options = [],
890 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
891 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
892 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:40: error: extra argument 'completion' in call
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
194 | }
195 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:962:63: error: cannot find type 'DispatchQueue' in scope
960 | usingMongoDB: Bool = false,
961 | options: API.Options = [],
962 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
963 | completion: @escaping (Result<[U], ParseError>) -> Void) {
964 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:219:18: error: generic parameter 'U' could not be inferred
213 | [here](https://github.com/parse-community/parse-server/pull/7440).
214 | */
215 | func aggregateExplain<U: Decodable>(_ pipeline: [[String: Encodable]],
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
216 | usingMongoDB: Bool = false,
217 | options: API.Options = []) async throws -> [U] {
218 | try await withCheckedThrowingContinuation { continuation in
219 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
220 | usingMongoDB: usingMongoDB,
221 | options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:47: error: extra argument 'completion' in call
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
223 | }
224 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1040:41: error: cannot find type 'DispatchQueue' in scope
1038 | public func distinct(_ key: String,
1039 | options: API.Options = [],
1040 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1041 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
1042 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:239:18: error: cannot call value of non-function type 'String?'
237 | options: API.Options = []) async throws -> [ResultType] {
238 | try await withCheckedThrowingContinuation { continuation in
239 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
240 | options: options,
241 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1087:62: error: cannot find type 'DispatchQueue' in scope
1085 | usingMongoDB: Bool = false,
1086 | options: API.Options = [],
1087 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1088 | completion: @escaping (Result<[U], ParseError>) -> Void) {
1089 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:46: error: extra argument 'completion' in call
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
271 | }
272 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:267:18: error: generic parameter 'U' could not be inferred
261 | [here](https://github.com/parse-community/parse-server/pull/7440).
262 | */
263 | func distinctExplain<U: Decodable>(_ key: String,
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
264 | usingMongoDB: Bool = false,
265 | options: API.Options = []) async throws -> [U] {
266 | try await withCheckedThrowingContinuation { continuation in
267 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
268 | usingMongoDB: usingMongoDB,
269 | options: options,
/host/spi-builder-workspace/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 (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:525:31: error: generic parameter 'U' could not be inferred
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
526 | callbackQueue: callbackQueue,
527 | completion: completion)
:
1248 | }
1249 |
1250 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1251 | try await yieldIfNotInitialized()
1252 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:685:31: error: generic parameter 'U' could not be inferred
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
686 | callbackQueue: callbackQueue,
687 | completion: completion)
:
1267 | }
1268 |
1269 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1270 | try await yieldIfNotInitialized()
1271 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:768:31: error: generic parameter 'U' could not be inferred
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
769 | callbackQueue: callbackQueue,
770 | completion: completion)
:
1301 | }
1302 |
1303 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1304 | try await yieldIfNotInitialized()
1305 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:852:31: error: generic parameter 'U' could not be inferred
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
853 | callbackQueue: callbackQueue,
854 | completion: completion)
:
1322 | }
1323 |
1324 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1325 | try await yieldIfNotInitialized()
1326 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1100:31: error: generic parameter 'U' could not be inferred
1098 | if !usingMongoDB {
1099 | do {
1100 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
:
1364 |
1365 | // swiftlint:disable:next line_length
1366 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1367 | try await yieldIfNotInitialized()
1368 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:16:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
14 | #if !os(Linux) && !os(Android) && !os(Windows)
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 | configuration.urlCache = URLCache.parse
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:17:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
17 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseConfiguration.swift:76:51: error: cannot find 'URLRequest' in scope
74 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
75 | /// for more info.
76 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
77 |
78 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:22:58: error: 'nil' requires a contextual type
20 | URLSession.parse = URLSession(configuration: configuration,
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | } else {
24 | let session = URLSession.shared
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:24:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | delegateQueue: nil)
23 | } else {
24 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | session.configuration.urlCache = URLCache.parse
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:25:55: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
23 | } else {
24 | let session = URLSession.shared
25 | session.configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:28:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
28 | URLSession.parse = session
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
29 | }
30 | #endif
[200/202] Compiling ParseSwift QueryViewModel.swift
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:263:38: error: cannot find type 'DispatchQueue' in scope
261 | */
262 | public func fetch(options: API.Options = [],
263 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:27:36: error: extra argument 'completion' in call
25 | try await withCheckedThrowingContinuation { continuation in
26 | self.fetch(options: options,
27 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
28 | }
29 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | */
301 | public func create(options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:45:37: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | self.create(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:329:39: error: cannot find type 'DispatchQueue' in scope
327 | */
328 | public func update(options: API.Options = [],
329 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
330 | completion: @escaping (Result<Self, ParseError>) -> Void) {
331 | var mutableSchema = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:63:37: error: extra argument 'completion' in call
61 | try await withCheckedThrowingContinuation { continuation in
62 | self.update(options: options,
63 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
64 | }
65 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:386:24: error: cannot find type 'DispatchQueue' in scope
384 | public func purge(
385 | options: API.Options = [],
386 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:80:13: error: generic parameter 'T' could not be inferred
78 | */
79 | func purge(options: API.Options = []) async throws {
80 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
81 | self.purge(
82 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:83:17: error: extra argument 'completion' in call
81 | self.purge(
82 | options: options,
83 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
84 | )
85 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:424:24: error: cannot find type 'DispatchQueue' in scope
422 | public func delete(
423 | options: API.Options = [],
424 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:102:13: error: generic parameter 'T' could not be inferred
100 | */
101 | func delete(options: API.Options = []) async throws {
102 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
103 | self.delete(options: options,
104 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:104:19: error: extra argument 'completion' in call
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.delete(options: options,
104 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
105 | }
106 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseSchema.swift:268:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
266 | var options = options
267 | options.insert(.usePrimaryKey)
268 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
269 | await fetchCommand()
270 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:307:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
305 | var options = options
306 | options.insert(.usePrimaryKey)
307 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
308 | await createCommand()
309 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:341:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
339 | var options = options
340 | options.insert(.usePrimaryKey)
341 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
342 | await schema.updateCommand()
343 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:392:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
390 | var options = options
391 | options.insert(.usePrimaryKey)
392 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
393 | await purgeCommand().execute(options: options,
394 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:430:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
428 | var options = options
429 | options.insert(.usePrimaryKey)
430 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
431 | await deleteCommand().execute(options: options,
432 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:85:46: error: cannot find type 'DispatchQueue' in scope
83 | */
84 | static public func health(options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseServer.swift:143:51: error: cannot find type 'DispatchQueue' in scope
141 | */
142 | static public func information(options: API.Options = [],
143 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:42: error: extra argument 'completion' in call
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
61 | }
62 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:111:45: error: cannot find type 'DispatchQueue' in scope
109 | @available(*, deprecated, renamed: "health")
110 | static public func check(options: API.Options = [],
111 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:90:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | Task {
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
91 | await healthCommand()
92 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:114:15: error: extra arguments at positions #2, #3, #4 in call
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
114 | health(options: options,
| `- error: extra arguments at positions #2, #3, #4 in call
115 | callbackQueue: callbackQueue,
116 | allowIntermediateResponses: allowIntermediateResponses,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:25:17: note: 'health(options:)' declared here
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,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:148:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
146 | var options = options
147 | options.insert(.usePrimaryKey)
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
149 | await infoCommand()
150 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/ParsePointerable.swift:82:31: error: cannot find type 'DispatchQueue' in scope
80 | func fetch(includeKeys: [String]? = nil,
81 | options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | completion: @escaping (Result<Object, ParseError>) -> Void) {
84 | Task {
/host/spi-builder-workspace/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/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:33:30: error: cannot find type 'DispatchQueue' in scope
31 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
32 | */
33 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
34 | find(options: [], callbackQueue: callbackQueue, completion: completion)
35 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:514:58: error: cannot find type 'DispatchQueue' in scope
512 | public func findExplain<U: Decodable>(usingMongoDB: Bool = false,
513 | options: API.Options = [],
514 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
515 | completion: @escaping (Result<[U], ParseError>) -> Void) {
516 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:42: error: extra argument 'completion' in call
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
48 | }
49 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:45: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>(usingMongoDB: Bool = false,
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | options: API.Options = []) async throws -> [U] {
44 | try await withCheckedThrowingContinuation { continuation in
45 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:564:40: error: cannot find type 'DispatchQueue' in scope
562 | public func findAll(batchLimit limit: Int? = nil,
563 | options: API.Options = [],
564 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
565 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
566 | if self.limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:38: error: extra argument 'completion' in call
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
66 | }
67 | }
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:629:38: error: cannot find type 'DispatchQueue' in scope
627 | */
628 | public func first(options: API.Options = [],
629 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
630 | completion: @escaping (Result<ResultType, ParseError>) -> Void) {
631 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:48:31: error: cannot find type 'DispatchQueue' in scope
46 | `error` will be `nil` if `result` is set OR if the query succeeded, but found no results.
47 | */
48 | func first(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<ResultType, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
49 | first(options: [], callbackQueue: callbackQueue, completion: completion)
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:36: error: extra argument 'completion' in call
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
79 | }
80 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:672:59: error: cannot find type 'DispatchQueue' in scope
670 | public func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
671 | options: API.Options = [],
672 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
673 | completion: @escaping (Result<U, ParseError>) -> Void) {
674 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:99:18: error: type 'Void' cannot conform to 'Decodable'
94 | [here](https://github.com/parse-community/parse-server/pull/7440).
95 | */
96 | func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
97 | options: API.Options = []) async throws -> U {
98 | try await withCheckedThrowingContinuation { continuation in
99 | 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
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:43: error: extra argument 'completion' in call
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
102 | }
103 | }
/host/spi-builder-workspace/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 (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:718:38: error: cannot find type 'DispatchQueue' in scope
716 | */
717 | public func count(options: API.Options = [],
718 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
719 | completion: @escaping (Result<Int, ParseError>) -> Void) {
720 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:59:31: error: cannot find type 'DispatchQueue' in scope
57 | It should have the following argument signature: `^(int count, ParseError *error)`
58 | */
59 | func count(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<Int, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
60 | count(options: [], callbackQueue: callbackQueue, completion: completion)
61 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:36: error: extra argument 'completion' in call
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
115 | }
116 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:757:59: error: cannot find type 'DispatchQueue' in scope
755 | public func countExplain<U: Decodable>(usingMongoDB: Bool = false,
756 | options: API.Options = [],
757 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
758 | completion: @escaping (Result<[U], ParseError>) -> Void) {
759 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:43: error: extra argument 'completion' in call
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
138 | }
139 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:135:18: error: generic parameter 'U' could not be inferred
130 | [here](https://github.com/parse-community/parse-server/pull/7440).
131 | */
132 | func countExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
133 | options: API.Options = []) async throws -> [U] {
134 | try await withCheckedThrowingContinuation { continuation in
135 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:802:42: error: cannot find type 'DispatchQueue' in scope
800 | */
801 | public func withCount(options: API.Options = [],
802 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
803 | completion: @escaping (Result<([ResultType], Int), ParseError>) -> Void) {
804 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:40: error: extra argument 'completion' in call
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
152 | }
153 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:841:63: error: cannot find type 'DispatchQueue' in scope
839 | public func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
840 | options: API.Options = [],
841 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
842 | completion: @escaping (Result<[U], ParseError>) -> Void) {
843 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:47: error: extra argument 'completion' in call
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
175 | }
176 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:172:18: error: generic parameter 'U' could not be inferred
167 | [here](https://github.com/parse-community/parse-server/pull/7440).
168 | */
169 | func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
170 | options: API.Options = []) async throws -> [U] {
171 | try await withCheckedThrowingContinuation { continuation in
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:890:42: error: cannot find type 'DispatchQueue' in scope
888 | public func aggregate(_ pipeline: [[String: Encodable]],
889 | options: API.Options = [],
890 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
891 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
892 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:40: error: extra argument 'completion' in call
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
194 | }
195 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:962:63: error: cannot find type 'DispatchQueue' in scope
960 | usingMongoDB: Bool = false,
961 | options: API.Options = [],
962 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
963 | completion: @escaping (Result<[U], ParseError>) -> Void) {
964 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:219:18: error: generic parameter 'U' could not be inferred
213 | [here](https://github.com/parse-community/parse-server/pull/7440).
214 | */
215 | func aggregateExplain<U: Decodable>(_ pipeline: [[String: Encodable]],
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
216 | usingMongoDB: Bool = false,
217 | options: API.Options = []) async throws -> [U] {
218 | try await withCheckedThrowingContinuation { continuation in
219 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
220 | usingMongoDB: usingMongoDB,
221 | options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:47: error: extra argument 'completion' in call
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
223 | }
224 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1040:41: error: cannot find type 'DispatchQueue' in scope
1038 | public func distinct(_ key: String,
1039 | options: API.Options = [],
1040 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1041 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
1042 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:239:18: error: cannot call value of non-function type 'String?'
237 | options: API.Options = []) async throws -> [ResultType] {
238 | try await withCheckedThrowingContinuation { continuation in
239 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
240 | options: options,
241 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1087:62: error: cannot find type 'DispatchQueue' in scope
1085 | usingMongoDB: Bool = false,
1086 | options: API.Options = [],
1087 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1088 | completion: @escaping (Result<[U], ParseError>) -> Void) {
1089 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:46: error: extra argument 'completion' in call
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
271 | }
272 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:267:18: error: generic parameter 'U' could not be inferred
261 | [here](https://github.com/parse-community/parse-server/pull/7440).
262 | */
263 | func distinctExplain<U: Decodable>(_ key: String,
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
264 | usingMongoDB: Bool = false,
265 | options: API.Options = []) async throws -> [U] {
266 | try await withCheckedThrowingContinuation { continuation in
267 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
268 | usingMongoDB: usingMongoDB,
269 | options: options,
/host/spi-builder-workspace/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 (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:525:31: error: generic parameter 'U' could not be inferred
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
526 | callbackQueue: callbackQueue,
527 | completion: completion)
:
1248 | }
1249 |
1250 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1251 | try await yieldIfNotInitialized()
1252 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:685:31: error: generic parameter 'U' could not be inferred
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
686 | callbackQueue: callbackQueue,
687 | completion: completion)
:
1267 | }
1268 |
1269 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1270 | try await yieldIfNotInitialized()
1271 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:768:31: error: generic parameter 'U' could not be inferred
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
769 | callbackQueue: callbackQueue,
770 | completion: completion)
:
1301 | }
1302 |
1303 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1304 | try await yieldIfNotInitialized()
1305 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:852:31: error: generic parameter 'U' could not be inferred
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
853 | callbackQueue: callbackQueue,
854 | completion: completion)
:
1322 | }
1323 |
1324 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1325 | try await yieldIfNotInitialized()
1326 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1100:31: error: generic parameter 'U' could not be inferred
1098 | if !usingMongoDB {
1099 | do {
1100 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
:
1364 |
1365 | // swiftlint:disable:next line_length
1366 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1367 | try await yieldIfNotInitialized()
1368 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:16:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
14 | #if !os(Linux) && !os(Android) && !os(Windows)
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 | configuration.urlCache = URLCache.parse
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:17:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
17 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseConfiguration.swift:76:51: error: cannot find 'URLRequest' in scope
74 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
75 | /// for more info.
76 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
77 |
78 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:22:58: error: 'nil' requires a contextual type
20 | URLSession.parse = URLSession(configuration: configuration,
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | } else {
24 | let session = URLSession.shared
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:24:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | delegateQueue: nil)
23 | } else {
24 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | session.configuration.urlCache = URLCache.parse
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:25:55: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
23 | } else {
24 | let session = URLSession.shared
25 | session.configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:28:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
28 | URLSession.parse = session
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
29 | }
30 | #endif
[201/202] Compiling ParseSwift QueryWhere.swift
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:263:38: error: cannot find type 'DispatchQueue' in scope
261 | */
262 | public func fetch(options: API.Options = [],
263 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:27:36: error: extra argument 'completion' in call
25 | try await withCheckedThrowingContinuation { continuation in
26 | self.fetch(options: options,
27 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
28 | }
29 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | */
301 | public func create(options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:45:37: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | self.create(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:329:39: error: cannot find type 'DispatchQueue' in scope
327 | */
328 | public func update(options: API.Options = [],
329 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
330 | completion: @escaping (Result<Self, ParseError>) -> Void) {
331 | var mutableSchema = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:63:37: error: extra argument 'completion' in call
61 | try await withCheckedThrowingContinuation { continuation in
62 | self.update(options: options,
63 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
64 | }
65 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:386:24: error: cannot find type 'DispatchQueue' in scope
384 | public func purge(
385 | options: API.Options = [],
386 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:80:13: error: generic parameter 'T' could not be inferred
78 | */
79 | func purge(options: API.Options = []) async throws {
80 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
81 | self.purge(
82 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:83:17: error: extra argument 'completion' in call
81 | self.purge(
82 | options: options,
83 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
84 | )
85 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:424:24: error: cannot find type 'DispatchQueue' in scope
422 | public func delete(
423 | options: API.Options = [],
424 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:102:13: error: generic parameter 'T' could not be inferred
100 | */
101 | func delete(options: API.Options = []) async throws {
102 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
103 | self.delete(options: options,
104 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:104:19: error: extra argument 'completion' in call
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.delete(options: options,
104 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
105 | }
106 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseSchema.swift:268:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
266 | var options = options
267 | options.insert(.usePrimaryKey)
268 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
269 | await fetchCommand()
270 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:307:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
305 | var options = options
306 | options.insert(.usePrimaryKey)
307 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
308 | await createCommand()
309 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:341:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
339 | var options = options
340 | options.insert(.usePrimaryKey)
341 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
342 | await schema.updateCommand()
343 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:392:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
390 | var options = options
391 | options.insert(.usePrimaryKey)
392 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
393 | await purgeCommand().execute(options: options,
394 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:430:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
428 | var options = options
429 | options.insert(.usePrimaryKey)
430 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
431 | await deleteCommand().execute(options: options,
432 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:85:46: error: cannot find type 'DispatchQueue' in scope
83 | */
84 | static public func health(options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseServer.swift:143:51: error: cannot find type 'DispatchQueue' in scope
141 | */
142 | static public func information(options: API.Options = [],
143 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:42: error: extra argument 'completion' in call
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
61 | }
62 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:111:45: error: cannot find type 'DispatchQueue' in scope
109 | @available(*, deprecated, renamed: "health")
110 | static public func check(options: API.Options = [],
111 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:90:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | Task {
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
91 | await healthCommand()
92 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:114:15: error: extra arguments at positions #2, #3, #4 in call
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
114 | health(options: options,
| `- error: extra arguments at positions #2, #3, #4 in call
115 | callbackQueue: callbackQueue,
116 | allowIntermediateResponses: allowIntermediateResponses,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:25:17: note: 'health(options:)' declared here
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,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:148:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
146 | var options = options
147 | options.insert(.usePrimaryKey)
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
149 | await infoCommand()
150 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/ParsePointerable.swift:82:31: error: cannot find type 'DispatchQueue' in scope
80 | func fetch(includeKeys: [String]? = nil,
81 | options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | completion: @escaping (Result<Object, ParseError>) -> Void) {
84 | Task {
/host/spi-builder-workspace/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/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:33:30: error: cannot find type 'DispatchQueue' in scope
31 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
32 | */
33 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
34 | find(options: [], callbackQueue: callbackQueue, completion: completion)
35 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:514:58: error: cannot find type 'DispatchQueue' in scope
512 | public func findExplain<U: Decodable>(usingMongoDB: Bool = false,
513 | options: API.Options = [],
514 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
515 | completion: @escaping (Result<[U], ParseError>) -> Void) {
516 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:42: error: extra argument 'completion' in call
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
48 | }
49 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:45: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>(usingMongoDB: Bool = false,
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | options: API.Options = []) async throws -> [U] {
44 | try await withCheckedThrowingContinuation { continuation in
45 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:564:40: error: cannot find type 'DispatchQueue' in scope
562 | public func findAll(batchLimit limit: Int? = nil,
563 | options: API.Options = [],
564 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
565 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
566 | if self.limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:38: error: extra argument 'completion' in call
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
66 | }
67 | }
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:629:38: error: cannot find type 'DispatchQueue' in scope
627 | */
628 | public func first(options: API.Options = [],
629 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
630 | completion: @escaping (Result<ResultType, ParseError>) -> Void) {
631 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:48:31: error: cannot find type 'DispatchQueue' in scope
46 | `error` will be `nil` if `result` is set OR if the query succeeded, but found no results.
47 | */
48 | func first(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<ResultType, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
49 | first(options: [], callbackQueue: callbackQueue, completion: completion)
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:36: error: extra argument 'completion' in call
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
79 | }
80 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:672:59: error: cannot find type 'DispatchQueue' in scope
670 | public func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
671 | options: API.Options = [],
672 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
673 | completion: @escaping (Result<U, ParseError>) -> Void) {
674 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:99:18: error: type 'Void' cannot conform to 'Decodable'
94 | [here](https://github.com/parse-community/parse-server/pull/7440).
95 | */
96 | func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
97 | options: API.Options = []) async throws -> U {
98 | try await withCheckedThrowingContinuation { continuation in
99 | 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
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:43: error: extra argument 'completion' in call
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
102 | }
103 | }
/host/spi-builder-workspace/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 (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:718:38: error: cannot find type 'DispatchQueue' in scope
716 | */
717 | public func count(options: API.Options = [],
718 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
719 | completion: @escaping (Result<Int, ParseError>) -> Void) {
720 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:59:31: error: cannot find type 'DispatchQueue' in scope
57 | It should have the following argument signature: `^(int count, ParseError *error)`
58 | */
59 | func count(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<Int, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
60 | count(options: [], callbackQueue: callbackQueue, completion: completion)
61 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:36: error: extra argument 'completion' in call
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
115 | }
116 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:757:59: error: cannot find type 'DispatchQueue' in scope
755 | public func countExplain<U: Decodable>(usingMongoDB: Bool = false,
756 | options: API.Options = [],
757 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
758 | completion: @escaping (Result<[U], ParseError>) -> Void) {
759 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:43: error: extra argument 'completion' in call
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
138 | }
139 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:135:18: error: generic parameter 'U' could not be inferred
130 | [here](https://github.com/parse-community/parse-server/pull/7440).
131 | */
132 | func countExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
133 | options: API.Options = []) async throws -> [U] {
134 | try await withCheckedThrowingContinuation { continuation in
135 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:802:42: error: cannot find type 'DispatchQueue' in scope
800 | */
801 | public func withCount(options: API.Options = [],
802 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
803 | completion: @escaping (Result<([ResultType], Int), ParseError>) -> Void) {
804 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:40: error: extra argument 'completion' in call
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
152 | }
153 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:841:63: error: cannot find type 'DispatchQueue' in scope
839 | public func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
840 | options: API.Options = [],
841 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
842 | completion: @escaping (Result<[U], ParseError>) -> Void) {
843 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:47: error: extra argument 'completion' in call
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
175 | }
176 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:172:18: error: generic parameter 'U' could not be inferred
167 | [here](https://github.com/parse-community/parse-server/pull/7440).
168 | */
169 | func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
170 | options: API.Options = []) async throws -> [U] {
171 | try await withCheckedThrowingContinuation { continuation in
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:890:42: error: cannot find type 'DispatchQueue' in scope
888 | public func aggregate(_ pipeline: [[String: Encodable]],
889 | options: API.Options = [],
890 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
891 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
892 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:40: error: extra argument 'completion' in call
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
194 | }
195 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:962:63: error: cannot find type 'DispatchQueue' in scope
960 | usingMongoDB: Bool = false,
961 | options: API.Options = [],
962 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
963 | completion: @escaping (Result<[U], ParseError>) -> Void) {
964 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:219:18: error: generic parameter 'U' could not be inferred
213 | [here](https://github.com/parse-community/parse-server/pull/7440).
214 | */
215 | func aggregateExplain<U: Decodable>(_ pipeline: [[String: Encodable]],
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
216 | usingMongoDB: Bool = false,
217 | options: API.Options = []) async throws -> [U] {
218 | try await withCheckedThrowingContinuation { continuation in
219 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
220 | usingMongoDB: usingMongoDB,
221 | options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:47: error: extra argument 'completion' in call
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
223 | }
224 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1040:41: error: cannot find type 'DispatchQueue' in scope
1038 | public func distinct(_ key: String,
1039 | options: API.Options = [],
1040 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1041 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
1042 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:239:18: error: cannot call value of non-function type 'String?'
237 | options: API.Options = []) async throws -> [ResultType] {
238 | try await withCheckedThrowingContinuation { continuation in
239 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
240 | options: options,
241 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1087:62: error: cannot find type 'DispatchQueue' in scope
1085 | usingMongoDB: Bool = false,
1086 | options: API.Options = [],
1087 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1088 | completion: @escaping (Result<[U], ParseError>) -> Void) {
1089 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:46: error: extra argument 'completion' in call
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
271 | }
272 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:267:18: error: generic parameter 'U' could not be inferred
261 | [here](https://github.com/parse-community/parse-server/pull/7440).
262 | */
263 | func distinctExplain<U: Decodable>(_ key: String,
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
264 | usingMongoDB: Bool = false,
265 | options: API.Options = []) async throws -> [U] {
266 | try await withCheckedThrowingContinuation { continuation in
267 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
268 | usingMongoDB: usingMongoDB,
269 | options: options,
/host/spi-builder-workspace/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 (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:525:31: error: generic parameter 'U' could not be inferred
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
526 | callbackQueue: callbackQueue,
527 | completion: completion)
:
1248 | }
1249 |
1250 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1251 | try await yieldIfNotInitialized()
1252 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:685:31: error: generic parameter 'U' could not be inferred
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
686 | callbackQueue: callbackQueue,
687 | completion: completion)
:
1267 | }
1268 |
1269 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1270 | try await yieldIfNotInitialized()
1271 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:768:31: error: generic parameter 'U' could not be inferred
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
769 | callbackQueue: callbackQueue,
770 | completion: completion)
:
1301 | }
1302 |
1303 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1304 | try await yieldIfNotInitialized()
1305 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:852:31: error: generic parameter 'U' could not be inferred
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
853 | callbackQueue: callbackQueue,
854 | completion: completion)
:
1322 | }
1323 |
1324 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1325 | try await yieldIfNotInitialized()
1326 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1100:31: error: generic parameter 'U' could not be inferred
1098 | if !usingMongoDB {
1099 | do {
1100 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
:
1364 |
1365 | // swiftlint:disable:next line_length
1366 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1367 | try await yieldIfNotInitialized()
1368 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:16:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
14 | #if !os(Linux) && !os(Android) && !os(Windows)
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 | configuration.urlCache = URLCache.parse
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:17:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
17 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseConfiguration.swift:76:51: error: cannot find 'URLRequest' in scope
74 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
75 | /// for more info.
76 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
77 |
78 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:22:58: error: 'nil' requires a contextual type
20 | URLSession.parse = URLSession(configuration: configuration,
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | } else {
24 | let session = URLSession.shared
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:24:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | delegateQueue: nil)
23 | } else {
24 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | session.configuration.urlCache = URLCache.parse
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:25:55: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
23 | } else {
24 | let session = URLSession.shared
25 | session.configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:28:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
28 | URLSession.parse = session
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
29 | }
30 | #endif
[202/202] Compiling ParseSwift Utility.swift
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:263:38: error: cannot find type 'DispatchQueue' in scope
261 | */
262 | public func fetch(options: API.Options = [],
263 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
264 | completion: @escaping (Result<Self, ParseError>) -> Void) {
265 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:27:36: error: extra argument 'completion' in call
25 | try await withCheckedThrowingContinuation { continuation in
26 | self.fetch(options: options,
27 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
28 | }
29 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | */
301 | public func create(options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:45:37: error: extra argument 'completion' in call
43 | try await withCheckedThrowingContinuation { continuation in
44 | self.create(options: options,
45 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
46 | }
47 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:329:39: error: cannot find type 'DispatchQueue' in scope
327 | */
328 | public func update(options: API.Options = [],
329 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
330 | completion: @escaping (Result<Self, ParseError>) -> Void) {
331 | var mutableSchema = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:63:37: error: extra argument 'completion' in call
61 | try await withCheckedThrowingContinuation { continuation in
62 | self.update(options: options,
63 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
64 | }
65 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:386:24: error: cannot find type 'DispatchQueue' in scope
384 | public func purge(
385 | options: API.Options = [],
386 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
387 | completion: @escaping (Result<Void, ParseError>) -> Void
388 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:80:13: error: generic parameter 'T' could not be inferred
78 | */
79 | func purge(options: API.Options = []) async throws {
80 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
81 | self.purge(
82 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:83:17: error: extra argument 'completion' in call
81 | self.purge(
82 | options: options,
83 | completion: { continuation.resume(with: $0) }
| `- error: extra argument 'completion' in call
84 | )
85 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:424:24: error: cannot find type 'DispatchQueue' in scope
422 | public func delete(
423 | options: API.Options = [],
424 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
425 | completion: @escaping (Result<Void, ParseError>) -> Void
426 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema+async.swift:102:13: error: generic parameter 'T' could not be inferred
100 | */
101 | func delete(options: API.Options = []) async throws {
102 | try await withCheckedThrowingContinuation { continuation in
| `- error: generic parameter 'T' could not be inferred
103 | self.delete(options: options,
104 | 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/Sources/ParseSwift/Types/ParseSchema+async.swift:104:19: error: extra argument 'completion' in call
102 | try await withCheckedThrowingContinuation { continuation in
103 | self.delete(options: options,
104 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
105 | }
106 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseSchema.swift:268:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
266 | var options = options
267 | options.insert(.usePrimaryKey)
268 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
269 | await fetchCommand()
270 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:307:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
305 | var options = options
306 | options.insert(.usePrimaryKey)
307 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
308 | await createCommand()
309 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:341:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
339 | var options = options
340 | options.insert(.usePrimaryKey)
341 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
342 | await schema.updateCommand()
343 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:392:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
390 | var options = options
391 | options.insert(.usePrimaryKey)
392 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
393 | await purgeCommand().execute(options: options,
394 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseSchema.swift:430:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
428 | var options = options
429 | options.insert(.usePrimaryKey)
430 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
431 | await deleteCommand().execute(options: options,
432 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:85:46: error: cannot find type 'DispatchQueue' in scope
83 | */
84 | static public func health(options: API.Options = [],
85 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
86 | allowIntermediateResponses: Bool = true,
87 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/ParseServer.swift:143:51: error: cannot find type 'DispatchQueue' in scope
141 | */
142 | static public func information(options: API.Options = [],
143 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
144 | completion: @escaping (Result<Information, ParseError>) -> Void) {
145 | Task {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:60:42: error: extra argument 'completion' in call
58 | try await withCheckedThrowingContinuation { continuation in
59 | Self.information(options: options,
60 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
61 | }
62 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:111:45: error: cannot find type 'DispatchQueue' in scope
109 | @available(*, deprecated, renamed: "health")
110 | static public func check(options: API.Options = [],
111 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:90:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
88 | Task {
89 | var options = options
90 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
91 | await healthCommand()
92 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:114:15: error: extra arguments at positions #2, #3, #4 in call
112 | allowIntermediateResponses: Bool = true,
113 | completion: @escaping (Result<Status, ParseError>) -> Void) {
114 | health(options: options,
| `- error: extra arguments at positions #2, #3, #4 in call
115 | callbackQueue: callbackQueue,
116 | allowIntermediateResponses: allowIntermediateResponses,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer+async.swift:25:17: note: 'health(options:)' declared here
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,
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseServer.swift:148:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
146 | var options = options
147 | options.insert(.usePrimaryKey)
148 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
149 | await infoCommand()
150 | .execute(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/ParsePointerable.swift:82:31: error: cannot find type 'DispatchQueue' in scope
80 | func fetch(includeKeys: [String]? = nil,
81 | options: API.Options = [],
82 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
83 | completion: @escaping (Result<Object, ParseError>) -> Void) {
84 | Task {
/host/spi-builder-workspace/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/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void) {
477 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:33:30: error: cannot find type 'DispatchQueue' in scope
31 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
32 | */
33 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
34 | find(options: [], callbackQueue: callbackQueue, completion: completion)
35 | }
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:514:58: error: cannot find type 'DispatchQueue' in scope
512 | public func findExplain<U: Decodable>(usingMongoDB: Bool = false,
513 | options: API.Options = [],
514 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
515 | completion: @escaping (Result<[U], ParseError>) -> Void) {
516 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:47:42: error: extra argument 'completion' in call
45 | self.findExplain(usingMongoDB: usingMongoDB,
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
48 | }
49 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:45: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>(usingMongoDB: Bool = false,
| `- note: in call to function 'findExplain(usingMongoDB:options:)'
43 | options: API.Options = []) async throws -> [U] {
44 | try await withCheckedThrowingContinuation { continuation in
45 | self.findExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
46 | options: options,
47 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:564:40: error: cannot find type 'DispatchQueue' in scope
562 | public func findAll(batchLimit limit: Int? = nil,
563 | options: API.Options = [],
564 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
565 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
566 | if self.limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:65:38: error: extra argument 'completion' in call
63 | self.findAll(batchLimit: batchLimit,
64 | options: options,
65 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
66 | }
67 | }
/host/spi-builder-workspace/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 (Result<[ResultType], ParseError>) -> Void)
18 | func first(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
19 | completion: @escaping (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:629:38: error: cannot find type 'DispatchQueue' in scope
627 | */
628 | public func first(options: API.Options = [],
629 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
630 | completion: @escaping (Result<ResultType, ParseError>) -> Void) {
631 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:48:31: error: cannot find type 'DispatchQueue' in scope
46 | `error` will be `nil` if `result` is set OR if the query succeeded, but found no results.
47 | */
48 | func first(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<ResultType, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
49 | first(options: [], callbackQueue: callbackQueue, completion: completion)
50 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:78:36: error: extra argument 'completion' in call
76 | try await withCheckedThrowingContinuation { continuation in
77 | self.first(options: options,
78 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
79 | }
80 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:672:59: error: cannot find type 'DispatchQueue' in scope
670 | public func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
671 | options: API.Options = [],
672 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
673 | completion: @escaping (Result<U, ParseError>) -> Void) {
674 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:99:18: error: type 'Void' cannot conform to 'Decodable'
94 | [here](https://github.com/parse-community/parse-server/pull/7440).
95 | */
96 | func firstExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: required by instance method 'firstExplain(usingMongoDB:options:)' where 'U' = 'Void'
97 | options: API.Options = []) async throws -> U {
98 | try await withCheckedThrowingContinuation { continuation in
99 | 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
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:101:43: error: extra argument 'completion' in call
99 | self.firstExplain(usingMongoDB: usingMongoDB,
100 | options: options,
101 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
102 | }
103 | }
/host/spi-builder-workspace/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 (Result<ResultType, ParseError>) -> Void)
20 | func count(options: API.Options, callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
21 | completion: @escaping (Result<Int, ParseError>) -> Void)
22 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:718:38: error: cannot find type 'DispatchQueue' in scope
716 | */
717 | public func count(options: API.Options = [],
718 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
719 | completion: @escaping (Result<Int, ParseError>) -> Void) {
720 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:59:31: error: cannot find type 'DispatchQueue' in scope
57 | It should have the following argument signature: `^(int count, ParseError *error)`
58 | */
59 | func count(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<Int, ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
60 | count(options: [], callbackQueue: callbackQueue, completion: completion)
61 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:114:36: error: extra argument 'completion' in call
112 | try await withCheckedThrowingContinuation { continuation in
113 | self.count(options: options,
114 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
115 | }
116 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:757:59: error: cannot find type 'DispatchQueue' in scope
755 | public func countExplain<U: Decodable>(usingMongoDB: Bool = false,
756 | options: API.Options = [],
757 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
758 | completion: @escaping (Result<[U], ParseError>) -> Void) {
759 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:137:43: error: extra argument 'completion' in call
135 | self.countExplain(usingMongoDB: usingMongoDB,
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
138 | }
139 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:135:18: error: generic parameter 'U' could not be inferred
130 | [here](https://github.com/parse-community/parse-server/pull/7440).
131 | */
132 | func countExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'countExplain(usingMongoDB:options:)'
133 | options: API.Options = []) async throws -> [U] {
134 | try await withCheckedThrowingContinuation { continuation in
135 | self.countExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
136 | options: options,
137 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:802:42: error: cannot find type 'DispatchQueue' in scope
800 | */
801 | public func withCount(options: API.Options = [],
802 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
803 | completion: @escaping (Result<([ResultType], Int), ParseError>) -> Void) {
804 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:151:40: error: extra argument 'completion' in call
149 | try await withCheckedThrowingContinuation { continuation in
150 | self.withCount(options: options,
151 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
152 | }
153 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:841:63: error: cannot find type 'DispatchQueue' in scope
839 | public func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
840 | options: API.Options = [],
841 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
842 | completion: @escaping (Result<[U], ParseError>) -> Void) {
843 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:174:47: error: extra argument 'completion' in call
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
175 | }
176 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:172:18: error: generic parameter 'U' could not be inferred
167 | [here](https://github.com/parse-community/parse-server/pull/7440).
168 | */
169 | func withCountExplain<U: Decodable>(usingMongoDB: Bool = false,
| `- note: in call to function 'withCountExplain(usingMongoDB:options:)'
170 | options: API.Options = []) async throws -> [U] {
171 | try await withCheckedThrowingContinuation { continuation in
172 | self.withCountExplain(usingMongoDB: usingMongoDB,
| `- error: generic parameter 'U' could not be inferred
173 | options: options,
174 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:890:42: error: cannot find type 'DispatchQueue' in scope
888 | public func aggregate(_ pipeline: [[String: Encodable]],
889 | options: API.Options = [],
890 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
891 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
892 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:193:40: error: extra argument 'completion' in call
191 | self.aggregate(pipeline,
192 | options: options,
193 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
194 | }
195 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:962:63: error: cannot find type 'DispatchQueue' in scope
960 | usingMongoDB: Bool = false,
961 | options: API.Options = [],
962 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
963 | completion: @escaping (Result<[U], ParseError>) -> Void) {
964 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:219:18: error: generic parameter 'U' could not be inferred
213 | [here](https://github.com/parse-community/parse-server/pull/7440).
214 | */
215 | func aggregateExplain<U: Decodable>(_ pipeline: [[String: Encodable]],
| `- note: in call to function 'aggregateExplain(_:usingMongoDB:options:)'
216 | usingMongoDB: Bool = false,
217 | options: API.Options = []) async throws -> [U] {
218 | try await withCheckedThrowingContinuation { continuation in
219 | self.aggregateExplain(pipeline,
| `- error: generic parameter 'U' could not be inferred
220 | usingMongoDB: usingMongoDB,
221 | options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:222:47: error: extra argument 'completion' in call
220 | usingMongoDB: usingMongoDB,
221 | options: options,
222 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
223 | }
224 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1040:41: error: cannot find type 'DispatchQueue' in scope
1038 | public func distinct(_ key: String,
1039 | options: API.Options = [],
1040 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1041 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
1042 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:239:18: error: cannot call value of non-function type 'String?'
237 | options: API.Options = []) async throws -> [ResultType] {
238 | try await withCheckedThrowingContinuation { continuation in
239 | self.distinct(key,
| `- error: cannot call value of non-function type 'String?'
240 | options: options,
241 | completion: { continuation.resume(with: $0) })
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1087:62: error: cannot find type 'DispatchQueue' in scope
1085 | usingMongoDB: Bool = false,
1086 | options: API.Options = [],
1087 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1088 | completion: @escaping (Result<[U], ParseError>) -> Void) {
1089 | guard limit > 0 else {
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:270:46: error: extra argument 'completion' in call
268 | usingMongoDB: usingMongoDB,
269 | options: options,
270 | completion: { continuation.resume(with: $0) })
| `- error: extra argument 'completion' in call
271 | }
272 | }
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query+async.swift:267:18: error: generic parameter 'U' could not be inferred
261 | [here](https://github.com/parse-community/parse-server/pull/7440).
262 | */
263 | func distinctExplain<U: Decodable>(_ key: String,
| `- note: in call to function 'distinctExplain(_:usingMongoDB:options:)'
264 | usingMongoDB: Bool = false,
265 | options: API.Options = []) async throws -> [U] {
266 | try await withCheckedThrowingContinuation { continuation in
267 | self.distinctExplain(key,
| `- error: generic parameter 'U' could not be inferred
268 | usingMongoDB: usingMongoDB,
269 | options: options,
/host/spi-builder-workspace/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 (Result<U, ParseError>) -> Void) async {
/host/spi-builder-workspace/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/Sources/ParseSwift/Types/Query.swift:525:31: error: generic parameter 'U' could not be inferred
523 | if !usingMongoDB {
524 | do {
525 | try await findExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
526 | callbackQueue: callbackQueue,
527 | completion: completion)
:
1248 | }
1249 |
1250 | func findExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'findExplainCommand()'
1251 | try await yieldIfNotInitialized()
1252 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:685:31: error: generic parameter 'U' could not be inferred
683 | if !usingMongoDB {
684 | do {
685 | try await firstExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
686 | callbackQueue: callbackQueue,
687 | completion: completion)
:
1267 | }
1268 |
1269 | func firstExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, U> {
| `- note: in call to function 'firstExplainCommand()'
1270 | try await yieldIfNotInitialized()
1271 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:768:31: error: generic parameter 'U' could not be inferred
766 | if !usingMongoDB {
767 | do {
768 | try await countExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
769 | callbackQueue: callbackQueue,
770 | completion: completion)
:
1301 | }
1302 |
1303 | func countExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'countExplainCommand()'
1304 | try await yieldIfNotInitialized()
1305 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:852:31: error: generic parameter 'U' could not be inferred
850 | if !usingMongoDB {
851 | do {
852 | try await withCountExplainCommand().execute(options: options,
| `- error: generic parameter 'U' could not be inferred
853 | callbackQueue: callbackQueue,
854 | completion: completion)
:
1322 | }
1323 |
1324 | func withCountExplainCommand<U: Decodable>() async throws -> API.NonParseBodyCommand<Query<ResultType>, [U]> {
| `- note: in call to function 'withCountExplainCommand()'
1325 | try await yieldIfNotInitialized()
1326 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:1100:31: error: generic parameter 'U' could not be inferred
1098 | if !usingMongoDB {
1099 | do {
1100 | try await distinctExplainCommand(key: key)
| `- error: generic parameter 'U' could not be inferred
1101 | .execute(options: options,
1102 | callbackQueue: callbackQueue,
:
1364 |
1365 | // swiftlint:disable:next line_length
1366 | func distinctExplainCommand<U: Decodable>(key: String) async throws -> API.NonParseBodyCommand<DistinctBody<ResultType>, [U]> {
| `- note: in call to function 'distinctExplainCommand(key:)'
1367 | try await yieldIfNotInitialized()
1368 | var query = self
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:16:57: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
14 | #if !os(Linux) && !os(Android) && !os(Windows)
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
17 | configuration.urlCache = URLCache.parse
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:17:47: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
15 | if !Parse.configuration.isTestingSDK {
16 | let configuration = URLSessionConfiguration.default
17 | configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseConfiguration.swift:76:51: error: cannot find 'URLRequest' in scope
74 | /// See Apple's [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
75 | /// for more info.
76 | public internal(set) var requestCachePolicy = URLRequest.CachePolicy.useProtocolCachePolicy
| `- error: cannot find 'URLRequest' in scope
77 |
78 | /// A dictionary of additional headers to send with requests. See Apple's
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:20:32: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 | configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
19 | configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
20 | URLSession.parse = URLSession(configuration: configuration,
| `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:22:58: error: 'nil' requires a contextual type
20 | URLSession.parse = URLSession(configuration: configuration,
21 | delegate: Parse.sessionDelegate,
22 | delegateQueue: nil)
| `- error: 'nil' requires a contextual type
23 | } else {
24 | let session = URLSession.shared
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:24:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
22 | delegateQueue: nil)
23 | } else {
24 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
25 | session.configuration.urlCache = URLCache.parse
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:25:55: error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
23 | } else {
24 | let session = URLSession.shared
25 | session.configuration.urlCache = URLCache.parse
| `- error: type 'URLCache' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
/host/spi-builder-workspace/Sources/ParseSwift/Utility.swift:28:24: error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
26 | session.configuration.requestCachePolicy = Parse.configuration.requestCachePolicy
27 | session.configuration.httpAdditionalHeaders = Parse.configuration.httpAdditionalHeaders
28 | URLSession.parse = session
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'parse'
29 | }
30 | #endif
BUILD FAILURE 6.1 wasm