This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TVDatePicker with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

    |                       |                               `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
156 |         VStack(alignment: .leading, content: content)
157 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:155:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
156 |         VStack(alignment: .leading, content: content)
157 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:41: error: 'View' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:226:34: error: 'View' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          |                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:95:24: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 93 |                     isSheetPresented = false
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
    |                        `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:80:9: error: 'Button' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 81 |             isSheetPresented = true
 82 |         } label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:81:13: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    |             |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 82 |         } label: {
 83 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:83:13: error: 'HStack' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
 82 |         } label: {
 83 |             HStack {
    |             |- error: 'HStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 84 |                 label()
 85 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:85:17: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 83 |             HStack {
 84 |                 label()
 85 |                 Spacer()
    |                 |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 86 |                 Text(dateFormatter.string(from: selection))
 87 |                 Image(systemName: "chevron.right")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:85:17: error: 'Spacer' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 83 |             HStack {
 84 |                 label()
 85 |                 Spacer()
    |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 86 |                 Text(dateFormatter.string(from: selection))
 87 |                 Image(systemName: "chevron.right")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:86:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 84 |                 label()
 85 |                 Spacer()
 86 |                 Text(dateFormatter.string(from: selection))
    |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 87 |                 Image(systemName: "chevron.right")
 88 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:86:17: error: 'Text' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 84 |                 label()
 85 |                 Spacer()
 86 |                 Text(dateFormatter.string(from: selection))
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 87 |                 Image(systemName: "chevron.right")
 88 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:87:17: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 85 |                 Spacer()
 86 |                 Text(dateFormatter.string(from: selection))
 87 |                 Image(systemName: "chevron.right")
    |                 |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
 88 |             }
 89 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:87:17: error: 'Image' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 85 |                 Spacer()
 86 |                 Text(dateFormatter.string(from: selection))
 87 |                 Image(systemName: "chevron.right")
    |                 |- error: 'Image' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 88 |             }
 89 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:87:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 85 |                 Spacer()
 86 |                 Text(dateFormatter.string(from: selection))
 87 |                 Image(systemName: "chevron.right")
    |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
 88 |             }
 89 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:83:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
 82 |         } label: {
 83 |             HStack {
    |                    |- warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 84 |                 label()
 85 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:83:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
 82 |         } label: {
 83 |             HStack {
    |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 84 |                 label()
 85 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:83:20: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
 82 |         } label: {
 83 |             HStack {
    |                    |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 84 |                 label()
 85 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:90:10: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 88 |             }
 89 |         }
 90 |         .background(
    |          |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 91 |             EmptyView()
 92 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:91:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 89 |         }
 90 |         .background(
 91 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 92 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 93 |                     isSheetPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:92:18: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 90 |         .background(
 91 |             EmptyView()
 92 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
    |                  |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 93 |                     isSheetPresented = false
 94 |                 }) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:93:21: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 91 |             EmptyView()
 92 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 93 |                     isSheetPresented = false
    |                     |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:96:25: error: 'NavigationView' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
 96 |                         NavigationView(content: navigationViewContent)
    |                         |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 98 |                     } else if #available(tvOS 14, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:95:49: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 93 |                     isSheetPresented = false
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                                 `- note: add 'if #available' version check
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:95:49: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 93 |                     isSheetPresented = false
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:95:49: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 93 |                     isSheetPresented = false
 94 |                 }) {
 95 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:98:54: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 98 |                     } else if #available(tvOS 14, *) {
    |                                                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 99 |                         VStack {
100 |                             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:98:54: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 96 |                         NavigationView(content: navigationViewContent)
 97 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 98 |                     } else if #available(tvOS 14, *) {
    |                                                      |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 99 |                         VStack {
100 |                             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:111:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
109 |                             Spacer()
110 |                         }
111 |                     } else {
    |                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
112 |                         NavigationView(content: navigationViewContent)
113 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:94:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 11 | @available(iOS, unavailable)
 12 | /// A `SwiftUI` date picker view, especially for tvOS.
 13 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 14 |     // MARK: - Private
 15 |
    :
 77 |     }
 78 |
 79 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 80 |         Button {
 81 |             isSheetPresented = true
    :
 92 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 93 |                     isSheetPresented = false
 94 |                 }) {
    |                    |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
 95 |                     if #available(tvOS 14.2, *) {
 96 |                         NavigationView(content: navigationViewContent)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:23:23: warning: static property 'dateTimeFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 |     /// A date time formatter which uses the `short` date style and `short` time style.
23 |     public static var dateTimeFormatter: DateFormatter = {
   |                       |- warning: static property 'dateTimeFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'dateTimeFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'dateTimeFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |         let dateFormatter = DateFormatter()
25 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:156:9: error: 'VStack' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
156 |         VStack(alignment: .leading, content: content)
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
157 |             .onAppear(perform: onAppear)
158 |             .navigationTitle(title: .init(titleKey))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:156:28: error: 'leading' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
156 |         VStack(alignment: .leading, content: content)
    |                            |- error: 'leading' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
157 |             .onAppear(perform: onAppear)
158 |             .navigationTitle(title: .init(titleKey))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:157:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
156 |         VStack(alignment: .leading, content: content)
157 |             .onAppear(perform: onAppear)
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
158 |             .navigationTitle(title: .init(titleKey))
159 |             .toolbar(trailing: dismissButton())
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:158:38: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
156 |         VStack(alignment: .leading, content: content)
157 |             .onAppear(perform: onAppear)
158 |             .navigationTitle(title: .init(titleKey))
    |                                      |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
159 |             .toolbar(trailing: dismissButton())
160 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:163:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
164 |
165 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:163:9: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
164 |
165 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:163:53: error: 'font' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |                                                     |- error: 'font' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
164 |
165 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:163:59: error: 'headline' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |                                                           |- error: 'headline' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
164 |
165 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:165:9: error: 'Divider' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
165 |         Divider()
    |         |- error: 'Divider' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
166 |
167 |         Text("mm/dd/yy")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:167:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
165 |         Divider()
166 |
167 |         Text("mm/dd/yy")
    |         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
168 |             .foregroundColor(.secondary)
169 |             .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:167:9: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
165 |         Divider()
166 |
167 |         Text("mm/dd/yy")
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
168 |             .foregroundColor(.secondary)
169 |             .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:168:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
166 |
167 |         Text("mm/dd/yy")
168 |             .foregroundColor(.secondary)
    |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
169 |             .font(.subheadline)
170 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:168:31: error: 'secondary' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
166 |
167 |         Text("mm/dd/yy")
168 |             .foregroundColor(.secondary)
    |                               |- error: 'secondary' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
169 |             .font(.subheadline)
170 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:169:14: error: 'font' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
167 |         Text("mm/dd/yy")
168 |             .foregroundColor(.secondary)
169 |             .font(.subheadline)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
170 |
171 |         if displayedComponents.contains(.year) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:169:20: error: 'subheadline' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
167 |         Text("mm/dd/yy")
168 |             .foregroundColor(.secondary)
169 |             .font(.subheadline)
    |                    |- error: 'subheadline' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
170 |
171 |         if displayedComponents.contains(.year) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:172:13: error: 'Picker' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
170 |
171 |         if displayedComponents.contains(.year) {
172 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
    |             |- error: 'Picker' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:172:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
170 |
171 |         if displayedComponents.contains(.year) {
172 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
    |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:172:77: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
170 |
171 |         if displayedComponents.contains(.year) {
172 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
    |                                                                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                                                                             `- note: add 'if #available' version check
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:175:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
175 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
176 |                     Text(String(year))
177 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:175:17: error: 'ForEach' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
175 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
176 |                     Text(String(year))
177 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:175:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
175 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
176 |                     Text(String(year))
177 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:176:21: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
175 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
176 |                     Text(String(year))
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
177 |                     .tag(year)
178 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:177:22: error: 'tag' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
175 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
176 |                     Text(String(year))
177 |                     .tag(year)
    |                      |- error: 'tag' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
178 |                 }
179 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:172:91: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
170 |
171 |         if displayedComponents.contains(.year) {
172 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
    |                                                                                           |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                           `- note: add 'if #available' version check
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
174 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:180:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
178 |                 }
179 |             }
180 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
181 |         }
182 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:171:48: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
169 |             .font(.subheadline)
170 |
171 |         if displayedComponents.contains(.year) {
    |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
172 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
173 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:181:9: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
179 |             }
180 |             .pickerStyle(pickerStyle)
181 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
182 |
183 |         if displayedComponents.contains(.month) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:184:13: error: 'Picker' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
182 |
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
    |             |- error: 'Picker' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:184:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
182 |
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
    |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:184:79: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
182 |
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
    |                                                                               |- error: 'Text' is only available in macOS 10.15 or newer
    |                                                                               `- note: add 'if #available' version check
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:185:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
185 |                 ForEach(months, id: \.self) { month in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
187 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:185:17: error: 'ForEach' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
185 |                 ForEach(months, id: \.self) { month in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
187 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:185:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
185 |                 ForEach(months, id: \.self) { month in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
187 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:186:21: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
187 |                     .tag(month)
188 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:187:22: error: 'tag' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
187 |                     .tag(month)
    |                      |- error: 'tag' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
188 |                 }
189 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:184:94: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
182 |
183 |         if displayedComponents.contains(.month) {
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
    |                                                                                              |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                              `- note: add 'if #available' version check
185 |                 ForEach(months, id: \.self) { month in
186 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:190:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
188 |                 }
189 |             }
190 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
191 |         }
192 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:183:49: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
181 |         }
182 |
183 |         if displayedComponents.contains(.month) {
    |                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
184 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
185 |                 ForEach(months, id: \.self) { month in
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:191:9: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
189 |             }
190 |             .pickerStyle(pickerStyle)
191 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
192 |
193 |         if displayedComponents.contains(.date) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:194:13: error: 'Picker' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
192 |
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
    |             |- error: 'Picker' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:194:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
192 |
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
    |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:194:75: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
192 |
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
    |                                                                           |- error: 'Text' is only available in macOS 10.15 or newer
    |                                                                           `- note: add 'if #available' version check
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:195:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
196 |                     Text("\(day)")
197 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:195:17: error: 'ForEach' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
196 |                     Text("\(day)")
197 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:195:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
196 |                     Text("\(day)")
197 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:196:21: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
197 |                     .tag(day)
198 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:197:22: error: 'tag' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
197 |                     .tag(day)
    |                      |- error: 'tag' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
198 |                 }
199 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:194:88: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
192 |
193 |         if displayedComponents.contains(.date) {
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
    |                                                                                        |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                        `- note: add 'if #available' version check
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
196 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:200:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
198 |                 }
199 |             }
200 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
201 |         }
202 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:193:48: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
191 |         }
192 |
193 |         if displayedComponents.contains(.date) {
    |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
194 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
195 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:201:9: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
199 |             }
200 |             .pickerStyle(pickerStyle)
201 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
202 |
203 |         if displayedComponents.contains(.hourAndMinute) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:204:13: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
202 |
203 |         if displayedComponents.contains(.hourAndMinute) {
204 |             Text("HH:mm")
    |             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
205 |                 .foregroundColor(.secondary)
206 |                 .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:204:13: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
202 |
203 |         if displayedComponents.contains(.hourAndMinute) {
204 |             Text("HH:mm")
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
205 |                 .foregroundColor(.secondary)
206 |                 .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:205:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
203 |         if displayedComponents.contains(.hourAndMinute) {
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
206 |                 .font(.subheadline)
207 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:205:35: error: 'secondary' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
203 |         if displayedComponents.contains(.hourAndMinute) {
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
    |                                   |- error: 'secondary' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
206 |                 .font(.subheadline)
207 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206:18: error: 'font' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
206 |                 .font(.subheadline)
    |                  |- error: 'font' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206:24: error: 'subheadline' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
206 |                 .font(.subheadline)
    |                        |- error: 'subheadline' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:208:13: error: 'Picker' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
206 |                 .font(.subheadline)
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
    |             |- error: 'Picker' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:208:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
206 |                 .font(.subheadline)
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
    |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:208:77: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
206 |                 .font(.subheadline)
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
    |                                                                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                                                                             `- note: add 'if #available' version check
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:209:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
209 |                 ForEach(hours, id: \.self) { hour in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
210 |                     Text("\(hour)")
211 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:209:17: error: 'ForEach' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
209 |                 ForEach(hours, id: \.self) { hour in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
210 |                     Text("\(hour)")
211 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:209:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
209 |                 ForEach(hours, id: \.self) { hour in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
210 |                     Text("\(hour)")
211 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:210:21: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
211 |                     .tag(hour)
212 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:211:22: error: 'tag' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
211 |                     .tag(hour)
    |                      |- error: 'tag' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
212 |                 }
213 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:208:91: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
206 |                 .font(.subheadline)
207 |
208 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
    |                                                                                           |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                           `- note: add 'if #available' version check
209 |                 ForEach(hours, id: \.self) { hour in
210 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:214:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
212 |                 }
213 |             }
214 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:216:13: error: 'Picker' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
214 |             .pickerStyle(pickerStyle)
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
    |             |- error: 'Picker' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:216:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
214 |             .pickerStyle(pickerStyle)
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
    |             |- error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:216:81: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
214 |             .pickerStyle(pickerStyle)
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
    |                                                                                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                                                                                 `- note: add 'if #available' version check
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:217:17: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
217 |                 ForEach(Array(minutes), id: \.self) { minute in
    |                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                 `- note: add 'if #available' version check
218 |                     Text("\(minute)")
219 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:217:17: error: 'ForEach' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
217 |                 ForEach(Array(minutes), id: \.self) { minute in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
218 |                     Text("\(minute)")
219 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:217:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
217 |                 ForEach(Array(minutes), id: \.self) { minute in
    |                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
218 |                     Text("\(minute)")
219 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:218:21: error: 'Text' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
219 |                     .tag(minute)
220 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:219:22: error: 'tag' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
219 |                     .tag(minute)
    |                      |- error: 'tag' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
220 |                 }
221 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:216:97: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
214 |             .pickerStyle(pickerStyle)
215 |
216 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
    |                                                                                                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                                                                 `- note: add 'if #available' version check
217 |                 ForEach(Array(minutes), id: \.self) { minute in
218 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:222:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
220 |                 }
221 |             }
222 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
223 |         }
224 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:203:57: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
201 |         }
202 |
203 |         if displayedComponents.contains(.hourAndMinute) {
    |                                                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:203:57: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
201 |         }
202 |
203 |         if displayedComponents.contains(.hourAndMinute) {
    |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
204 |             Text("HH:mm")
205 |                 .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:223:9: error: 'buildIf' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
    :
221 |             }
222 |             .pickerStyle(pickerStyle)
223 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
224 |     }
225 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:162:46: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
160 |     }
161 |
162 |     @ViewBuilder func content() -> some View {
    |                       |                      |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                       |                      `- note: add 'if #available' version check
    |                       `- note: add @available attribute to enclosing instance method
163 |         Text(dateFormatter.string(from: selection)).font(.headline)
164 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:227:9: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
    |         |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
228 |             isSheetPresented = false
229 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:227:9: error: 'Button' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
228 |             isSheetPresented = false
229 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:227:9: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
    |         |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |         `- note: add 'if #available' version check
228 |             isSheetPresented = false
229 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:228:13: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
    |             |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
229 |         }, label: {
230 |             Image(systemName: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:230:13: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
229 |         }, label: {
230 |             Image(systemName: "xmark")
    |             |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |             `- note: add 'if #available' version check
231 |         })
232 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:230:13: error: 'Image' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
229 |         }, label: {
230 |             Image(systemName: "xmark")
    |             |- error: 'Image' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
231 |         })
232 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:230:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
229 |         }, label: {
230 |             Image(systemName: "xmark")
    |             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
231 |         })
232 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:229:19: warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
224 |     }
225 |
226 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
227 |         Button(action: {
228 |             isSheetPresented = false
229 |         }, label: {
    |                   |- warning: conformance of 'Image' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                   `- note: add 'if #available' version check
230 |             Image(systemName: "xmark")
231 |         })
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:299:9: error: setter for 'selectedYear' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
296 |     }
297 |
298 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
299 |         selectedYear = calendar.component(.year, from: selection)
    |         |- error: setter for 'selectedYear' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
300 |         selectedMonth = calendar.component(.month, from: selection)
301 |         selectedDay = calendar.component(.day, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:300:9: error: setter for 'selectedMonth' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
296 |     }
297 |
298 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
299 |         selectedYear = calendar.component(.year, from: selection)
300 |         selectedMonth = calendar.component(.month, from: selection)
    |         |- error: setter for 'selectedMonth' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
301 |         selectedDay = calendar.component(.day, from: selection)
302 |         selectedHour = calendar.component(.hour, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:301:9: error: setter for 'selectedDay' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
296 |     }
297 |
298 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
299 |         selectedYear = calendar.component(.year, from: selection)
300 |         selectedMonth = calendar.component(.month, from: selection)
301 |         selectedDay = calendar.component(.day, from: selection)
    |         |- error: setter for 'selectedDay' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
302 |         selectedHour = calendar.component(.hour, from: selection)
303 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:302:9: error: setter for 'selectedHour' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
296 |     }
297 |
298 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
299 |         selectedYear = calendar.component(.year, from: selection)
300 |         selectedMonth = calendar.component(.month, from: selection)
301 |         selectedDay = calendar.component(.day, from: selection)
302 |         selectedHour = calendar.component(.hour, from: selection)
    |         |- error: setter for 'selectedHour' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
303 |
304 |         let currentMinute = calendar.component(.minute, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:305:9: error: setter for 'selectedMinute' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
296 |     }
297 |
298 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
299 |         selectedYear = calendar.component(.year, from: selection)
300 |         selectedMonth = calendar.component(.month, from: selection)
    :
303 |
304 |         let currentMinute = calendar.component(.minute, from: selection)
305 |         selectedMinute = currentMinute - (currentMinute % 5)
    |         |- error: setter for 'selectedMinute' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
306 |     }
307 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:322:13: error: setter for 'selection' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
306 |     }
307 |
308 |     func updateDate(with dateComponents: DateComponents) {
    |          `- note: add @available attribute to enclosing instance method
309 |         if !dateComponents.isValidDate(in: calendar) {
310 |             let updatedDate: Date
    :
320 |             }
321 |
322 |             self.selection = updatedDate
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
323 |             updateSelectedDateComponents(from: updatedDate)
324 |         } else if let selection = calendar.date(from: dateComponents) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:325:13: error: setter for 'selection' is only available in macOS 10.15 or newer
152 |
153 | @available(iOS, unavailable)
154 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
155 |     @ViewBuilder func navigationViewContent() -> some View {
156 |         VStack(alignment: .leading, content: content)
    :
306 |     }
307 |
308 |     func updateDate(with dateComponents: DateComponents) {
    |          `- note: add @available attribute to enclosing instance method
309 |         if !dateComponents.isValidDate(in: calendar) {
310 |             let updatedDate: Date
    :
323 |             updateSelectedDateComponents(from: updatedDate)
324 |         } else if let selection = calendar.date(from: dateComponents) {
325 |             self.selection = selection
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
326 |         }
327 |     }
[6/8] Compiling TVDatePicker View+navigationTitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:46: error: 'Text' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       |                      `- error: 'Text' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:60: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       |                                    `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
13 |         if #available(tvOS 14, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:13:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
11 | extension View {
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
13 |         if #available(tvOS 14, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
14 |             self.navigationTitle(title)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:14:18: error: 'navigationTitle' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
   |                  |- error: 'navigationTitle' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
15 |         } else {
16 |             self.navigationBarTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:13:35: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                   `- note: add 'if #available' version check
14 |             self.navigationTitle(title)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:13:35: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
14 |             self.navigationTitle(title)
15 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:16:18: error: 'navigationBarTitle' is unavailable in macOS
14 |             self.navigationTitle(title)
15 |         } else {
16 |             self.navigationBarTitle(title)
   |                  `- error: 'navigationBarTitle' is unavailable in macOS
17 |         }
18 |     }
SwiftUI.View:15:17: note: 'navigationBarTitle' has been explicitly marked unavailable here
13 |     @available(watchOS, introduced: 6.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
14 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
15 |     public func navigationBarTitle(_ title: Text) -> some View
   |                 `- note: 'navigationBarTitle' has been explicitly marked unavailable here
16 |
17 |     @available(iOS, introduced: 13.0, deprecated: 100000.0, renamed: "navigationTitle(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:15:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
15 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
16 |             self.navigationBarTitle(title)
17 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:65: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       |                                         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                       |                                         `- note: add 'if #available' version check
   |                       `- note: add @available attribute to enclosing instance method
13 |         if #available(tvOS 14, *) {
14 |             self.navigationTitle(title)
[7/8] Compiling TVDatePicker View+toolbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:12:27: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
   |          |                `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |         toolbar(leading: leading, trailing: EmptyView())
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:12:59: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
   |          |                                                `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |         toolbar(leading: leading, trailing: EmptyView())
14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:16:28: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
14 |     }
15 |
16 |     func toolbar<Trailing: View>(trailing: Trailing) -> some View {
   |          |                 `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |         toolbar(leading: EmptyView(), trailing: trailing)
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:16:62: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
14 |     }
15 |
16 |     func toolbar<Trailing: View>(trailing: Trailing) -> some View {
   |          |                                                   `- error: 'View' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
17 |         toolbar(leading: EmptyView(), trailing: trailing)
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:20:40: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       |                `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:20:56: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       |                                `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:20:108: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       |                                                                                    `- error: 'View' is only available in macOS 10.15 or newer
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:20:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |      |                `- note: add @available attribute to enclosing instance method
   |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:11:11: error: 'View' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:13:45: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
   |          `- note: add @available attribute to enclosing instance method
13 |         toolbar(leading: leading, trailing: EmptyView())
   |                                             |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
14 |     }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:17:26: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
14 |     }
15 |
16 |     func toolbar<Trailing: View>(trailing: Trailing) -> some View {
   |          `- note: add @available attribute to enclosing instance method
17 |         toolbar(leading: EmptyView(), trailing: trailing)
   |                          |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
18 |     }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:21:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
21 |         if #available(tvOS 14, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:22:37: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   |                                     |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:22:77: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   |                                                                             |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                                                             `- note: add 'if #available' version check
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:23:22: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
   |                      |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
24 |                     ToolbarItem(placement: .navigationBarLeading) {
25 |                         leading
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:24:21: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                     |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
25 |                         leading
26 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:24:21: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                     |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
25 |                         leading
26 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:24:45: error: 'navigationBarLeading' is unavailable in macOS
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                                             `- error: 'navigationBarLeading' is unavailable in macOS
25 |                         leading
26 |                     }
SwiftUI.ToolbarItemPlacement:44:23: note: 'navigationBarLeading' has been explicitly marked unavailable here
42 |     @available(watchOS, unavailable)
43 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarLeading instead")
44 |     public static let navigationBarLeading: ToolbarItemPlacement
   |                       `- note: 'navigationBarLeading' has been explicitly marked unavailable here
45 |     @available(iOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead")
46 |     @available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:27:21: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
25 |                         leading
26 |                     }
27 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                     |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
28 |                         trailing
29 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:27:21: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
25 |                         leading
26 |                     }
27 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                     |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
28 |                         trailing
29 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:27:45: error: 'navigationBarTrailing' is unavailable in macOS
25 |                         leading
26 |                     }
27 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                                             `- error: 'navigationBarTrailing' is unavailable in macOS
28 |                         trailing
29 |                     }
SwiftUI.ToolbarItemPlacement:50:23: note: 'navigationBarTrailing' has been explicitly marked unavailable here
48 |     @available(watchOS, unavailable)
49 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
50 |     public static let navigationBarTrailing: ToolbarItemPlacement
   |                       `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
51 |     @available(watchOS 10.0, *)
52 |     @available(macOS, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:23:30: error: 'buildBlock' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
   |                              |- error: 'buildBlock' is only available in macOS 11.0 or newer
   |                              `- note: add 'if #available' version check
24 |                     ToolbarItem(placement: .navigationBarLeading) {
25 |                         leading
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:22:92: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   |                                                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                                            `- note: add 'if #available' version check
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:22:92: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   |                                                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                                                            `- note: add 'if #available' version check
23 |                 self.toolbar {
24 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:31:44: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
29 |                     }
30 |                 }
31 |             } else if type(of: leading) != EmptyView.self {
   |                                            |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:32:22: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
30 |                 }
31 |             } else if type(of: leading) != EmptyView.self {
32 |                 self.toolbar {
   |                      |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
33 |                     ToolbarItem(placement: .navigationBarLeading) {
34 |                         leading
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:33:21: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
31 |             } else if type(of: leading) != EmptyView.self {
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                     |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
34 |                         leading
35 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:33:21: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
31 |             } else if type(of: leading) != EmptyView.self {
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                     |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
34 |                         leading
35 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:33:45: error: 'navigationBarLeading' is unavailable in macOS
31 |             } else if type(of: leading) != EmptyView.self {
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
   |                                             `- error: 'navigationBarLeading' is unavailable in macOS
34 |                         leading
35 |                     }
SwiftUI.ToolbarItemPlacement:44:23: note: 'navigationBarLeading' has been explicitly marked unavailable here
42 |     @available(watchOS, unavailable)
43 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarLeading instead")
44 |     public static let navigationBarLeading: ToolbarItemPlacement
   |                       `- note: 'navigationBarLeading' has been explicitly marked unavailable here
45 |     @available(iOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead")
46 |     @available(tvOS, introduced: 14.0, deprecated: 100000.0, message: "use topBarTrailing instead")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:31:59: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
29 |                     }
30 |                 }
31 |             } else if type(of: leading) != EmptyView.self {
   |                                                           |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:31:59: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
29 |                     }
30 |                 }
31 |             } else if type(of: leading) != EmptyView.self {
   |                                                           |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                           `- note: add 'if #available' version check
32 |                 self.toolbar {
33 |                     ToolbarItem(placement: .navigationBarLeading) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:37:45: error: 'EmptyView' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
35 |                     }
36 |                 }
37 |             } else if type(of: trailing) != EmptyView.self {
   |                                             |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:38:22: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
36 |                 }
37 |             } else if type(of: trailing) != EmptyView.self {
38 |                 self.toolbar {
   |                      |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
   |                      `- note: add 'if #available' version check
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
40 |                         trailing
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:39:21: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
37 |             } else if type(of: trailing) != EmptyView.self {
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                     |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
40 |                         trailing
41 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:39:21: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
37 |             } else if type(of: trailing) != EmptyView.self {
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                     |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
   |                     `- note: add 'if #available' version check
40 |                         trailing
41 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:39:45: error: 'navigationBarTrailing' is unavailable in macOS
37 |             } else if type(of: trailing) != EmptyView.self {
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
   |                                             `- error: 'navigationBarTrailing' is unavailable in macOS
40 |                         trailing
41 |                     }
SwiftUI.ToolbarItemPlacement:50:23: note: 'navigationBarTrailing' has been explicitly marked unavailable here
48 |     @available(watchOS, unavailable)
49 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "use topBarTrailing instead")
50 |     public static let navigationBarTrailing: ToolbarItemPlacement
   |                       `- note: 'navigationBarTrailing' has been explicitly marked unavailable here
51 |     @available(watchOS 10.0, *)
52 |     @available(macOS, unavailable)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:37:60: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
35 |                     }
36 |                 }
37 |             } else if type(of: trailing) != EmptyView.self {
   |                                                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:37:60: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
35 |                     }
36 |                 }
37 |             } else if type(of: trailing) != EmptyView.self {
   |                                                            |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                                            `- note: add 'if #available' version check
38 |                 self.toolbar {
39 |                     ToolbarItem(placement: .navigationBarTrailing) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:43:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
41 |                     }
42 |                 }
43 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
44 |                 self
45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:43:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
41 |                     }
42 |                 }
43 |             } else {
   |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                    `- note: add 'if #available' version check
44 |                 self
45 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:21:35: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                   `- note: add 'if #available' version check
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:21:35: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
   |                                   |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                   `- note: add 'if #available' version check
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:21:35: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
23 |                 self.toolbar {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:47:18: error: 'navigationBarItems(leading:trailing:)' is unavailable in macOS
45 |             }
46 |         } else {
47 |             self.navigationBarItems(leading: leading, trailing: trailing)
   |                  `- error: 'navigationBarItems(leading:trailing:)' is unavailable in macOS
48 |         }
49 |     }
SwiftUI.View:7:17: note: 'navigationBarItems(leading:trailing:)' has been explicitly marked unavailable here
 5 |     @available(watchOS, unavailable)
 6 |     @available(visionOS, introduced: 1.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement")
 7 |     public func navigationBarItems<L, T>(leading: L, trailing: T) -> some View where L : View, T : View
   |                 `- note: 'navigationBarItems(leading:trailing:)' has been explicitly marked unavailable here
 8 |
 9 |     @available(iOS, introduced: 13.0, deprecated: 100000.0, message: "Use toolbar(_:) with navigationBarLeading or navigationBarTrailing placement")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:46:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
   :
44 |                 self
45 |             }
46 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
47 |             self.navigationBarItems(leading: leading, trailing: trailing)
48 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:20:113: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 9 |
10 | @available(iOS, unavailable)
11 | extension View {
   | `- note: add @available attribute to enclosing extension
12 |     func toolbar<Leading: View>(leading: Leading) -> some View {
13 |         toolbar(leading: leading, trailing: EmptyView())
   :
18 |     }
19 |
20 |     @ViewBuilder func toolbar<Leading: View, Trailing: View>(leading: Leading, trailing: Trailing) -> some View {
   |                       |                                                                                         |- warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                       |                                                                                         `- note: add 'if #available' version check
   |                       `- note: add @available attribute to enclosing instance method
21 |         if #available(tvOS 14, *) {
22 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
[8/8] Compiling TVDatePicker Binding+onChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:12:60: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension Binding {
   | `- note: add @available attribute to enclosing extension
12 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
   |          |                                                 `- error: 'Binding' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
13 |         Binding(
14 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:11:11: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension Binding {
   | |         `- error: 'Binding' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
12 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
13 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:13:9: error: 'Binding' is only available in macOS 10.15 or newer
 9 |
10 | @available(iOS, unavailable)
11 | extension Binding {
   | `- note: add @available attribute to enclosing extension
12 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
   |          `- note: add @available attribute to enclosing instance method
13 |         Binding(
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
14 |             get: { wrappedValue },
15 |             set: { selection in
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.