Build Information
Failed to build Compatibility, reference v1.21.3 (31255b), with Swift 6.2 for macOS (SPM) on 30 Oct 2026 13:46:09 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kudit/Compatibility.git
Reference: v1.21.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kudit/Compatibility
* tag v1.21.3 -> FETCH_HEAD
HEAD is now at 31255b1 v1.21.3
Cloned https://github.com/kudit/Compatibility.git
Revision (git rev-parse @):
31255b1efb78fd2a68fc76dcc3ed55cada2fb5d3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/kudit/Compatibility.git at v1.21.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kudit/Compatibility.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[2/8] Write compatibilityCLI-entitlement.plist
[4/8] Write swift-version--3CB7CFEC50E0D141.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/72] 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 | }
[7/78] 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 | }
[8/78] 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 | }
[9/78] 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 | }
[10/78] 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 | }
[11/78] 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 | }
[12/78] 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 | }
[13/78] 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 | }
[14/78] Compiling Compatibility Compatibility.swift
[15/78] Compiling Compatibility Application.swift
[16/78] Compiling Compatibility Build.swift
[17/78] Compiling Compatibility Bundle.swift
[18/78] Compiling Compatibility CloudStatus.swift
[19/78] Compiling Compatibility CloudStorage.swift
[20/78] Compiling Compatibility CloudStorageSync.swift
[21/78] Compiling Compatibility Dictionary.swift
[22/78] Compiling Compatibility Double.swift
[23/78] Compiling Compatibility Enum.swift
[24/78] Compiling Compatibility Field.swift
[25/78] Compiling Compatibility Int.swift
[26/78] Compiling Compatibility Introspection.swift
[27/78] Compiling Compatibility LegacyEmoji.swift
[28/78] Compiling Compatibility DataStore.swift
[29/78] Compiling Compatibility Debug.swift
[30/78] Compiling Compatibility FileManager.swift
[31/78] Compiling Compatibility Graphics.swift
[32/78] Compiling Compatibility Module.swift
[33/78] Compiling Compatibility Network.swift
[34/78] Compiling Compatibility ObservableObject.swift
[35/78] Compiling Compatibility OrderedDictionary.swift
[36/78] Compiling Compatibility OrderedSet.swift
[37/78] Compiling Compatibility String.swift
[38/78] Compiling Compatibility Symbols.swift
[39/78] Compiling Compatibility Threading.swift
[40/78] Compiling Compatibility URL.swift
[41/78] Compiling Compatibility Version.swift
[42/78] 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
[43/78] 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
[44/78] 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
[45/78] 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
[46/78] 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
[47/78] 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
[48/78] 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
[49/78] Compiling Compatibility RadialLayout.swift
[50/78] Compiling Compatibility Placard.swift
[51/78] Compiling Compatibility Triangle.swift
[52/78] Compiling Compatibility StringLikeProtocol.swift
[53/78] Compiling Compatibility SwiftUI.swift
[54/78] Compiling Compatibility TestUI.swift
[55/78] Compiling Compatibility Codable.swift
[56/78] Compiling Compatibility CodingFoundation.swift
[57/78] Compiling Compatibility CodingJSON.swift
[58/78] Compiling Compatibility CodingMixedTypes.swift
[59/78] Compiling Compatibility CodingParameters.swift
[60/78] Compiling Compatibility Date.swift
[61/78] Compiling Compatibility DateString.swift
[62/78] 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 | }
[63/78] 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 | }
[64/78] 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 | }
[65/78] 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 | }
[66/78] 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 | }
[67/78] 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 | }
[68/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 | }
[69/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: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.
[70/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: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.
[71/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: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.
[72/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: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.
[73/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: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.
[74/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: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.
[75/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: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.
BUILD FAILURE 6.2 macosSpm