Build Information
Successful build of SwiftUIPager, reference 2.5.0 (4ddc04
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:59:15 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fermoya/SwiftUIPager.git
Reference: 2.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fermoya/SwiftUIPager
* tag 2.5.0 -> FETCH_HEAD
HEAD is now at 4ddc04c Considering RTL for velocity too
Cloned https://github.com/fermoya/SwiftUIPager.git
Revision (git rev-parse @):
4ddc04c801aac143090bb14cf26603a3bf9c74cb
SUCCESS checkout https://github.com/fermoya/SwiftUIPager.git at 2.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftuipager",
"name": "SwiftUIPager",
"url": "https://github.com/fermoya/SwiftUIPager.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIPager",
"dependencies": [
]
}
]
}
Fetching https://github.com/fermoya/SwiftUIPager.git
[1/4019] Fetching swiftuipager
Fetched https://github.com/fermoya/SwiftUIPager.git from cache (2.18s)
Creating working copy for https://github.com/fermoya/SwiftUIPager.git
Working copy of https://github.com/fermoya/SwiftUIPager.git resolved at 2.5.0 (4ddc04c)
warning: '.resolve-product-dependencies': dependency 'swiftuipager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/fermoya/SwiftUIPager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/21] Compiling SwiftUIPager GesturePriority.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
[4/21] Compiling SwiftUIPager PaginationSensitivity.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
[5/21] Compiling SwiftUIPager Page.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[6/21] Compiling SwiftUIPager ContentLoadingPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[7/22] Compiling SwiftUIPager PagerContent+Buildable.swift
[8/22] Compiling SwiftUIPager PagerContent+Helper.swift
[9/22] Compiling SwiftUIPager PagingAnimation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:43:23: warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
42 | /// See the bezier curve [here](https://cubic-bezier.com/#.2,1,.9,1).
43 | public static var steep: PagingAnimation = .steep(duration: 0.2)
| |- warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'steep' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'steep' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// No animation applied
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:46:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// No animation applied
46 | public static var none: PagingAnimation = .custom(animation: nil)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Translates the option selected to a `SwiftUI` animation
[10/22] Compiling SwiftUIPager PositionAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:43:23: warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
42 | /// See the bezier curve [here](https://cubic-bezier.com/#.2,1,.9,1).
43 | public static var steep: PagingAnimation = .steep(duration: 0.2)
| |- warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'steep' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'steep' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// No animation applied
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:46:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// No animation applied
46 | public static var none: PagingAnimation = .custom(animation: nil)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Translates the option selected to a `SwiftUI` animation
[11/22] Compiling SwiftUIPager PageTransition.swift
[12/22] Compiling SwiftUIPager PageWrapper.swift
[13/22] Compiling SwiftUIPager SwipeDirection.swift
[14/22] Compiling SwiftUIPager SwipeInteractionArea.swift
[15/22] Compiling SwiftUIPager Pager+Buildable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[16/22] Compiling SwiftUIPager Pager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
[17/22] Emitting module SwiftUIPager
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Helpers/OnAnimationCompletedModifier.swift:15:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | struct OnAnimationCompletedModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
14 |
15 | var animatableData: Value {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | didSet {
17 | notifyCompletionIfFinished()
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:43:23: warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
42 | /// See the bezier curve [here](https://cubic-bezier.com/#.2,1,.9,1).
43 | public static var steep: PagingAnimation = .steep(duration: 0.2)
| |- warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'steep' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'steep' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// No animation applied
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:46:23: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// No animation applied
46 | public static var none: PagingAnimation = .custom(animation: nil)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// Translates the option selected to a `SwiftUI` animation
[18/22] Compiling SwiftUIPager Buildable.swift
[19/22] Compiling SwiftUIPager CGPoint+Angle.swift
[20/22] Compiling SwiftUIPager OnAnimationCompletedModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Helpers/OnAnimationCompletedModifier.swift:15:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | struct OnAnimationCompletedModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
14 |
15 | var animatableData: Value {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | didSet {
17 | notifyCompletionIfFinished()
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[21/22] Compiling SwiftUIPager View+Helper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/Helpers/OnAnimationCompletedModifier.swift:15:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | struct OnAnimationCompletedModifier<Value>: AnimatableModifier where Value: VectorArithmetic {
14 |
15 | var animatableData: Value {
| `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
16 | didSet {
17 | notifyCompletionIfFinished()
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 | associatedtype AnimatableData : VectorArithmetic
4 | var animatableData: Self.AnimatableData { get set }
| `- note: 'animatableData' declared here
5 | static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[22/22] Compiling SwiftUIPager PagerContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:39:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | /// Standard animation. Single pagination `Pager` defaults to this value. Ease-out, 0.35 seconds.
39 | public static var standard: PagingAnimation = .standard(duration: 0.35)
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'standard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PaginationSensitivity.swift:28:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// The shift relative to container size needs to be greater than or equal to 50%
28 | public static var `default`: Self = .medium
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | var value: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/ContentLoadingPolicy.swift:26:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | /// Default policy, a.k.a, `lazy(recyclingRatio: 5)`
26 | static var `default`: ContentLoadingPolicy = .lazy(recyclingRatio: 5)
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/GesturePriority.swift:24:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Defines a set of priorities to interact with gestures
12 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
13 | public enum GesturePriority {
| `- note: consider making enum 'GesturePriority' conform to the 'Sendable' protocol
14 | /// Refers to `highPriorityGesture` modifier
15 | case high
:
22 |
23 | /// Default value, a.k.a, `normal`
24 | static let `default`: GesturePriority = .normal
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'GesturePriority' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | }
26 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PagerContent.swift:410:12: warning: unnecessary check for 'macOS'; enclosing scope ensures guard will always be true
289 |
290 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
291 | extension Pager.PagerContent {
| `- note: enclosing scope here
292 |
293 | #if os(tvOS) || os(macOS)
:
408 |
409 | // #194 AnimatableModifier symbol not found in iOS 13.0 and iOS 13.1
410 | if #available(iOS 13.2, macOS 10.15, tvOS 13.0, watchOS 6.0, *) {
| `- warning: unnecessary check for 'macOS'; enclosing scope ensures guard will always be true
411 | // Do nothing
412 | } else if page != newPage {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIPager/PageConfiguration/PagingAnimation.swift:43:23: warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | /// Highly steep curve. Very fast on start, slow on end. Multiple pagination `Pager` defaults to this value.
42 | /// See the bezier curve [here](https://cubic-bezier.com/#.2,1,.9,1).
43 | public static var steep: PagingAnimation = .steep(duration: 0.2)
| |- warning: static property 'steep' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'steep' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'steep' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// No animation applied
Build complete! (24.75s)
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.