Build Information
Successful build of SwiftUIPager, reference main (232675
), with Swift 6.0 for visionOS using Xcode 16.0 on 2 Nov 2024 13:58:40 UTC.
Swift 6 data race errors: 17
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftUIPager -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:251:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:248:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenHorizontal_ThenIsHorizontalTrue()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenHorizontal_ThenIsHorizontalTrue() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:252:36: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.isHorizontal)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:84:13: note: property declared here
var isHorizontal: Bool = true
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:257:38: warning: 'interactive' is deprecated: renamed to 'interactive(scale:)'
let pagerInteractive = pager.interactive(-0.7)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:257:38: note: use 'interactive(scale:)' instead
let pagerInteractive = pager.interactive(-0.7)
^
scale:
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:257:38: warning: call to main actor-isolated instance method 'interactive' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerInteractive = pager.interactive(-0.7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:233:17: note: calls to instance method 'interactive' from outside of its actor context are implicitly asynchronous
public func interactive(_ scale: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:255:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:258:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:255:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:259:56: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContentInteractive = pagerInteractive.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:255:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveLessThanZero_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:260:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, pagerContentInteractive.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:260:79: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, pagerContentInteractive.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:265:38: warning: 'interactive' is deprecated: renamed to 'interactive(scale:)'
let pagerInteractive = pager.interactive(1.5)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:265:38: note: use 'interactive(scale:)' instead
let pagerInteractive = pager.interactive(1.5)
^
scale:
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:265:38: warning: call to main actor-isolated instance method 'interactive' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerInteractive = pager.interactive(1.5)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:233:17: note: calls to instance method 'interactive' from outside of its actor context are implicitly asynchronous
public func interactive(_ scale: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:263:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:266:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:263:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:267:56: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContentInteractive = pagerInteractive.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:263:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractiveGreaterThanOne_ThenNotSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:268:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, pagerContentInteractive.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:268:79: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, pagerContentInteractive.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:273:23: warning: 'interactive' is deprecated: renamed to 'interactive(scale:)'
pager = pager.interactive(0.7)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:273:23: note: use 'interactive(scale:)' instead
pager = pager.interactive(0.7)
^
scale:
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:273:23: warning: call to main actor-isolated instance method 'interactive' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.interactive(0.7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:233:17: note: calls to instance method 'interactive' from outside of its actor context are implicitly asynchronous
public func interactive(_ scale: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:271:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractive_ThenInteractiveScaleIs()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractive_ThenInteractiveScaleIs() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:274:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:271:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenInteractive_ThenInteractiveScaleIs()' part of global actor 'MainActor'
func test_GivenPager_WhenInteractive_ThenInteractiveScaleIs() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:275:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, 0.7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:279:44: warning: 'rotation3D' is deprecated: renamed to 'interactive(rotation:)'
let pagerWithRotation = givenPager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:279:44: note: use 'interactive(rotation:)' instead
let pagerWithRotation = givenPager.rotation3D()
^~~~~~~~~~
interactive
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:280:50: warning: 'interactive' is deprecated: renamed to 'interactive(scale:)'
let pagerInteractive = pagerWithRotation.interactive(0.8)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:280:50: note: use 'interactive(scale:)' instead
let pagerInteractive = pagerWithRotation.interactive(0.8)
^
scale:
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:279:44: warning: call to main actor-isolated instance method 'rotation3D' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerWithRotation = givenPager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:272:17: note: calls to instance method 'rotation3D' from outside of its actor context are implicitly asynchronous
public func rotation3D(_ value: Bool = true) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:278:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:280:50: warning: call to main actor-isolated instance method 'interactive' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerInteractive = pagerWithRotation.interactive(0.8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:233:17: note: calls to instance method 'interactive' from outside of its actor context are implicitly asynchronous
public func interactive(_ scale: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:278:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:281:58: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContentWithRotation = pagerWithRotation.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:278:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:282:56: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContentInteractive = pagerInteractive.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:278:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_WhenInteractive_ThenInteractiveScaleNotChanged() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:284:48: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContentInteractive.interactiveScale, pagerContentWithRotation.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:284:91: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContentInteractive.interactiveScale, pagerContentWithRotation.interactiveScale)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:285:48: warning: main actor-isolated property 'shouldRotate' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContentInteractive.shouldRotate, pagerContentWithRotation.shouldRotate)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:99:13: note: property declared here
var shouldRotate: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:285:87: warning: main actor-isolated property 'shouldRotate' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContentInteractive.shouldRotate, pagerContentWithRotation.shouldRotate)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:99:13: note: property declared here
var shouldRotate: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:292:14: warning: call to main actor-isolated instance method 'interactive(rotation:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.interactive(rotation: true)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:263:17: note: calls to instance method 'interactive(rotation:)' from outside of its actor context are implicitly asynchronous
public func interactive(rotation shouldRotate: Bool) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:288:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive()' part of global actor 'MainActor'
func test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:291:14: warning: call to main actor-isolated instance method 'interactive(opacity:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.interactive(opacity: 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:256:17: note: calls to instance method 'interactive(opacity:)' from outside of its actor context are implicitly asynchronous
public func interactive(opacity decrement: Double) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:288:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive()' part of global actor 'MainActor'
func test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:290:14: warning: call to main actor-isolated instance method 'interactive(scale:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.interactive(scale: 0.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:242:17: note: calls to instance method 'interactive(scale:)' from outside of its actor context are implicitly asynchronous
public func interactive(scale ratio: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:288:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive()' part of global actor 'MainActor'
func test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:293:45: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = interactivePager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:288:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive()' part of global actor 'MainActor'
func test_GivenPager_WhenCombineInteractiveModifier_ThenNoExclusive() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:294:37: warning: main actor-isolated property 'opacityIncrement' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.opacityIncrement, 0.3)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:90:13: note: property declared here
var opacityIncrement: Double?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:295:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, 0.4)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:296:36: warning: main actor-isolated property 'shouldRotate' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.shouldRotate)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:99:13: note: property declared here
var shouldRotate: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:301:23: warning: 'rotation3D' is deprecated: renamed to 'interactive(rotation:)'
pager = pager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:301:23: note: use 'interactive(rotation:)' instead
pager = pager.rotation3D()
^~~~~~~~~~
interactive
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:301:23: warning: call to main actor-isolated instance method 'rotation3D' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:272:17: note: calls to instance method 'rotation3D' from outside of its actor context are implicitly asynchronous
public func rotation3D(_ value: Bool = true) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:299:10: note: add '@MainActor' to make instance method 'test_GivenPager_When3DRotation_ThenShouldRotate()' part of global actor 'MainActor'
func test_GivenPager_When3DRotation_ThenShouldRotate() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:302:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:299:10: note: add '@MainActor' to make instance method 'test_GivenPager_When3DRotation_ThenShouldRotate()' part of global actor 'MainActor'
func test_GivenPager_When3DRotation_ThenShouldRotate() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:304:36: warning: main actor-isolated property 'shouldRotate' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.shouldRotate)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:99:13: note: property declared here
var shouldRotate: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:305:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, 0.7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:309:32: warning: 'rotation3D' is deprecated: renamed to 'interactive(rotation:)'
var pager = givenPager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:309:32: note: use 'interactive(rotation:)' instead
var pager = givenPager.rotation3D()
^~~~~~~~~~
interactive
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:310:23: warning: 'rotation3D' is deprecated: renamed to 'interactive(rotation:)'
pager = pager.rotation3D(false)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:310:23: note: use 'interactive(rotation:)' instead
pager = pager.rotation3D(false)
^~~~~~~~~~
interactiverotation:
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:309:32: warning: call to main actor-isolated instance method 'rotation3D' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.rotation3D()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:272:17: note: calls to instance method 'rotation3D' from outside of its actor context are implicitly asynchronous
public func rotation3D(_ value: Bool = true) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:308:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:310:23: warning: call to main actor-isolated instance method 'rotation3D' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.rotation3D(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:272:17: note: calls to instance method 'rotation3D' from outside of its actor context are implicitly asynchronous
public func rotation3D(_ value: Bool = true) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:308:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:311:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:308:10: note: add '@MainActor' to make instance method 'test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse()' part of global actor 'MainActor'
func test_GivenPagerWith3DRotation_When3DRotationFalse_ThenShouldRotateFalse() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:313:37: warning: main actor-isolated property 'shouldRotate' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertFalse(pagerContent.shouldRotate)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:99:13: note: property declared here
var shouldRotate: Bool = false
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:314:37: warning: main actor-isolated property 'interactiveScale' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveScale, 1)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:87:13: note: property declared here
var interactiveScale: CGFloat = 1
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:318:32: warning: call to main actor-isolated instance method 'vertical' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.vertical()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:223:17: note: calls to instance method 'vertical' from outside of its actor context are implicitly asynchronous
public func vertical(_ swipeDirection: VerticalSwipeDirection = .topToBottom) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:317:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle()' part of global actor 'MainActor'
func test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:319:23: warning: call to main actor-isolated instance method 'horizontal' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.horizontal(.endToStart)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:215:17: note: calls to instance method 'horizontal' from outside of its actor context are implicitly asynchronous
public func horizontal(_ swipeDirection: HorizontalSwipeDirection = .startToEnd) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:317:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle()' part of global actor 'MainActor'
func test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:321:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:317:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle()' part of global actor 'MainActor'
func test_GivenPager_WhenHorizontalRightToLeft_ThenScrollAngle() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:322:36: warning: main actor-isolated property 'isHorizontal' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.isHorizontal)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:84:13: note: property declared here
var isHorizontal: Bool = true
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:323:37: warning: main actor-isolated property 'scrollDirectionAngle' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.scrollDirectionAngle, Angle(degrees: 180))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:69:13: note: property declared here
var scrollDirectionAngle: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:328:23: warning: call to main actor-isolated instance method 'alignment' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.alignment(.end(10))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:208:17: note: calls to instance method 'alignment' from outside of its actor context are implicitly asynchronous
public func alignment(_ value: PositionAlignment) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:326:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenAlignment_ThenAlignmentSet()' part of global actor 'MainActor'
func test_GivenPager_WhenAlignment_ThenAlignmentSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:329:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:326:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenAlignment_ThenAlignmentSet()' part of global actor 'MainActor'
func test_GivenPager_WhenAlignment_ThenAlignmentSet() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:330:37: warning: main actor-isolated property 'alignment' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.alignment, .end(10))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:78:13: note: property declared here
var alignment: PositionAlignment = .center
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:335:23: warning: call to main actor-isolated instance method 'vertical' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.vertical(.bottomToTop)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:223:17: note: calls to instance method 'vertical' from outside of its actor context are implicitly asynchronous
public func vertical(_ swipeDirection: VerticalSwipeDirection = .topToBottom) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:333:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenVerticalBottomToTop_ThenScrollAngle()' part of global actor 'MainActor'
func test_GivenPager_WhenVerticalBottomToTop_ThenScrollAngle() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:336:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:333:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenVerticalBottomToTop_ThenScrollAngle()' part of global actor 'MainActor'
func test_GivenPager_WhenVerticalBottomToTop_ThenScrollAngle() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:337:36: warning: main actor-isolated property 'isVertical' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.isVertical)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:54:9: note: property declared here
var isVertical: Bool {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:338:37: warning: main actor-isolated property 'scrollDirectionAngle' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.scrollDirectionAngle, Angle(degrees: 180))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:69:13: note: property declared here
var scrollDirectionAngle: Angle = .zero
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:343:23: warning: call to main actor-isolated instance method 'pageOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.pageOffset(50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:280:17: note: calls to instance method 'pageOffset' from outside of its actor context are implicitly asynchronous
public func pageOffset(_ value: Double) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:341:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffset_ThenPageOffset()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffset_ThenPageOffset() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:344:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:341:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffset_ThenPageOffset()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffset_ThenPageOffset() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:345:37: warning: main actor-isolated property 'pageOffset' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageOffset, 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:102:13: note: property declared here
var pageOffset: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:350:23: warning: call to main actor-isolated instance method 'pageOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.pageOffset(50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:280:17: note: calls to instance method 'pageOffset' from outside of its actor context are implicitly asynchronous
public func pageOffset(_ value: Double) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:348:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffsetPositive_ThenDirectionForward()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffsetPositive_ThenDirectionForward() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:351:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:348:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffsetPositive_ThenDirectionForward()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffsetPositive_ThenDirectionForward() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:352:37: warning: main actor-isolated property 'pageOffset' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageOffset, 50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:102:13: note: property declared here
var pageOffset: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:354:52: warning: main actor-isolated property 'direction' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
let direction = try XCTUnwrap(pagerContent.direction)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:75:9: note: property declared here
var direction: Direction? {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:356:36: warning: main actor-isolated property 'isDragging' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.isDragging)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:72:9: note: property declared here
var isDragging: Bool { abs(totalOffset) > 0 }
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:361:23: warning: call to main actor-isolated instance method 'pageOffset' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.pageOffset(-50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:280:17: note: calls to instance method 'pageOffset' from outside of its actor context are implicitly asynchronous
public func pageOffset(_ value: Double) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:359:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffsetNegative_ThenDirectionBackward()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffsetNegative_ThenDirectionBackward() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:362:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:359:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPageOffsetNegative_ThenDirectionBackward()' part of global actor 'MainActor'
func test_GivenPager_WhenPageOffsetNegative_ThenDirectionBackward() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:363:37: warning: main actor-isolated property 'pageOffset' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageOffset, -50)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:102:13: note: property declared here
var pageOffset: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:365:52: warning: main actor-isolated property 'direction' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
let direction = try XCTUnwrap(pagerContent.direction)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:75:9: note: property declared here
var direction: Direction? {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:367:36: warning: main actor-isolated property 'isDragging' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.isDragging)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:72:9: note: property declared here
var isDragging: Bool { abs(totalOffset) > 0 }
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:372:23: warning: call to main actor-isolated instance method 'itemSpacing' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemSpacing(30)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:287:17: note: calls to instance method 'itemSpacing' from outside of its actor context are implicitly asynchronous
public func itemSpacing(_ value: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:370:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemSpacing_ThenItemSpacing()' part of global actor 'MainActor'
func test_GivenPager_WhenItemSpacing_ThenItemSpacing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:373:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:370:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemSpacing_ThenItemSpacing()' part of global actor 'MainActor'
func test_GivenPager_WhenItemSpacing_ThenItemSpacing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:374:37: warning: main actor-isolated property 'itemSpacing' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.itemSpacing, 30)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:108:13: note: property declared here
var itemSpacing: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:378:32: warning: call to main actor-isolated instance method 'preferredItemSize(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.preferredItemSize(CGSize(width: 50, height: 50))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:318:17: note: calls to instance method 'preferredItemSize(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func preferredItemSize(_ value: CGSize, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:377:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:379:23: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemAspectRatio(1.2, alignment: .start(10))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:377:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:380:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:377:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioNotNil_ThenSetItemAspectRatio() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:381:37: warning: main actor-isolated property 'itemAspectRatio' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.itemAspectRatio, 1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:123:13: note: property declared here
var itemAspectRatio: CGFloat?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:382:35: warning: main actor-isolated property 'preferredItemSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNil(pagerContent.preferredItemSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:126:13: note: property declared here
var preferredItemSize: CGSize?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:383:36: warning: main actor-isolated property 'itemAlignment' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.itemAlignment.equalsIgnoreValues(.start))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:75:13: note: property declared here
var itemAlignment: PositionAlignment = .center
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:388:23: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemAspectRatio(1, alignment: .end)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:386:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectAlignmentEnd_ThenItemAlignmentEnd()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectAlignmentEnd_ThenItemAlignmentEnd() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:389:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:386:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectAlignmentEnd_ThenItemAlignmentEnd()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectAlignmentEnd_ThenItemAlignmentEnd() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:390:36: warning: main actor-isolated property 'itemAlignment' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.itemAlignment.equalsIgnoreValues(.end))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:75:13: note: property declared here
var itemAlignment: PositionAlignment = .center
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:395:23: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemAspectRatio(1, alignment: .start(10))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:393:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectAlignmentStart_ThenItemAlignmentStart()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectAlignmentStart_ThenItemAlignmentStart() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:396:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:393:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectAlignmentStart_ThenItemAlignmentStart()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectAlignmentStart_ThenItemAlignmentStart() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:397:36: warning: main actor-isolated property 'itemAlignment' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertTrue(pagerContent.itemAlignment.equalsIgnoreValues(.start))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:75:13: note: property declared here
var itemAlignment: PositionAlignment = .center
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:402:23: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemAspectRatio(-1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:400:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioLessThanZero_ThenDoNotSetItemAspectRatio()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioLessThanZero_ThenDoNotSetItemAspectRatio() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:403:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:400:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioLessThanZero_ThenDoNotSetItemAspectRatio()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioLessThanZero_ThenDoNotSetItemAspectRatio() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:404:35: warning: main actor-isolated property 'itemAspectRatio' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNil(pagerContent.itemAspectRatio)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:123:13: note: property declared here
var itemAspectRatio: CGFloat?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:408:32: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.itemAspectRatio(1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:407:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:409:23: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.itemAspectRatio(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:407:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:410:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:407:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenItemAspectRatioNil_ThenSetNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:411:35: warning: main actor-isolated property 'itemAspectRatio' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNil(pagerContent.itemAspectRatio)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:123:13: note: property declared here
var itemAspectRatio: CGFloat?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:415:32: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.itemAspectRatio(1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:414:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:416:23: warning: call to main actor-isolated instance method 'expandPageToEdges()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.expandPageToEdges()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:326:17: note: calls to instance method 'expandPageToEdges()' from outside of its actor context are implicitly asynchronous
public func expandPageToEdges() -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:414:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:417:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:414:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil()' part of global actor 'MainActor'
func test_GivenPagerWithItemAspectRatio_WhenExpandPageToEdges_ThenItemAspectRatioNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:418:35: warning: main actor-isolated property 'itemAspectRatio' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNil(pagerContent.itemAspectRatio)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:123:13: note: property declared here
var itemAspectRatio: CGFloat?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:422:32: warning: call to main actor-isolated instance method 'preferredItemSize(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.preferredItemSize(CGSize(width: 50, height: 50))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:318:17: note: calls to instance method 'preferredItemSize(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func preferredItemSize(_ value: CGSize, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:421:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:423:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:355:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ length: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:421:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:424:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:421:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenPagerWithPreferredPageSize_WhenPadding_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:425:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:430:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(.horizontal, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:374:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:428:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingHorizontal_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingHorizontal_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:431:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:428:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingHorizontal_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingHorizontal_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:432:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:436:32: warning: call to main actor-isolated instance method 'vertical' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.vertical()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:223:17: note: calls to instance method 'vertical' from outside of its actor context are implicitly asynchronous
public func vertical(_ swipeDirection: VerticalSwipeDirection = .topToBottom) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:435:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:437:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(.vertical, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:374:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:435:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:438:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:435:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingVertical_ThenNoInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:439:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:444:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(.vertical, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:374:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:442:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenSideInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenSideInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:445:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:442:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenSideInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenSideInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:446:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:450:32: warning: call to main actor-isolated instance method 'vertical' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.vertical()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:223:17: note: calls to instance method 'vertical' from outside of its actor context are implicitly asynchronous
public func vertical(_ swipeDirection: VerticalSwipeDirection = .topToBottom) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:449:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:451:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(.horizontal, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:374:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:449:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:452:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:449:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenSideInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:453:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:458:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(EdgeInsets(top: 10, leading: 5, bottom: 15, trailing: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:363:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ insets: EdgeInsets) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:456:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenMinTopAndBottom()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenMinTopAndBottom() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:459:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:456:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenMinTopAndBottom()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenMinTopAndBottom() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:460:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:464:32: warning: call to main actor-isolated instance method 'vertical' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
var pager = givenPager.vertical()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:223:17: note: calls to instance method 'vertical' from outside of its actor context are implicitly asynchronous
public func vertical(_ swipeDirection: VerticalSwipeDirection = .topToBottom) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:463:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:465:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(EdgeInsets(top: 10, leading: 5, bottom: 15, trailing: 2))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:363:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ insets: EdgeInsets) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:463:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:466:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:463:10: note: add '@MainActor' to make instance method 'test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing()' part of global actor 'MainActor'
func test_GivenVerticalPager_WhenPaddingHorizontal_ThenMinLeadingAndTrailing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:467:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:472:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(.vertical)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:374:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ edges: Edge.Set = .all, _ length: CGFloat? = nil) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:470:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenDefaultInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenDefaultInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:473:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:470:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPaddingVertical_ThenDefaultInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPaddingVertical_ThenDefaultInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:474:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 8)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:479:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(5)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:355:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ length: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:477:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPadding_ThenDefaultLengthVerticalInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPadding_ThenDefaultLengthVerticalInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:480:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:477:10: note: add '@MainActor' to make instance method 'test_GivenHorizontalPager_WhenPadding_ThenDefaultLengthVerticalInsets()' part of global actor 'MainActor'
func test_GivenHorizontalPager_WhenPadding_ThenDefaultLengthVerticalInsets() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:481:37: warning: main actor-isolated property 'sideInsets' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.sideInsets, 5)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:105:13: note: property declared here
var sideInsets: CGFloat = 0
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:487:23: warning: call to main actor-isolated instance method 'onDraggingBegan' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onDraggingBegan({
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:145:17: note: calls to instance method 'onDraggingBegan' from outside of its actor context are implicitly asynchronous
public func onDraggingBegan(_ callback: (() -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:484:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingBegan_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingBegan_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:491:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:484:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingBegan_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingBegan_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:492:22: warning: call to main actor-isolated instance method 'onDragChanged(with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragChanged(with: DragGesture.Value.unsafeInit())
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:329:10: note: calls to instance method 'onDragChanged(with:)' from outside of its actor context are implicitly asynchronous
func onDragChanged(with value: DragGesture.Value) {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:484:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingBegan_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingBegan_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:493:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
waitForExpectations(timeout: 1, handler: nil)
^
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:484:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingBegan_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingBegan_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:498:23: warning: call to main actor-isolated instance method 'onDraggingChanged' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onDraggingChanged({ _ in })
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:152:17: note: calls to instance method 'onDraggingChanged' from outside of its actor context are implicitly asynchronous
public func onDraggingChanged(_ callback: ((Double) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:496:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingChanged_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingChanged_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:499:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:496:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingChanged_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingChanged_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:500:38: warning: main actor-isolated property 'onDraggingChanged' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNotNil(pagerContent.onDraggingChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:141:13: note: property declared here
var onDraggingChanged: ((Double) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:506:23: warning: call to main actor-isolated instance method 'onDraggingEnded' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onDraggingEnded({
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:159:17: note: calls to instance method 'onDraggingEnded' from outside of its actor context are implicitly asynchronous
public func onDraggingEnded(_ callback: (() -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:503:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingEnded_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingEnded_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:510:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:503:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingEnded_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingEnded_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:511:22: warning: call to main actor-isolated instance method 'onDragGestureEnded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragGestureEnded()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:373:10: note: calls to instance method 'onDragGestureEnded()' from outside of its actor context are implicitly asynchronous
func onDragGestureEnded() {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:503:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingEnded_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingEnded_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:512:9: warning: call to main actor-isolated instance method 'waitForExpectations(timeout:handler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
waitForExpectations(timeout: 1, handler: nil)
^
XCTest.XCTestCase:5:26: note: calls to instance method 'waitForExpectations(timeout:handler:)' from outside of its actor context are implicitly asynchronous
@MainActor open func waitForExpectations(timeout: TimeInterval, handler: (@Sendable ((any Error)?) -> Void)? = nil)
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:503:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnDraggingEnded_ThenCallback()' part of global actor 'MainActor'
func test_GivenPager_WhenOnDraggingEnded_ThenCallback() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:516:32: warning: call to main actor-isolated instance method 'bounces' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pager = givenPager.bounces(false)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:138:17: note: calls to instance method 'bounces' from outside of its actor context are implicitly asynchronous
public func bounces(_ value: Bool) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:515:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenBouncesFalse_ThenBouncesFalse()' part of global actor 'MainActor'
func test_GivenPager_WhenBouncesFalse_ThenBouncesFalse() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:517:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:515:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenBouncesFalse_ThenBouncesFalse()' part of global actor 'MainActor'
func test_GivenPager_WhenBouncesFalse_ThenBouncesFalse() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:518:37: warning: main actor-isolated property 'bounces' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertFalse(pagerContent.bounces)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:51:13: note: property declared here
var bounces: Bool = true
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:522:32: warning: call to main actor-isolated instance method 'onPageChanged' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pager = givenPager.onPageChanged { _ in }
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:333:17: note: calls to instance method 'onPageChanged' from outside of its actor context are implicitly asynchronous
public func onPageChanged(_ callback: ((Int) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:521:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageChanged_ThenCallbackNotNil()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageChanged_ThenCallbackNotNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:523:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:521:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageChanged_ThenCallbackNotNil()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageChanged_ThenCallbackNotNil() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:524:38: warning: main actor-isolated property 'onPageChanged' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertNotNil(pagerContent.onPageChanged)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:135:13: note: property declared here
var onPageChanged: ((Int) -> Void)?
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:531:23: warning: call to main actor-isolated instance method 'onPageWillTransition' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onPageWillTransition({ (result) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:341:17: note: calls to instance method 'onPageWillTransition' from outside of its actor context are implicitly asynchronous
public func onPageWillTransition(_ callback: ((Result<PageTransition, PageTransitionError>) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:535:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:536:40: warning: main actor-isolated property 'page' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
let initialPage = pagerContent.page
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:49:9: note: property declared here
var page: Int {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:537:15: warning: main actor-isolated property 'pagerModel' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:173:9: note: mutation of this property is only permitted within the actor
let pagerModel: Page
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:537:57: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:538:22: warning: call to main actor-isolated instance method 'onDragGestureEnded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragGestureEnded()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:373:10: note: calls to instance method 'onDragGestureEnded()' from outside of its actor context are implicitly asynchronous
func onDragGestureEnded() {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:527:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenSuccessfulTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:541:37: warning: main actor-isolated property 'page' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.page, transitionUnwrapped.nextPage)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:49:9: note: property declared here
var page: Int {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:550:23: warning: call to main actor-isolated instance method 'onPageWillTransition' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onPageWillTransition({ (result) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:341:17: note: calls to instance method 'onPageWillTransition' from outside of its actor context are implicitly asynchronous
public func onPageWillTransition(_ callback: ((Result<PageTransition, PageTransitionError>) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:546:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:555:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:546:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:556:15: warning: main actor-isolated property 'pagerModel' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width / 10
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:173:9: note: mutation of this property is only permitted within the actor
let pagerModel: Page
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:546:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:556:57: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width / 10
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:546:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:557:22: warning: call to main actor-isolated instance method 'onDragGestureEnded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragGestureEnded()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:373:10: note: calls to instance method 'onDragGestureEnded()' from outside of its actor context are implicitly asynchronous
func onDragGestureEnded() {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:546:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillTransition_ThenFailedTransition() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:566:23: warning: call to main actor-isolated instance method 'onPageWillChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onPageWillChange({ (page) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:348:17: note: calls to instance method 'onPageWillChange' from outside of its actor context are implicitly asynchronous
public func onPageWillChange(_ callback: ((Int) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:562:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:570:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:562:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:571:15: warning: main actor-isolated property 'pagerModel' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:173:9: note: mutation of this property is only permitted within the actor
let pagerModel: Page
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:562:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:571:57: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:562:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:572:22: warning: call to main actor-isolated instance method 'onDragGestureEnded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragGestureEnded()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:373:10: note: calls to instance method 'onDragGestureEnded()' from outside of its actor context are implicitly asynchronous
func onDragGestureEnded() {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:562:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObservePageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:575:37: warning: main actor-isolated property 'page' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.page, newPageUnwrapped)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:49:9: note: property declared here
var page: Int {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:582:23: warning: call to main actor-isolated instance method 'onPageWillChange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.onPageWillChange({ (page) in
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:348:17: note: calls to instance method 'onPageWillChange' from outside of its actor context are implicitly asynchronous
public func onPageWillChange(_ callback: ((Int) -> Void)?) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:578:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:586:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:578:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:587:15: warning: main actor-isolated property 'pagerModel' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width / 4
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:173:9: note: mutation of this property is only permitted within the actor
let pagerModel: Page
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:578:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:587:57: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
pager.pagerModel.draggingOffset = -pagerContent.pageSize.width / 4
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:578:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:588:22: warning: call to main actor-isolated instance method 'onDragGestureEnded()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pagerContent.onDragGestureEnded()
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:373:10: note: calls to instance method 'onDragGestureEnded()' from outside of its actor context are implicitly asynchronous
func onDragGestureEnded() {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:578:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges()' part of global actor 'MainActor'
func test_GivenPager_WhenOnPageWillChange_ThenObserveNoPageChanges() throws {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:591:37: warning: main actor-isolated property 'page' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.page, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:49:9: note: property declared here
var page: Int {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:596:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: .zero)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:594:10: note: add '@MainActor' to make instance method 'test_GivenPagerWithSizeZero_WhenPageSize_ThenZero()' part of global actor 'MainActor'
func test_GivenPagerWithSizeZero_WhenPageSize_ThenZero() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:597:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize, .zero)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:598:37: warning: main actor-isolated property 'maximumNumberOfPages' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.maximumNumberOfPages, 0)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:154:9: note: property declared here
var maximumNumberOfPages: Int {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:603:23: warning: call to main actor-isolated instance method 'preferredItemSize(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.preferredItemSize(CGSize(width: 50, height: 50))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:318:17: note: calls to instance method 'preferredItemSize(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func preferredItemSize(_ value: CGSize, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:601:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsPreferredSize()' part of global actor 'MainActor'
func test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsPreferredSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:604:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 150, height: 150))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:601:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsPreferredSize()' part of global actor 'MainActor'
func test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsPreferredSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:605:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize, CGSize(width: 50, height: 50))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:610:23: warning: call to main actor-isolated instance method 'preferredItemSize(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.preferredItemSize(CGSize(width: 50, height: 50))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:318:17: note: calls to instance method 'preferredItemSize(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func preferredItemSize(_ value: CGSize, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:608:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsTrimmed()' part of global actor 'MainActor'
func test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsTrimmed() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:611:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 40, height: 40))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:608:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsTrimmed()' part of global actor 'MainActor'
func test_GivenPager_WhenPreferredItemSize_ThenPageSizeIsTrimmed() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:612:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize, CGSize(width: 40, height: 40))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:617:23: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
pager = pager.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:355:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ length: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:615:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPadding_ThenPageSizeIsInset()' part of global actor 'MainActor'
func test_GivenPager_WhenPadding_ThenPageSizeIsInset() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:618:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 100))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:615:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenPadding_ThenPageSizeIsInset()' part of global actor 'MainActor'
func test_GivenPager_WhenPadding_ThenPageSizeIsInset() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:619:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize, CGSize(width: 80, height: 80))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:626:14: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.itemAspectRatio(1.2)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:622:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:625:14: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:355:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ length: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:622:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:627:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 200))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:622:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioGreatherThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:628:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize.width, 80)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:629:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize.height.rounded(), (80 / 1.2).rounded())
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:636:14: warning: call to main actor-isolated instance method 'itemAspectRatio(_:alignment:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.itemAspectRatio(0.7)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:305:17: note: calls to instance method 'itemAspectRatio(_:alignment:)' from outside of its actor context are implicitly asynchronous
public func itemAspectRatio(_ value: CGFloat?, alignment: PositionAlignment = .center) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:632:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:635:14: warning: call to main actor-isolated instance method 'padding' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.padding(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:355:17: note: calls to instance method 'padding' from outside of its actor context are implicitly asynchronous
public func padding(_ length: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:632:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:637:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 300, height: 200))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:632:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize()' part of global actor 'MainActor'
func test_GivenPager_WhenItemAspectRatioLessThanOne_ThenExpectedPageSize() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:638:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize.height, 180)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:639:37: warning: main actor-isolated property 'pageSize' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.pageSize.width.rounded(), (180 * 0.7).rounded())
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:123:9: note: property declared here
var pageSize: CGSize {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:644:14: warning: call to main actor-isolated instance method 'itemSpacing' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
.itemSpacing(10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager+Buildable.swift:287:17: note: calls to instance method 'itemSpacing' from outside of its actor context are implicitly asynchronous
public func itemSpacing(_ value: CGFloat) -> Self {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:642:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemInteractiveItemSpacing_ThenItemSpacing()' part of global actor 'MainActor'
func test_GivenPager_WhenItemInteractiveItemSpacing_ThenItemSpacing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:645:34: warning: call to main actor-isolated instance method 'content(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let pagerContent = pager.content(for: CGSize(width: 100, height: 200))
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Pager.swift:196:10: note: calls to instance method 'content(for:)' from outside of its actor context are implicitly asynchronous
func content(for size: CGSize) -> PagerContent {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:642:10: note: add '@MainActor' to make instance method 'test_GivenPager_WhenItemInteractiveItemSpacing_ThenItemSpacing()' part of global actor 'MainActor'
func test_GivenPager_WhenItemInteractiveItemSpacing_ThenItemSpacing() {
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:646:37: warning: main actor-isolated property 'interactiveItemSpacing' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
XCTAssertEqual(pagerContent.interactiveItemSpacing, 10)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent+Helper.swift:67:9: note: property declared here
var interactiveItemSpacing: CGFloat {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:493:9: warning: sending task-isolated value of type 'Pager_Buildable_Tests' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
waitForExpectations(timeout: 1, handler: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:512:9: warning: sending task-isolated value of type 'Pager_Buildable_Tests' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
waitForExpectations(timeout: 1, handler: nil)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:531:23: warning: sending value of non-Sendable type '(Result<PageTransition, PageTransitionError>) -> ()' with later accesses from nonisolated context to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
pager = pager.onPageWillTransition({ (result) in
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift:540:49: note: access can happen concurrently
let transitionUnwrapped = try XCTUnwrap(transition)
^~~~~~~~~~
SwiftDriverJobDiscovery normal arm64 Compiling CGPoint+Angle_Tests.swift, DummyTests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftCompile normal arm64 Compiling\ View+Helper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/CGPoint+Angle_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/DummyTests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Helpers/Pager.Alignment+Helper.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Page_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagerContent+Helper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagerWrapper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PaginationSensitivity_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagingAnimation_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PositionAlignment_Tests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/XCTestManifests.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SwiftUIPagerTests -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.o -index-unit-output-path /SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/CGPoint+Angle_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/DummyTests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Helpers/Pager.Alignment+Helper.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Page_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/Pager+Buildable_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagerContent+Helper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagerWrapper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PaginationSensitivity_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PagingAnimation_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/PositionAlignment_Tests.swift -primary-file /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift /Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/XCTestManifests.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -profile-generate -profile-coverage-mapping -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SwiftUIPagerTests -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.o -index-unit-output-path /SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/View+Helper_Tests.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:16:16: warning: static property 'allTests' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
static var allTests = [
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:16:16: note: convert 'allTests' to a 'let' constant to make 'Sendable' shared state immutable
static var allTests = [
~~~ ^
let
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:16:16: note: annotate 'allTests' with '@MainActor' if property should only be accessed from the main actor
static var allTests = [
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:16:16: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
static var allTests = [
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:10:33: warning: call to main actor-isolated instance method 'frame(size:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let view1 = EmptyView().frame(size: inputSize)
^
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Helpers/View+Helper.swift:14:10: note: calls to instance method 'frame(size:)' from outside of its actor context are implicitly asynchronous
func frame(size: CGSize) -> some View {
^
/Users/admin/builder/spi-builder-workspace/Tests/SwiftUIPagerTests/View+Helper_Tests.swift:7:10: note: add '@MainActor' to make instance method 'test_GivenView_WhenFrameWithSize_Then_Frame()' part of global actor 'MainActor'
func test_GivenView_WhenFrameWithSize_Then_Frame() {
^
@MainActor
SwiftDriverJobDiscovery normal arm64 Compiling Page.swift, ContentLoadingPolicy.swift (in target 'SwiftUIPager' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling PagerContent.swift (in target 'SwiftUIPager' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling Buildable.swift, CGPoint+Angle.swift (in target 'SwiftUIPager' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling SwipeDirection.swift, SwipeInteractionArea.swift (in target 'SwiftUIPager' from project 'SwiftUIPager')
SwiftDriver\ Compilation SwiftUIPager normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIPager' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftUIPager -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPager.o normal (in target 'SwiftUIPager' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -fobjc-link-runtime -L/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager.swiftmodule -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager_dependency_info.dat -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPager.o
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPager.o (in target 'SwiftUIPager' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPager.o
ProcessInfoPlistFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/Info.plist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/empty-SwiftUIPagerTests.plist (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
builtin-infoPlistUtility /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/empty-SwiftUIPagerTests.plist -producttype com.apple.product-type.bundle.unit-test -expandbuildsettings -format binary -platform xros -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/Info.plist
SwiftDriverJobDiscovery normal arm64 Compiling PositionAlignment_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling PagingAnimation_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling PaginationSensitivity_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling View+Helper_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling Pager.Alignment+Helper.swift, Page_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling PagerContent+Helper_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriverJobDiscovery normal arm64 Compiling Pager+Buildable_Tests.swift (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
SwiftDriver\ Compilation SwiftUIPagerTests normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-Swift-Compilation -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SwiftUIPagerTests -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests normal (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -bundle -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -O0 -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -L/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -L/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.LinkFileList -Xlinker -rpath -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/../Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -debug_variant -fobjc-link-runtime -fprofile-instr-generate -L/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.swiftmodule -Wl,-no_warn_duplicate_libraries -framework XCTest -lXCTestSwiftSupport -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_dependency_info.dat -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPager.build/Objects-normal/arm64/SwiftUIPager.swiftmodule
CopySwiftLibs /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftStdLibTool --copy --verbose --scan-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests --scan-folder /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/Frameworks --scan-folder /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/PlugIns --scan-folder /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SystemExtensions --scan-folder /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/Extensions --platform xros --toolchain /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --destination /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/Frameworks --strip-bitcode --scan-executable /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/libXCTestSwiftSupport.dylib --strip-bitcode-tool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip --emit-dependency-info /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/SwiftStdLibToolInputDependencies.dep --filter-for-swift-os
Ignoring --strip-bitcode because --sign was not passed
ExtractAppIntentsMetadata (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest --toolchain-dir /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain --module-name SwiftUIPagerTests --sdk-root /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk --xcode-version 16B40 --platform-family xrOS --deployment-target 1.0 --bundle-identifier spi-builder-workspace.SwiftUIPagerTests --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/SwiftUIPagerTests.DependencyMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftUIPager.build/Debug-xros/SwiftUIPagerTests.build/Objects-normal/arm64/SwiftUIPagerTests.SwiftConstValuesFileList --compile-time-extraction --deployment-aware-processing --validate-assistant-intents
note: Metadata extraction skipped. No AppIntents.framework dependency found. (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
GenerateDSYMFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest.dSYM /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest/SwiftUIPagerTests -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest.dSYM
RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
builtin-RegisterExecutionPolicyException /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest
Touch /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest (in target 'SwiftUIPagerTests' from project 'SwiftUIPager')
cd /Users/admin/builder/spi-builder-workspace
/usr/bin/touch -c /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SwiftUIPagerTests.xctest
** BUILD SUCCEEDED **
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftUIPager",
"name" : "SwiftUIPager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftUIPager",
"targets" : [
"SwiftUIPager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SwiftUIPagerTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUIPagerTests",
"path" : "Tests/SwiftUIPagerTests",
"sources" : [
"CGPoint+Angle_Tests.swift",
"DummyTests.swift",
"Helpers/Pager.Alignment+Helper.swift",
"Page_Tests.swift",
"Pager+Buildable_Tests.swift",
"PagerContent+Helper_Tests.swift",
"PagerWrapper_Tests.swift",
"PaginationSensitivity_Tests.swift",
"PagingAnimation_Tests.swift",
"PositionAlignment_Tests.swift",
"View+Helper_Tests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftUIPager"
],
"type" : "test"
},
{
"c99name" : "SwiftUIPager",
"module_type" : "SwiftTarget",
"name" : "SwiftUIPager",
"path" : "Sources/SwiftUIPager",
"product_memberships" : [
"SwiftUIPager"
],
"sources" : [
"Helpers/Buildable.swift",
"Helpers/CGPoint+Angle.swift",
"Helpers/OnAnimationCompletedModifier.swift",
"Helpers/View+Helper.swift",
"Page.swift",
"PageConfiguration/ContentLoadingPolicy.swift",
"PageConfiguration/GesturePriority.swift",
"PageConfiguration/PaginationSensitivity.swift",
"PageConfiguration/PagingAnimation.swift",
"PageConfiguration/PositionAlignment.swift",
"PageConfiguration/SwipeDirection.swift",
"PageConfiguration/SwipeInteractionArea.swift",
"PageTransition.swift",
"PageWrapper.swift",
"Pager+Buildable.swift",
"Pager.swift",
"PagerContent+Buildable.swift",
"PagerContent+Helper.swift",
"PagerContent.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.