Build Information
Failed to build swiftui-property-inspector, reference main (a1a8f0
), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 18:09:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ipedro/swiftui-property-inspector.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ipedro/swiftui-property-inspector
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a1a8f07 update ci
Cloned https://github.com/ipedro/swiftui-property-inspector.git
Revision (git rev-parse @):
a1a8f07f73179ff9743a5a76d9fce704f3146a03
SUCCESS checkout https://github.com/ipedro/swiftui-property-inspector.git at main
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/SimplyDanny/SwiftLintPlugins
[1/193] Fetching swiftlintplugins
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.68s)
[1/46518] Fetching swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (29.03s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.55.5 (0.67s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.58.2 (0.42s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.55.5
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.58.2
[16375/40913916] Downloading https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.58.2/SwiftLintBinary.artifactbundle.zip (2.73s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftui-property-inspector",
"name": "swiftui-property-inspector",
"url": "https://github.com/ipedro/swiftui-property-inspector.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftui-property-inspector",
"dependencies": [
]
}
]
}
Fetching https://github.com/ipedro/swiftui-property-inspector.git
[12/1114] Fetching swiftui-property-inspector
Fetched https://github.com/ipedro/swiftui-property-inspector.git from cache (1.18s)
Fetching https://github.com/SimplyDanny/SwiftLintPlugins from cache
Fetched https://github.com/SimplyDanny/SwiftLintPlugins from cache (0.42s)
Computing version for https://github.com/SimplyDanny/SwiftLintPlugins
Computed https://github.com/SimplyDanny/SwiftLintPlugins at 0.58.2 (0.02s)
Creating working copy for https://github.com/ipedro/swiftui-property-inspector.git
Working copy of https://github.com/ipedro/swiftui-property-inspector.git resolved at main (a1a8f07)
Creating working copy for https://github.com/SimplyDanny/SwiftLintPlugins
Working copy of https://github.com/SimplyDanny/SwiftLintPlugins resolved at 0.58.2
warning: '.resolve-product-dependencies': dependency 'swiftui-property-inspector' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ipedro/swiftui-property-inspector.git
https://github.com/ipedro/swiftui-property-inspector.git
{
"dependencies" : [
{
"identity" : "swiftlintplugins",
"requirement" : {
"range" : [
{
"lower_bound" : "0.55.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SimplyDanny/SwiftLintPlugins"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.54.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "swiftui-property-inspector",
"name" : "swiftui-property-inspector",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "PropertyInspector",
"targets" : [
"PropertyInspector"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PropertyInspector-Examples",
"targets" : [
"PropertyInspector-Examples"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PropertyInspector_Examples",
"module_type" : "SwiftTarget",
"name" : "PropertyInspector-Examples",
"path" : "Examples",
"product_memberships" : [
"PropertyInspector-Examples"
],
"sources" : [
"Examples.swift"
],
"target_dependencies" : [
"PropertyInspector"
],
"type" : "library"
},
{
"c99name" : "PropertyInspector",
"module_type" : "SwiftTarget",
"name" : "PropertyInspector",
"path" : "Development",
"product_dependencies" : [
"SwiftLintBuildToolPlugin"
],
"product_memberships" : [
"PropertyInspector",
"PropertyInspector-Examples"
],
"sources" : [
"Environment/EnvironmentKeys.swift",
"Environment/PreferenceKeys.swift",
"Extensions/Animation+Constants.swift",
"Extensions/View+ConditionalFeatures.swift",
"Models/Context.Data.swift",
"Models/Context.Filter.swift",
"Models/HashableBox.swift",
"Models/HashableDictionary.swift",
"Models/Property.swift",
"Models/PropertyID.swift",
"Models/PropertyInspectorHighlightBehavior.swift",
"Models/PropertyLocation.swift",
"Models/PropertyType.swift",
"Models/PropertyValue.swift",
"Models/RowViewBuilder.swift",
"Models/RowViewBuilderRegistry.swift",
"PropertyInspector+View.swift",
"PropertyInspector.swift",
"Protocols/PropertyInspectorStyle.swift",
"Styles/InlinePropertyInspector.swift",
"Styles/ListPropertyInspector.swift",
"Styles/SheetPropertyInspector.swift",
"ToggleStyles/PropertyToggleStyle.swift",
"ViewModifiers/Context.swift",
"ViewModifiers/PreferenceWriter.swift",
"ViewModifiers/PropertyHiglighter.swift",
"ViewModifiers/PropertyWriter.swift",
"Views/PropertyInspectorFilters.swift",
"Views/PropertyInspectorHeader.swift",
"Views/PropertyInspectorRow.swift",
"Views/PropertyInspectorRows.swift",
"Views/PropertyLocationView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[3/6] Write sources
[5/6] Write swift-version-5BDAB9E9C0126B9D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/36] Emitting module PropertyInspector
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct PropertyPreferenceKey: PreferenceKey {
5 | static var defaultValue = [PropertyType: 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
6 | static func reduce(value: inout [PropertyType: Set<Property>], nextValue: () -> [PropertyType: Set<Property>]) {
7 | value.merge(nextValue()) { lhs, rhs in
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct TitlePreferenceKey: PreferenceKey {
14 | static let defaultValue = LocalizedStringKey("Properties")
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' 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
15 | static func reduce(value _: inout LocalizedStringKey, nextValue _: () -> LocalizedStringKey) {}
16 | }
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct RowDetailPreferenceKey: PreferenceKey {
19 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
20 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
21 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct RowIconPreferenceKey: PreferenceKey {
26 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
27 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
28 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | struct RowLabelPreferenceKey: PreferenceKey {
33 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
34 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
35 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:5:17: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PropertyInspectorRow<Icon: View, Label: View, Detail: View>: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
5 | static func == (lhs: PropertyInspectorRow<Icon, Label, Detail>, rhs: PropertyInspectorRow<Icon, Label, Detail>) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
6 | lhs.id == rhs.id
7 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
[8/39] Compiling PropertyInspector PropertyLocation.swift
[9/39] Compiling PropertyInspector PropertyType.swift
[10/39] Compiling PropertyInspector PropertyValue.swift
[11/39] Compiling PropertyInspector EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct PropertyPreferenceKey: PreferenceKey {
5 | static var defaultValue = [PropertyType: 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
6 | static func reduce(value: inout [PropertyType: Set<Property>], nextValue: () -> [PropertyType: Set<Property>]) {
7 | value.merge(nextValue()) { lhs, rhs in
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct TitlePreferenceKey: PreferenceKey {
14 | static let defaultValue = LocalizedStringKey("Properties")
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' 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
15 | static func reduce(value _: inout LocalizedStringKey, nextValue _: () -> LocalizedStringKey) {}
16 | }
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct RowDetailPreferenceKey: PreferenceKey {
19 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
20 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
21 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct RowIconPreferenceKey: PreferenceKey {
26 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
27 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
28 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | struct RowLabelPreferenceKey: PreferenceKey {
33 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
34 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
35 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[12/39] Compiling PropertyInspector PreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct PropertyPreferenceKey: PreferenceKey {
5 | static var defaultValue = [PropertyType: 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
6 | static func reduce(value: inout [PropertyType: Set<Property>], nextValue: () -> [PropertyType: Set<Property>]) {
7 | value.merge(nextValue()) { lhs, rhs in
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct TitlePreferenceKey: PreferenceKey {
14 | static let defaultValue = LocalizedStringKey("Properties")
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' 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
15 | static func reduce(value _: inout LocalizedStringKey, nextValue _: () -> LocalizedStringKey) {}
16 | }
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct RowDetailPreferenceKey: PreferenceKey {
19 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
20 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
21 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct RowIconPreferenceKey: PreferenceKey {
26 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
27 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
28 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | struct RowLabelPreferenceKey: PreferenceKey {
33 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
34 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
35 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[13/39] Compiling PropertyInspector Animation+Constants.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct PropertyPreferenceKey: PreferenceKey {
5 | static var defaultValue = [PropertyType: 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
6 | static func reduce(value: inout [PropertyType: Set<Property>], nextValue: () -> [PropertyType: Set<Property>]) {
7 | value.merge(nextValue()) { lhs, rhs in
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct TitlePreferenceKey: PreferenceKey {
14 | static let defaultValue = LocalizedStringKey("Properties")
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' 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
15 | static func reduce(value _: inout LocalizedStringKey, nextValue _: () -> LocalizedStringKey) {}
16 | }
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct RowDetailPreferenceKey: PreferenceKey {
19 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
20 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
21 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct RowIconPreferenceKey: PreferenceKey {
26 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
27 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
28 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | struct RowLabelPreferenceKey: PreferenceKey {
33 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
34 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
35 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[14/39] Compiling PropertyInspector View+ConditionalFeatures.swift
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct PropertyPreferenceKey: PreferenceKey {
5 | static var defaultValue = [PropertyType: 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
6 | static func reduce(value: inout [PropertyType: Set<Property>], nextValue: () -> [PropertyType: Set<Property>]) {
7 | value.merge(nextValue()) { lhs, rhs in
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct TitlePreferenceKey: PreferenceKey {
14 | static let defaultValue = LocalizedStringKey("Properties")
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LocalizedStringKey' 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
15 | static func reduce(value _: inout LocalizedStringKey, nextValue _: () -> LocalizedStringKey) {}
16 | }
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:19:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct RowDetailPreferenceKey: PreferenceKey {
19 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
20 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
21 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:26:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct RowIconPreferenceKey: PreferenceKey {
26 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
27 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
28 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Environment/PreferenceKeys.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | struct RowLabelPreferenceKey: PreferenceKey {
33 | static let defaultValue = RowViewBuilderRegistry()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'RowViewBuilderRegistry' 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
34 | static func reduce(value: inout RowViewBuilderRegistry, nextValue: () -> RowViewBuilderRegistry) {
35 | value.merge(nextValue())
/Users/admin/builder/spi-builder-workspace/Development/Models/RowViewBuilderRegistry.swift:4:8: note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
2 | import SwiftUI
3 |
4 | struct RowViewBuilderRegistry: Hashable, CustomStringConvertible {
| `- note: consider making struct 'RowViewBuilderRegistry' conform to the 'Sendable' protocol
5 | private var data: [PropertyType: RowViewBuilder]
6 |
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[15/39] Compiling PropertyInspector PropertyInspector.swift
[16/39] Compiling PropertyInspector PropertyInspectorStyle.swift
[17/39] Compiling PropertyInspector InlinePropertyInspector.swift
[18/39] Compiling PropertyInspector Property.swift
[19/39] Compiling PropertyInspector PropertyID.swift
[20/39] Compiling PropertyInspector PropertyInspectorHighlightBehavior.swift
[21/39] Compiling PropertyInspector Context.Data.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:55: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:60: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:110:31: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
108 | allSelected
109 | } set: { [unowned self] newValue in
110 | for filter in filters {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
111 | filter.isOn = newValue
112 | }
[22/39] Compiling PropertyInspector Context.Filter.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:55: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:60: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:110:31: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
108 | allSelected
109 | } set: { [unowned self] newValue in
110 | for filter in filters {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
111 | filter.isOn = newValue
112 | }
[23/39] Compiling PropertyInspector HashableBox.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:55: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:60: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:110:31: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
108 | allSelected
109 | } set: { [unowned self] newValue in
110 | for filter in filters {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
111 | filter.isOn = newValue
112 | }
[24/39] Compiling PropertyInspector HashableDictionary.swift
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:87:55: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
85 | func toggleFilter(_ filter: Filter<PropertyType>) -> Binding<Bool> {
86 | Binding { [unowned self] in
87 | if let index = filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
88 | filters[index].isOn
89 | } else {
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:32: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:93:60: warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
91 | }
92 | } set: { [unowned self] newValue in
93 | if let index = self.filters.firstIndex(of: filter) {
| `- warning: capture of 'filter' with non-sendable type 'Context.Filter<PropertyType>' in a `@Sendable` closure
94 | filters[index].isOn = newValue
95 | _allObjects[filter.wrappedValue]?.forEach { prop in
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Filter.swift:4:17: note: generic class 'Filter' does not conform to the 'Sendable' protocol
2 |
3 | extension Context {
4 | final class Filter<F> {
| `- note: generic class 'Filter' does not conform to the 'Sendable' protocol
5 | var wrappedValue: F
6 | var isOn: Bool
/Users/admin/builder/spi-builder-workspace/Development/Models/Context.Data.swift:110:31: warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
3 |
4 | extension Context {
5 | final class Data: ObservableObject {
| `- note: class 'Data' does not conform to the 'Sendable' protocol
6 | private var cancellables = Set<AnyCancellable>()
7 |
:
108 | allSelected
109 | } set: { [unowned self] newValue in
110 | for filter in filters {
| `- warning: capture of 'self' with non-sendable type 'Context.Data' in a `@Sendable` closure
111 | filter.isOn = newValue
112 | }
[25/39] Compiling PropertyInspector PropertyInspectorRow.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:5:17: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PropertyInspectorRow<Icon: View, Label: View, Detail: View>: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
5 | static func == (lhs: PropertyInspectorRow<Icon, Label, Detail>, rhs: PropertyInspectorRow<Icon, Label, Detail>) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
6 | lhs.id == rhs.id
7 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
[26/39] Compiling PropertyInspector PropertyInspectorRows.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:5:17: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PropertyInspectorRow<Icon: View, Label: View, Detail: View>: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
5 | static func == (lhs: PropertyInspectorRow<Icon, Label, Detail>, rhs: PropertyInspectorRow<Icon, Label, Detail>) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
6 | lhs.id == rhs.id
7 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
[27/39] Compiling PropertyInspector PropertyLocationView.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:5:17: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | struct PropertyInspectorRow<Icon: View, Label: View, Detail: View>: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
5 | static func == (lhs: PropertyInspectorRow<Icon, Label, Detail>, rhs: PropertyInspectorRow<Icon, Label, Detail>) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
6 | lhs.id == rhs.id
7 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
[28/39] Compiling PropertyInspector Context.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:10: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != 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
11 | data.allObjects = newValue
12 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:11: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != newValue {
11 | data.allObjects = 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
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:14: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != 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
15 | data.detailRegistry = newValue
16 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != newValue {
15 | data.detailRegistry = 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
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:18: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != 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
19 | data.iconRegistry = newValue
20 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != newValue {
19 | data.iconRegistry = 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
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:22: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != 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
23 | data.labelRegistry = newValue
24 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != newValue {
23 | data.labelRegistry = 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
24 | }
25 | }.environmentObject(data)
[29/39] Compiling PropertyInspector PreferenceWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:10: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != 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
11 | data.allObjects = newValue
12 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:11: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != newValue {
11 | data.allObjects = 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
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:14: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != 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
15 | data.detailRegistry = newValue
16 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != newValue {
15 | data.detailRegistry = 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
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:18: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != 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
19 | data.iconRegistry = newValue
20 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != newValue {
19 | data.iconRegistry = 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
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:22: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != 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
23 | data.labelRegistry = newValue
24 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != newValue {
23 | data.labelRegistry = 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
24 | }
25 | }.environmentObject(data)
[30/39] Compiling PropertyInspector PropertyHiglighter.swift
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:10: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != 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
11 | data.allObjects = newValue
12 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:11: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
9 | content.onPreferenceChange(PropertyPreferenceKey.self) { newValue in
10 | if data.allObjects != newValue {
11 | data.allObjects = 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
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:14: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
12 | }
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != 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
15 | data.detailRegistry = newValue
16 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:15: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
13 | }.onPreferenceChange(RowDetailPreferenceKey.self) { newValue in
14 | if data.detailRegistry != newValue {
15 | data.detailRegistry = 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
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:18: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
16 | }
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != 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
19 | data.iconRegistry = newValue
20 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:19: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
17 | }.onPreferenceChange(RowIconPreferenceKey.self) { newValue in
18 | if data.iconRegistry != newValue {
19 | data.iconRegistry = 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
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:22: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: property declared here
7 |
8 | func body(content: Content) -> some View {
:
20 | }
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != 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
23 | data.labelRegistry = newValue
24 | }
/Users/admin/builder/spi-builder-workspace/Development/ViewModifiers/Context.swift:23: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
4 | struct Context: ViewModifier {
5 | @StateObject
6 | private var data = Data()
| `- note: mutation of this property is only permitted within the actor
7 |
8 | func body(content: Content) -> some View {
:
21 | }.onPreferenceChange(RowLabelPreferenceKey.self) { newValue in
22 | if data.labelRegistry != newValue {
23 | data.labelRegistry = 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
24 | }
25 | }.environmentObject(data)
[31/39] Compiling PropertyInspector ListPropertyInspector.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[32/39] Compiling PropertyInspector SheetPropertyInspector.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[33/39] Compiling PropertyInspector PropertyToggleStyle.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[34/39] Compiling PropertyInspector RowViewBuilder.swift
[35/39] Compiling PropertyInspector RowViewBuilderRegistry.swift
[36/39] Compiling PropertyInspector PropertyInspector+View.swift
[37/39] Compiling PropertyInspector PropertyWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
[38/39] Compiling PropertyInspector PropertyInspectorFilters.swift
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
[39/39] Compiling PropertyInspector PropertyInspectorHeader.swift
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintBuildToolPlugin
[3/3] Compiling plugin SwiftLintCommandPlugin
Building for debugging...
[3/4] Write swift-version-5BDAB9E9C0126B9D.txt
[5/34] Compiling PropertyInspector EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[6/34] Compiling PropertyInspector PreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[7/34] Compiling PropertyInspector Animation+Constants.swift
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
[8/34] Compiling PropertyInspector View+ConditionalFeatures.swift
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:7:13: error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
| `- note: add @available attribute to enclosing instance method
6 | if #available(iOS 16.4, *) {
7 | scrollBounceBehavior(.basedOnSize)
| |- error: 'scrollBounceBehavior(_:axes:)' is only available in macOS 13.3 or newer
| `- note: add 'if #available' version check
8 | } else {
9 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:16:13: error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
12 |
13 | @ViewBuilder
14 | func ios16_hideScrollIndicators(_ hide: Bool = true) -> some View {
| `- note: add @available attribute to enclosing instance method
15 | if #available(iOS 16.0, *) {
16 | scrollIndicators(hide ? .hidden : .automatic)
| |- error: 'scrollIndicators(_:axes:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
17 | } else {
18 | self
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:13: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:32: error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'symbolEffect(_:options:)' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
/Users/admin/builder/spi-builder-workspace/Development/Extensions/View+ConditionalFeatures.swift:25:46: error: 'automatic' is only available in macOS 14.0 or newer
1 | import SwiftUI
2 |
3 | extension View {
| `- note: add @available attribute to enclosing extension
4 | @ViewBuilder
5 | func ios16_scrollBounceBehaviorBasedOnSize() -> some View {
:
21 |
22 | @ViewBuilder
23 | func ios17_interpolateSymbolEffect() -> some View {
| `- note: add @available attribute to enclosing instance method
24 | if #available(iOS 17.0, *) {
25 | contentTransition(.symbolEffect(.automatic, options: .speed(2)))
| |- error: 'automatic' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
26 | } else if #available(iOS 16.0, *) {
27 | contentTransition(.interpolate)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/37] Emitting module PropertyInspector
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[10/37] Compiling PropertyInspector Property.swift
[11/37] Compiling PropertyInspector PropertyID.swift
[12/37] Compiling PropertyInspector PropertyInspectorHighlightBehavior.swift
[13/37] Compiling PropertyInspector PropertyLocation.swift
[14/37] Compiling PropertyInspector PropertyType.swift
[15/37] Compiling PropertyInspector PropertyValue.swift
[16/37] Compiling PropertyInspector ListPropertyInspector.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[17/37] Compiling PropertyInspector SheetPropertyInspector.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[18/37] Compiling PropertyInspector PropertyToggleStyle.swift
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:125:28: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
123 |
124 | @State
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
| `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
126 |
127 | private static var detents: [PresentationDetent] { [
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:127:34: error: 'PresentationDetent' is only available in macOS 13.0 or newer
113 |
114 | @available(iOS 16.4, *)
115 | private struct SheetPresentationModifier<Label: View>: ViewModifier {
| `- note: add @available attribute to enclosing generic struct
116 | @Binding
117 | var isPresented: Bool
:
125 | private var selection: PresentationDetent = SheetPresentationModifier.detents[1]
126 |
127 | private static var detents: [PresentationDetent] { [
| | `- error: 'PresentationDetent' is only available in macOS 13.0 or newer
| `- note: add @available attribute to enclosing static property
128 | .fraction(0.25),
129 | .fraction(0.45),
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:146:48: error: cannot find 'UIScreen' in scope
144 | .background(GeometryReader { geometry in
145 | Color.clear.onChange(of: geometry.frame(in: .global).minY) { minY in
146 | let screenHeight = UIScreen.main.bounds.height
| `- error: cannot find 'UIScreen' in scope
147 | let newInset = max(0, round(screenHeight - minY))
148 | if height != newInset {
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:167:13: error: cannot find 'UIImpactFeedbackGenerator' in scope
165 | var body: some View {
166 | Button {
167 | UIImpactFeedbackGenerator(style: .rigid).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
168 | withAnimation(.snappy(duration: 0.35)) {
169 | isPresented.toggle()
/Users/admin/builder/spi-builder-workspace/Development/Styles/SheetPropertyInspector.swift:189:21: error: cannot find 'UIImpactFeedbackGenerator' in scope
187 | ForEach(PropertyInspectorHighlightBehavior.allCases, id: \.hashValue) { behavior in
188 | Button(behavior.label) {
189 | UIImpactFeedbackGenerator(style: .light).impactOccurred()
| `- error: cannot find 'UIImpactFeedbackGenerator' in scope
190 | highlight = behavior
191 | }
/Users/admin/builder/spi-builder-workspace/Development/ToggleStyles/PropertyToggleStyle.swift:17:28: error: cannot find 'UISelectionFeedbackGenerator' in scope
15 | }
16 |
17 | private let feedback = UISelectionFeedbackGenerator()
| `- error: cannot find 'UISelectionFeedbackGenerator' in scope
18 |
19 | func makeBody(configuration: Configuration) -> some View {
[19/37] Compiling PropertyInspector Context.swift
[20/37] Compiling PropertyInspector PreferenceWriter.swift
[21/37] Compiling PropertyInspector PropertyHiglighter.swift
[22/37] Compiling PropertyInspector PropertyWriter.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
[23/37] Compiling PropertyInspector PropertyInspectorFilters.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
[24/37] Compiling PropertyInspector PropertyInspectorHeader.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:52:13: error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
50 |
51 | if #available(iOS 16.0, *), !context.properties.isEmpty {
52 | Toggle(sources: context.properties, isOn: \.$isHighlighted) {
| |- error: 'init(sources:isOn:label:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
53 | HStack(alignment: .firstTextBaseline) {
54 | formattedText
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorHeader.swift:57:26: error: 'contentTransition' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorHeader: View {
| `- note: add @available attribute to enclosing struct
4 | var data: LocalizedStringKey
5 |
:
44 |
45 | @ViewBuilder
46 | private func title() -> some View {
| `- note: add @available attribute to enclosing instance method
47 | let formattedText = Text(data)
48 | .font(.title.weight(.medium))
:
55 |
56 | Text(accessoryTitle)
57 | .contentTransition(.numericText())
| |- error: 'contentTransition' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
58 | .font(.footnote.bold())
59 | .padding(.horizontal, 6)
[25/37] Compiling PropertyInspector PropertyInspector.swift
[26/37] Compiling PropertyInspector PropertyInspectorStyle.swift
[27/37] Compiling PropertyInspector InlinePropertyInspector.swift
[28/37] Compiling PropertyInspector RowViewBuilder.swift
[29/37] Compiling PropertyInspector RowViewBuilderRegistry.swift
[30/37] Compiling PropertyInspector PropertyInspector+View.swift
[31/37] Compiling PropertyInspector Context.Data.swift
[32/37] Compiling PropertyInspector Context.Filter.swift
[33/37] Compiling PropertyInspector HashableBox.swift
[34/37] Compiling PropertyInspector HashableDictionary.swift
[35/37] Compiling PropertyInspector PropertyInspectorRow.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
[36/37] Compiling PropertyInspector PropertyInspectorRows.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
[37/37] Compiling PropertyInspector PropertyLocationView.swift
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:25: error: extraneous argument label 'uiColor:' in call
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: extraneous argument label 'uiColor:' in call
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRow.swift:33:36: error: type 'CGColor' has no member 'tertiarySystemBackground'
31 | .padding(.vertical, 1)
32 | .listRowBackground(
33 | isOn ? Color(uiColor: .tertiarySystemBackground) : .clear
| `- error: type 'CGColor' has no member 'tertiarySystemBackground'
34 | )
35 | }
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyInspectorRows.swift:15:18: error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
1 | import SwiftUI
2 |
3 | struct PropertyInspectorRows: View {
| `- note: add @available attribute to enclosing struct
4 | @EnvironmentObject
5 | private var context: Context.Data
6 |
7 | var body: some View {
| `- note: add @available attribute to enclosing property
8 | #if VERBOSE
9 | printChanges()
:
13 | .foregroundStyle(.tertiary)
14 | .listRowBackground(Color.clear)
15 | .listRowSeparator(.hidden)
| |- error: 'listRowSeparator(_:edges:)' is only available in macOS 13.0 or newer
| `- note: add 'if #available' version check
16 | .multilineTextAlignment(.center)
17 | .frame(
/Users/admin/builder/spi-builder-workspace/Development/Views/PropertyLocationView.swift:23:18: error: 'foregroundStyle' is only available in macOS 14.0 or newer
18 | }
19 |
20 | private extension Text {
| `- note: add @available attribute to enclosing extension
21 | func ios17_quinaryForegroundStyle() -> Text {
| `- note: add @available attribute to enclosing instance method
22 | if #available(iOS 17.0, *) {
23 | self.foregroundStyle(.quinary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
24 | } else {
25 | // Fallback on earlier versions
BUILD FAILURE 6.0 macosSpm