Build Information
Successful build of IceCream, reference 2.1.0 (e1d07b), with Swift 6.4 for macOS (SPM) on 19 Sep 2026 03:11:17 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/caiyue1993/IceCream.git
Reference: 2.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/caiyue1993/IceCream
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at e1d07b3 include CreamLocation file to pbxproj
Cloned https://github.com/caiyue1993/IceCream.git
Revision (git rev-parse @):
e1d07b31bd0e1a65b89ac72f629f4df6f6707fd3
SUCCESS checkout https://github.com/caiyue1993/IceCream.git at 2.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/caiyue1993/IceCream.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[33 / 168]
[44 / 169] RealmSwift
[48 / 200] RealmCore
[51 / 200] RealmCore
[52 / 200] RealmCore
[54 / 240]
[55 / 246]
[59 / 246]
[63 / 246]
[66 / 246]
[69 / 246]
[72 / 246] RealmCore
[75 / 246]
[77 / 246]
[81 / 246] RealmCore
[82 / 246]
[83 / 246] RealmCore
[89 / 246] RealmCore
[91 / 246]
[93 / 246]
[97 / 246]
[99 / 246]
[102 / 246] RealmCore
[103 / 246]
[105 / 246] RealmCore
[108 / 246]
[111 / 246] RealmCore
[112 / 246] RealmCore
[114 / 246]
[116 / 246]
[118 / 246] RealmCore
[119 / 246]
[122 / 246] RealmCore
[124 / 246] RealmCore
[127 / 246] RealmCore
[129 / 246] RealmCore
[130 / 246] RealmSwift
[132 / 246] RealmCore
[134 / 246] RealmCore
[138 / 246] RealmSwift
[148 / 246] Realm
[149 / 246] Realm
[151 / 246] Realm
[154 / 246] Realm
[155 / 246] Realm
[156 / 246] Realm
[157 / 246] Realm
[158 / 246] Realm
[160 / 246] Realm
[162 / 246] Realm
[164 / 246] Realm
[165 / 246] Realm
[167 / 246] Realm
[170 / 246] Realm
[172 / 246] Realm
[173 / 246] Realm
[174 / 246] Realm
[175 / 246] Realm
[177 / 246] Realm
[178 / 246] Realm
[180 / 246] Realm
[182 / 246] Realm
[184 / 246] Realm
[186 / 246] Realm
[187 / 246] Realm
[188 / 246] Realm
[190 / 246] Realm
[193 / 246]
[200 / 246] RealmSwift
[201 / 246]
[204 / 246]
[208 / 246] RealmSwift-product
[212 / 246] RealmSwift
[213 / 246] RealmSwift
[214 / 246]
[217 / 246]
[220 / 246] RealmSwift
[226 / 247] RealmSwift
[229 / 247]
[232 / 247]
[234 / 247]
[238 / 247] RealmSwift
[249 / 290]
[256 / 290]
[262 / 290]
[264 / 290]
[266 / 290]
[268 / 290]
[269 / 290]
[281 / 290] IceCream
[287 / 290] IceCream
Build complete! (20.95 sec)
Fetching https://github.com/realm/realm-cocoa
[1/131839] Fetching realm-cocoa
Fetched https://github.com/realm/realm-cocoa (21.23s)
Computing version for https://github.com/realm/realm-cocoa
Computed https://github.com/realm/realm-cocoa at 4.4.1 (21.96s)
Fetching https://github.com/realm/realm-core
[1/252559] Fetching realm-core
Fetched https://github.com/realm/realm-core (26.02s)
Computing version for https://github.com/realm/realm-core
Computed https://github.com/realm/realm-core at 5.23.8 (26.73s)
Creating working copy for https://github.com/realm/realm-core
Working copy of https://github.com/realm/realm-core resolved at 5.23.8
Creating working copy for https://github.com/realm/realm-cocoa
Working copy of https://github.com/realm/realm-cocoa resolved at 4.4.1
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/DatabaseManagerProtocol.swift:10:27: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m8 |[0;0m import CloudKit
[0;36m9 |[0;0m
[0;36m10 |[0;0m protocol DatabaseManager: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// A conduit for accessing and performing operations on the data of an app container.
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:231:84: [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m229 |[0;0m }
[0;36m230 |[0;0m
[0;36m231 |[0;0m private var zoneIdOptions: [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'CKFetchRecordZoneChangesOperation.ZoneConfiguration' instead[0;0m
[0;36m232 |[0;0m return syncObjects.reduce([CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions]()) { (dict, syncObject) -> [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] in
[0;36m233 |[0;0m var dict = dict
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/Syncable.swift:14:27: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m12 |[0;0m /// Since `sync` is an informal version of `synchronize`, so we choose the `syncable` word for
[0;36m13 |[0;0m /// the ability of synchronization.
[0;36m14 |[0;0m public protocol Syncable: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// CKRecordZone related
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/Syncable.swift:14:27: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m12 |[0;0m /// Since `sync` is an informal version of `synchronize`, so we choose the `syncable` word for
[0;36m13 |[0;0m /// the ability of synchronization.
[0;36m14 |[0;0m public protocol Syncable: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// CKRecordZone related
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/SyncEngine.swift:42:13: [1;33mwarning: [1;39mswitch must be exhaustive[0;0m
[0;36m40 |[0;0m databaseManager.container.accountStatus { [weak self] (status, error) in
[0;36m41 |[0;0m guard let self = self else { return }
[0;36m42 |[0;0m switch status {
[0;36m|[0;0m |- [1;33mwarning: [1;39mswitch must be exhaustive[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd missing case: '.temporarilyUnavailable'[0;0m
[0;36m43 |[0;0m case .available:
[0;36m44 |[0;0m self.databaseManager.registerLocalDatabase()
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/DatabaseManagerProtocol.swift:10:27: [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m8 |[0;0m import CloudKit
[0;36m9 |[0;0m
[0;36m10 |[0;0m protocol DatabaseManager: class {
[0;36m|[0;0m `- [1;33mwarning: [1;39musing 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead[0;0m [#deprecation]
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// A conduit for accessing and performing operations on the data of an app container.
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/DatabaseManagerProtocol.swift:62:34: [1;33mwarning: [1;39m'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m60 |[0;0m guard let self = self, error == nil else { return }
[0;36m61 |[0;0m if let modifyOp = ope as? CKModifyRecordsOperation {
[0;36m62 |[0;0m modifyOp.modifyRecordsCompletionBlock = { (_,_,_) in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m63 |[0;0m print("Resume modify records success!")
[0;36m64 |[0;0m }
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/DatabaseManagerProtocol.swift:112:19: [1;33mwarning: [1;39m'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m110 |[0;0m modifyOpe.isAtomic = true
[0;36m111 |[0;0m
[0;36m112 |[0;0m modifyOpe.modifyRecordsCompletionBlock = {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m113 |[0;0m [weak self]
[0;36m114 |[0;0m (_, _, error) in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/SyncObject.swift:61:38: [1;33mwarning: [1;39m'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m59 |[0;0m /// In other situation just get the unarchive the data object
[0;36m60 |[0;0m guard let tokenData = UserDefaults.standard.object(forKey: T.className() + IceCreamKey.zoneChangesTokenKey.value) as? Data else { return nil }
[0;36m61 |[0;0m return NSKeyedUnarchiver.unarchiveObject(with: tokenData) as? CKServerChangeToken
[0;36m|[0;0m `- [1;33mwarning: [1;39m'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m62 |[0;0m }
[0;36m63 |[0;0m set {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/SyncObject.swift:68:40: [1;33mwarning: [1;39m'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m66 |[0;0m return
[0;36m67 |[0;0m }
[0;36m68 |[0;0m let data = NSKeyedArchiver.archivedData(withRootObject: n)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m69 |[0;0m UserDefaults.standard.set(data, forKey: T.className() + IceCreamKey.zoneChangesTokenKey.value)
[0;36m70 |[0;0m }
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/SyncObject.swift:136:76: [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m132 |[0;0m /// For more: https://realm.io/docs/swift/latest/#writes
[0;36m133 |[0;0m public func registerLocalDatabase() {
[0;36m134 |[0;0m BackgroundWorker.shared.start {
[0;36m|[0;0m |- [1;39mnote: [1;39m'self' implicitly strongly captured here[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd 'self' as a capture list item to silence[0;0m
[0;36m135 |[0;0m let realm = try! Realm(configuration: self.realmConfiguration)
[0;36m136 |[0;0m self.notificationToken = realm.objects(T.self).observe({ [weak self](changes) in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mexplicitly assign the capture list item to silence[0;0m
[0;36m137 |[0;0m guard let self = self else { return }
[0;36m138 |[0;0m switch changes {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PublicDatabaseManager.swift:68:24: [1;33mwarning: [1;39m'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m66 |[0;0m // MARK: - Private Methods
[0;36m67 |[0;0m private func excuteQueryOperation(queryOperation: CKQueryOperation,on syncObject: Syncable, callback: ((Error?) -> Void)? = nil) {
[0;36m68 |[0;0m queryOperation.recordFetchedBlock = { record in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m69 |[0;0m syncObject.add(record: record)
[0;36m70 |[0;0m }
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PublicDatabaseManager.swift:72:24: [1;33mwarning: [1;39m'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m70 |[0;0m }
[0;36m71 |[0;0m
[0;36m72 |[0;0m queryOperation.queryCompletionBlock = { [weak self] cursor, error in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m73 |[0;0m guard let self = self else { return }
[0;36m74 |[0;0m if let cursor = cursor {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PublicDatabaseManager.swift:107:18: [1;33mwarning: [1;39m'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m105 |[0;0m
[0;36m106 |[0;0m let createOp = CKModifySubscriptionsOperation(subscriptionsToSave: [subscription], subscriptionIDsToDelete: [])
[0;36m107 |[0;0m createOp.modifySubscriptionsCompletionBlock = { _, _, _ in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m108 |[0;0m
[0;36m109 |[0;0m }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:231:84: [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m229 |[0;0m }
[0;36m230 |[0;0m
[0;36m231 |[0;0m private var zoneIdOptions: [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'CKFetchRecordZoneChangesOperation.ZoneConfiguration' instead[0;0m
[0;36m232 |[0;0m return syncObjects.reduce([CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions]()) { (dict, syncObject) -> [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] in
[0;36m233 |[0;0m var dict = dict
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:37:26: [1;33mwarning: [1;39m'fetchDatabaseChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchDatabaseChangesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m35 |[0;0m }
[0;36m36 |[0;0m
[0;36m37 |[0;0m changesOperation.fetchDatabaseChangesCompletionBlock = {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'fetchDatabaseChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchDatabaseChangesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m38 |[0;0m [weak self]
[0;36m39 |[0;0m newToken, _, error in
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:72:18: [1;33mwarning: [1;39m'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m70 |[0;0m
[0;36m71 |[0;0m let modifyOp = CKModifyRecordZonesOperation(recordZonesToSave: zonesToCreate, recordZoneIDsToDelete: nil)
[0;36m72 |[0;0m modifyOp.modifyRecordZonesCompletionBlock = { [weak self](_, _, error) in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'modifyRecordZonesCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordZonesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m73 |[0;0m guard let self = self else { return }
[0;36m74 |[0;0m switch ErrorHandler.shared.resultType(with: error) {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:108:18: [1;33mwarning: [1;39m'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m106 |[0;0m
[0;36m107 |[0;0m let createOp = CKModifySubscriptionsOperation(subscriptionsToSave: [subscription], subscriptionIDsToDelete: [])
[0;36m108 |[0;0m createOp.modifySubscriptionsCompletionBlock = { _, _, error in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'modifySubscriptionsCompletionBlock' was deprecated in macOS 12.0: Use modifySubscriptionsResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m109 |[0;0m guard error == nil else { return }
[0;36m110 |[0;0m self.subscriptionIsLocallyCached = true
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:138:25: [1;33mwarning: [1;39m'init(recordZoneIDs:optionsByRecordZoneID:)' was deprecated in macOS 10.14[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m136 |[0;0m
[0;36m137 |[0;0m private func fetchChangesInZones(_ callback: ((Error?) -> Void)? = nil) {
[0;36m138 |[0;0m let changesOp = CKFetchRecordZoneChangesOperation(recordZoneIDs: zoneIds, optionsByRecordZoneID: zoneIdOptions)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'init(recordZoneIDs:optionsByRecordZoneID:)' was deprecated in macOS 10.14[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m139 |[0;0m changesOp.fetchAllChanges = true
[0;36m140 |[0;0m
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:147:19: [1;33mwarning: [1;39m'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m145 |[0;0m }
[0;36m146 |[0;0m
[0;36m147 |[0;0m changesOp.recordChangedBlock = { [weak self] record in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'recordChangedBlock' was deprecated in macOS 12.0: Use recordWasChangedBlock instead, which surfaces per-record errors[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m148 |[0;0m /// The Cloud will return the modified record since the last zoneChangesToken, we need to do local cache here.
[0;36m149 |[0;0m /// Handle the record:
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:161:19: [1;33mwarning: [1;39m'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m159 |[0;0m }
[0;36m160 |[0;0m
[0;36m161 |[0;0m changesOp.recordZoneFetchCompletionBlock = { [weak self](zoneId ,token, _, _, error) in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'recordZoneFetchCompletionBlock' was deprecated in macOS 12.0: Use recordZoneFetchResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m162 |[0;0m guard let self = self else { return }
[0;36m163 |[0;0m switch ErrorHandler.shared.resultType(with: error) {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:186:19: [1;33mwarning: [1;39m'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m184 |[0;0m }
[0;36m185 |[0;0m
[0;36m186 |[0;0m changesOp.fetchRecordZoneChangesCompletionBlock = { [weak self] error in
[0;36m|[0;0m `- [1;33mwarning: [1;39m'fetchRecordZoneChangesCompletionBlock' was deprecated in macOS 12.0: Use fetchRecordZoneChangesResultBlock instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m187 |[0;0m guard let self = self else { return }
[0;36m188 |[0;0m self.syncObjects.forEach {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:205:38: [1;33mwarning: [1;39m'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m203 |[0;0m /// In other situation just get the unarchive the data object
[0;36m204 |[0;0m guard let tokenData = UserDefaults.standard.object(forKey: IceCreamKey.databaseChangesTokenKey.value) as? Data else { return nil }
[0;36m205 |[0;0m return NSKeyedUnarchiver.unarchiveObject(with: tokenData) as? CKServerChangeToken
[0;36m|[0;0m `- [1;33mwarning: [1;39m'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m206 |[0;0m }
[0;36m207 |[0;0m set {
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:212:40: [1;33mwarning: [1;39m'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m210 |[0;0m return
[0;36m211 |[0;0m }
[0;36m212 |[0;0m let data = NSKeyedArchiver.archivedData(withRootObject: n)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m213 |[0;0m UserDefaults.standard.set(data, forKey: IceCreamKey.databaseChangesTokenKey.value)
[0;36m214 |[0;0m }
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:232:87: [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m230 |[0;0m
[0;36m231 |[0;0m private var zoneIdOptions: [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] {
[0;36m232 |[0;0m return syncObjects.reduce([CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions]()) { (dict, syncObject) -> [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'CKFetchRecordZoneChangesOperation.ZoneConfiguration' instead[0;0m
[0;36m233 |[0;0m var dict = dict
[0;36m234 |[0;0m let zoneChangesOptions = CKFetchRecordZoneChangesOperation.ZoneOptions()
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:232:179: [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m230 |[0;0m
[0;36m231 |[0;0m private var zoneIdOptions: [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] {
[0;36m232 |[0;0m return syncObjects.reduce([CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions]()) { (dict, syncObject) -> [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] in
[0;36m|[0;0m |- [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'CKFetchRecordZoneChangesOperation.ZoneConfiguration' instead[0;0m
[0;36m233 |[0;0m var dict = dict
[0;36m234 |[0;0m let zoneChangesOptions = CKFetchRecordZoneChangesOperation.ZoneOptions()
/Users/admin/builder/spi-builder-workspace/IceCream/Classes/PrivateDatabaseManager.swift:234:72: [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m232 |[0;0m return syncObjects.reduce([CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions]()) { (dict, syncObject) -> [CKRecordZone.ID: CKFetchRecordZoneChangesOperation.ZoneOptions] in
[0;36m233 |[0;0m var dict = dict
[0;36m234 |[0;0m let zoneChangesOptions = CKFetchRecordZoneChangesOperation.ZoneOptions()
[0;36m|[0;0m |- [1;33mwarning: [1;39m'ZoneOptions' was deprecated in macOS 10.14: renamed to 'CKFetchRecordZoneChangesOperation.ZoneConfiguration'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'CKFetchRecordZoneChangesOperation.ZoneConfiguration' instead[0;0m
[0;36m235 |[0;0m zoneChangesOptions.previousServerChangeToken = syncObject.zoneChangesToken
[0;36m236 |[0;0m dict[syncObject.zoneID] = zoneChangesOptions
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
"dependencies" : [
{
"identity" : "realm-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/realm/realm-cocoa"
}
],
"manifest_display_name" : "IceCream",
"name" : "IceCream",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "IceCream",
"targets" : [
"IceCream"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "IceCream",
"module_type" : "SwiftTarget",
"name" : "IceCream",
"path" : "IceCream",
"product_dependencies" : [
"RealmSwift",
"Realm"
],
"product_memberships" : [
"IceCream"
],
"sources" : [
"Classes/BackgroundWorker.swift",
"Classes/CKRecordConvertible.swift",
"Classes/CKRecordRecoverable.swift",
"Classes/CreamAsset.swift",
"Classes/CreamLocation.swift",
"Classes/DatabaseManagerProtocol.swift",
"Classes/ErrorHandler.swift",
"Classes/Manifest.swift",
"Classes/Notification+Name.swift",
"Classes/PendingRelationshipsWorker.swift",
"Classes/PrivateDatabaseManager.swift",
"Classes/PublicDatabaseManager.swift",
"Classes/SyncEngine.swift",
"Classes/SyncObject.swift",
"Classes/Syncable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.