Build Information
Failed to build Compatibility, reference main (31255b), with Swift 6.1 for macOS (SPM) on 30 Oct 2026 13:47:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[62/78] Compiling Compatibility Backport.ProgressView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[63/78] Compiling Compatibility Backport.SafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[64/78] Compiling Compatibility Backport.Section.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[65/78] Compiling Compatibility Backport.Toolbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[66/78] Compiling Compatibility Backport.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[67/78] Compiling Compatibility Backport.task.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[68/78] Compiling Compatibility BackportHierarchicalShapeStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[69/78] Compiling Compatibility BytesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:40:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
39 | private struct SafeAreaMeasurements: PreferenceKey {
40 | static var defaultValue = EdgeInsets()
| |- 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | static func reduce(value: inout EdgeInsets, nextValue: () -> EdgeInsets) { value = nextValue() }
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'Equatable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:766:42: error: default argument cannot be both main actor-isolated and nonisolated
764 | /// UI tests separately interact with stateful examples such as the change observers and scrolling toggle.
765 | @MainActor
766 | internal static let tests: [TestCase] = [
| `- error: default argument cannot be both main actor-isolated and nonisolated
767 | TestCase("Backport withAnimation and completion criteria") { @MainActor in
768 | let result = Text("Animation test").backport.withAnimation(
[70/78] Compiling Compatibility RadialLayout.swift
[71/78] Compiling Compatibility Placard.swift
[72/78] Compiling Compatibility Triangle.swift
[73/78] Compiling Compatibility StringLikeProtocol.swift
[74/78] Compiling Compatibility SwiftUI.swift
[75/78] Compiling Compatibility TestUI.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-2F0A5646E1D333AE.txt
[2/68] Compiling Compatibility Backport.SafeArea.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[3/68] Compiling Compatibility Backport.Section.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[4/68] Compiling Compatibility Backport.Toolbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[5/68] Compiling Compatibility Backport.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[6/68] Compiling Compatibility Backport.task.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[7/68] Compiling Compatibility BackportHierarchicalShapeStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[8/68] Compiling Compatibility BytesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:53:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:55:12: warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
49 | let inset: Inset
50 | @State private var safe = EdgeInsets()
51 | var body: some View {
| `- note: add @available attribute to enclosing property
52 | VStack(alignment: alignment, spacing: spacing) {
53 | if edge == .top { inset.padding(.top, safe.top) }
54 | base
55 | if edge == .bottom { inset.padding(.bottom, safe.bottom) }
| |- warning: conformance of 'VerticalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
56 | }
57 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:71:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:73:12: warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
67 | let inset: Inset
68 | @State private var safe = EdgeInsets()
69 | var body: some View {
| `- note: add @available attribute to enclosing property
70 | HStack(alignment: alignment, spacing: spacing) {
71 | if edge == .leading { inset.padding(.leading, safe.leading) }
72 | base
73 | if edge == .trailing { inset.padding(.trailing, safe.trailing) }
| |- warning: conformance of 'HorizontalEdge' to 'RawRepresentable' is only available in macOS 12.0 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
74 | }
75 | .background(GeometryReader { geometry in Color.clear.preference(key: SafeAreaMeasurements.self, value: geometry.safeAreaInsets) })
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
[9/68] Compiling Compatibility Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[10/68] Compiling Compatibility Test.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[11/68] Compiling Compatibility UserDefaultsBacked.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[12/68] Compiling Compatibility Angle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[13/68] Compiling Compatibility Array.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[14/68] Compiling Compatibility BackportOutputFormatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[15/68] Compiling Compatibility CharacterSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
[16/74] Compiling Compatibility Compatibility.swift
[17/74] Compiling Compatibility Application.swift
[18/74] Compiling Compatibility Build.swift
[19/74] Compiling Compatibility Bundle.swift
[20/74] Compiling Compatibility CloudStatus.swift
[21/74] Compiling Compatibility CloudStorage.swift
[22/74] Compiling Compatibility CloudStorageSync.swift
[23/74] Compiling Compatibility DataStore.swift
[24/74] Compiling Compatibility Debug.swift
[25/74] Compiling Compatibility FileManager.swift
[26/74] Compiling Compatibility Graphics.swift
[27/74] Compiling Compatibility Module.swift
[28/74] Compiling Compatibility Network.swift
[29/74] Compiling Compatibility ObservableObject.swift
[30/74] Compiling Compatibility AdaptiveLayouts.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[31/74] Compiling Compatibility Backport.AsyncImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[32/74] Compiling Compatibility Backport.AttributedStringText.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[33/74] Compiling Compatibility Backport.DisclosureGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[34/74] Compiling Compatibility Backport.Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[35/74] Compiling Compatibility Backport.Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[36/74] Compiling Compatibility Backport.ProgressView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.DisclosureGroup.swift:62:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
51 | /// tvOS and watchOS lack native DisclosureGroup, so a button preserves toggle behavior.
52 | @ViewBuilder
53 | fileprivate var fallback: some View {
| `- note: add @available attribute to enclosing property
54 | VStack(alignment: .leading, spacing: 8) {
55 | Button {
:
60 | Backport.Image(systemName: isExpanded ? "chevron.down" : "chevron.right")
61 | .font(.caption.weight(.semibold))
62 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
63 | }
64 | .contentShape(Rectangle())
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.Menu.swift:288:18: error: 'accessibilityLabel' is only available in macOS 11.0 or newer
258 | }
259 |
260 | public var body: some View {
| `- note: add @available attribute to enclosing property
261 | Backport.Menu("Symbols", onOpen: {
262 | // Capture the pre-menu state here before SwiftUI presents native or legacy menu content.
:
286 | }
287 | }
288 | .accessibilityLabel(selection)
| |- error: 'accessibilityLabel' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
289 | .backport.accessibilityIdentifier("radial.symbol.\(selection)")
290 | }
[37/74] Compiling Compatibility Dictionary.swift
[38/74] Compiling Compatibility Double.swift
[39/74] Compiling Compatibility Enum.swift
[40/74] Compiling Compatibility Field.swift
[41/74] Compiling Compatibility Int.swift
[42/74] Compiling Compatibility Introspection.swift
[43/74] Compiling Compatibility LegacyEmoji.swift
[44/74] Compiling Compatibility Codable.swift
[45/74] Compiling Compatibility CodingFoundation.swift
[46/74] Compiling Compatibility CodingJSON.swift
[47/74] Compiling Compatibility CodingMixedTypes.swift
[48/74] Compiling Compatibility CodingParameters.swift
[49/74] Compiling Compatibility Date.swift
[50/74] Compiling Compatibility DateString.swift
[51/74] Compiling Compatibility ClearableTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[52/74] Compiling Compatibility Embossed.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[53/74] Compiling Compatibility EnvironmentsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[54/74] Compiling Compatibility FieldView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[55/74] Compiling Compatibility LegacyList.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[56/74] Compiling Compatibility OverlappingStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[57/74] Compiling Compatibility Pasteboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:32:11: error: 'environment' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
| |- error: 'environment' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
33 | }
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:69:8: error: 'help' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
67 | .opacity(enabled ? 1.0 : 0.2)
68 | .foregroundColor(enabled ? environment.color : .gray)
69 | .help("\(environment.label) environment: \(enabled ? "active" : "inactive") in this build")
| |- error: 'help' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
70 | // Scaling provides the visual handoff without matched-geometry sources,
71 | // which produced duplicate-source diagnostics in list rows.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:75:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
73 | .frame(width: 18 + 8 * progress, height: 18 + 8 * progress)
74 | .position(x: iconX, y: iconY)
75 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
76 |
77 | Text(environment.label)
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:89:8: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
44 | private let compactIconPitch: CGFloat = 24
45 |
46 | var body: some View {
| `- note: add @available attribute to enclosing property
47 | GeometryReader { geometry in
48 | let environments = Build.Environment.allCases
:
87 | .backport.accessibilityLabel((enabled ? "Is" : "Not") + " " + environment.label)
88 | .backport.accessibilityIdentifier("environment.\(environment.caseName)")
89 | .accessibilityHidden(progress < 0.5)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
90 | #if os(tvOS)
91 | .backport.focusable(true) // Keep expanded labels focusable for tvOS scrolling.
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:7: error: 'foregroundStyle' is only available in macOS 14.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:67:24: error: 'secondary' is only available in macOS 12.0 or newer
60 | }
61 |
62 | public var body: some View {
| `- note: add @available attribute to enclosing property
63 | if #available(iOS 14, macOS 11, tvOS 14, watchOS 7, *) {
64 | VStack(alignment: .leading, spacing: 0) {
65 | title
66 | .font(.headline)
67 | .foregroundStyle(.secondary)
| |- error: 'secondary' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
68 | .frame(maxWidth: .infinity, alignment: .leading)
69 | .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:117:5: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
116 | .frame(maxWidth: .infinity, minHeight: 40, alignment: .leading)
117 | .overlay(alignment: .bottom) {
| |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
| `- note: add 'if #available' version check
118 | Rectangle()
119 | .fill(Color.primary.opacity(0.12))
/Users/admin/builder/spi-builder-workspace/Sources/UI/LegacyList.swift:122:7: error: 'accessibilityHidden' is only available in macOS 11.0 or newer
111 | }
112 |
113 | public var body: some View {
| `- note: add @available attribute to enclosing property
114 | content
115 | .padding(.horizontal, 16)
:
120 | .frame(height: 0.5)
121 | .padding(.leading, 16)
122 | .accessibilityHidden(true)
| |- error: 'accessibilityHidden' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
[58/74] Compiling Compatibility OrderedDictionary.swift
[59/74] Compiling Compatibility OrderedSet.swift
[60/74] Compiling Compatibility String.swift
[61/74] Compiling Compatibility Symbols.swift
[62/74] Compiling Compatibility Threading.swift
[63/74] Compiling Compatibility URL.swift
[64/74] Compiling Compatibility Version.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/74] Emitting module Compatibility
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:42: error: 'DataStoreTestModel' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'DataStoreTestModel' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/Core/Test.swift:539:61: error: 'tests' is only available in macOS 12 or newer
494 | /// consume this property so a test is authored once and remains runnable in either environment.
495 | @MainActor
496 | static let namedTests: OrderedDictionary<String, [TestCase]> = {
| `- note: add @available attribute to enclosing static property
497 | var tests: OrderedDictionary = [
498 | "Expectation Tests": [
:
537 | tests["CloudStorageSync Tests"] = CloudStorageSync.tests
538 | tests["CloudStorage Tests"] = CloudStorageTests.tests
539 | tests["DataStore Model Tests"] = DataStoreTestModel.tests
| |- error: 'tests' is only available in macOS 12 or newer
| `- note: add 'if #available' version check
540 | tests["Backport Tests"] = Glass.tests + Backport<Any>.tests + Backport<Any>.disclosureGroupTests
541 | tests["Backport Button Style Tests"] = BackportButtonStyle.tests
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:10:36: error: 'VerticalEdge' is only available in macOS 12.0 or newer
8 | /// The fallback cannot alter ScrollView indicator insets or expose newer fold regions.
9 | @ViewBuilder
10 | func safeAreaInset<V: View>(edge: VerticalEdge, alignment: HorizontalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
11 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
12 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:19:36: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
17 | /// Horizontal counterpart; original SwiftUI continues to respect host safe areas.
18 | @ViewBuilder
19 | func safeAreaInset<V: View>(edge: HorizontalEdge, alignment: VerticalAlignment = .center, spacing: CGFloat? = nil, @ViewBuilder content inset: () -> V) -> some View {
| | `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
| `- note: add @available attribute to enclosing instance method
20 | if #available(iOS 15, macOS 12, tvOS 15, watchOS 8, *) {
21 | content.safeAreaInset(edge: edge, alignment: alignment, spacing: spacing, content: inset)
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:46:12: error: 'VerticalEdge' is only available in macOS 12.0 or newer
44 | private struct LegacyVerticalSafeAreaInset<Base: View, Inset: View>: View {
45 | let base: Base
46 | let edge: VerticalEdge
| `- error: 'VerticalEdge' is only available in macOS 12.0 or newer
47 | let alignment: HorizontalAlignment
48 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.SafeArea.swift:64:12: error: 'HorizontalEdge' is only available in macOS 12.0 or newer
62 | private struct LegacyHorizontalSafeAreaInset<Base: View, Inset: View>: View {
63 | let base: Base
64 | let edge: HorizontalEdge
| `- error: 'HorizontalEdge' is only available in macOS 12.0 or newer
65 | let alignment: VerticalAlignment
66 | let spacing: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:50:18: error: 'Scene' is only available in macOS 11.0 or newer
48 |
49 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
50 | public extension Scene {
| `- error: 'Scene' is only available in macOS 11.0 or newer
51 | @MainActor var backport: Backport<Self> { Backport(self) }
52 | }
/Users/admin/builder/spi-builder-workspace/Sources/UI/Backport.swift:54:42: error: 'Scene' is only available in macOS 11.0 or newer
52 | }
53 |
54 | public extension Backport where Content: Scene {
| | `- error: 'Scene' is only available in macOS 11.0 or newer
| `- note: add @available attribute to enclosing extension
55 | #if os(macOS)
56 | /// Sets the initial scene size on macOS 13 and later.
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:15:19: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
13 | }
14 |
15 | private extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
16 | var environmentExpansionProgress: CGFloat {
17 | get { self[EnvironmentExpansionProgressKey.self] }
/Users/admin/builder/spi-builder-workspace/Sources/UI/EnvironmentsView.swift:31:38: error: 'View' is only available in macOS 10.15 or newer
21 |
22 | /// Supplies the interpolated animation value to layout as well as to visual effects.
23 | private struct EnvironmentExpansionProgressModifier: AnimatableModifier {
| `- note: add @available attribute to enclosing struct
24 | var progress: CGFloat
25 |
:
29 | }
30 |
31 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
32 | content.environment(\.environmentExpansionProgress, progress)
33 | }
[66/74] Compiling Compatibility RadialLayout.swift
[67/74] Compiling Compatibility Placard.swift
[68/74] Compiling Compatibility Triangle.swift
[69/74] Compiling Compatibility StringLikeProtocol.swift
[70/74] Compiling Compatibility SwiftUI.swift
[71/74] Compiling Compatibility TestUI.swift
BUILD FAILURE 6.1 macosSpm