Build Information
Successful build of BigUIPaging, reference 0.0.3 (40fa6e
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 17:54:32 UTC.
Swift 6 data race errors: 20
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/notsobigcompany/BigUIPaging.git
Reference: 0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/notsobigcompany/BigUIPaging
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at 40fa6e1 Adds pageContentBackground modifier.
Cloned https://github.com/notsobigcompany/BigUIPaging.git
Revision (git rev-parse @):
40fa6e1683bd47b962e216c05377bfd1b8f760de
SUCCESS checkout https://github.com/notsobigcompany/BigUIPaging.git at 0.0.3
========================================
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": "biguipaging",
"name": "BigUIPaging",
"url": "https://github.com/notsobigcompany/BigUIPaging.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigUIPaging",
"dependencies": [
]
}
]
}
Fetching https://github.com/notsobigcompany/BigUIPaging.git
[1/212] Fetching biguipaging
Fetched https://github.com/notsobigcompany/BigUIPaging.git from cache (0.76s)
Creating working copy for https://github.com/notsobigcompany/BigUIPaging.git
Working copy of https://github.com/notsobigcompany/BigUIPaging.git resolved at 0.0.3 (40fa6e1)
warning: '.resolve-product-dependencies': dependency 'biguipaging' 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/notsobigcompany/BigUIPaging.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/31] Emitting module BigUIPaging
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:43:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | struct IndicatorColorKey: EnvironmentKey {
43 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:52:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | struct IndicatorCurrentColorKey: EnvironmentKey {
52 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:61:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | struct AllowsContinuousInteractionKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:70:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct BackgroundStyleKey: EnvironmentKey {
70 | static var defaultValue: PageIndicator.BackgroundStyle = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:79:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | struct SinglePageVisibilityKey: EnvironmentKey {
79 | static var defaultValue: Visibility = .visible
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:88:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | struct PageDurationKey: EnvironmentKey {
88 | static var defaultValue: TimeInterval? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:172:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | struct CardCornerRadius: EnvironmentKey {
172 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:181:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 | struct CardShadowDisabled: EnvironmentKey {
181 | static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:31:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct StyleKey: EnvironmentKey {
31 | static var defaultValue: any PageViewStyle = PlainPageViewStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:40:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct OrientationKey: EnvironmentKey {
40 | static var defaultValue: Axis = .horizontal
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:49:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | struct SpacingKey: EnvironmentKey {
49 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:58:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct ContentBackgroundVisibilityKey: EnvironmentKey {
58 | static var defaultValue: Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:67:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | struct NavigateActionKey: EnvironmentKey {
67 | static var defaultValue: PageViewNavigateAction = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:77:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | struct CanNavigateKey: EnvironmentKey {
77 | static var defaultValue = PageViewDirection()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
78 | }
79 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | struct PageViewCanNavigatePreference: PreferenceKey {
4 |
5 | static var defaultValue: PageViewDirection = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
6 |
7 | static func reduce(value: inout PageViewDirection, nextValue: () -> PageViewDirection) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | struct PageViewNavigateActionPreference: PreferenceKey {
13 |
14 | static var defaultValue: PageViewNavigateAction?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 |
16 | static func reduce(value: inout PageViewNavigateAction?, nextValue: () -> PageViewNavigateAction?) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Measure.swift:27:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static var defaultValue: CGSize? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
28 | }
29 |
[4/34] Compiling BigUIPaging ScrollPageViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
[5/34] Compiling BigUIPaging PageViewDirection.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
[6/34] Compiling BigUIPaging PageViewNavigateAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
[7/34] Compiling BigUIPaging PageViewNavigationButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Inspect.swift:97:30: warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func _firstValue(labelled label: String, children: Mirror.Children? = nil) -> Any? {
| `- note: calls to instance method '_firstValue(labelled:children:)' from outside of its actor context are implicitly asynchronous
69 | let children = children ?? Mirror(reflecting: self).children
70 | for child in children {
:
94 | extension Image {
95 |
96 | func _systemName() -> String? {
| `- note: add '@MainActor' to make instance method '_systemName()' part of global actor 'MainActor'
97 | guard let provider = _firstValue(labelled: "base") else {
| `- warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | return nil
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Measure.swift:27:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static var defaultValue: CGSize? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
28 | }
29 |
[8/34] Compiling BigUIPaging View+Inspect.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Inspect.swift:97:30: warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func _firstValue(labelled label: String, children: Mirror.Children? = nil) -> Any? {
| `- note: calls to instance method '_firstValue(labelled:children:)' from outside of its actor context are implicitly asynchronous
69 | let children = children ?? Mirror(reflecting: self).children
70 | for child in children {
:
94 | extension Image {
95 |
96 | func _systemName() -> String? {
| `- note: add '@MainActor' to make instance method '_systemName()' part of global actor 'MainActor'
97 | guard let provider = _firstValue(labelled: "base") else {
| `- warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | return nil
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Measure.swift:27:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static var defaultValue: CGSize? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
28 | }
29 |
[9/34] Compiling BigUIPaging View+Measure.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Inspect.swift:97:30: warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | }
67 |
68 | func _firstValue(labelled label: String, children: Mirror.Children? = nil) -> Any? {
| `- note: calls to instance method '_firstValue(labelled:children:)' from outside of its actor context are implicitly asynchronous
69 | let children = children ?? Mirror(reflecting: self).children
70 | for child in children {
:
94 | extension Image {
95 |
96 | func _systemName() -> String? {
| `- note: add '@MainActor' to make instance method '_systemName()' part of global actor 'MainActor'
97 | guard let provider = _firstValue(labelled: "base") else {
| `- warning: call to main actor-isolated instance method '_firstValue(labelled:children:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
98 | return nil
99 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/Utils/View+Measure.swift:27:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static var defaultValue: CGSize? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
28 | }
29 |
[10/34] Compiling BigUIPaging HistoryStackPageViewStyle.swift
[11/34] Compiling BigUIPaging PlainPageViewStyle.swift
[12/34] Compiling BigUIPaging PlatformPageViewStyle.swift
[13/34] Compiling BigUIPaging PageViewBasicExample.swift
[14/34] Compiling BigUIPaging PageViewForEachExample.swift
[15/34] Compiling BigUIPaging PageViewNavigationStackExample.swift
[16/34] Compiling BigUIPaging PageIndicator+Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:43:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | struct IndicatorColorKey: EnvironmentKey {
43 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:52:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | struct IndicatorCurrentColorKey: EnvironmentKey {
52 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:61:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | struct AllowsContinuousInteractionKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:70:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct BackgroundStyleKey: EnvironmentKey {
70 | static var defaultValue: PageIndicator.BackgroundStyle = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:79:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | struct SinglePageVisibilityKey: EnvironmentKey {
79 | static var defaultValue: Visibility = .visible
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:88:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | struct PageDurationKey: EnvironmentKey {
88 | static var defaultValue: TimeInterval? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
89 | }
90 |
[17/34] Compiling BigUIPaging PageIndicator+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:43:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | struct IndicatorColorKey: EnvironmentKey {
43 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:52:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | struct IndicatorCurrentColorKey: EnvironmentKey {
52 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:61:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | struct AllowsContinuousInteractionKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:70:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct BackgroundStyleKey: EnvironmentKey {
70 | static var defaultValue: PageIndicator.BackgroundStyle = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:79:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | struct SinglePageVisibilityKey: EnvironmentKey {
79 | static var defaultValue: Visibility = .visible
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:88:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | struct PageDurationKey: EnvironmentKey {
88 | static var defaultValue: TimeInterval? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
89 | }
90 |
[18/34] Compiling BigUIPaging PageIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:43:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | struct IndicatorColorKey: EnvironmentKey {
43 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:52:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | struct IndicatorCurrentColorKey: EnvironmentKey {
52 | static var defaultValue: Color? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
53 | }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:61:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
59 |
60 | struct AllowsContinuousInteractionKey: EnvironmentKey {
61 | static var defaultValue: Bool = true
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:70:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct BackgroundStyleKey: EnvironmentKey {
70 | static var defaultValue: PageIndicator.BackgroundStyle = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:79:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
77 |
78 | struct SinglePageVisibilityKey: EnvironmentKey {
79 | static var defaultValue: Visibility = .visible
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageIndicator/PageIndicator+Environment.swift:88:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |
87 | struct PageDurationKey: EnvironmentKey {
88 | static var defaultValue: TimeInterval? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
89 | }
90 |
[19/34] Compiling BigUIPaging CardDeckExample.swift
[20/34] Compiling BigUIPaging CustomPageViewExample.swift
[21/34] Compiling BigUIPaging ExampleGridToPageView.swift
[22/34] Compiling BigUIPaging PageIndicatorExample.swift
[23/34] Compiling BigUIPaging PageView+Preferences.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | struct PageViewCanNavigatePreference: PreferenceKey {
4 |
5 | static var defaultValue: PageViewDirection = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
6 |
7 | static func reduce(value: inout PageViewDirection, nextValue: () -> PageViewDirection) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | struct PageViewNavigateActionPreference: PreferenceKey {
13 |
14 | static var defaultValue: PageViewNavigateAction?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 |
16 | static func reduce(value: inout PageViewNavigateAction?, nextValue: () -> PageViewNavigateAction?) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
259 | }
260 |
261 | struct ConcretePageViewStyle<Style>: View where Style: PageViewStyle {
| `- note: calls to initializer 'init(configuration:style:)' from outside of its actor context are implicitly asynchronous
262 |
263 | let configuration: PageViewStyleConfiguration
:
271 | extension PageViewStyle {
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeConcreteView' part of global actor 'MainActor'
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
[24/34] Compiling BigUIPaging PageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | struct PageViewCanNavigatePreference: PreferenceKey {
4 |
5 | static var defaultValue: PageViewDirection = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
6 |
7 | static func reduce(value: inout PageViewDirection, nextValue: () -> PageViewDirection) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | struct PageViewNavigateActionPreference: PreferenceKey {
13 |
14 | static var defaultValue: PageViewNavigateAction?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 |
16 | static func reduce(value: inout PageViewNavigateAction?, nextValue: () -> PageViewNavigateAction?) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
259 | }
260 |
261 | struct ConcretePageViewStyle<Style>: View where Style: PageViewStyle {
| `- note: calls to initializer 'init(configuration:style:)' from outside of its actor context are implicitly asynchronous
262 |
263 | let configuration: PageViewStyleConfiguration
:
271 | extension PageViewStyle {
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeConcreteView' part of global actor 'MainActor'
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
[25/34] Compiling BigUIPaging PageViewEnvironmentModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | struct PageViewCanNavigatePreference: PreferenceKey {
4 |
5 | static var defaultValue: PageViewDirection = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
6 |
7 | static func reduce(value: inout PageViewDirection, nextValue: () -> PageViewDirection) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Preferences.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | struct PageViewNavigateActionPreference: PreferenceKey {
13 |
14 | static var defaultValue: PageViewNavigateAction?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
15 |
16 | static func reduce(value: inout PageViewNavigateAction?, nextValue: () -> PageViewNavigateAction?) {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
259 | }
260 |
261 | struct ConcretePageViewStyle<Style>: View where Style: PageViewStyle {
| `- note: calls to initializer 'init(configuration:style:)' from outside of its actor context are implicitly asynchronous
262 |
263 | let configuration: PageViewStyleConfiguration
:
271 | extension PageViewStyle {
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeConcreteView' part of global actor 'MainActor'
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| `- warning: call to main actor-isolated initializer 'init(configuration:style:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:13:23: warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
11 |
12 | /// Represents navigating to the next item.
13 | public static let forwards = PageViewDirection(rawValue: 1 << 1)
| |- warning: static property 'forwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forwards' 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
14 |
15 | /// Represents navigating to the previous item.
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewDirection.swift:16:23: warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Represents the direction of travel in a page view.
4 | public struct PageViewDirection: OptionSet {
| `- note: consider making struct 'PageViewDirection' conform to the 'Sendable' protocol
5 |
6 | public var rawValue: Int
:
14 |
15 | /// Represents navigating to the previous item.
16 | public static let backwards = PageViewDirection(rawValue: 1 << 2)
| |- warning: static property 'backwards' is not concurrency-safe because non-'Sendable' type 'PageViewDirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backwards' 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
17 |
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView.swift:274:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
272 |
273 | func makeConcreteView(_ configuration: Configuration) -> some View {
274 | ConcretePageViewStyle(configuration: configuration, style: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated initializer 'init(configuration:style:)' risks causing data races between main actor-isolated and task-isolated uses
275 | }
276 | }
[26/34] Compiling BigUIPaging BookPageViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:172:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | struct CardCornerRadius: EnvironmentKey {
172 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:181:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 | struct CardShadowDisabled: EnvironmentKey {
181 | static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | public init() { }
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
14 | CardDeckPageView(configuration)
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
:
40 | @Environment(\.cardShadowDisabled) private var shadowDisabled
41 |
42 | init(_ configuration: Configuration) {
| `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
43 | self.configuration = configuration
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
14 | CardDeckPageView(configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(_:)' risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[27/34] Compiling BigUIPaging BookStackPageViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:172:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | struct CardCornerRadius: EnvironmentKey {
172 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:181:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 | struct CardShadowDisabled: EnvironmentKey {
181 | static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | public init() { }
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
14 | CardDeckPageView(configuration)
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
:
40 | @Environment(\.cardShadowDisabled) private var shadowDisabled
41 |
42 | init(_ configuration: Configuration) {
| `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
43 | self.configuration = configuration
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
14 | CardDeckPageView(configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(_:)' risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[28/34] Compiling BigUIPaging CardDeckPageViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:172:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
170 |
171 | struct CardCornerRadius: EnvironmentKey {
172 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
173 | }
174 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:181:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
179 |
180 | struct CardShadowDisabled: EnvironmentKey {
181 | static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
11 | public init() { }
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
14 | CardDeckPageView(configuration)
| `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
:
40 | @Environment(\.cardShadowDisabled) private var shadowDisabled
41 |
42 | init(_ configuration: Configuration) {
| `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
43 | self.configuration = configuration
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Styles/CardDeckPageViewStyle.swift:14:9: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
12 |
13 | public func makeBody(configuration: Configuration) -> some View {
14 | CardDeckPageView(configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated initializer 'init(_:)' risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[29/34] Compiling BigUIPaging PlatformPageView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | ///
133 | /// The view is cached until flushed, so repeated calls will return the same view instance.
134 | func makeView(for value: SelectionValue) -> NSView {
| `- note: add '@MainActor' to make instance method 'makeView(for:)' part of global actor 'MainActor'
135 | if let cached = viewCache[value] {
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
:
230 | }
231 |
232 | class HostingView: NSHostingView<Content> {
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
233 |
234 | // Without this SwiftUI will swallow all scroll events, rendering
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:145:54: warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
142 |
143 | /// Removes cached views that are no longer part of the controller's arranged objects.
144 | func flushViewCache(in pageController: NSPageController) {
| `- note: add '@MainActor' to make instance method 'flushViewCache(in:)' part of global actor 'MainActor'
145 | guard let currentValues = pageController.arrangedObjects as? [SelectionValue] else {
| `- warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | return
147 | }
AppKit.NSPageController:6:25: note: property declared here
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: property declared here
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:159:50: warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
| `- warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
160 | return nil
161 | }
AppKit.NSPageController:4:14: note: property declared here
2 | @MainActor open class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding {
3 | @IBOutlet @MainActor weak open var delegate: (any NSPageControllerDelegate)? { get set }
4 | open var selectedViewController: NSViewController? { get }
| `- note: property declared here
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:162:30: warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
160 | return nil
161 | }
162 | return container.representedValue
| `- warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 |
:
205 | }
206 |
207 | var representedValue: SelectionValue? {
| `- note: property declared here
208 | representedObject as? SelectionValue
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:172:28: warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
170 | ) {
171 | let (arrangedObjects, selectedIndex) = parent.makeArrangedObjects(around: value)
172 | pageController.arrangedObjects = arrangedObjects
| `- warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
AppKit.NSPageController:6:25: note: mutation of this property is only permitted within the actor
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: mutation of this property is only permitted within the actor
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:47: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:36: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:21:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
19 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
20 | @available(macOS 10.5, *)
21 | open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
22 | @available(macOS 10.5, *)
23 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:177:36: warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | pageController.animator().selectedIndex = selectedIndex
176 | } completionHandler: {
177 | pageController.completeTransition()
| `- warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | }
179 | } else {
AppKit.NSPageController:11:26: note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
10 | open func navigateForwardToObject(_ object: Any)
11 | @MainActor open func completeTransition()
| `- note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
12 | @IBAction open func navigateBack(_ sender: Any?)
13 | @IBAction open func navigateForward(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:180:32: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
178 | }
179 | } else {
180 | pageController.selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
181 | }
182 | }
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
[30/34] Compiling BigUIPaging PlatformPageView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | ///
133 | /// The view is cached until flushed, so repeated calls will return the same view instance.
134 | func makeView(for value: SelectionValue) -> NSView {
| `- note: add '@MainActor' to make instance method 'makeView(for:)' part of global actor 'MainActor'
135 | if let cached = viewCache[value] {
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
:
230 | }
231 |
232 | class HostingView: NSHostingView<Content> {
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
233 |
234 | // Without this SwiftUI will swallow all scroll events, rendering
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:145:54: warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
142 |
143 | /// Removes cached views that are no longer part of the controller's arranged objects.
144 | func flushViewCache(in pageController: NSPageController) {
| `- note: add '@MainActor' to make instance method 'flushViewCache(in:)' part of global actor 'MainActor'
145 | guard let currentValues = pageController.arrangedObjects as? [SelectionValue] else {
| `- warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | return
147 | }
AppKit.NSPageController:6:25: note: property declared here
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: property declared here
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:159:50: warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
| `- warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
160 | return nil
161 | }
AppKit.NSPageController:4:14: note: property declared here
2 | @MainActor open class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding {
3 | @IBOutlet @MainActor weak open var delegate: (any NSPageControllerDelegate)? { get set }
4 | open var selectedViewController: NSViewController? { get }
| `- note: property declared here
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:162:30: warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
160 | return nil
161 | }
162 | return container.representedValue
| `- warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 |
:
205 | }
206 |
207 | var representedValue: SelectionValue? {
| `- note: property declared here
208 | representedObject as? SelectionValue
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:172:28: warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
170 | ) {
171 | let (arrangedObjects, selectedIndex) = parent.makeArrangedObjects(around: value)
172 | pageController.arrangedObjects = arrangedObjects
| `- warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
AppKit.NSPageController:6:25: note: mutation of this property is only permitted within the actor
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: mutation of this property is only permitted within the actor
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:47: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:36: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:21:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
19 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
20 | @available(macOS 10.5, *)
21 | open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
22 | @available(macOS 10.5, *)
23 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:177:36: warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | pageController.animator().selectedIndex = selectedIndex
176 | } completionHandler: {
177 | pageController.completeTransition()
| `- warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | }
179 | } else {
AppKit.NSPageController:11:26: note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
10 | open func navigateForwardToObject(_ object: Any)
11 | @MainActor open func completeTransition()
| `- note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
12 | @IBAction open func navigateBack(_ sender: Any?)
13 | @IBAction open func navigateForward(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:180:32: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
178 | }
179 | } else {
180 | pageController.selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
181 | }
182 | }
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
[31/34] Compiling BigUIPaging PlatformPageView.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
132 | ///
133 | /// The view is cached until flushed, so repeated calls will return the same view instance.
134 | func makeView(for value: SelectionValue) -> NSView {
| `- note: add '@MainActor' to make instance method 'makeView(for:)' part of global actor 'MainActor'
135 | if let cached = viewCache[value] {
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
:
230 | }
231 |
232 | class HostingView: NSHostingView<Content> {
| `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
233 |
234 | // Without this SwiftUI will swallow all scroll events, rendering
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:145:54: warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
142 |
143 | /// Removes cached views that are no longer part of the controller's arranged objects.
144 | func flushViewCache(in pageController: NSPageController) {
| `- note: add '@MainActor' to make instance method 'flushViewCache(in:)' part of global actor 'MainActor'
145 | guard let currentValues = pageController.arrangedObjects as? [SelectionValue] else {
| `- warning: main actor-isolated property 'arrangedObjects' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
146 | return
147 | }
AppKit.NSPageController:6:25: note: property declared here
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: property declared here
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:159:50: warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
| `- warning: main actor-isolated property 'selectedViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
160 | return nil
161 | }
AppKit.NSPageController:4:14: note: property declared here
2 | @MainActor open class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding {
3 | @IBOutlet @MainActor weak open var delegate: (any NSPageControllerDelegate)? { get set }
4 | open var selectedViewController: NSViewController? { get }
| `- note: property declared here
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:162:30: warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
156 |
157 | /// Returns the currently selected value as represented by the currently selected view controller.
158 | func selectedValue(in pageController: NSPageController) -> SelectionValue? {
| `- note: add '@MainActor' to make instance method 'selectedValue(in:)' part of global actor 'MainActor'
159 | guard let container = pageController.selectedViewController as? PlatformPageView.ContainerViewController else {
160 | return nil
161 | }
162 | return container.representedValue
| `- warning: main actor-isolated property 'representedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 | }
164 |
:
205 | }
206 |
207 | var representedValue: SelectionValue? {
| `- note: property declared here
208 | representedObject as? SelectionValue
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:172:28: warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
170 | ) {
171 | let (arrangedObjects, selectedIndex) = parent.makeArrangedObjects(around: value)
172 | pageController.arrangedObjects = arrangedObjects
| `- warning: main actor-isolated property 'arrangedObjects' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
AppKit.NSPageController:6:25: note: mutation of this property is only permitted within the actor
4 | open var selectedViewController: NSViewController? { get }
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
| `- note: mutation of this property is only permitted within the actor
7 | @MainActor open var selectedIndex: Int { get set }
8 | open func navigateForward(to object: Any)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:47: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:175:36: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
173 | if animated {
174 | NSAnimationContext.runAnimationGroup { _ in
175 | pageController.animator().selectedIndex = selectedIndex
| `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
176 | } completionHandler: {
177 | pageController.completeTransition()
AppKit.NSPageController:21:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
19 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
20 | @available(macOS 10.5, *)
21 | open func animator() -> Self
| `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
22 | @available(macOS 10.5, *)
23 | open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:177:36: warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 | pageController.animator().selectedIndex = selectedIndex
176 | } completionHandler: {
177 | pageController.completeTransition()
| `- warning: call to main actor-isolated instance method 'completeTransition()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | }
179 | } else {
AppKit.NSPageController:11:26: note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
10 | open func navigateForwardToObject(_ object: Any)
11 | @MainActor open func completeTransition()
| `- note: calls to instance method 'completeTransition()' from outside of its actor context are implicitly asynchronous
12 | @IBAction open func navigateBack(_ sender: Any?)
13 | @IBAction open func navigateForward(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:180:32: warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |
165 | /// Navigates the page controller to the specified value.
166 | func go(
| `- note: add '@MainActor' to make instance method 'go(to:in:animated:)' part of global actor 'MainActor'
167 | to value: SelectionValue,
168 | in pageController: NSPageController,
:
178 | }
179 | } else {
180 | pageController.selectedIndex = selectedIndex
| `- warning: main actor-isolated property 'selectedIndex' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
181 | }
182 | }
AppKit.NSPageController:7:25: note: mutation of this property is only permitted within the actor
5 | @MainActor open var transitionStyle: NSPageController.TransitionStyle { get set }
6 | @MainActor open var arrangedObjects: [Any] { get set }
7 | @MainActor open var selectedIndex: Int { get set }
| `- note: mutation of this property is only permitted within the actor
8 | open func navigateForward(to object: Any)
9 | @available(swift, obsoleted: 3, renamed: "navigateForward(to:)")
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Platform/PlatformPageView+macOS.swift:138:41: warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
136 | return cached
137 | }
138 | let view = PlatformPageView.HostingView(rootView: parent.content(value))
| `- warning: sending task-isolated value of type 'Content' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
139 | viewCache[value] = view
140 | return view
[32/34] Compiling BigUIPaging PageViewStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:31:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct StyleKey: EnvironmentKey {
31 | static var defaultValue: any PageViewStyle = PlainPageViewStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:40:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct OrientationKey: EnvironmentKey {
40 | static var defaultValue: Axis = .horizontal
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:49:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | struct SpacingKey: EnvironmentKey {
49 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:58:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct ContentBackgroundVisibilityKey: EnvironmentKey {
58 | static var defaultValue: Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:67:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | struct NavigateActionKey: EnvironmentKey {
67 | static var defaultValue: PageViewNavigateAction = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:77:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | struct CanNavigateKey: EnvironmentKey {
77 | static var defaultValue = PageViewDirection()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
78 | }
79 |
[33/34] Compiling BigUIPaging PageViewStyleConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:31:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct StyleKey: EnvironmentKey {
31 | static var defaultValue: any PageViewStyle = PlainPageViewStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:40:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct OrientationKey: EnvironmentKey {
40 | static var defaultValue: Axis = .horizontal
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:49:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | struct SpacingKey: EnvironmentKey {
49 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:58:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct ContentBackgroundVisibilityKey: EnvironmentKey {
58 | static var defaultValue: Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:67:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | struct NavigateActionKey: EnvironmentKey {
67 | static var defaultValue: PageViewNavigateAction = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:77:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | struct CanNavigateKey: EnvironmentKey {
77 | static var defaultValue = PageViewDirection()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
78 | }
79 |
[34/34] Compiling BigUIPaging PageView+Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:31:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct StyleKey: EnvironmentKey {
31 | static var defaultValue: any PageViewStyle = PlainPageViewStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:40:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct OrientationKey: EnvironmentKey {
40 | static var defaultValue: Axis = .horizontal
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:49:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | struct SpacingKey: EnvironmentKey {
49 | static var defaultValue: Double? = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:58:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |
57 | struct ContentBackgroundVisibilityKey: EnvironmentKey {
58 | static var defaultValue: Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:67:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |
66 | struct NavigateActionKey: EnvironmentKey {
67 | static var defaultValue: PageViewNavigateAction = .default
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/Types/PageViewNavigateAction.swift:31:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// }
17 | /// ```
18 | public struct PageViewNavigateAction {
| `- note: consider making struct 'PageViewNavigateAction' conform to the 'Sendable' protocol
19 |
20 | let id: UUID?
:
29 | extension PageViewNavigateAction: Equatable {
30 |
31 | static let `default` = PageViewNavigateAction(id: nil) { _ in }
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'PageViewNavigateAction' 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
32 |
33 | public static func == (lhs: PageViewNavigateAction, rhs: PageViewNavigateAction) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/BigUIPaging/Implementations/PageView/View/PageView+Environment.swift:77:20: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
75 |
76 | struct CanNavigateKey: EnvironmentKey {
77 | static var defaultValue = PageViewDirection()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' 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
78 | }
79 |
Build complete! (35.21s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "BigUIPaging",
"name" : "BigUIPaging",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "BigUIPaging",
"targets" : [
"BigUIPaging"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BigUIPagingTests",
"module_type" : "SwiftTarget",
"name" : "BigUIPagingTests",
"path" : "Tests/BigUIPagingTests",
"sources" : [
"BigUIPagingTests.swift"
],
"target_dependencies" : [
"BigUIPaging"
],
"type" : "test"
},
{
"c99name" : "BigUIPaging",
"module_type" : "SwiftTarget",
"name" : "BigUIPaging",
"path" : "Sources/BigUIPaging",
"product_memberships" : [
"BigUIPaging"
],
"sources" : [
"Examples/CardDeckExample.swift",
"Examples/CustomPageViewExample.swift",
"Examples/ExampleGridToPageView.swift",
"Examples/PageIndicatorExample.swift",
"Examples/PageViewBasicExample.swift",
"Examples/PageViewForEachExample.swift",
"Examples/PageViewNavigationStackExample.swift",
"Implementations/PageIndicator/PageIndicator+Environment.swift",
"Implementations/PageIndicator/PageIndicator+iOS.swift",
"Implementations/PageIndicator/PageIndicator.swift",
"Implementations/PageView/Platform/PlatformPageView+iOS.swift",
"Implementations/PageView/Platform/PlatformPageView+macOS.swift",
"Implementations/PageView/Platform/PlatformPageView.swift",
"Implementations/PageView/Styles/BookPageViewStyle.swift",
"Implementations/PageView/Styles/BookStackPageViewStyle.swift",
"Implementations/PageView/Styles/CardDeckPageViewStyle.swift",
"Implementations/PageView/Styles/HistoryStackPageViewStyle.swift",
"Implementations/PageView/Styles/PlainPageViewStyle.swift",
"Implementations/PageView/Styles/PlatformPageViewStyle.swift",
"Implementations/PageView/Styles/ScrollPageViewStyle.swift",
"Implementations/PageView/Types/PageViewDirection.swift",
"Implementations/PageView/Types/PageViewNavigateAction.swift",
"Implementations/PageView/Types/PageViewStyle.swift",
"Implementations/PageView/Types/PageViewStyleConfiguration.swift",
"Implementations/PageView/View/PageView+Environment.swift",
"Implementations/PageView/View/PageView+Preferences.swift",
"Implementations/PageView/View/PageView.swift",
"Implementations/PageView/View/PageViewEnvironmentModifier.swift",
"Implementations/PageView/View/PageViewNavigationButton.swift",
"Implementations/Utils/View+Inspect.swift",
"Implementations/Utils/View+Measure.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.