Build Information
Failed to build ParseSwift, reference main (645180), with Swift 6.3 for Wasm on 13 Apr 2026 09:38:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
984 | try Self.updateKeychainIfNeeded([self], deleting: true)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1005:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1003 | ) {
1004 | var options = options
1005 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1006 | do {
1007 | try deleteCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1097:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1095 | options: API.Options = []) throws -> [(Result<Self.Element, ParseError>)] {
1096 | var options = options
1097 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1098 | var childObjects = [String: PointerType]()
1099 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1105:25: error: cannot find 'DispatchGroup' in scope
1103 | try forEach {
1104 | let installation = $0
1105 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1106 | group.enter()
1107 | installation.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:402:38: error: cannot find type 'DispatchQueue' in scope
400 | ignoringCustomObjectIdConfig: Bool = false,
401 | options: API.Options,
402 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
403 | var options = options
404 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:703:47: error: cannot find type 'DispatchQueue' in scope
701 | ignoringCustomObjectIdConfig: Bool = false,
702 | options: API.Options,
703 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
704 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void) {
705 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:549:38: error: cannot find type 'DispatchQueue' in scope
547 | ignoringCustomObjectIdConfig: Bool = false,
548 | options: API.Options,
549 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
550 | var options = options
551 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1828:24: error: cannot find type 'DispatchQueue' in scope
1826 | ignoringCustomObjectIdConfig: Bool = false,
1827 | options: API.Options,
1828 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1829 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1830 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1402:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1400 | ) {
1401 | var options = options
1402 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1404:21: error: cannot find 'DispatchQueue' in scope
1402 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1405 | qos: .default,
1406 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1405:41: error: cannot infer contextual base in reference to member 'default'
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1405 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1406:48: error: cannot infer contextual base in reference to member 'concurrent'
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1405 | qos: .default,
1406 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1407 | autoreleaseFrequency: .inherit,
1408 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1407:58: error: cannot infer contextual base in reference to member 'inherit'
1405 | qos: .default,
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1408 | target: nil)
1409 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1408:43: error: 'nil' requires a contextual type
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
1408 | target: nil)
| `- error: 'nil' requires a contextual type
1409 | queue.sync {
1410 | var childObjects = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1417:29: error: cannot find 'DispatchGroup' in scope
1415 |
1416 | for installation in installations {
1417 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1418 | group.enter()
1419 | installation
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) throws -> ResultType
15 | func count(options: API.Options) 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:540:37: error: cannot find type 'DispatchQueue' in scope
538 | */
539 | public func find(options: API.Options = [],
540 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
541 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
542 | if limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:67:30: error: cannot find type 'DispatchQueue' in scope
65 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
66 | */
67 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
68 | find(options: [], callbackQueue: callbackQueue, completion: completion)
69 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1594:23: error: extra arguments at positions #2, #3 in call
1592 | query = query.include(include)
1593 | }
1594 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
1595 | switch result {
1596 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1655:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1653 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
1654 | var options = options
1655 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1656 | var returnBatch = [(Result<Void, ParseError>)]()
1657 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1707:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1705 | ) {
1706 | var options = options
1707 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1708 | do {
1709 | var returnBatch = [(Result<Void, ParseError>)]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1788:28: error: extra argument 'completion' in call
1786 | become(oldInstallationId,
1787 | copyEntireInstallation: copyEntireInstallation,
1788 | completion: completion)
| `- error: extra argument 'completion' in call
1789 | }
1790 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1831:43: error: extra arguments at positions #2, #3 in call
978 | desires a different policy, it should be inserted in `options`.
979 | */
980 | public func delete(options: API.Options = []) throws {
| `- note: 'delete(options:)' declared here
981 | var options = options
982 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
:
1829 | // Only delete the `ParseInstallation` on Parse Server if it is not current.
1830 | guard Self.current?.installationId == oldInstallationId else {
1831 | currentInstallation.delete(options: options,
| `- error: extra arguments at positions #2, #3 in call
1832 | callbackQueue: callbackQueue,
1833 | completion: completion)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:476:33: error: cannot find type 'DispatchQueue' in scope
474 | transaction: Bool = configuration.isUsingTransactions,
475 | options: API.Options = [],
476 | callbackQueue: DispatchQueue = .main) async throws -> [(Result<PointerType, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
477 | try await API.NonParseBodyCommand<AnyCodable, PointerType>
478 | .batch(objects: objects,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:31:49: error: extra argument 'completion' in call
29 | self.fetch(includeKeys: includeKeys,
30 | options: options,
31 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
32 | }
33 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:49:48: error: extra argument 'completion' in call
47 | self.save(ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
48 | options: options,
49 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:62:50: error: extra argument 'completion' in call
60 | try await withCheckedThrowingContinuation { continuation in
61 | self.create(options: options,
62 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
63 | }
64 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:75:51: error: extra argument 'completion' in call
73 | try await withCheckedThrowingContinuation { continuation in
74 | self.replace(options: options,
75 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
76 | }
77 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:88:50: error: extra argument 'completion' in call
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.update(options: options,
88 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
89 | }
90 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:101:50: error: extra argument 'completion' in call
99 | let result = try await withCheckedThrowingContinuation { continuation in
100 | self.delete(options: options,
101 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
102 | }
103 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:126:52: error: extra argument 'completion' in call
124 | self.fetchAll(includeKeys: includeKeys,
125 | options: options,
126 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
127 | }
128 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:168:51: error: extra argument 'completion' in call
166 | ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
167 | options: options,
168 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
169 | }
170 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:196:53: error: extra argument 'completion' in call
194 | transaction: transaction,
195 | options: options,
196 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
197 | }
198 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:224:54: error: extra argument 'completion' in call
222 | transaction: transaction,
223 | options: options,
224 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
225 | }
226 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:252:53: error: extra argument 'completion' in call
250 | transaction: transaction,
251 | options: options,
252 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
253 | }
254 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:277:53: error: extra argument 'completion' in call
275 | transaction: transaction,
276 | options: options,
277 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
278 | }
279 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:293:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
291 | // Remove any caching policy added by the developer as fresh data
292 | // from the server is needed.
293 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
294 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
295 | var objectsFinishedSaving = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:294:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
292 | // from the server is needed.
293 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
294 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
295 | var objectsFinishedSaving = [String: PointerType]()
296 | var filesFinishedSaving = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:330:37: error: cannot find type 'DispatchQueue' in scope
328 | public func save(options: API.Options = [],
329 | stream: InputStream,
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)? = nil) throws {
332 | try uploadFileCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:396:37: error: cannot find type 'DispatchQueue' in scope
394 | */
395 | public func save(options: API.Options = [],
396 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
397 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)?) throws -> ParseFile {
398 | let options = setDefaultOptions(options)
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:457:37: error: cannot find type 'DispatchQueue' in scope
455 | */
456 | public func save(options: API.Options = [],
457 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
458 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)? = nil,
459 | completion: @escaping (Result<Self, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:343:49: warning: no 'async' operations occur within 'await' expression
341 | }
342 | if savableObjects.count > 0 {
343 | let savedChildObjects = try await self.saveAll(objects: savableObjects,
| `- warning: no 'async' operations occur within 'await' expression
344 | options: options)
345 | let savedChildPointers = try savedChildObjects.compactMap { try $0.get() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:404:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
402 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
403 | var options = options
404 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
405 | var childObjects = [String: PointerType]()
406 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:407:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
405 | options: API.Options = []) throws -> [(Result<Self.Element, ParseError>)] {
406 | var options = options
407 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
408 | var childObjects = [String: PointerType]()
409 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:415:25: error: cannot find 'DispatchGroup' in scope
413 | try forEach {
414 | let object = $0
415 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
416 | group.enter()
417 | object.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:706:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
704 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void) {
705 | var options = options
706 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:708:21: error: cannot find 'DispatchQueue' in scope
706 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
709 | qos: .default,
710 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:709:41: error: cannot infer contextual base in reference to member 'default'
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
709 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:710:48: error: cannot infer contextual base in reference to member 'concurrent'
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
709 | qos: .default,
710 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
711 | autoreleaseFrequency: .inherit,
712 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:711:58: error: cannot infer contextual base in reference to member 'inherit'
709 | qos: .default,
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
712 | target: nil)
713 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:712:43: error: 'nil' requires a contextual type
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
712 | target: nil)
| `- error: 'nil' requires a contextual type
713 | queue.sync {
714 | var childObjects = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:720:29: error: cannot find 'DispatchGroup' in scope
718 | let objects = map { $0 }
719 | for object in objects {
720 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
721 | group.enter()
722 | object.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:888:23: error: extra arguments at positions #2, #3 in call
886 | query = query.include(include)
887 | }
888 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
889 | switch result {
890 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:947:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
945 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
946 | var options = options
947 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
948 | var returnBatch = [(Result<Void, ParseError>)]()
949 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:997:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
995 | do {
996 | var options = options
997 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
998 | var returnBatch = [(Result<Void, ParseError>)]()
999 | let commands = try map({ try $0.deleteCommand() })
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1070:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1068 | options: API.Options = []) throws -> Self {
1069 | var options = options
1070 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1071 | return try fetchCommand(include: includeKeys).execute(options: options)
1072 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1093:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1091 | ) {
1092 | var options = options
1093 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1094 | do {
1095 | try fetchCommand(include: includeKeys)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1161:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1159 | var error: ParseError?
1160 | var options = options
1161 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1162 | let group = DispatchGroup()
1163 | group.enter()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1162:21: error: cannot find 'DispatchGroup' in scope
1160 | var options = options
1161 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1162 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1163 | group.enter()
1164 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, parseError) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1416:21: error: cannot find 'DispatchQueue' in scope
1414 | [UUID: ParseFile], ParseError?) -> Void) {
1415 | let uuid = UUID()
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1417 | qos: .default,
1418 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1417:41: error: cannot infer contextual base in reference to member 'default'
1415 | let uuid = UUID()
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
1417 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1418:48: error: cannot infer contextual base in reference to member 'concurrent'
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
1417 | qos: .default,
1418 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1419 | autoreleaseFrequency: .inherit,
1420 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1419:58: error: cannot infer contextual base in reference to member 'inherit'
1417 | qos: .default,
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1420 | target: nil)
1421 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1420:43: error: 'nil' requires a contextual type
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
1420 | target: nil)
| `- error: 'nil' requires a contextual type
1421 | var options = options
1422 | // Remove any caching policy added by the developer as fresh data
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1424:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1422 | // Remove any caching policy added by the developer as fresh data
1423 | // from the server is needed.
1424 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1425 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1426 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1425:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1423 | // from the server is needed.
1424 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
1425 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1426 |
1427 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:512:33: error: cannot find type 'DispatchQueue' in scope
510 | ignoringCustomObjectIdConfig: Bool = false,
511 | options: API.Options,
512 | callbackQueue: DispatchQueue) async throws -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
513 | let (savedChildObjects, savedChildFiles) = try await self.ensureDeepSave(options: options)
514 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:764:66: error: cannot find type 'DispatchQueue' in scope
762 | desires a different policy, it should be inserted in `options`.
763 | */
764 | public func signup(options: API.Options = [], callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
765 | completion: @escaping (Result<Self, ParseError>) -> Void) {
766 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:820:24: error: cannot find type 'DispatchQueue' in scope
818 | password: String,
819 | options: API.Options = [],
820 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
821 | completion: @escaping (Result<Self, ParseError>) -> Void) {
822 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:36:50: error: extra argument 'completion' in call
34 | password: password,
35 | options: options,
36 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
37 | }
38 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:55:50: error: extra argument 'completion' in call
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.signup(options: options,
55 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
56 | }
57 | }
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:277:38: error: cannot find type 'DispatchQueue' in scope
275 | authData: [String: String],
276 | options: API.Options,
277 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
278 | completion: @escaping (Result<Self, ParseError>) -> Void) {
279 | if Self.current != nil {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:234:24: error: cannot find type 'DispatchQueue' in scope
232 | password: String,
233 | options: API.Options = [],
234 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
235 | completion: @escaping (Result<Self, ParseError>) -> Void
236 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:79:49: error: extra argument 'completion' in call
77 | password: password,
78 | options: options,
79 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | public func become(sessionToken: String,
301 | options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:326:46: error: cannot find type 'DispatchQueue' in scope
324 | public static func become(sessionToken: String,
325 | options: API.Options = [],
326 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
327 | completion: @escaping (Result<Self, ParseError>) -> Void) {
328 | var newUser = Self()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:99:96: error: extra argument 'completion' in call
97 | options: API.Options = []) async throws -> Self {
98 | try await withCheckedThrowingContinuation { continuation in
99 | self.become(sessionToken: sessionToken, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
100 | }
101 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:374:62: error: cannot find type 'DispatchQueue' in scope
372 | */
373 | public static func loginUsingObjCKeychain(options: API.Options = [],
374 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
375 | completion: @escaping (Result<Self, ParseError>) -> Void) {
376 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:121:84: error: extra argument 'completion' in call
119 | @discardableResult static func loginUsingObjCKeychain(options: API.Options = []) async throws -> Self {
120 | try await withCheckedThrowingContinuation { continuation in
121 | Self.loginUsingObjCKeychain(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
122 | }
123 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:472:73: error: cannot find type 'DispatchQueue' in scope
470 | desires a different policy, it should be inserted in `options`.
471 | */
472 | public static func logout(options: API.Options = [], callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
473 | completion: @escaping (Result<Void, ParseError>) -> Void) {
474 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:138:68: error: extra argument 'completion' in call
136 | static func logout(options: API.Options = []) async throws {
137 | let result = try await withCheckedThrowingContinuation { continuation in
138 | Self.logout(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
139 | }
140 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:538:53: error: cannot find type 'DispatchQueue' in scope
536 | */
537 | public static func passwordReset(email: String, options: API.Options = [],
538 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
539 | completion: @escaping (Result<Void, ParseError>) -> Void) {
540 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:157:89: error: extra argument 'completion' in call
155 | options: API.Options = []) async throws {
156 | let result = try await withCheckedThrowingContinuation { continuation in
157 | Self.passwordReset(email: email, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
158 | }
159 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:587:54: error: cannot find type 'DispatchQueue' in scope
585 | usingPost: Bool = false,
586 | options: API.Options = [],
587 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
588 | completion: @escaping (Result<Self, ParseError>) -> Void) {
589 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:184:76: error: extra argument 'completion' in call
182 | Self.verifyPassword(password: password,
183 | usingPost: usingPost,
184 | options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
185 | }
186 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:667:57: error: cannot find type 'DispatchQueue' in scope
665 | public static func verificationEmail(email: String,
666 | options: API.Options = [],
667 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
668 | completion: @escaping (Result<Void, ParseError>) -> Void) {
669 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:200:93: error: extra argument 'completion' in call
198 | options: API.Options = []) async throws {
199 | let result = try await withCheckedThrowingContinuation { continuation in
200 | Self.verificationEmail(email: email, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
201 | }
202 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:959:24: error: cannot find type 'DispatchQueue' in scope
957 | includeKeys: [String]? = nil,
958 | options: API.Options = [],
959 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
960 | completion: @escaping (Result<Self, ParseError>) -> Void
961 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:224:49: error: extra argument 'completion' in call
222 | self.fetch(includeKeys: includeKeys,
223 | options: options,
224 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
225 | }
226 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1107:24: error: cannot find type 'DispatchQueue' in scope
1105 | ignoringCustomObjectIdConfig: Bool = false,
1106 | options: API.Options = [],
1107 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1108 | completion: @escaping (Result<Self, ParseError>) -> Void
1109 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:254:48: error: extra argument 'completion' in call
252 | self.save(ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
253 | options: options,
254 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
255 | }
256 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1147:24: error: cannot find type 'DispatchQueue' in scope
1145 | public func create(
1146 | options: API.Options = [],
1147 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1148 | completion: @escaping (Result<Self, ParseError>) -> Void
1149 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:269:50: error: extra argument 'completion' in call
267 | try await withCheckedThrowingContinuation { continuation in
268 | self.create(options: options,
269 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
270 | }
271 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1186:24: error: cannot find type 'DispatchQueue' in scope
1184 | public func replace(
1185 | options: API.Options = [],
1186 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1187 | completion: @escaping (Result<Self, ParseError>) -> Void
1188 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:285:51: error: extra argument 'completion' in call
283 | try await withCheckedThrowingContinuation { continuation in
284 | self.replace(options: options,
285 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
286 | }
287 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1225:24: error: cannot find type 'DispatchQueue' in scope
1223 | internal func update(
1224 | options: API.Options = [],
1225 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1226 | completion: @escaping (Result<Self, ParseError>) -> Void
1227 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:301:50: error: extra argument 'completion' in call
299 | try await withCheckedThrowingContinuation { continuation in
300 | self.update(options: options,
301 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
302 | }
303 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1440:24: error: cannot find type 'DispatchQueue' in scope
1438 | public func delete(
1439 | options: API.Options = [],
1440 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1441 | completion: @escaping (Result<Void, ParseError>) -> Void
1442 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:316:68: error: extra argument 'completion' in call
314 | func delete(options: API.Options = []) async throws {
315 | let result = try await withCheckedThrowingContinuation { continuation in
316 | self.delete(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
317 | }
318 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:344:52: error: extra argument 'completion' in call
342 | self.fetchAll(includeKeys: includeKeys,
343 | options: options,
344 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
345 | }
346 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:387:51: error: extra argument 'completion' in call
385 | ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
386 | options: options,
387 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
388 | }
389 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:415:53: error: extra argument 'completion' in call
413 | transaction: transaction,
414 | options: options,
415 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
416 | }
417 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:444:54: error: extra argument 'completion' in call
442 | transaction: transaction,
443 | options: options,
444 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
445 | }
446 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:473:53: error: extra argument 'completion' in call
471 | transaction: transaction,
472 | options: options,
473 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
474 | }
475 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:501:53: error: extra argument 'completion' in call
499 | transaction: transaction,
500 | options: options,
501 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
502 | }
503 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:551:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
549 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
550 | var options = options
551 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
552 | var childObjects = [String: PointerType]()
553 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1257:24: error: cannot find type 'DispatchQueue' in scope
1255 | ignoringCustomObjectIdConfig: Bool = false,
1256 | options: API.Options,
1257 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1258 | completion: @escaping (Result<Self, ParseError>) -> Void
1259 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:141:20: error: type 'URLSession' (aka 'AnyObject') has no member 'liveQuery'
139 | try? ParseStorage.shared.delete(valueFor: ParseStorage.Keys.currentUser)
140 | #if !os(Linux) && !os(Android) && !os(Windows)
141 | URLSession.liveQuery.closeAll()
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'liveQuery'
142 | try? KeychainStore.shared.delete(valueFor: ParseStorage.Keys.currentUser)
143 | #endif
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:212:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
210 | password: String, options: API.Options = []) throws -> Self {
211 | var options = options
212 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
213 | return try loginCommand(username: username, password: password).execute(options: options)
214 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:238:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
236 | ) {
237 | var options = options
238 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
239 | loginCommand(username: username, password: password)
240 | .executeAsync(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:281:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
279 | var options = options
280 | options.insert(.sessionToken(sessionToken))
281 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
282 | return try newUser.meCommand(sessionToken: sessionToken)
283 | .execute(options: options)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:304:9: error: instance member 'become' cannot be used on type 'Self'; did you mean to use a value of this type instead?
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
| `- error: instance member 'become' cannot be used on type 'Self'; did you mean to use a value of this type instead?
305 | options: options,
306 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:304:20: error: extra arguments at positions #3, #4 in call
274 | desires a different policy, it should be inserted in `options`.
275 | */
276 | public func become(sessionToken: String, options: API.Options = []) throws -> Self {
| `- note: 'become(sessionToken:options:)' declared here
277 | var newUser = self
278 | newUser.objectId = "me"
:
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
| `- error: extra arguments at positions #3, #4 in call
305 | options: options,
306 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:332:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
330 | var options = options
331 | options.insert(.sessionToken(sessionToken))
332 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
333 | do {
334 | try newUser.meCommand(sessionToken: sessionToken)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:391:19: error: extra arguments at positions #3, #4 in call
274 | desires a different policy, it should be inserted in `options`.
275 | */
276 | public func become(sessionToken: String, options: API.Options = []) throws -> Self {
| `- note: 'become(sessionToken:options:)' declared here
277 | var newUser = self
278 | newUser.objectId = "me"
:
389 |
390 | guard let currentUser = Self.current else {
391 | become(sessionToken: sessionToken,
| `- error: extra arguments at positions #3, #4 in call
392 | options: options,
393 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:391:13: error: instance member 'become' cannot be used on type 'Self'
389 |
390 | guard let currentUser = Self.current else {
391 | become(sessionToken: sessionToken,
| `- error: instance member 'become' cannot be used on type 'Self'
392 | options: options,
393 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:43:31: error: cannot find type 'DispatchQueue' in scope
41 | func login(authData: [String: String],
42 | options: API.Options,
43 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
44 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
45 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:55:30: error: cannot find type 'DispatchQueue' in scope
53 | func link(authData: [String: String],
54 | options: API.Options,
55 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
56 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
57 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:76:32: error: cannot find type 'DispatchQueue' in scope
74 | func unlink(_ user: AuthenticatedUser,
75 | options: API.Options,
76 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
77 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
78 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:87:32: error: cannot find type 'DispatchQueue' in scope
85 | */
86 | func unlink(options: API.Options,
87 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
88 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
89 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:450:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
448 | public static func logout(options: API.Options = []) throws {
449 | var options = options
450 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
451 | let error = try? logoutCommand().execute(options: options)
452 | // Always let user logout locally, no matter the error.
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:475:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
473 | completion: @escaping (Result<Void, ParseError>) -> Void) {
474 | var options = options
475 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
476 | logoutCommand().executeAsync(options: options,
477 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:521:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
519 | public static func passwordReset(email: String, options: API.Options = []) throws {
520 | var options = options
521 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
522 | if let error = try passwordResetCommand(email: email).execute(options: options) {
523 | throw error
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:541:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
539 | completion: @escaping (Result<Void, ParseError>) -> Void) {
540 | var options = options
541 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
542 | passwordResetCommand(email: email).executeAsync(options: options,
543 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:590:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
588 | completion: @escaping (Result<Self, ParseError>) -> Void) {
589 | var options = options
590 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
591 | let username = BaseParseUser.current?.username ?? ""
592 | let method: API.Method = usingPost ? .POST : .GET
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:649:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
647 | options: API.Options = []) throws {
648 | var options = options
649 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
650 | if let error = try verificationEmailCommand(email: email).execute(options: options) {
651 | throw error
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:670:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
668 | completion: @escaping (Result<Void, ParseError>) -> Void) {
669 | var options = options
670 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
671 | verificationEmailCommand(email: email)
672 | .executeAsync(options: options, callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:716:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
714 | options: API.Options = []) throws -> Self {
715 | var options = options
716 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
717 | let body = SignupLoginBody(username: username,
718 | password: password)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:742:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
740 | public func signup(options: API.Options = []) throws -> Self {
741 | var options = options
742 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
743 | if Self.current != nil {
744 | return try self.linkCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:767:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
765 | completion: @escaping (Result<Self, ParseError>) -> Void) {
766 | var options = options
767 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
768 | if Self.current != nil {
769 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:824:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
822 |
823 | var options = options
824 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
825 | let body = SignupLoginBody(username: username, password: password)
826 | if let current = Self.current {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:935:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
933 | options: API.Options = []) throws -> Self {
934 | var options = options
935 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
936 | let result: Self = try fetchCommand(include: includeKeys)
937 | .execute(options: options)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:963:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
961 | ) {
962 | var options = options
963 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
964 | do {
965 | try fetchCommand(include: includeKeys)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1058:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1056 | var error: ParseError?
1057 | var options = options
1058 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1059 | let group = DispatchGroup()
1060 | group.enter()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1059:21: error: cannot find 'DispatchGroup' in scope
1057 | var options = options
1058 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1059 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1060 | group.enter()
1061 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, parseError) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1261:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1259 | ) {
1260 | var options = options
1261 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1262 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, error) in
1263 | guard let parseError = error else {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1421:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1419 | public func delete(options: API.Options = []) throws {
1420 | var options = options
1421 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1422 | _ = try deleteCommand().execute(options: options)
1423 | try Self.updateKeychainIfNeeded([self], deleting: true)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1444:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1442 | ) {
1443 | var options = options
1444 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1445 | do {
1446 | try deleteCommand().executeAsync(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1531:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1529 | var commands = [API.Command<Self.Element, Self.Element>]()
1530 | var options = options
1531 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1532 |
1533 | try forEach {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1535:25: error: cannot find 'DispatchGroup' in scope
1533 | try forEach {
1534 | let user = $0
1535 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1536 | group.enter()
1537 | user.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1832:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1830 | ) {
1831 | var options = options
1832 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1834:21: error: cannot find 'DispatchQueue' in scope
1832 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1835 | qos: .default,
1836 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1835:41: error: cannot infer contextual base in reference to member 'default'
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1835 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1836:48: error: cannot infer contextual base in reference to member 'concurrent'
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1835 | qos: .default,
1836 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1837 | autoreleaseFrequency: .inherit,
1838 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1837:58: error: cannot infer contextual base in reference to member 'inherit'
1835 | qos: .default,
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1838 | target: nil)
1839 | let users = map { $0 }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1838:43: error: 'nil' requires a contextual type
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
1838 | target: nil)
| `- error: 'nil' requires a contextual type
1839 | let users = map { $0 }
1840 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1847:29: error: cannot find 'DispatchGroup' in scope
1845 |
1846 | for user in users {
1847 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1848 | group.enter()
1849 | user.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2016:23: error: extra arguments at positions #2, #3 in call
2014 | query = query.include(include)
2015 | }
2016 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
2017 | switch result {
2018 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2077:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2075 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
2076 | var options = options
2077 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2078 | var returnBatch = [(Result<Void, ParseError>)]()
2079 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2128:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2126 | ) {
2127 | var options = options
2128 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2129 | do {
2130 | var returnBatch = [(Result<Void, ParseError>)]()
[185/185] Compiling ParseSwift RemoveRelation.swift
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:411:13: warning: 'TARGET_OS_*' preprocessor macros are not available in Swift; use 'targetEnvironment(macCatalyst)' instead
409 | }
410 | #if !os(Linux) && !os(Android) && !os(Windows)
411 | #if TARGET_OS_MACCATALYST
| |- warning: 'TARGET_OS_*' preprocessor macros are not available in Swift; use 'targetEnvironment(macCatalyst)' instead
| `- note: replace with 'targetEnvironment(macCatalyst)'
412 | // If using an Xcode new enough to know about Mac Catalyst:
413 | // Mac Catalyst Apps use a prefix to the bundle ID. This should not be transmitted
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:337:33: error: cannot find type 'DispatchQueue' in scope
335 | ignoringCustomObjectIdConfig: Bool = false,
336 | options: API.Options,
337 | callbackQueue: DispatchQueue) async throws -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
338 | let (savedChildObjects, savedChildFiles) = try await self.ensureDeepSave(options: options)
339 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:374:38: error: cannot find type 'DispatchQueue' in scope
372 | ignoringCustomObjectIdConfig: Bool = false,
373 | options: API.Options,
374 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
375 | var options = options
376 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:541:24: error: cannot find type 'DispatchQueue' in scope
539 | includeKeys: [String]? = nil,
540 | options: API.Options = [],
541 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
542 | completion: @escaping (Result<Self, ParseError>) -> Void
543 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1089:24: error: cannot find type 'DispatchQueue' in scope
1087 | includeKeys: [String]? = nil,
1088 | options: API.Options = [],
1089 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1090 | completion: @escaping (Result<Self, ParseError>) -> Void
1091 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:32:49: error: extra argument 'completion' in call
30 | self.fetch(includeKeys: includeKeys,
31 | options: options,
32 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
33 | }
34 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:692:24: error: cannot find type 'DispatchQueue' in scope
690 | ignoringCustomObjectIdConfig: Bool = false,
691 | options: API.Options = [],
692 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
693 | completion: @escaping (Result<Self, ParseError>) -> Void
694 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1205:24: error: cannot find type 'DispatchQueue' in scope
1203 | ignoringCustomObjectIdConfig: Bool = false,
1204 | options: API.Options = [],
1205 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1206 | completion: @escaping (Result<Self, ParseError>) -> Void
1207 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:62:48: error: extra argument 'completion' in call
60 | self.save(ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
61 | options: options,
62 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
63 | }
64 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:734:24: error: cannot find type 'DispatchQueue' in scope
732 | public func create(
733 | options: API.Options = [],
734 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
735 | completion: @escaping (Result<Self, ParseError>) -> Void
736 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1245:24: error: cannot find type 'DispatchQueue' in scope
1243 | public func create(
1244 | options: API.Options = [],
1245 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1246 | completion: @escaping (Result<Self, ParseError>) -> Void
1247 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:75:50: error: extra argument 'completion' in call
73 | try await withCheckedThrowingContinuation { continuation in
74 | self.create(options: options,
75 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
76 | }
77 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:775:24: error: cannot find type 'DispatchQueue' in scope
773 | public func replace(
774 | options: API.Options = [],
775 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
776 | completion: @escaping (Result<Self, ParseError>) -> Void
777 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1283:24: error: cannot find type 'DispatchQueue' in scope
1281 | public func replace(
1282 | options: API.Options = [],
1283 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1284 | completion: @escaping (Result<Self, ParseError>) -> Void
1285 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:89:51: error: extra argument 'completion' in call
87 | try await withCheckedThrowingContinuation { continuation in
88 | self.replace(options: options,
89 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
90 | }
91 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:816:24: error: cannot find type 'DispatchQueue' in scope
814 | func update(
815 | options: API.Options = [],
816 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
817 | completion: @escaping (Result<Self, ParseError>) -> Void
818 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1321:24: error: cannot find type 'DispatchQueue' in scope
1319 | func update(
1320 | options: API.Options = [],
1321 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1322 | completion: @escaping (Result<Self, ParseError>) -> Void
1323 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:103:50: error: extra argument 'completion' in call
101 | try await withCheckedThrowingContinuation { continuation in
102 | self.update(options: options,
103 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
104 | }
105 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1001:24: error: cannot find type 'DispatchQueue' in scope
999 | public func delete(
1000 | options: API.Options = [],
1001 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1002 | completion: @escaping (Result<Void, ParseError>) -> Void
1003 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1543:24: error: cannot find type 'DispatchQueue' in scope
1541 | public func delete(
1542 | options: API.Options = [],
1543 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1544 | completion: @escaping (Result<Void, ParseError>) -> Void
1545 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:117:68: error: extra argument 'completion' in call
115 | func delete(options: API.Options = []) async throws {
116 | let result = try await withCheckedThrowingContinuation { continuation in
117 | self.delete(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
118 | }
119 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:326:39: error: cannot find type 'DispatchQueue' in scope
324 | copyEntireInstallation: Bool = true,
325 | options: API.Options = [],
326 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
327 | completion: @escaping (Result<Self, ParseError>) -> Void) {
328 | guard var currentInstallation = Self.current else {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:147:50: error: extra argument 'completion' in call
145 | copyEntireInstallation: copyEntireInstallation,
146 | options: options,
147 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
148 | }
149 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1585:24: error: cannot find type 'DispatchQueue' in scope
1583 | includeKeys: [String]? = nil,
1584 | options: API.Options = [],
1585 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1586 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1587 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:879:24: error: cannot find type 'DispatchQueue' in scope
877 | includeKeys: [String]? = nil,
878 | options: API.Options = [],
879 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
880 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
881 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2007:24: error: cannot find type 'DispatchQueue' in scope
2005 | includeKeys: [String]? = nil,
2006 | options: API.Options = [],
2007 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
2008 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
2009 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:171:52: error: extra argument 'completion' in call
169 | self.fetchAll(includeKeys: includeKeys,
170 | options: options,
171 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
172 | }
173 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1197:24: error: cannot find type 'DispatchQueue' in scope
1195 | ignoringCustomObjectIdConfig: Bool = false,
1196 | options: API.Options = [],
1197 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1198 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1199 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:505:24: error: cannot find type 'DispatchQueue' in scope
503 | ignoringCustomObjectIdConfig: Bool = false,
504 | options: API.Options = [],
505 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
506 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
507 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1627:24: error: cannot find type 'DispatchQueue' in scope
1625 | ignoringCustomObjectIdConfig: Bool = false,
1626 | options: API.Options = [],
1627 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1628 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1629 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:214:51: error: extra argument 'completion' in call
212 | ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
213 | options: options,
214 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
215 | }
216 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1252:24: error: cannot find type 'DispatchQueue' in scope
1250 | transaction: Bool = configuration.isUsingTransactions,
1251 | options: API.Options = [],
1252 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1253 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1254 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:560:24: error: cannot find type 'DispatchQueue' in scope
558 | transaction: Bool = configuration.isUsingTransactions,
559 | options: API.Options = [],
560 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
561 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
562 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1682:24: error: cannot find type 'DispatchQueue' in scope
1680 | transaction: Bool = configuration.isUsingTransactions,
1681 | options: API.Options = [],
1682 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1683 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1684 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:242:53: error: extra argument 'completion' in call
240 | transaction: transaction,
241 | options: options,
242 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
243 | }
244 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1306:24: error: cannot find type 'DispatchQueue' in scope
1304 | transaction: Bool = configuration.isUsingTransactions,
1305 | options: API.Options = [],
1306 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1307 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1308 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:613:24: error: cannot find type 'DispatchQueue' in scope
611 | transaction: Bool = configuration.isUsingTransactions,
612 | options: API.Options = [],
613 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
614 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
615 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1736:24: error: cannot find type 'DispatchQueue' in scope
1734 | transaction: Bool = configuration.isUsingTransactions,
1735 | options: API.Options = [],
1736 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1737 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1738 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:271:54: error: extra argument 'completion' in call
269 | transaction: transaction,
270 | options: options,
271 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
272 | }
273 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1360:24: error: cannot find type 'DispatchQueue' in scope
1358 | transaction: Bool = configuration.isUsingTransactions,
1359 | options: API.Options = [],
1360 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1361 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1362 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:666:24: error: cannot find type 'DispatchQueue' in scope
664 | transaction: Bool = configuration.isUsingTransactions,
665 | options: API.Options = [],
666 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
667 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
668 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1790:24: error: cannot find type 'DispatchQueue' in scope
1788 | transaction: Bool = configuration.isUsingTransactions,
1789 | options: API.Options = [],
1790 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1791 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1792 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:300:53: error: extra argument 'completion' in call
298 | transaction: transaction,
299 | options: options,
300 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
301 | }
302 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1703:24: error: cannot find type 'DispatchQueue' in scope
1701 | transaction: Bool = configuration.isUsingTransactions,
1702 | options: API.Options = [],
1703 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1704 | completion: @escaping (Result<[(Result<Void, ParseError>)], ParseError>) -> Void
1705 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:992:24: error: cannot find type 'DispatchQueue' in scope
990 | transaction: Bool = configuration.isUsingTransactions,
991 | options: API.Options = [],
992 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
993 | completion: @escaping (Result<[(Result<Void, ParseError>)], ParseError>) -> Void
994 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2124:24: error: cannot find type 'DispatchQueue' in scope
2122 | transaction: Bool = configuration.isUsingTransactions,
2123 | options: API.Options = [],
2124 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
2125 | completion: @escaping (Result<[(Result<Void, ParseError>)], ParseError>) -> Void
2126 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:326:53: error: extra argument 'completion' in call
324 | transaction: transaction,
325 | options: options,
326 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
327 | }
328 | }
/host/spi-builder-workspace/Sources/ParseSwift/API/API+Command.swift:124:42: error: cannot find type 'DispatchQueue' in scope
122 | func executeAsync(options: API.Options,
123 | batching: Bool = false,
124 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
125 | notificationQueue: DispatchQueue? = nil,
126 | childObjects: [String: PointerType]? = nil,
/host/spi-builder-workspace/Sources/ParseSwift/API/API+Command.swift:125:46: error: cannot find type 'DispatchQueue' in scope
123 | batching: Bool = false,
124 | callbackQueue: DispatchQueue,
125 | notificationQueue: DispatchQueue? = nil,
| `- error: cannot find type 'DispatchQueue' in scope
126 | childObjects: [String: PointerType]? = nil,
127 | childFiles: [UUID: ParseFile]? = nil,
/host/spi-builder-workspace/Sources/ParseSwift/API/API+Command+async.swift:19:38: error: cannot find type 'DispatchQueue' in scope
17 | func executeAsync(options: API.Options,
18 | batching: Bool = false,
19 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
20 | notificationQueue: DispatchQueue? = nil,
21 | childObjects: [String: PointerType]? = nil,
/host/spi-builder-workspace/Sources/ParseSwift/API/API+Command+async.swift:20:42: error: cannot find type 'DispatchQueue' in scope
18 | batching: Bool = false,
19 | callbackQueue: DispatchQueue,
20 | notificationQueue: DispatchQueue? = nil,
| `- error: cannot find type 'DispatchQueue' in scope
21 | childObjects: [String: PointerType]? = nil,
22 | childFiles: [UUID: ParseFile]? = nil,
/host/spi-builder-workspace/Sources/ParseSwift/API/API.swift:166:26: error: cannot find type 'URLRequest' in scope
164 | /// [documentation](https://developer.apple.com/documentation/foundation/url_loading_system/accessing_cached_data)
165 | /// for more info.
166 | case cachePolicy(URLRequest.CachePolicy)
| `- error: cannot find type 'URLRequest' in scope
167 |
168 | public func hash(into hasher: inout Hasher) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:376:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
374 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
375 | var options = options
376 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
377 | var childObjects = [String: PointerType]()
378 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/API/API+NonParseBodyCommand.swift:61:42: error: cannot find type 'DispatchQueue' in scope
59 | // MARK: Asynchronous Execution
60 | func executeAsync(options: API.Options,
61 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
62 | completion: @escaping(Result<U, ParseError>) -> Void) {
63 |
/host/spi-builder-workspace/Sources/ParseSwift/API/API+NonParseBodyCommand+async.swift:18:38: error: cannot find type 'DispatchQueue' in scope
16 | // MARK: Asynchronous Execution
17 | func executeAsync(options: API.Options,
18 | callbackQueue: DispatchQueue) async throws -> U {
| `- error: cannot find type 'DispatchQueue' in scope
19 | try await withCheckedThrowingContinuation { continuation in
20 | self.executeAsync(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1775:56: error: cannot find type 'DispatchQueue' in scope
1773 | static func migrateFromObjCKeychain(copyEntireInstallation: Bool = true,
1774 | options: API.Options = [],
1775 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1776 | completion: @escaping (Result<Self, ParseError>) -> Void) {
1777 | guard let objcParseKeychain = KeychainStore.objectiveC,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:471:67: error: extra argument 'completion' in call
469 | Self.migrateFromObjCKeychain(copyEntireInstallation: copyEntireInstallation,
470 | options: options,
471 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
472 | }
473 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1807:51: error: cannot find type 'DispatchQueue' in scope
1805 | */
1806 | static func deleteObjCKeychain(options: API.Options = [],
1807 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1808 | completion: @escaping (Result<Void, ParseError>) -> Void) {
1809 | guard let objcParseKeychain = KeychainStore.objectiveC,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation+async.swift:493:80: error: extra argument 'completion' in call
491 | static func deleteObjCKeychain(options: API.Options = []) async throws {
492 | let result = try await withCheckedThrowingContinuation { continuation in
493 | Self.deleteObjCKeychain(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
494 | }
495 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:848:24: error: cannot find type 'DispatchQueue' in scope
846 | ignoringCustomObjectIdConfig: Bool = false,
847 | options: API.Options,
848 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
849 | completion: @escaping (Result<Self, ParseError>) -> Void
850 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1398:24: error: cannot find type 'DispatchQueue' in scope
1396 | ignoringCustomObjectIdConfig: Bool = false,
1397 | options: API.Options,
1398 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1399 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1400 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:344:34: error: extra arguments at positions #2, #3 in call
342 | }
343 | currentInstallation.objectId = objectId
344 | currentInstallation.fetch(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
345 | switch result {
346 | case .success(var updatedInstallation):
:
512 | desires a different policy, it should be inserted in `options`.
513 | */
514 | public func fetch(includeKeys: [String]? = nil,
| `- note: 'fetch(includeKeys:options:)' declared here
515 | options: API.Options = []) throws -> Self {
516 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:394:41: error: type 'ParseConstants' has no member 'deviceType'
392 |
393 | mutating func updateDeviceTypeFromDevice() {
394 | if deviceType != ParseConstants.deviceType {
| `- error: type 'ParseConstants' has no member 'deviceType'
395 | deviceType = ParseConstants.deviceType
396 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:395:41: error: type 'ParseConstants' has no member 'deviceType'
393 | mutating func updateDeviceTypeFromDevice() {
394 | if deviceType != ParseConstants.deviceType {
395 | deviceType = ParseConstants.deviceType
| `- error: type 'ParseConstants' has no member 'deviceType'
396 | }
397 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:424:54: error: cannot find 'kCFBundleIdentifierKey' in scope
422 |
423 | #else
424 | if let currentAppIdentifier = appInfo[String(kCFBundleIdentifierKey)] as? String {
| `- error: cannot find 'kCFBundleIdentifierKey' in scope
425 | if appIdentifier != currentAppIdentifier {
426 | appIdentifier = currentAppIdentifier
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:431:48: error: cannot find 'kCFBundleNameKey' in scope
429 | #endif
430 |
431 | if let currentAppName = appInfo[String(kCFBundleNameKey)] as? String {
| `- error: cannot find 'kCFBundleNameKey' in scope
432 | if appName != currentAppName {
433 | appName = currentAppName
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:437:51: error: cannot find 'kCFBundleVersionKey' in scope
435 | }
436 |
437 | if let currentAppVersion = appInfo[String(kCFBundleVersionKey)] as? String {
| `- error: cannot find 'kCFBundleVersionKey' in scope
438 | if appVersion != currentAppVersion {
439 | appVersion = currentAppVersion
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:517:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
515 | options: API.Options = []) throws -> Self {
516 | var options = options
517 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
518 | let result: Self = try fetchCommand(include: includeKeys)
519 | .execute(options: options)
/host/spi-builder-workspace/Sources/ParseSwift/API/API+Command.swift:87:41: error: cannot find type 'DispatchQueue' in scope
85 | func execute(options: API.Options,
86 | batching: Bool = false,
87 | notificationQueue: DispatchQueue? = nil,
| `- error: cannot find type 'DispatchQueue' in scope
88 | childObjects: [String: PointerType]? = nil,
89 | childFiles: [UUID: ParseFile]? = nil,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:545:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
543 | ) {
544 | var options = options
545 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
546 | do {
547 | try fetchCommand(include: includeKeys)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:640:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
638 | options: API.Options = []) throws -> Self {
639 | var options = options
640 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
641 | var childObjects: [String: PointerType]?
642 | var childFiles: [UUID: ParseFile]?
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:644:21: error: cannot find 'DispatchGroup' in scope
642 | var childFiles: [UUID: ParseFile]?
643 | var error: ParseError?
644 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
645 | group.enter()
646 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, parseError) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:367:33: error: cannot find type 'DispatchQueue' in scope
365 | ignoringCustomObjectIdConfig: Bool = false,
366 | options: API.Options,
367 | callbackQueue: DispatchQueue) async throws -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
368 | let (savedChildObjects, savedChildFiles) = try await self.ensureDeepSave(options: options)
369 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1352:33: error: cannot find type 'DispatchQueue' in scope
1350 | ignoringCustomObjectIdConfig: Bool = false,
1351 | options: API.Options,
1352 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1353 | completion: @escaping (Result<Self, ParseError>) -> Void) {
1354 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, error) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:852:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
850 | ) {
851 | var options = options
852 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
853 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, error) in
854 | guard let parseError = error else {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:982:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
980 | public func delete(options: API.Options = []) throws {
981 | var options = options
982 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
983 | _ = try deleteCommand().execute(options: options)
984 | try Self.updateKeychainIfNeeded([self], deleting: true)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1005:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1003 | ) {
1004 | var options = options
1005 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1006 | do {
1007 | try deleteCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1097:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1095 | options: API.Options = []) throws -> [(Result<Self.Element, ParseError>)] {
1096 | var options = options
1097 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1098 | var childObjects = [String: PointerType]()
1099 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1105:25: error: cannot find 'DispatchGroup' in scope
1103 | try forEach {
1104 | let installation = $0
1105 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1106 | group.enter()
1107 | installation.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:402:38: error: cannot find type 'DispatchQueue' in scope
400 | ignoringCustomObjectIdConfig: Bool = false,
401 | options: API.Options,
402 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
403 | var options = options
404 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:703:47: error: cannot find type 'DispatchQueue' in scope
701 | ignoringCustomObjectIdConfig: Bool = false,
702 | options: API.Options,
703 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
704 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void) {
705 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:549:38: error: cannot find type 'DispatchQueue' in scope
547 | ignoringCustomObjectIdConfig: Bool = false,
548 | options: API.Options,
549 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
550 | var options = options
551 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1828:24: error: cannot find type 'DispatchQueue' in scope
1826 | ignoringCustomObjectIdConfig: Bool = false,
1827 | options: API.Options,
1828 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1829 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void
1830 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1402:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1400 | ) {
1401 | var options = options
1402 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1404:21: error: cannot find 'DispatchQueue' in scope
1402 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1405 | qos: .default,
1406 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1405:41: error: cannot infer contextual base in reference to member 'default'
1403 | let uuid = UUID()
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1405 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1406:48: error: cannot infer contextual base in reference to member 'concurrent'
1404 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1405 | qos: .default,
1406 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1407 | autoreleaseFrequency: .inherit,
1408 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1407:58: error: cannot infer contextual base in reference to member 'inherit'
1405 | qos: .default,
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1408 | target: nil)
1409 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1408:43: error: 'nil' requires a contextual type
1406 | attributes: .concurrent,
1407 | autoreleaseFrequency: .inherit,
1408 | target: nil)
| `- error: 'nil' requires a contextual type
1409 | queue.sync {
1410 | var childObjects = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1417:29: error: cannot find 'DispatchGroup' in scope
1415 |
1416 | for installation in installations {
1417 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1418 | group.enter()
1419 | installation
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:16:52: error: cannot find type 'DispatchQueue' in scope
14 | func first(options: API.Options) throws -> ResultType
15 | func count(options: API.Options) 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:540:37: error: cannot find type 'DispatchQueue' in scope
538 | */
539 | public func find(options: API.Options = [],
540 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
541 | completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
542 | if limit == 0 {
/host/spi-builder-workspace/Sources/ParseSwift/Protocols/Queryable.swift:67:30: error: cannot find type 'DispatchQueue' in scope
65 | It should have the following argument signature: `(Result<[ResultType], ParseError>)`
66 | */
67 | func find(callbackQueue: DispatchQueue = .main, completion: @escaping (Result<[ResultType], ParseError>) -> Void) {
| `- error: cannot find type 'DispatchQueue' in scope
68 | find(options: [], callbackQueue: callbackQueue, completion: completion)
69 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1594:23: error: extra arguments at positions #2, #3 in call
1592 | query = query.include(include)
1593 | }
1594 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
1595 | switch result {
1596 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1655:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1653 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
1654 | var options = options
1655 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1656 | var returnBatch = [(Result<Void, ParseError>)]()
1657 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1707:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1705 | ) {
1706 | var options = options
1707 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1708 | do {
1709 | var returnBatch = [(Result<Void, ParseError>)]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1788:28: error: extra argument 'completion' in call
1786 | become(oldInstallationId,
1787 | copyEntireInstallation: copyEntireInstallation,
1788 | completion: completion)
| `- error: extra argument 'completion' in call
1789 | }
1790 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseInstallation.swift:1831:43: error: extra arguments at positions #2, #3 in call
978 | desires a different policy, it should be inserted in `options`.
979 | */
980 | public func delete(options: API.Options = []) throws {
| `- note: 'delete(options:)' declared here
981 | var options = options
982 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
:
1829 | // Only delete the `ParseInstallation` on Parse Server if it is not current.
1830 | guard Self.current?.installationId == oldInstallationId else {
1831 | currentInstallation.delete(options: options,
| `- error: extra arguments at positions #2, #3 in call
1832 | callbackQueue: callbackQueue,
1833 | completion: completion)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:476:33: error: cannot find type 'DispatchQueue' in scope
474 | transaction: Bool = configuration.isUsingTransactions,
475 | options: API.Options = [],
476 | callbackQueue: DispatchQueue = .main) async throws -> [(Result<PointerType, ParseError>)] {
| `- error: cannot find type 'DispatchQueue' in scope
477 | try await API.NonParseBodyCommand<AnyCodable, PointerType>
478 | .batch(objects: objects,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:31:49: error: extra argument 'completion' in call
29 | self.fetch(includeKeys: includeKeys,
30 | options: options,
31 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
32 | }
33 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:49:48: error: extra argument 'completion' in call
47 | self.save(ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
48 | options: options,
49 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
50 | }
51 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:62:50: error: extra argument 'completion' in call
60 | try await withCheckedThrowingContinuation { continuation in
61 | self.create(options: options,
62 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
63 | }
64 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:75:51: error: extra argument 'completion' in call
73 | try await withCheckedThrowingContinuation { continuation in
74 | self.replace(options: options,
75 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
76 | }
77 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:88:50: error: extra argument 'completion' in call
86 | try await withCheckedThrowingContinuation { continuation in
87 | self.update(options: options,
88 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
89 | }
90 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:101:50: error: extra argument 'completion' in call
99 | let result = try await withCheckedThrowingContinuation { continuation in
100 | self.delete(options: options,
101 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
102 | }
103 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:126:52: error: extra argument 'completion' in call
124 | self.fetchAll(includeKeys: includeKeys,
125 | options: options,
126 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
127 | }
128 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:168:51: error: extra argument 'completion' in call
166 | ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
167 | options: options,
168 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
169 | }
170 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:196:53: error: extra argument 'completion' in call
194 | transaction: transaction,
195 | options: options,
196 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
197 | }
198 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:224:54: error: extra argument 'completion' in call
222 | transaction: transaction,
223 | options: options,
224 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
225 | }
226 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:252:53: error: extra argument 'completion' in call
250 | transaction: transaction,
251 | options: options,
252 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
253 | }
254 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:277:53: error: extra argument 'completion' in call
275 | transaction: transaction,
276 | options: options,
277 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
278 | }
279 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:293:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
291 | // Remove any caching policy added by the developer as fresh data
292 | // from the server is needed.
293 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
294 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
295 | var objectsFinishedSaving = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:294:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
292 | // from the server is needed.
293 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
294 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
295 | var objectsFinishedSaving = [String: PointerType]()
296 | var filesFinishedSaving = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:330:37: error: cannot find type 'DispatchQueue' in scope
328 | public func save(options: API.Options = [],
329 | stream: InputStream,
330 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
331 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)? = nil) throws {
332 | try uploadFileCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:396:37: error: cannot find type 'DispatchQueue' in scope
394 | */
395 | public func save(options: API.Options = [],
396 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
397 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)?) throws -> ParseFile {
398 | let options = setDefaultOptions(options)
/host/spi-builder-workspace/Sources/ParseSwift/Types/ParseFile.swift:457:37: error: cannot find type 'DispatchQueue' in scope
455 | */
456 | public func save(options: API.Options = [],
457 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
458 | progress: ((URLSessionTask, Int64, Int64, Int64) -> Void)? = nil,
459 | completion: @escaping (Result<Self, ParseError>) -> Void) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:343:49: warning: no 'async' operations occur within 'await' expression
341 | }
342 | if savableObjects.count > 0 {
343 | let savedChildObjects = try await self.saveAll(objects: savableObjects,
| `- warning: no 'async' operations occur within 'await' expression
344 | options: options)
345 | let savedChildPointers = try savedChildObjects.compactMap { try $0.get() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject+async.swift:404:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
402 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
403 | var options = options
404 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
405 | var childObjects = [String: PointerType]()
406 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:407:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
405 | options: API.Options = []) throws -> [(Result<Self.Element, ParseError>)] {
406 | var options = options
407 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
408 | var childObjects = [String: PointerType]()
409 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:415:25: error: cannot find 'DispatchGroup' in scope
413 | try forEach {
414 | let object = $0
415 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
416 | group.enter()
417 | object.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:706:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
704 | completion: @escaping (Result<[(Result<Element, ParseError>)], ParseError>) -> Void) {
705 | var options = options
706 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:708:21: error: cannot find 'DispatchQueue' in scope
706 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
709 | qos: .default,
710 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:709:41: error: cannot infer contextual base in reference to member 'default'
707 | let uuid = UUID()
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
709 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:710:48: error: cannot infer contextual base in reference to member 'concurrent'
708 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
709 | qos: .default,
710 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
711 | autoreleaseFrequency: .inherit,
712 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:711:58: error: cannot infer contextual base in reference to member 'inherit'
709 | qos: .default,
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
712 | target: nil)
713 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:712:43: error: 'nil' requires a contextual type
710 | attributes: .concurrent,
711 | autoreleaseFrequency: .inherit,
712 | target: nil)
| `- error: 'nil' requires a contextual type
713 | queue.sync {
714 | var childObjects = [String: PointerType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:720:29: error: cannot find 'DispatchGroup' in scope
718 | let objects = map { $0 }
719 | for object in objects {
720 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
721 | group.enter()
722 | object.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:888:23: error: extra arguments at positions #2, #3 in call
886 | query = query.include(include)
887 | }
888 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
889 | switch result {
890 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:947:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
945 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
946 | var options = options
947 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
948 | var returnBatch = [(Result<Void, ParseError>)]()
949 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:997:42: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
995 | do {
996 | var options = options
997 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
998 | var returnBatch = [(Result<Void, ParseError>)]()
999 | let commands = try map({ try $0.deleteCommand() })
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1070:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1068 | options: API.Options = []) throws -> Self {
1069 | var options = options
1070 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1071 | return try fetchCommand(include: includeKeys).execute(options: options)
1072 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1093:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1091 | ) {
1092 | var options = options
1093 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1094 | do {
1095 | try fetchCommand(include: includeKeys)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1161:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1159 | var error: ParseError?
1160 | var options = options
1161 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1162 | let group = DispatchGroup()
1163 | group.enter()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1162:21: error: cannot find 'DispatchGroup' in scope
1160 | var options = options
1161 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1162 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1163 | group.enter()
1164 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, parseError) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1416:21: error: cannot find 'DispatchQueue' in scope
1414 | [UUID: ParseFile], ParseError?) -> Void) {
1415 | let uuid = UUID()
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1417 | qos: .default,
1418 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1417:41: error: cannot infer contextual base in reference to member 'default'
1415 | let uuid = UUID()
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
1417 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1418:48: error: cannot infer contextual base in reference to member 'concurrent'
1416 | let queue = DispatchQueue(label: "com.parse.deepSave.\(uuid)",
1417 | qos: .default,
1418 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1419 | autoreleaseFrequency: .inherit,
1420 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1419:58: error: cannot infer contextual base in reference to member 'inherit'
1417 | qos: .default,
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1420 | target: nil)
1421 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1420:43: error: 'nil' requires a contextual type
1418 | attributes: .concurrent,
1419 | autoreleaseFrequency: .inherit,
1420 | target: nil)
| `- error: 'nil' requires a contextual type
1421 | var options = options
1422 | // Remove any caching policy added by the developer as fresh data
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1424:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1422 | // Remove any caching policy added by the developer as fresh data
1423 | // from the server is needed.
1424 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1425 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1426 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseObject.swift:1425:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1423 | // from the server is needed.
1424 | options.remove(.cachePolicy(.reloadIgnoringLocalCacheData))
1425 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1426 |
1427 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:512:33: error: cannot find type 'DispatchQueue' in scope
510 | ignoringCustomObjectIdConfig: Bool = false,
511 | options: API.Options,
512 | callbackQueue: DispatchQueue) async throws -> Self {
| `- error: cannot find type 'DispatchQueue' in scope
513 | let (savedChildObjects, savedChildFiles) = try await self.ensureDeepSave(options: options)
514 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:764:66: error: cannot find type 'DispatchQueue' in scope
762 | desires a different policy, it should be inserted in `options`.
763 | */
764 | public func signup(options: API.Options = [], callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
765 | completion: @escaping (Result<Self, ParseError>) -> Void) {
766 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:820:24: error: cannot find type 'DispatchQueue' in scope
818 | password: String,
819 | options: API.Options = [],
820 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
821 | completion: @escaping (Result<Self, ParseError>) -> Void) {
822 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:36:50: error: extra argument 'completion' in call
34 | password: password,
35 | options: options,
36 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
37 | }
38 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:55:50: error: extra argument 'completion' in call
53 | try await withCheckedThrowingContinuation { continuation in
54 | self.signup(options: options,
55 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
56 | }
57 | }
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:277:38: error: cannot find type 'DispatchQueue' in scope
275 | authData: [String: String],
276 | options: API.Options,
277 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
278 | completion: @escaping (Result<Self, ParseError>) -> Void) {
279 | if Self.current != nil {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:234:24: error: cannot find type 'DispatchQueue' in scope
232 | password: String,
233 | options: API.Options = [],
234 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
235 | completion: @escaping (Result<Self, ParseError>) -> Void
236 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:79:49: error: extra argument 'completion' in call
77 | password: password,
78 | options: options,
79 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
80 | }
81 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:302:39: error: cannot find type 'DispatchQueue' in scope
300 | public func become(sessionToken: String,
301 | options: API.Options = [],
302 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:326:46: error: cannot find type 'DispatchQueue' in scope
324 | public static func become(sessionToken: String,
325 | options: API.Options = [],
326 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
327 | completion: @escaping (Result<Self, ParseError>) -> Void) {
328 | var newUser = Self()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:99:96: error: extra argument 'completion' in call
97 | options: API.Options = []) async throws -> Self {
98 | try await withCheckedThrowingContinuation { continuation in
99 | self.become(sessionToken: sessionToken, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
100 | }
101 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:374:62: error: cannot find type 'DispatchQueue' in scope
372 | */
373 | public static func loginUsingObjCKeychain(options: API.Options = [],
374 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
375 | completion: @escaping (Result<Self, ParseError>) -> Void) {
376 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:121:84: error: extra argument 'completion' in call
119 | @discardableResult static func loginUsingObjCKeychain(options: API.Options = []) async throws -> Self {
120 | try await withCheckedThrowingContinuation { continuation in
121 | Self.loginUsingObjCKeychain(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
122 | }
123 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:472:73: error: cannot find type 'DispatchQueue' in scope
470 | desires a different policy, it should be inserted in `options`.
471 | */
472 | public static func logout(options: API.Options = [], callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
473 | completion: @escaping (Result<Void, ParseError>) -> Void) {
474 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:138:68: error: extra argument 'completion' in call
136 | static func logout(options: API.Options = []) async throws {
137 | let result = try await withCheckedThrowingContinuation { continuation in
138 | Self.logout(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
139 | }
140 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:538:53: error: cannot find type 'DispatchQueue' in scope
536 | */
537 | public static func passwordReset(email: String, options: API.Options = [],
538 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
539 | completion: @escaping (Result<Void, ParseError>) -> Void) {
540 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:157:89: error: extra argument 'completion' in call
155 | options: API.Options = []) async throws {
156 | let result = try await withCheckedThrowingContinuation { continuation in
157 | Self.passwordReset(email: email, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
158 | }
159 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:587:54: error: cannot find type 'DispatchQueue' in scope
585 | usingPost: Bool = false,
586 | options: API.Options = [],
587 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
588 | completion: @escaping (Result<Self, ParseError>) -> Void) {
589 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:184:76: error: extra argument 'completion' in call
182 | Self.verifyPassword(password: password,
183 | usingPost: usingPost,
184 | options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
185 | }
186 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:667:57: error: cannot find type 'DispatchQueue' in scope
665 | public static func verificationEmail(email: String,
666 | options: API.Options = [],
667 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
668 | completion: @escaping (Result<Void, ParseError>) -> Void) {
669 | var options = options
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:200:93: error: extra argument 'completion' in call
198 | options: API.Options = []) async throws {
199 | let result = try await withCheckedThrowingContinuation { continuation in
200 | Self.verificationEmail(email: email, options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
201 | }
202 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:959:24: error: cannot find type 'DispatchQueue' in scope
957 | includeKeys: [String]? = nil,
958 | options: API.Options = [],
959 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
960 | completion: @escaping (Result<Self, ParseError>) -> Void
961 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:224:49: error: extra argument 'completion' in call
222 | self.fetch(includeKeys: includeKeys,
223 | options: options,
224 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
225 | }
226 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1107:24: error: cannot find type 'DispatchQueue' in scope
1105 | ignoringCustomObjectIdConfig: Bool = false,
1106 | options: API.Options = [],
1107 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1108 | completion: @escaping (Result<Self, ParseError>) -> Void
1109 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:254:48: error: extra argument 'completion' in call
252 | self.save(ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
253 | options: options,
254 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
255 | }
256 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1147:24: error: cannot find type 'DispatchQueue' in scope
1145 | public func create(
1146 | options: API.Options = [],
1147 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1148 | completion: @escaping (Result<Self, ParseError>) -> Void
1149 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:269:50: error: extra argument 'completion' in call
267 | try await withCheckedThrowingContinuation { continuation in
268 | self.create(options: options,
269 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
270 | }
271 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1186:24: error: cannot find type 'DispatchQueue' in scope
1184 | public func replace(
1185 | options: API.Options = [],
1186 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1187 | completion: @escaping (Result<Self, ParseError>) -> Void
1188 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:285:51: error: extra argument 'completion' in call
283 | try await withCheckedThrowingContinuation { continuation in
284 | self.replace(options: options,
285 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
286 | }
287 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1225:24: error: cannot find type 'DispatchQueue' in scope
1223 | internal func update(
1224 | options: API.Options = [],
1225 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1226 | completion: @escaping (Result<Self, ParseError>) -> Void
1227 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:301:50: error: extra argument 'completion' in call
299 | try await withCheckedThrowingContinuation { continuation in
300 | self.update(options: options,
301 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
302 | }
303 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1440:24: error: cannot find type 'DispatchQueue' in scope
1438 | public func delete(
1439 | options: API.Options = [],
1440 | callbackQueue: DispatchQueue = .main,
| `- error: cannot find type 'DispatchQueue' in scope
1441 | completion: @escaping (Result<Void, ParseError>) -> Void
1442 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:316:68: error: extra argument 'completion' in call
314 | func delete(options: API.Options = []) async throws {
315 | let result = try await withCheckedThrowingContinuation { continuation in
316 | self.delete(options: options, completion: continuation.resume)
| `- error: extra argument 'completion' in call
317 | }
318 | if case let .failure(error) = result {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:344:52: error: extra argument 'completion' in call
342 | self.fetchAll(includeKeys: includeKeys,
343 | options: options,
344 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
345 | }
346 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:387:51: error: extra argument 'completion' in call
385 | ignoringCustomObjectIdConfig: ignoringCustomObjectIdConfig,
386 | options: options,
387 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
388 | }
389 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:415:53: error: extra argument 'completion' in call
413 | transaction: transaction,
414 | options: options,
415 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
416 | }
417 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:444:54: error: extra argument 'completion' in call
442 | transaction: transaction,
443 | options: options,
444 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
445 | }
446 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:473:53: error: extra argument 'completion' in call
471 | transaction: transaction,
472 | options: options,
473 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
474 | }
475 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:501:53: error: extra argument 'completion' in call
499 | transaction: transaction,
500 | options: options,
501 | completion: continuation.resume)
| `- error: extra argument 'completion' in call
502 | }
503 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser+async.swift:551:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
549 | callbackQueue: DispatchQueue) async throws -> [(Result<Element, ParseError>)] {
550 | var options = options
551 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
552 | var childObjects = [String: PointerType]()
553 | var childFiles = [UUID: ParseFile]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1257:24: error: cannot find type 'DispatchQueue' in scope
1255 | ignoringCustomObjectIdConfig: Bool = false,
1256 | options: API.Options,
1257 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
1258 | completion: @escaping (Result<Self, ParseError>) -> Void
1259 | ) {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:141:20: error: type 'URLSession' (aka 'AnyObject') has no member 'liveQuery'
139 | try? ParseStorage.shared.delete(valueFor: ParseStorage.Keys.currentUser)
140 | #if !os(Linux) && !os(Android) && !os(Windows)
141 | URLSession.liveQuery.closeAll()
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'liveQuery'
142 | try? KeychainStore.shared.delete(valueFor: ParseStorage.Keys.currentUser)
143 | #endif
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:212:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
210 | password: String, options: API.Options = []) throws -> Self {
211 | var options = options
212 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
213 | return try loginCommand(username: username, password: password).execute(options: options)
214 | }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:238:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
236 | ) {
237 | var options = options
238 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
239 | loginCommand(username: username, password: password)
240 | .executeAsync(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:281:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
279 | var options = options
280 | options.insert(.sessionToken(sessionToken))
281 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
282 | return try newUser.meCommand(sessionToken: sessionToken)
283 | .execute(options: options)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:304:9: error: instance member 'become' cannot be used on type 'Self'; did you mean to use a value of this type instead?
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
| `- error: instance member 'become' cannot be used on type 'Self'; did you mean to use a value of this type instead?
305 | options: options,
306 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:304:20: error: extra arguments at positions #3, #4 in call
274 | desires a different policy, it should be inserted in `options`.
275 | */
276 | public func become(sessionToken: String, options: API.Options = []) throws -> Self {
| `- note: 'become(sessionToken:options:)' declared here
277 | var newUser = self
278 | newUser.objectId = "me"
:
302 | callbackQueue: DispatchQueue = .main,
303 | completion: @escaping (Result<Self, ParseError>) -> Void) {
304 | Self.become(sessionToken: sessionToken,
| `- error: extra arguments at positions #3, #4 in call
305 | options: options,
306 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:332:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
330 | var options = options
331 | options.insert(.sessionToken(sessionToken))
332 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
333 | do {
334 | try newUser.meCommand(sessionToken: sessionToken)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:391:19: error: extra arguments at positions #3, #4 in call
274 | desires a different policy, it should be inserted in `options`.
275 | */
276 | public func become(sessionToken: String, options: API.Options = []) throws -> Self {
| `- note: 'become(sessionToken:options:)' declared here
277 | var newUser = self
278 | newUser.objectId = "me"
:
389 |
390 | guard let currentUser = Self.current else {
391 | become(sessionToken: sessionToken,
| `- error: extra arguments at positions #3, #4 in call
392 | options: options,
393 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:391:13: error: instance member 'become' cannot be used on type 'Self'
389 |
390 | guard let currentUser = Self.current else {
391 | become(sessionToken: sessionToken,
| `- error: instance member 'become' cannot be used on type 'Self'
392 | options: options,
393 | callbackQueue: callbackQueue,
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:43:31: error: cannot find type 'DispatchQueue' in scope
41 | func login(authData: [String: String],
42 | options: API.Options,
43 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
44 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
45 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:55:30: error: cannot find type 'DispatchQueue' in scope
53 | func link(authData: [String: String],
54 | options: API.Options,
55 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
56 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
57 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:76:32: error: cannot find type 'DispatchQueue' in scope
74 | func unlink(_ user: AuthenticatedUser,
75 | options: API.Options,
76 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
77 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
78 |
/host/spi-builder-workspace/Sources/ParseSwift/Authentication/Protocols/ParseAuthentication.swift:87:32: error: cannot find type 'DispatchQueue' in scope
85 | */
86 | func unlink(options: API.Options,
87 | callbackQueue: DispatchQueue,
| `- error: cannot find type 'DispatchQueue' in scope
88 | completion: @escaping (Result<AuthenticatedUser, ParseError>) -> Void)
89 |
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:450:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
448 | public static func logout(options: API.Options = []) throws {
449 | var options = options
450 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
451 | let error = try? logoutCommand().execute(options: options)
452 | // Always let user logout locally, no matter the error.
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:475:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
473 | completion: @escaping (Result<Void, ParseError>) -> Void) {
474 | var options = options
475 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
476 | logoutCommand().executeAsync(options: options,
477 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:521:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
519 | public static func passwordReset(email: String, options: API.Options = []) throws {
520 | var options = options
521 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
522 | if let error = try passwordResetCommand(email: email).execute(options: options) {
523 | throw error
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:541:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
539 | completion: @escaping (Result<Void, ParseError>) -> Void) {
540 | var options = options
541 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
542 | passwordResetCommand(email: email).executeAsync(options: options,
543 | callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:590:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
588 | completion: @escaping (Result<Self, ParseError>) -> Void) {
589 | var options = options
590 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
591 | let username = BaseParseUser.current?.username ?? ""
592 | let method: API.Method = usingPost ? .POST : .GET
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:649:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
647 | options: API.Options = []) throws {
648 | var options = options
649 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
650 | if let error = try verificationEmailCommand(email: email).execute(options: options) {
651 | throw error
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:670:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
668 | completion: @escaping (Result<Void, ParseError>) -> Void) {
669 | var options = options
670 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
671 | verificationEmailCommand(email: email)
672 | .executeAsync(options: options, callbackQueue: callbackQueue) { result in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:716:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
714 | options: API.Options = []) throws -> Self {
715 | var options = options
716 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
717 | let body = SignupLoginBody(username: username,
718 | password: password)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:742:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
740 | public func signup(options: API.Options = []) throws -> Self {
741 | var options = options
742 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
743 | if Self.current != nil {
744 | return try self.linkCommand()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:767:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
765 | completion: @escaping (Result<Self, ParseError>) -> Void) {
766 | var options = options
767 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
768 | if Self.current != nil {
769 | do {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:824:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
822 |
823 | var options = options
824 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
825 | let body = SignupLoginBody(username: username, password: password)
826 | if let current = Self.current {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:935:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
933 | options: API.Options = []) throws -> Self {
934 | var options = options
935 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
936 | let result: Self = try fetchCommand(include: includeKeys)
937 | .execute(options: options)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:963:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
961 | ) {
962 | var options = options
963 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
964 | do {
965 | try fetchCommand(include: includeKeys)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1058:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1056 | var error: ParseError?
1057 | var options = options
1058 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1059 | let group = DispatchGroup()
1060 | group.enter()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1059:21: error: cannot find 'DispatchGroup' in scope
1057 | var options = options
1058 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1059 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1060 | group.enter()
1061 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, parseError) in
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1261:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1259 | ) {
1260 | var options = options
1261 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1262 | self.ensureDeepSave(options: options) { (savedChildObjects, savedChildFiles, error) in
1263 | guard let parseError = error else {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1421:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1419 | public func delete(options: API.Options = []) throws {
1420 | var options = options
1421 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1422 | _ = try deleteCommand().execute(options: options)
1423 | try Self.updateKeychainIfNeeded([self], deleting: true)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1444:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1442 | ) {
1443 | var options = options
1444 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1445 | do {
1446 | try deleteCommand().executeAsync(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1531:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1529 | var commands = [API.Command<Self.Element, Self.Element>]()
1530 | var options = options
1531 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1532 |
1533 | try forEach {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1535:25: error: cannot find 'DispatchGroup' in scope
1533 | try forEach {
1534 | let user = $0
1535 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1536 | group.enter()
1537 | user.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1832:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1830 | ) {
1831 | var options = options
1832 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1834:21: error: cannot find 'DispatchQueue' in scope
1832 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
| `- error: cannot find 'DispatchQueue' in scope
1835 | qos: .default,
1836 | attributes: .concurrent,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1835:41: error: cannot infer contextual base in reference to member 'default'
1833 | let uuid = UUID()
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1835 | qos: .default,
| `- error: cannot infer contextual base in reference to member 'default'
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1836:48: error: cannot infer contextual base in reference to member 'concurrent'
1834 | let queue = DispatchQueue(label: "com.parse.batch.\(uuid)",
1835 | qos: .default,
1836 | attributes: .concurrent,
| `- error: cannot infer contextual base in reference to member 'concurrent'
1837 | autoreleaseFrequency: .inherit,
1838 | target: nil)
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1837:58: error: cannot infer contextual base in reference to member 'inherit'
1835 | qos: .default,
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
| `- error: cannot infer contextual base in reference to member 'inherit'
1838 | target: nil)
1839 | let users = map { $0 }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1838:43: error: 'nil' requires a contextual type
1836 | attributes: .concurrent,
1837 | autoreleaseFrequency: .inherit,
1838 | target: nil)
| `- error: 'nil' requires a contextual type
1839 | let users = map { $0 }
1840 | queue.sync {
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:1847:29: error: cannot find 'DispatchGroup' in scope
1845 |
1846 | for user in users {
1847 | let group = DispatchGroup()
| `- error: cannot find 'DispatchGroup' in scope
1848 | group.enter()
1849 | user.ensureDeepSave(options: options,
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2016:23: error: extra arguments at positions #2, #3 in call
2014 | query = query.include(include)
2015 | }
2016 | query.find(options: options, callbackQueue: callbackQueue) { result in
| `- error: extra arguments at positions #2, #3 in call
2017 | switch result {
2018 |
/host/spi-builder-workspace/Sources/ParseSwift/Types/Query.swift:497:17: note: 'find(options:)' declared here
495 | - returns: Returns an array of `ParseObject`s that were found.
496 | */
497 | public func find(options: API.Options = []) throws -> [ResultType] {
| `- note: 'find(options:)' declared here
498 | if limit == 0 {
499 | return [ResultType]()
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2077:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2075 | options: API.Options = []) throws -> [(Result<Void, ParseError>)] {
2076 | var options = options
2077 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2078 | var returnBatch = [(Result<Void, ParseError>)]()
2079 | let commands = try map { try $0.deleteCommand() }
/host/spi-builder-workspace/Sources/ParseSwift/Objects/ParseUser.swift:2128:38: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2126 | ) {
2127 | var options = options
2128 | options.insert(.cachePolicy(.reloadIgnoringLocalCacheData))
| `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
2129 | do {
2130 | var returnBatch = [(Result<Void, ParseError>)]()
BUILD FAILURE 6.3 wasm