Build Information
Successful build of swiftui-property-picker, reference main (cc5719
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 14:31:43 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipedro/swiftui-property-picker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ipedro/swiftui-property-picker
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cc57191 update ci
Cloned https://github.com/ipedro/swiftui-property-picker.git
Revision (git rev-parse @):
cc57191243a2b89a0f9b879e5123235b0366e6e6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ipedro/swiftui-property-picker.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ipedro/swiftui-property-picker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin SwiftLintCommandPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/31] Emitting module PropertyPicker
/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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'capitalize' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'camelCaseToWords' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'snakeCaseToWords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func apply(to text: String) -> String {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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 EvironmentKeys.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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[13/33] Compiling PropertyPicker PreferenceKeys.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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[14/33] Compiling PropertyPicker AnimationBox.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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- 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.
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[15/33] Compiling PropertyPicker InlineRow.swift
[16/33] Compiling PropertyPicker ListRow.swift
[17/33] Compiling PropertyPicker PropertyWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/PropertyWriter.swift:71:37: warning: sending 'newKey' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
69 | if let newKey = Key(rawValue: newValue) {
70 | withAnimation(animation) {
71 | selection = newKey
| |- warning: sending 'newKey' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'newKey' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | } else {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[18/33] Compiling PropertyPicker RowBuilderWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/PropertyWriter.swift:71:37: warning: sending 'newKey' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
69 | if let newKey = Key(rawValue: newValue) {
70 | withAnimation(animation) {
71 | selection = newKey
| |- warning: sending 'newKey' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'newKey' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
72 | }
73 | } else {
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[19/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; 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: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
18 | }
19 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
22 | }
23 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | @EnvironmentObject
5 | private var context: Context.Data
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[20/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; 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: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
18 | }
19 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
22 | }
23 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | @EnvironmentObject
5 | private var context: Context.Data
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[21/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:17:28: warning: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; 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: converting function value of type '@MainActor (Property) -> ListRow' to '(Property) -> ListRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
18 | }
19 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | var row: (Property) -> V
5 |
/Users/admin/builder/spi-builder-workspace/Development/Protocols/PropertyPickerStyle.swift:21:30: warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
19 |
20 | var inlineRows: some View {
21 | Rows<InlineRow>(row: InlineRow.init(data:))
| `- warning: converting function value of type '@MainActor (Property) -> InlineRow' to '(Property) -> InlineRow' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
22 | }
23 |
/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 [#ActorIsolatedCall]
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 [#ActorIsolatedCall]
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
| `- note: main actor isolation inferred from conformance to protocol 'View'
4 | @EnvironmentObject
5 | private var context: Context.Data
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[22/33] Compiling PropertyPicker PropertyPicker.swift
[23/33] Compiling PropertyPicker PropertyPickerState.swift
[24/33] Compiling PropertyPicker PropertyPickerKey.swift
[25/33] Compiling PropertyPicker Context.Data.swift
[26/33] Compiling PropertyPicker Property.swift
[27/33] Compiling PropertyPicker PropertyID.swift
[28/33] Compiling PropertyPicker _SheetPropertyPicker.swift
[29/33] Compiling PropertyPicker Context.swift
[30/33] Compiling PropertyPicker PreferenceWriter.swift
[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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'capitalize' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'camelCaseToWords' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'snakeCaseToWords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func apply(to text: String) -> String {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'capitalize' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'camelCaseToWords' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'snakeCaseToWords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func apply(to text: String) -> String {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'capitalize' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'lowercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'uppercase' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'camelCaseToWords' part of global actor 'MainActor'
| `- 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 [#MutableGlobalVariable]
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 [#MutableGlobalVariable]
| |- note: add '@MainActor' to make static property 'snakeCaseToWords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | func apply(to text: String) -> String {
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[34/37] Compiling PropertyPicker_Examples SheetExample.swift
[35/37] Compiling PropertyPicker_Examples ListExample.swift
[36/37] Compiling PropertyPicker_Examples InlineExample.swift
[37/37] Emitting module PropertyPicker_Examples
Build complete! (20.60s)
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/204] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.60s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.59.1 (1.06s)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.59.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
[16375/41085097] Downloading https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.59.1/SwiftLintBinary.artifactbundle.zip (2.50s)
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",
"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.