Build Information
Successful build of SwiftDataPager, reference main (33007b
), with Swift 5.10 for macOS (SPM) on 11 Apr 2025 15:59:30 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/markbattistella/SwiftDataPager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markbattistella/SwiftDataPager
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 33007b0 2025-04-10
Cloned https://github.com/markbattistella/SwiftDataPager.git
Revision (git rev-parse @):
33007b09fd3c497d6219c8d703280be4e7bc3d99
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/markbattistella/SwiftDataPager.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/markbattistella/SwiftDataPager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/20] Compiling SimpleLogger LoggerCategory.swift
[5/21] Compiling SimpleLogger Logger+Ext.swift
[6/21] Compiling SimpleLogger AgnosticColor.swift
[7/21] Compiling SimpleLogger Delimiter.swift
[8/21] Compiling SimpleLogger Category+UI.swift
[9/21] Compiling SimpleLogger Category+Utilities.swift
[10/21] Compiling SimpleLogger Category+System.swift
[11/21] Compiling SimpleLogger Category+Testing.swift
[12/21] Compiling SimpleLogger Category+Persistence.swift
[13/21] Compiling SimpleLogger Category+Security.swift
[14/21] Compiling SimpleLogger Category+Network.swift
[15/21] Compiling SimpleLogger Category+Performance.swift
[16/21] Compiling SimpleLogger Category+Architecture.swift
[17/21] Compiling SimpleLogger Category+Miscellaneous.swift
[18/21] Emitting module SimpleLogger
[19/21] Compiling SimpleLogger Date+Ext.swift
[20/21] Compiling SimpleLogger LogLevel+Ext.swift
[21/21] Compiling SimpleLogger LoggerManager.swift
[22/25] Compiling SwiftDataPager ViewModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:40:19: warning: capture of 'paginated' with non-sendable type 'PagedQuery<Model>' in a `@Sendable` closure
guard paginated.wrappedValue.last == item else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:40:50: warning: capture of 'item' with non-sendable type 'Model' in a `@Sendable` closure
guard paginated.wrappedValue.last == item else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:33:28: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onLoadMore<Model: PersistentModel & Equatable>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:42:16: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
if canLoadMore(paginated) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:45:19: warning: implicit capture of 'item' requires that 'Model' conforms to `Sendable`
\(item.persistentModelID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:33:28: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onLoadMore<Model: PersistentModel & Equatable>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:51:19: warning: implicit capture of 'item' requires that 'Model' conforms to `Sendable`
\(item.persistentModelID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:33:28: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onLoadMore<Model: PersistentModel & Equatable>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:53:32: warning: implicit capture of 'paginated' requires that 'PagedQuery<Model>' conforms to `Sendable`
- fetching: \(paginated.isFetching)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:79:19: warning: capture of 'condition' with non-sendable type '(Model, [Model]) -> Bool' in a `@Sendable` closure
guard condition(item, paginated.wrappedValue) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:79:19: note: a function type must be marked '@Sendable' to conform to 'Sendable'
guard condition(item, paginated.wrappedValue) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:79:29: warning: capture of 'item' with non-sendable type 'Model' in a `@Sendable` closure
guard condition(item, paginated.wrappedValue) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:71:37: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onPaginationTrigger<Model: PersistentModel>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:79:35: warning: capture of 'paginated' with non-sendable type 'PagedQuery<Model>' in a `@Sendable` closure
guard condition(item, paginated.wrappedValue) else { return }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:81:16: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure
if canLoadMore(paginated) {
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:84:19: warning: implicit capture of 'item' requires that 'Model' conforms to `Sendable`
\(item.persistentModelID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:71:37: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onPaginationTrigger<Model: PersistentModel>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:90:19: warning: implicit capture of 'item' requires that 'Model' conforms to `Sendable`
\(item.persistentModelID)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:71:37: note: consider making generic parameter 'Model' conform to the 'Sendable' protocol
public func onPaginationTrigger<Model: PersistentModel>(
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/ViewModifiers.swift:92:32: warning: implicit capture of 'paginated' requires that 'PagedQuery<Model>' conforms to `Sendable`
- fetching: \(paginated.isFetching)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
[23/25] Compiling SwiftDataPager PaginationLogger.swift
[24/25] Emitting module SwiftDataPager
[25/25] Compiling SwiftDataPager PagedQueryWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:190:22: warning: capture of 'self' with non-sendable type 'PagedQuery<Model>' in a `@Sendable` closure
Task { await fetchPage(startingAt: fetchOffset) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:190:22: warning: passing argument of non-sendable type 'PagedQuery<Model>' into main actor-isolated context may introduce data races
Task { await fetchPage(startingAt: fetchOffset) }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDataPager/PagedQueryWrapper.swift:30:15: note: consider making generic struct 'PagedQuery' conform to the 'Sendable' protocol
public struct PagedQuery<Model>: DynamicProperty where Model: PersistentModel {
^
, Sendable
Build complete! (12.05s)
Fetching https://github.com/markbattistella/SimpleLogger
[1/97] Fetching simplelogger
Fetched https://github.com/markbattistella/SimpleLogger from cache (0.99s)
Computing version for https://github.com/markbattistella/SimpleLogger
Computed https://github.com/markbattistella/SimpleLogger at 1.2.0 (0.36s)
Creating working copy for https://github.com/markbattistella/SimpleLogger
Working copy of https://github.com/markbattistella/SimpleLogger resolved at 1.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "simplelogger",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/markbattistella/SimpleLogger"
}
],
"manifest_display_name" : "SwiftDataPager",
"name" : "SwiftDataPager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "SwiftDataPager",
"targets" : [
"SwiftDataPager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftDataPager",
"module_type" : "SwiftTarget",
"name" : "SwiftDataPager",
"path" : "Sources/SwiftDataPager",
"product_dependencies" : [
"SimpleLogger"
],
"product_memberships" : [
"SwiftDataPager"
],
"sources" : [
"PagedQueryWrapper.swift",
"PaginationLogger.swift",
"ViewModifiers.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.