The Swift Package Index logo.Swift Package Index

Build Information

Successful build of LacrasteCloud, reference main (8a09c8), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 17:29:37 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/giovaninb/LacrasteCloud-SPM.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/giovaninb/LacrasteCloud-SPM
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8a09c8a Adding predicate on getAllPaginatedAndSorted
Cloned https://github.com/giovaninb/LacrasteCloud-SPM.git
Revision (git rev-parse @):
8a09c8a451247ca583ac99f08981926f83e0a97d
SUCCESS checkout https://github.com/giovaninb/LacrasteCloud-SPM.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/giovaninb/LacrasteCloud-SPM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] LacrasteCloud
[30 / 77]
[35 / 77]
[39 / 77]
[40 / 77]
[44 / 77]
[46 / 77]
[49 / 77]
[53 / 77]
[55 / 77]
[56 / 77]
[60 / 77]
[68 / 77] LacrasteCloud
[74 / 77] LacrasteCloud
[75 / 77] LacrasteCloud
Build complete! (7.36 sec)
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/PageFetcher.swift:24:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias PagedCompletion<T: LacrasteStorage> = (Result<(elements: [T], moreRecords: PageFetcher<T>?), Error>) -> Void
11 |
12 | public class PageFetcher<T: LacrasteStorage> {
   |                          `- note: 'T' previously declared here
13 |
14 |     private let storageType: LacrasteType
   :
22 |     }
23 |
24 |     public func fetchPage<T: LacrasteStorage>(_ completionHandler: @escaping PagedCompletion<T>) {
   |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 |
26 |         var listOfRecords: [T] = [] // A place to store the items as we get them
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/PageFetcher.swift:24:27: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
10 | public typealias PagedCompletion<T: LacrasteStorage> = (Result<(elements: [T], moreRecords: PageFetcher<T>?), Error>) -> Void
11 |
12 | public class PageFetcher<T: LacrasteStorage> {
   |                          `- note: 'T' previously declared here
13 |
14 |     private let storageType: LacrasteType
   :
22 |     }
23 |
24 |     public func fetchPage<T: LacrasteStorage>(_ completionHandler: @escaping PagedCompletion<T>) {
   |                           `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
25 |
26 |         var listOfRecords: [T] = [] // A place to store the items as we get them
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/PageFetcher.swift:32:24: warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
30 |
31 |         // As we get each record, lets store them in the array
32 |         queryOperation.recordFetchedBlock = { record in
   |                        `- warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
33 |             guard let value = (try? T.parser.fromRecord(record)) as? T
34 |             else {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/PageFetcher.swift:42:24: warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
40 |
41 |         // Have another closure for when the download is complete
42 |         queryOperation.queryCompletionBlock = { [self] cursor, error in
   |                        `- warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
43 |             //print(">>>> cursor: \(cursor)")
44 |             if error != nil {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:92:35: warning: 'init(recordType:predicate:options:)' was deprecated in macOS 10.12: Provide an explicit CKSubscription.ID at CKSubscription-init time [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 90 |
 91 |         if #available(iOS 10.0, *) {
 92 |             let newSubscription = CKQuerySubscription(recordType: T.reference,
    |                                   `- warning: 'init(recordType:predicate:options:)' was deprecated in macOS 10.12: Provide an explicit CKSubscription.ID at CKSubscription-init time [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 93 |                                                       predicate: NSPredicate(value: true),
 94 |                                                       options: [.firesOnRecordCreation, .firesOnRecordDeletion])
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:127:38: warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
125 |                 )
126 |
127 |                 storageType.database.perform(query, inZoneWith: nil) {
    |                                      `- warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
128 |                     results, error in
129 |
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:171:30: warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
169 |         )
170 |
171 |         storageType.database.perform(query, inZoneWith: nil) {
    |                              `- warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
172 |             results, error in
173 |
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:207:30: warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
205 |         let query = CKQuery(recordType: T.reference, predicate: NSPredicate(value: true))
206 |
207 |         storageType.database.perform(query, inZoneWith: nil) { results, error in
    |                              `- warning: 'perform(_:inZoneWith:completionHandler:)' was deprecated in macOS 12.0: renamed to fetch(withQuery:inZoneWith:desiredKeys:resultsLimit:completionHandler:) [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
208 |
209 |             if error != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:254:24: warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
252 |
253 |         // As we get each record, lets store them in the array
254 |         queryOperation.recordFetchedBlock = { record in
    |                        `- warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
255 |             guard let value = (try? T.parser.fromRecord(record)) as? T
256 |             else {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:264:24: warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
262 |
263 |         // Have another closure for when the download is complete
264 |         queryOperation.queryCompletionBlock = { cursor, error in
    |                        `- warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
265 |             //print(">>>> cursor: \(cursor)")
266 |             if error != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:296:24: warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
294 |         queryOperation.qualityOfService = .userInteractive
295 |         // As we get each record, lets store them in the array
296 |         queryOperation.recordFetchedBlock = { record in
    |                        `- warning: 'recordFetchedBlock' was deprecated in macOS 12.0: Use recordMatchedBlock instead, which surfaces per-record errors [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
297 |             guard let value = (try? T.parser.fromRecord(record)) as? T
298 |             else {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:306:24: warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
304 |
305 |         // Have another closure for when the download is complete
306 |         queryOperation.queryCompletionBlock = { cursor, error in
    |                        `- warning: 'queryCompletionBlock' was deprecated in macOS 12.0: Use queryResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
307 |             if error != nil {
308 |                 completionHandler(.failure(LacrasteErrors.LCDataRetrieval))
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:398:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
396 |         operation.savePolicy = .allKeys
397 |
398 |         operation.modifyRecordsCompletionBlock = { (updatedRecords, _, error) in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
399 |
400 |             if error != nil {
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:451:19: warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
449 |         let operation = CKModifyRecordsOperation(recordsToSave: nil, recordIDsToDelete: recordIDs)
450 |
451 |         operation.modifyRecordsCompletionBlock = { (_, deletedRecordIDs, error) in
    |                   `- warning: 'modifyRecordsCompletionBlock' was deprecated in macOS 12.0: Use modifyRecordsResultBlock instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
452 |
453 |             if error != nil {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "LacrasteCloud",
  "name" : "LacrasteCloud",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "LacrasteCloud",
      "targets" : [
        "LacrasteCloud"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "LacrasteCloudTests",
      "module_type" : "SwiftTarget",
      "name" : "LacrasteCloudTests",
      "path" : "Tests/LacrasteCloudTests",
      "sources" : [
        "LacrasteCloudTests.swift"
      ],
      "target_dependencies" : [
        "LacrasteCloud"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LacrasteCloud",
      "module_type" : "SwiftTarget",
      "name" : "LacrasteCloud",
      "path" : "Sources/LacrasteCloud",
      "product_memberships" : [
        "LacrasteCloud"
      ],
      "sources" : [
        "LacrasteCloud.swift",
        "LacrasteErrors.swift",
        "LacrasteStorage.swift",
        "LacrasteType.swift",
        "PageFetcher.swift",
        "Parser.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.