Build Information
Successful build of swiftui-property-picker, reference 4.5.0 (d23fd2), with Swift 6.0 for macOS (SPM) on 4 Nov 2025 03:53:33 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipedro/swiftui-property-picker.git
Reference: 4.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ipedro/swiftui-property-picker
* tag 4.5.0 -> FETCH_HEAD
HEAD is now at d23fd27 Add automated release creation workflow
Cloned https://github.com/ipedro/swiftui-property-picker.git
Revision (git rev-parse @):
d23fd27a7b896b5a92e6b2f15826828d045e2acd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ipedro/swiftui-property-picker.git at 4.5.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ipedro/swiftui-property-picker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLintBuildToolPlugin
[2/2] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-5BDAB9E9C0126B9D.txt
[6/31] Emitting module PropertyPicker
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:44:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
42 | struct ViewBuilderPreference: PreferenceKey {
43 | /// The default value is an empty dictionary, indicating no custom view builders are provided initially.
44 | static let defaultValue = [PropertyID: RowBuilder]()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
45 |
46 | /// Merges view builders provided by child views, preferring the builder set closest to the root.
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyID.swift:6:15: note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
4 | /// facilitating the tracking and management of property picker states and configurations
5 | /// across different components of an application.
6 | public struct PropertyID: Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
7 | public var metadata: UnsafeRawPointer
8 |
/Users/admin/builder/spi-builder-workspace/Development/Models/RowBuilder.swift:3:8: note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | struct RowBuilder: Equatable, Identifiable {
| `- note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
4 | let id: PropertyID
5 | let body: (Property) -> AnyView?
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:60: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
58 | struct PropertyPreference: PreferenceKey {
59 | /// The default value, an empty set, indicates that no properties are collected initially.
60 | static var defaultValue: Set<Property> = []
| |- 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
61 |
62 | /// Reduces multiple sets of properties into a single set, adding any new properties found in child views to the existing set.
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:10:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
8 | }
9 |
10 | public static let none = Self()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:12:23: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
| |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercase' 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
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:13:23: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
| |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercase' 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 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
[7/33] Compiling PropertyPicker PropertyOption.swift
[8/33] Compiling PropertyPicker PropertyPickerRowSorting.swift
[9/33] Compiling PropertyPicker PropertyPickerSafeAreaAdjustmentStyle.swift
[10/33] Compiling PropertyPicker Rows.swift
[11/33] Compiling PropertyPicker Title.swift
[12/33] Compiling PropertyPicker InlineRow.swift
[13/33] Compiling PropertyPicker ListRow.swift
[14/33] Compiling PropertyPicker EvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:44:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
42 | struct ViewBuilderPreference: PreferenceKey {
43 | /// The default value is an empty dictionary, indicating no custom view builders are provided initially.
44 | static let defaultValue = [PropertyID: RowBuilder]()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
45 |
46 | /// Merges view builders provided by child views, preferring the builder set closest to the root.
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyID.swift:6:15: note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
4 | /// facilitating the tracking and management of property picker states and configurations
5 | /// across different components of an application.
6 | public struct PropertyID: Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
7 | public var metadata: UnsafeRawPointer
8 |
/Users/admin/builder/spi-builder-workspace/Development/Models/RowBuilder.swift:3:8: note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | struct RowBuilder: Equatable, Identifiable {
| `- note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
4 | let id: PropertyID
5 | let body: (Property) -> AnyView?
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:60: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
58 | struct PropertyPreference: PreferenceKey {
59 | /// The default value, an empty set, indicates that no properties are collected initially.
60 | static var defaultValue: Set<Property> = []
| |- 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
61 |
62 | /// Reduces multiple sets of properties into a single set, adding any new properties found in child views to the existing set.
[15/33] Compiling PropertyPicker PreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:44:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
42 | struct ViewBuilderPreference: PreferenceKey {
43 | /// The default value is an empty dictionary, indicating no custom view builders are provided initially.
44 | static let defaultValue = [PropertyID: RowBuilder]()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
45 |
46 | /// Merges view builders provided by child views, preferring the builder set closest to the root.
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyID.swift:6:15: note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
4 | /// facilitating the tracking and management of property picker states and configurations
5 | /// across different components of an application.
6 | public struct PropertyID: Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
7 | public var metadata: UnsafeRawPointer
8 |
/Users/admin/builder/spi-builder-workspace/Development/Models/RowBuilder.swift:3:8: note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | struct RowBuilder: Equatable, Identifiable {
| `- note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
4 | let id: PropertyID
5 | let body: (Property) -> AnyView?
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:60: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
58 | struct PropertyPreference: PreferenceKey {
59 | /// The default value, an empty set, indicates that no properties are collected initially.
60 | static var defaultValue: Set<Property> = []
| |- 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
61 |
62 | /// Reduces multiple sets of properties into a single set, adding any new properties found in child views to the existing set.
[16/33] Compiling PropertyPicker AnimationBox.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:44:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
42 | struct ViewBuilderPreference: PreferenceKey {
43 | /// The default value is an empty dictionary, indicating no custom view builders are provided initially.
44 | static let defaultValue = [PropertyID: RowBuilder]()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[PropertyID : RowBuilder]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
45 |
46 | /// Merges view builders provided by child views, preferring the builder set closest to the root.
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyID.swift:6:15: note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
4 | /// facilitating the tracking and management of property picker states and configurations
5 | /// across different components of an application.
6 | public struct PropertyID: Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'PropertyID' conform to the 'Sendable' protocol
7 | public var metadata: UnsafeRawPointer
8 |
/Users/admin/builder/spi-builder-workspace/Development/Models/RowBuilder.swift:3:8: note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | struct RowBuilder: Equatable, Identifiable {
| `- note: consider making struct 'RowBuilder' conform to the 'Sendable' protocol
4 | let id: PropertyID
5 | let body: (Property) -> AnyView?
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:60: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
58 | struct PropertyPreference: PreferenceKey {
59 | /// The default value, an empty set, indicates that no properties are collected initially.
60 | static var defaultValue: Set<Property> = []
| |- 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
61 |
62 | /// Reduces multiple sets of properties into a single set, adding any new properties found in child views to the existing set.
[17/33] Compiling PropertyPicker PropertyWriter.swift
[18/33] Compiling PropertyPicker RowBuilderWriter.swift
[19/33] Compiling PropertyPicker _SheetPropertyPicker.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
13 | func body(content: Content) -> some View {
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | data.rows = newValue
17 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:16:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
16 | data.rows = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
20 | data.title = newValue
21 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:20:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
20 | data.title = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
24 | data.rowBuilders = newValue
25 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:24:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
24 | data.rowBuilders = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
25 | }
26 | }.environmentObject(data)
[20/33] Compiling PropertyPicker Context.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
13 | func body(content: Content) -> some View {
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | data.rows = newValue
17 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:16:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
16 | data.rows = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
20 | data.title = newValue
21 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:20:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
20 | data.title = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
24 | data.rowBuilders = newValue
25 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:24:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
24 | data.rowBuilders = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
25 | }
26 | }.environmentObject(data)
[21/33] Compiling PropertyPicker PreferenceWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
13 | func body(content: Content) -> some View {
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
16 | data.rows = newValue
17 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:16:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
14 | content.onPreferenceChange(PropertyPreference.self) { newValue in
15 | if data.rows != newValue {
16 | data.rows = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
17 | }
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
20 | data.title = newValue
21 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:20:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
18 | }.onPreferenceChange(TitlePreference.self) { newValue in
19 | if data.title != newValue {
20 | data.title = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23:16: warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: property declared here
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
21 | }
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
| `- warning: main actor-isolated property 'data' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
24 | data.rowBuilders = newValue
25 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:24:17: warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
8 | /// A context object that holds and manages UI related data for property pickers within a SwiftUI application.
9 | @StateObject
10 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
11 |
12 | /// The body of the modifier which subscribes to preference changes and updates the context.
:
22 | }.onPreferenceChange(ViewBuilderPreference.self) { newValue in
23 | if data.rowBuilders != newValue {
24 | data.rowBuilders = newValue
| `- warning: main actor-isolated property 'data' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
25 | }
26 | }.environmentObject(data)
[22/33] Compiling PropertyPicker Context.Data.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
[23/33] Compiling PropertyPicker Property.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
[24/33] Compiling PropertyPicker PropertyID.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:10: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
8 | struct TitlePreference: PreferenceKey {
9 | /// The default title shown if no other title is specified by child views.
10 | static var defaultValue: Text?
| |- 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
11 |
12 | static func reduce(value: inout Text?, nextValue: () -> Text?) {
[25/33] Compiling PropertyPicker PropertyPicker.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
[26/33] Compiling PropertyPicker PropertyPickerState.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
[27/33] Compiling PropertyPicker PropertyPickerKey.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
[28/33] Compiling PropertyPicker PropertyPickerStyle.swift
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:21: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/ListRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct ListRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:23: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/InlineRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct InlineRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:27:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// This view is generally used to display a header or title for the picker section.
26 | var title: some View {
27 | Title()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/Title.swift:3:8: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Title: View {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
4 | @EnvironmentObject
5 | private var context: Context.Data
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Styles/_InlinePropertyPicker.swift:33:21: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
31 | .padding()
32 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
33 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
34 | }
35 | }
:
40 |
41 | @State
42 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
43 |
44 | private var contentBackground: some ShapeStyle {
/Users/admin/builder/spi-builder-workspace/Development/Styles/_ListPropertyPicker.swift:42:33: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
18 |
19 | @State
20 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
21 |
22 | private var contentBackground: some ShapeStyle {
:
40 | .padding()
41 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
42 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
22 | }
23 |
[29/33] Compiling PropertyPicker _InlinePropertyPicker.swift
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:21: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/ListRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct ListRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:23: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/InlineRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct InlineRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:27:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// This view is generally used to display a header or title for the picker section.
26 | var title: some View {
27 | Title()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/Title.swift:3:8: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Title: View {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
4 | @EnvironmentObject
5 | private var context: Context.Data
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Styles/_InlinePropertyPicker.swift:33:21: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
31 | .padding()
32 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
33 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
34 | }
35 | }
:
40 |
41 | @State
42 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
43 |
44 | private var contentBackground: some ShapeStyle {
/Users/admin/builder/spi-builder-workspace/Development/Styles/_ListPropertyPicker.swift:42:33: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
18 |
19 | @State
20 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
21 |
22 | private var contentBackground: some ShapeStyle {
:
40 | .padding()
41 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
42 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
22 | }
23 |
[30/33] Compiling PropertyPicker _ListPropertyPicker.swift
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:21: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Views/ListRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct ListRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:23: warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(row:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/Rows.swift:3:8: note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Rows<V>: View where V: View {
| `- note: calls to initializer 'init(row:)' from outside of its actor context are implicitly asynchronous
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: call to main actor-isolated initializer 'init(data:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Development/Views/InlineRow.swift:3:8: note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct InlineRow: View {
| `- note: calls to initializer 'init(data:)' from outside of its actor context are implicitly asynchronous
4 | var data: Property
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:27:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | /// This view is generally used to display a header or title for the picker section.
26 | var title: some View {
27 | Title()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/Title.swift:3:8: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
1 | import SwiftUI
2 |
3 | struct Title: View {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
4 | @EnvironmentObject
5 | private var context: Context.Data
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.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 | /// The default value for the background context, initially nil indicating no background is applied.
26 | @usableFromInline
27 | static var defaultValue: AnimationBox<AnyShapeStyle>?
| |- 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 | /// Combines multiple values into a single context, prioritizing the latest value set by any child view.
/Users/admin/builder/spi-builder-workspace/Development/Styles/_InlinePropertyPicker.swift:33:21: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
31 | .padding()
32 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
33 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
34 | }
35 | }
:
40 |
41 | @State
42 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
43 |
44 | private var contentBackground: some ShapeStyle {
/Users/admin/builder/spi-builder-workspace/Development/Styles/_ListPropertyPicker.swift:42:33: warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
18 |
19 | @State
20 | private var backgroundPreference = ContentBackgroundStylePreference.defaultValue
| `- note: mutation of this property is only permitted within the actor
21 |
22 | private var contentBackground: some ShapeStyle {
:
40 | .padding()
41 | .onPreferenceChange(ContentBackgroundStylePreference.self) {
42 | backgroundPreference = $0
| `- warning: main actor-isolated property 'backgroundPreference' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
43 | }
44 | }
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
15 | /// These rows typically display selectable options or properties within the picker.
16 | var listRows: some View {
17 | Rows<ListRow>(row: ListRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'data' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
22 | }
23 |
[31/33] Compiling PropertyPicker PropertyPickerTextTransformation.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:10:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
8 | }
9 |
10 | public static let none = Self()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:12:23: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
| |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercase' 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
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:13:23: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
| |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercase' 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 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
[32/33] Compiling PropertyPicker RowBuilder.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:10:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
8 | }
9 |
10 | public static let none = Self()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:12:23: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
| |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercase' 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
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:13:23: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
| |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercase' 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 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
[33/33] Compiling PropertyPicker PropertyPicker+View.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:10:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
8 | }
9 |
10 | public static let none = Self()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:11:23: warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
9 |
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
| |- warning: static property 'capitalize' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'capitalize' 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
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:12:23: warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
10 | public static let none = Self()
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
| |- warning: static property 'lowercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lowercase' 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
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:13:23: warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
11 | public static let capitalize = Self(rawValue: 1 << 0)
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
| |- warning: static property 'uppercase' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'uppercase' 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 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:14:23: warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
12 | public static let lowercase = Self(rawValue: 1 << 1)
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
| |- warning: static property 'camelCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'camelCaseToWords' 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 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
16 |
/Users/admin/builder/spi-builder-workspace/Development/Models/PropertyPickerTextTransformation.swift:15:23: warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct PropertyPickerTextTransformation: OptionSet {
| `- note: consider making struct 'PropertyPickerTextTransformation' conform to the 'Sendable' protocol
4 | public let rawValue: Int8
5 |
:
13 | public static let uppercase = Self(rawValue: 1 << 2)
14 | public static let camelCaseToWords = Self(rawValue: 1 << 3)
15 | public static let snakeCaseToWords = Self(rawValue: 1 << 4)
| |- warning: static property 'snakeCaseToWords' is not concurrency-safe because non-'Sendable' type 'PropertyPickerTextTransformation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'snakeCaseToWords' 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
16 |
17 | func apply(to text: String) -> String {
[34/38] Compiling PropertyPicker_Examples SheetExample.swift
[35/38] Compiling PropertyPicker_Examples PerformanceBenchmark.swift
[36/38] Compiling PropertyPicker_Examples ListExample.swift
[37/38] Emitting module PropertyPicker_Examples
[38/38] Compiling PropertyPicker_Examples InlineExample.swift
Build complete! (22.52s)
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/253] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.65s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.62.2 (0.49s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.62.2
[8259/71991460] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip (3.63s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftlintplugins",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
}
],
"manifest_display_name" : "swiftui-property-picker",
"name" : "swiftui-property-picker",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "PropertyPicker",
"targets" : [
"PropertyPicker"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PropertyPicker-Examples",
"targets" : [
"PropertyPicker-Examples"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PropertyPicker_Examples",
"module_type" : "SwiftTarget",
"name" : "PropertyPicker-Examples",
"path" : "Examples",
"product_memberships" : [
"PropertyPicker-Examples"
],
"sources" : [
"InlineExample.swift",
"ListExample.swift",
"PerformanceBenchmark.swift",
"SheetExample.swift"
],
"target_dependencies" : [
"PropertyPicker"
],
"type" : "library"
},
{
"c99name" : "PropertyPicker",
"module_type" : "SwiftTarget",
"name" : "PropertyPicker",
"path" : "Development",
"product_dependencies" : [
"SwiftLintBuildToolPlugin"
],
"product_memberships" : [
"PropertyPicker",
"PropertyPicker-Examples"
],
"sources" : [
"Environment/EvironmentKeys.swift",
"Environment/PreferenceKeys.swift",
"Models/AnimationBox.swift",
"Models/Context.Data.swift",
"Models/Property.swift",
"Models/PropertyID.swift",
"Models/PropertyOption.swift",
"Models/PropertyPickerRowSorting.swift",
"Models/PropertyPickerSafeAreaAdjustmentStyle.swift",
"Models/PropertyPickerTextTransformation.swift",
"Models/RowBuilder.swift",
"PropertyPicker+View.swift",
"PropertyPicker.swift",
"PropertyWrappers/PropertyPickerState.swift",
"Protocols/PropertyPickerKey.swift",
"Protocols/PropertyPickerStyle.swift",
"Styles/_InlinePropertyPicker.swift",
"Styles/_ListPropertyPicker.swift",
"Styles/_SheetPropertyPicker.swift",
"ViewModifiers/Context.swift",
"ViewModifiers/PreferenceWriter.swift",
"ViewModifiers/PropertyWriter.swift",
"ViewModifiers/RowBuilderWriter.swift",
"Views/InlineRow.swift",
"Views/ListRow.swift",
"Views/Rows.swift",
"Views/Title.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.