Build Information
Successful build of LacrasteCloud, reference main (8a09c8), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 18:40:52 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.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.2
Building package at path: $PWD
https://github.com/giovaninb/LacrasteCloud-SPM.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/9] Compiling LacrasteCloud LacrasteStorage.swift
[4/9] Compiling LacrasteCloud PageFetcher.swift
/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
[5/9] Compiling LacrasteCloud LacrasteType.swift
[6/9] Compiling LacrasteCloud Parser.swift
[7/9] Compiling LacrasteCloud LacrasteErrors.swift
[8/9] Emitting module LacrasteCloud
/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
[9/9] Compiling LacrasteCloud LacrasteCloud.swift
/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
93 | predicate: NSPredicate(value: true),
94 | options: [.firesOnRecordCreation, .firesOnRecordDeletion])
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:131:25: warning: capture of non-sendable type 'T.Type' in an isolated closure
129 |
130 | if error != nil {
131 | completion(.failure(LacrasteErrors.LCDataRetrieval))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
132 | return
133 | }
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:117:112: warning: capture of non-sendable type 'T.Type' in an isolated closure
115 | /// - storageType: Which database to perform the query
116 | /// - completion: Result object containing all fetched records or an error
117 | public static func fetchRecordsByUser<T: LacrasteStorage>(storageType: LacrasteType = .privateStorage(), _ completion: @escaping (Result<[T], Error>) -> Void) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
118 |
119 | getUserRecordID(customContainer: storageType.container) { (result) in
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:175:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
173 |
174 | if error != nil {
175 | completion(.failure(LacrasteErrors.LCDataRetrieval))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
176 | return
177 | }
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:164:122: warning: capture of non-sendable type 'T.Type' in an isolated closure
162 | /// - completion: Result object containing all fetched records or an error
163 | /// - predicate: Predicate string
164 | public static func get<T: LacrasteStorage>(storageType: LacrasteType = .privateStorage(), predicate: NSPredicate, _ completion: @escaping (Result<[T], Error>) -> Void) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
165 |
166 | let query = CKQuery(
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:210:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
208 |
209 | if error != nil {
210 | completion(.failure(LacrasteErrors.LCDataRetrieval))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
211 | return
212 | }
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:203:100: warning: capture of non-sendable type 'T.Type' in an isolated closure
201 | /// - storageType: Which database to perform the query
202 | /// - completion: Result object containing all fetched records or an error
203 | public static func getAll<T: LacrasteStorage>(storageType: LacrasteType = .privateStorage(), _ completion: @escaping (Result<[T], Error>) -> Void) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
204 |
205 | let query = CKQuery(recordType: T.reference, predicate: NSPredicate(value: true))
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:328:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
326 |
327 | if error != nil {
328 | completion(.failure(LacrasteErrors.LCDataRetrieval))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
329 | return
330 | }
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:322:117: warning: capture of non-sendable type 'T.Type' in an isolated closure
320 | /// - recordID: The UUID of the record in the database
321 | /// - completion: Result object containing the fetched record or an error
322 | public static func get<T: LacrasteStorage>(storageType: LacrasteType = .privateStorage(), recordName: String, _ completion: @escaping (Result<T, Error>) -> Void) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
323 |
324 | let recordID = CKRecord.ID(recordName: recordName)
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:362:17: warning: capture of non-sendable type 'T.Type' in an isolated closure
360 |
361 | if error != nil {
362 | completion(.failure(LacrasteErrors.LCDataInsertion))
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
363 | return
364 | }
/Users/admin/builder/spi-builder-workspace/Sources/LacrasteCloud/LacrasteCloud.swift:352:115: warning: capture of non-sendable type 'T.Type' in an isolated closure
350 | /// - storage: The Storage object to e inserted
351 | /// - completion: Result object containing the created record or an error
352 | public static func create<T: LacrasteStorage>(storageType: LacrasteType = .privateStorage(), _ storage: T, _ completion: @escaping (Result<T, Error>) -> Void) {
| `- warning: capture of non-sendable type 'T.Type' in an isolated closure
353 |
354 | guard let record = try? T.parser.toRecord(storage)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (3.89s)
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.