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, reference 0.1.0 (db88e7), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:28:10 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/8] Compiling TVDatePicker View+navigationTitle.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:46: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:60: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
12 |         if #available(tvOS 14, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:12: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
10 | extension View {
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
12 |         if #available(tvOS 14, *) {
   |            `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
13 |             self.navigationTitle(title)
14 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:13:18: error: 'navigationTitle' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
   |                  |- error: 'navigationTitle' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
14 |         } else {
15 |             self.navigationBarTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:35: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
12 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
   |                                   `- note: add 'if #available' version check
13 |             self.navigationTitle(title)
14 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:12:35: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
12 |         if #available(tvOS 14, *) {
   |                                   |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
   |                                   `- note: add 'if #available' version check
13 |             self.navigationTitle(title)
14 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:15:18: error: 'navigationBarTitle' is unavailable in macOS
13 |             self.navigationTitle(title)
14 |         } else {
15 |             self.navigationBarTitle(title)
   |                  `- error: 'navigationBarTitle' is unavailable in macOS
16 |         }
17 |     }
SwiftUI.View:15:29: 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 |     nonisolated 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:14:16: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
   |                       `- note: add @available attribute to enclosing instance method
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
14 |         } else {
   |                |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
   |                `- note: add 'if #available' version check
15 |             self.navigationBarTitle(title)
16 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11: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
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
[4/8] Compiling TVDatePicker View+toolbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:11:59: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:15:28: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
14 |
15 |     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
16 |         toolbar(leading: EmptyView(), trailing: trailing)
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:15:62: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
14 |
15 |     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
16 |         toolbar(leading: EmptyView(), trailing: trailing)
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:40: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:56: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:108: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:12:45: error: 'EmptyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
   |          `- note: add @available attribute to enclosing instance method
12 |         toolbar(leading: leading, trailing: EmptyView())
   |                                             |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                                             `- note: add 'if #available' version check
13 |     }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:16:26: error: 'EmptyView' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
14 |
15 |     func toolbar<Trailing: View>(trailing: Trailing) -> some View {
   |          `- note: add @available attribute to enclosing instance method
16 |         toolbar(leading: EmptyView(), trailing: trailing)
   |                          |- error: 'EmptyView' is only available in macOS 10.15 or newer
   |                          `- note: add 'if #available' version check
17 |     }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:22:22: error: ambiguous use of 'toolbar(content:)'
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
22 |                 self.toolbar {
   |                      `- error: ambiguous use of 'toolbar(content:)'
23 |                     ToolbarItem(placement: .navigationBarLeading) {
24 |                         leading
SwiftUI.View:3:29: note: found this candidate in module 'SwiftUI'
1 | @available(iOS 14.0, macOS 11.0, tvOS 14.0, watchOS 7.0, *)
2 | extension View {
3 |     nonisolated public func toolbar<Content>(@ViewBuilder content: () -> Content) -> some View where Content : View
  |                             `- note: found this candidate in module 'SwiftUI'
4 |
5 |     nonisolated public func toolbar<Content>(@ToolbarContentBuilder content: () -> Content) -> some View where Content : ToolbarContent
  |                             `- note: found this candidate in module 'SwiftUI'
6 |
7 |     nonisolated public func toolbar<Content>(id: String, @ToolbarContentBuilder content: () -> Content) -> some View where Content : CustomizableToolbarContent
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/8] Compiling TVDatePicker DateFormatters.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:14:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum DateFormatters {
13 |     /// The default date formatter which uses the `short` date style and `none` time style.
14 |     public static var defaultFormatter: DateFormatter = {
   |                       |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         let dateFormatter = DateFormatter()
16 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:22:23: warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 |     /// A date time formatter which uses the `short` date style and `short` time style.
22 |     public static var dateTimeFormatter: DateFormatter = {
   |                       |- warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated 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
23 |         let dateFormatter = DateFormatter()
24 |         dateFormatter.dateStyle = .short
[6/8] Emitting module TVDatePicker
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:14:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum DateFormatters {
13 |     /// The default date formatter which uses the `short` date style and `none` time style.
14 |     public static var defaultFormatter: DateFormatter = {
   |                       |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         let dateFormatter = DateFormatter()
16 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:22:23: warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 |     /// A date time formatter which uses the `short` date style and `short` time style.
22 |     public static var dateTimeFormatter: DateFormatter = {
   |                       |- warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated 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
23 |         let dateFormatter = DateFormatter()
24 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:15:31: error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
 15 |     private let pickerStyle = SegmentedPickerStyle()
    |                               `- error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
 16 |
 17 |     private var currentlySelectedYear: Int {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 37 |     private var minutes: Array<Int> { Array(stride(from: 0, to: 60, by: 5)) }
 38 |
 39 |     @State private var isSheetPresented = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 38 |
 39 |     @State private var isSheetPresented = false
 40 |     @State private var selectedYear: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 39 |     @State private var isSheetPresented = false
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 43 |     @State private var selectedHour: Int = 0
 44 |     @State private var selectedMinute: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 44 |     @State private var selectedMinute: Int = 0
 45 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:44:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
 44 |     @State private var selectedMinute: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 45 |
 46 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:48:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 46 |     // MARK: - Internal
 47 |
 48 |     var titleKey: LocalizedStringKey
    |                   `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 49 |     @Binding var selection: Date
 50 |     var minimumDate: Date
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:49:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 47 |
 48 |     var titleKey: LocalizedStringKey
 49 |     @Binding var selection: Date
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 50 |     var minimumDate: Date
 51 |     var displayedComponents: Components
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:128:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
    |                     `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
129 |         selection: Binding<Date>,
130 |         minimumDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:129:20: error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
129 |         selection: Binding<Date>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
130 |         minimumDate: Date,
131 |         displayedComponents: Components = .all,
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:134:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
129 |         selection: Binding<Date>,
    :
132 |         calendar: Calendar = .current,
133 |         dateFormatter: DateFormatter = DateFormatters.defaultFormatter,
134 |         @ViewBuilder label: @escaping () -> Label
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
135 |     ) {
136 |         self.titleKey = titleKey
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:12:35: error: 'View' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               |                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:153:55: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       |                               `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:153:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160:41: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:224:34: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          |                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:11:60: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Binding {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         Binding(
13 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:10:11: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Binding {
   | |         `- error: 'Binding' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
12 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:46: error: 'Text' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:60: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:11:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     @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
12 |         if #available(tvOS 14, *) {
13 |             self.navigationTitle(title)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+navigationTitle.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     @ViewBuilder func navigationTitle(title: Text) -> some View {
12 |         if #available(tvOS 14, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:11:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:11:59: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:15:28: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
14 |
15 |     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
16 |         toolbar(leading: EmptyView(), trailing: trailing)
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:15:62: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
13 |     }
14 |
15 |     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
16 |         toolbar(leading: EmptyView(), trailing: trailing)
17 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:40: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:56: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:108: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:19:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
   :
17 |     }
18 |
19 |     @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
20 |         if #available(tvOS 14, *) {
21 |             if type(of: leading) != EmptyView.self && type(of: trailing) != EmptyView.self {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/View+toolbar.swift:10:11: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension View {
   | |         `- error: 'View' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     func toolbar<Leading: View>(leading: Leading) -> some View {
12 |         toolbar(leading: leading, trailing: EmptyView())
[7/8] Compiling TVDatePicker Binding+onChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:11:60: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Binding {
   | `- note: add @available attribute to enclosing extension
11 |     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
12 |         Binding(
13 |             get: { wrappedValue },
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:10:11: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Binding {
   | |         `- error: 'Binding' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
11 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
12 |         Binding(
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:12:9: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | extension Binding {
   | `- note: add @available attribute to enclosing extension
11 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
   |          `- note: add @available attribute to enclosing instance method
12 |         Binding(
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |             get: { wrappedValue },
14 |             set: { selection in
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:13:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |     func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
12 |         Binding(
13 |             get: { wrappedValue },
   |                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 |             set: { selection in
15 |                 wrappedValue = selection
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:15:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |             get: { wrappedValue },
14 |             set: { selection in
15 |                 wrappedValue = selection
   |                 `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
16 |                 handler(selection)
17 |         })
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/internal/Binding+onChange.swift:16:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
14 |             set: { selection in
15 |                 wrappedValue = selection
16 |                 handler(selection)
   |                 |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
   |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
17 |         })
18 |     }
[8/8] Compiling TVDatePicker TVDatePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:15:31: error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
 15 |     private let pickerStyle = SegmentedPickerStyle()
    |                               `- error: 'SegmentedPickerStyle' is only available in macOS 10.15 or newer
 16 |
 17 |     private var currentlySelectedYear: Int {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:39:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 37 |     private var minutes: Array<Int> { Array(stride(from: 0, to: 60, by: 5)) }
 38 |
 39 |     @State private var isSheetPresented = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:40:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 38 |
 39 |     @State private var isSheetPresented = false
 40 |     @State private var selectedYear: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:41:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 39 |     @State private var isSheetPresented = false
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:42:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 40 |     @State private var selectedYear: Int = 0
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 43 |     @State private var selectedHour: Int = 0
 44 |     @State private var selectedMinute: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:43:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 41 |     @State private var selectedMonth: Int = 0
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 44 |     @State private var selectedMinute: Int = 0
 45 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:44:6: error: 'State' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 42 |     @State private var selectedDay: Int = 0
 43 |     @State private var selectedHour: Int = 0
 44 |     @State private var selectedMinute: Int = 0
    |      `- error: 'State' is only available in macOS 10.15 or newer
 45 |
 46 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:48:19: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 46 |     // MARK: - Internal
 47 |
 48 |     var titleKey: LocalizedStringKey
    |                   `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 49 |     @Binding var selection: Date
 50 |     var minimumDate: Date
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:49:6: error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 47 |
 48 |     var titleKey: LocalizedStringKey
 49 |     @Binding var selection: Date
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 50 |     var minimumDate: Date
 51 |     var displayedComponents: Components
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:78:27: error: 'View' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:128:21: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
    |                     `- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
129 |         selection: Binding<Date>,
130 |         minimumDate: Date,
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:129:20: error: 'Binding' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
129 |         selection: Binding<Date>,
    |                    `- error: 'Binding' is only available in macOS 10.15 or newer
130 |         minimumDate: Date,
131 |         displayedComponents: Components = .all,
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:134:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
125 |     ///   - dateFormatter: The date formatter used for displaying the current selection, defaults to `DateFormatters.defaultFormatter`.
126 |     ///   - label: A view that describes the use of the date.
127 |     public init(
    |            `- note: add @available attribute to enclosing initializer
128 |         _ titleKey: LocalizedStringKey,
129 |         selection: Binding<Date>,
    :
132 |         calendar: Calendar = .current,
133 |         dateFormatter: DateFormatter = DateFormatters.defaultFormatter,
134 |         @ViewBuilder label: @escaping () -> Label
    |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
135 |     ) {
136 |         self.titleKey = titleKey
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:14:23: warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public enum DateFormatters {
13 |     /// The default date formatter which uses the `short` date style and `none` time style.
14 |     public static var defaultFormatter: DateFormatter = {
   |                       |- warning: static property 'defaultFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'defaultFormatter' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'defaultFormatter' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |         let dateFormatter = DateFormatter()
16 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:12:35: error: 'View' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               |                   `- error: 'View' is only available in macOS 10.15 or newer
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:153:55: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       |                               `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:153:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160:41: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       |                 `- error: 'View' is only available in macOS 10.15 or newer
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160:6: error: 'ViewBuilder' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |      |                `- note: add @available attribute to enclosing instance method
    |      `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:224:34: error: 'View' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          |                       `- error: 'View' is only available in macOS 10.15 or newer
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:94:24: warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 92 |                     isSheetPresented = false
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
    |                        `- warning: result builder 'ViewBuilder' does not implement 'buildLimitedAvailability'; this code may crash on earlier versions of the OS
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // 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:79:9: error: 'Button' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
 80 |             isSheetPresented = true
 81 |         } label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:80:13: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    |             |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 81 |         } label: {
 82 |             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:82:13: error: 'HStack' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
 81 |         } label: {
 82 |             HStack {
    |             |- error: 'HStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 83 |                 label()
 84 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:84: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 82 |             HStack {
 83 |                 label()
 84 |                 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
 85 |                 Text(dateFormatter.string(from: selection))
 86 |                 Image(systemName: "chevron.right")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:84:17: error: 'Spacer' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 82 |             HStack {
 83 |                 label()
 84 |                 Spacer()
    |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 85 |                 Text(dateFormatter.string(from: selection))
 86 |                 Image(systemName: "chevron.right")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:85: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 83 |                 label()
 84 |                 Spacer()
 85 |                 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
 86 |                 Image(systemName: "chevron.right")
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:85:17: error: 'Text' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 83 |                 label()
 84 |                 Spacer()
 85 |                 Text(dateFormatter.string(from: selection))
    |                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 86 |                 Image(systemName: "chevron.right")
 87 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:86: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 84 |                 Spacer()
 85 |                 Text(dateFormatter.string(from: selection))
 86 |                 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
 87 |             }
 88 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:86:17: error: 'Image' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 84 |                 Spacer()
 85 |                 Text(dateFormatter.string(from: selection))
 86 |                 Image(systemName: "chevron.right")
    |                 |- error: 'Image' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 87 |             }
 88 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:86:17: error: 'init(systemName:)' is only available in macOS 11.0 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 84 |                 Spacer()
 85 |                 Text(dateFormatter.string(from: selection))
 86 |                 Image(systemName: "chevron.right")
    |                 |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
 87 |             }
 88 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:82: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
 81 |         } label: {
 82 |             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
 83 |                 label()
 84 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:82: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
 81 |         } label: {
 82 |             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
 83 |                 label()
 84 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:82: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
 81 |         } label: {
 82 |             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
 83 |                 label()
 84 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:89:10: error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 87 |             }
 88 |         }
 89 |         .background(
    |          |- error: 'background(_:alignment:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 90 |             EmptyView()
 91 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:90:13: error: 'EmptyView' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 88 |         }
 89 |         .background(
 90 |             EmptyView()
    |             |- error: 'EmptyView' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 91 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 92 |                     isSheetPresented = false
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:91:18: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 89 |         .background(
 90 |             EmptyView()
 91 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
    |                  |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
 92 |                     isSheetPresented = false
 93 |                 }) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:92:21: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 90 |             EmptyView()
 91 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 92 |                     isSheetPresented = false
    |                     |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:95:25: error: 'NavigationView' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
 95 |                         NavigationView(content: navigationViewContent)
    |                         |- error: 'NavigationView' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 96 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 97 |                     } else if #available(tvOS 14, *) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:94:49: error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 92 |                     isSheetPresented = false
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildLimitedAvailability' is only available in macOS 11.0 or newer
    |                                                 `- note: add 'if #available' version check
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // 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:94:49: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 92 |                     isSheetPresented = false
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // 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:94:49: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 92 |                     isSheetPresented = false
 93 |                 }) {
 94 |                     if #available(tvOS 14.2, *) {
    |                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // 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:97:54: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 97 |                     } else if #available(tvOS 14, *) {
    |                                                      |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 98 |                         VStack {
 99 |                             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:97:54: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 95 |                         NavigationView(content: navigationViewContent)
 96 |                     // We have to avoid a navigation view on tvOS 14 because the focus engine is broken after focusing the dismiss button in the toolbar.
 97 |                     } else if #available(tvOS 14, *) {
    |                                                      |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
 98 |                         VStack {
 99 |                             HStack {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:110:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
108 |                             Spacer()
109 |                         }
110 |                     } else {
    |                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
111 |                         NavigationView(content: navigationViewContent)
112 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:93: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
 10 |
 11 | /// A `SwiftUI` date picker view, especially for tvOS.
 12 | public struct TVDatePicker<Label: View>: View {
    |               `- note: add @available attribute to enclosing generic struct
 13 |     // MARK: - Private
 14 |
    :
 76 |     }
 77 |
 78 |     public var body: some View {
    |                `- note: add @available attribute to enclosing property
 79 |         Button {
 80 |             isSheetPresented = true
    :
 91 |                 .sheet(isPresented: $isSheetPresented, onDismiss: {
 92 |                     isSheetPresented = false
 93 |                 }) {
    |                    |- 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
 94 |                     if #available(tvOS 14.2, *) {
 95 |                         NavigationView(content: navigationViewContent)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/DateFormatters.swift:22:23: warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 |     /// A date time formatter which uses the `short` date style and `short` time style.
22 |     public static var dateTimeFormatter: DateFormatter = {
   |                       |- warning: static property 'dateTimeFormatter' is not concurrency-safe because it is nonisolated 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
23 |         let dateFormatter = DateFormatter()
24 |         dateFormatter.dateStyle = .short
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:154:9: error: 'VStack' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
155 |             .onAppear(perform: onAppear)
156 |             .navigationTitle(title: .init(titleKey))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:154:28: error: 'leading' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
    |                            |- error: 'leading' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
155 |             .onAppear(perform: onAppear)
156 |             .navigationTitle(title: .init(titleKey))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:155:14: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
    |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
156 |             .navigationTitle(title: .init(titleKey))
157 |             .toolbar(trailing: dismissButton())
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:156:38: error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
154 |         VStack(alignment: .leading, content: content)
155 |             .onAppear(perform: onAppear)
156 |             .navigationTitle(title: .init(titleKey))
    |                                      |- error: 'init(_:tableName:bundle:comment:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
157 |             .toolbar(trailing: dismissButton())
158 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:161: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         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
162 |
163 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:161:9: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
162 |
163 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:161:53: error: 'font' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |                                                     |- error: 'font' is only available in macOS 10.15 or newer
    |                                                     `- note: add 'if #available' version check
162 |
163 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:161:59: error: 'headline' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
    |                                                           |- error: 'headline' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
162 |
163 |         Divider()
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:163:9: error: 'Divider' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
163 |         Divider()
    |         |- error: 'Divider' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
164 |
165 |         Text("mm/dd/yy")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:165: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
163 |         Divider()
164 |
165 |         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
166 |             .foregroundColor(.secondary)
167 |             .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:165:9: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
163 |         Divider()
164 |
165 |         Text("mm/dd/yy")
    |         |- error: 'Text' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
166 |             .foregroundColor(.secondary)
167 |             .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:166:14: error: 'foregroundColor' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
164 |
165 |         Text("mm/dd/yy")
166 |             .foregroundColor(.secondary)
    |              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
167 |             .font(.subheadline)
168 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:166:31: error: 'secondary' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
164 |
165 |         Text("mm/dd/yy")
166 |             .foregroundColor(.secondary)
    |                               |- error: 'secondary' is only available in macOS 10.15 or newer
    |                               `- note: add 'if #available' version check
167 |             .font(.subheadline)
168 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:167:14: error: 'font' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
165 |         Text("mm/dd/yy")
166 |             .foregroundColor(.secondary)
167 |             .font(.subheadline)
    |              |- error: 'font' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
168 |
169 |         if displayedComponents.contains(.year) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:167:20: error: 'subheadline' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
165 |         Text("mm/dd/yy")
166 |             .foregroundColor(.secondary)
167 |             .font(.subheadline)
    |                    |- error: 'subheadline' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
168 |
169 |         if displayedComponents.contains(.year) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:170:13: error: 'Picker' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
168 |
169 |         if displayedComponents.contains(.year) {
170 |             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
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:170:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
168 |
169 |         if displayedComponents.contains(.year) {
170 |             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
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:170:77: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
168 |
169 |         if displayedComponents.contains(.year) {
170 |             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
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:173: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
173 |                 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
174 |                     Text(String(year))
175 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:173:17: error: 'ForEach' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
173 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
174 |                     Text(String(year))
175 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:173:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
173 |                 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
174 |                     Text(String(year))
175 |                     .tag(year)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:174:21: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
173 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
174 |                     Text(String(year))
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
175 |                     .tag(year)
176 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:175:22: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
173 |                 ForEach(lowerBound...upperBound, id: \.self) { year in
174 |                     Text(String(year))
175 |                     .tag(year)
    |                      |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
176 |                 }
177 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:170: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
168 |
169 |         if displayedComponents.contains(.year) {
170 |             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
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
172 |                 let upperBound = max(minimumYear + 10, (currentlySelectedYear + 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:178:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
176 |                 }
177 |             }
178 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
179 |         }
180 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:169:48: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
167 |             .font(.subheadline)
168 |
169 |         if displayedComponents.contains(.year) {
    |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
170 |             Picker(selection: $selectedYear.onChange(didChangeYear), label: Text("Year")) {
171 |                 let lowerBound = max(minimumYear, (currentlySelectedYear - 5))
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:179:9: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
177 |             }
178 |             .pickerStyle(pickerStyle)
179 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
180 |
181 |         if displayedComponents.contains(.month) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:182:13: error: 'Picker' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
180 |
181 |         if displayedComponents.contains(.month) {
182 |             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
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:182:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
180 |
181 |         if displayedComponents.contains(.month) {
182 |             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
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:182:79: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
180 |
181 |         if displayedComponents.contains(.month) {
182 |             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
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:183: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
181 |         if displayedComponents.contains(.month) {
182 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
183 |                 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
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
185 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:183:17: error: 'ForEach' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
181 |         if displayedComponents.contains(.month) {
182 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
183 |                 ForEach(months, id: \.self) { month in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
185 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:183:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
181 |         if displayedComponents.contains(.month) {
182 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
183 |                 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
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
185 |                     .tag(month)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:184:21: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
182 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
185 |                     .tag(month)
186 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:185:22: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
185 |                     .tag(month)
    |                      |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
186 |                 }
187 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:182: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
180 |
181 |         if displayedComponents.contains(.month) {
182 |             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
183 |                 ForEach(months, id: \.self) { month in
184 |                     Text(dateFormatter.shortMonthSymbols[month - 1])
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:188:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
186 |                 }
187 |             }
188 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
189 |         }
190 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:181:49: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
179 |         }
180 |
181 |         if displayedComponents.contains(.month) {
    |                                                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                 `- note: add 'if #available' version check
182 |             Picker(selection: $selectedMonth.onChange(didChangeMonth), label: Text("Month")) {
183 |                 ForEach(months, id: \.self) { month in
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:189:9: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
187 |             }
188 |             .pickerStyle(pickerStyle)
189 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
190 |
191 |         if displayedComponents.contains(.date) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:192:13: error: 'Picker' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
190 |
191 |         if displayedComponents.contains(.date) {
192 |             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
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:192:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
190 |
191 |         if displayedComponents.contains(.date) {
192 |             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
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:192:75: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
190 |
191 |         if displayedComponents.contains(.date) {
192 |             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
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:193: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
191 |         if displayedComponents.contains(.date) {
192 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
193 |                 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
194 |                     Text("\(day)")
195 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:193:17: error: 'ForEach' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
191 |         if displayedComponents.contains(.date) {
192 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
194 |                     Text("\(day)")
195 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:193:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
191 |         if displayedComponents.contains(.date) {
192 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
193 |                 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
194 |                     Text("\(day)")
195 |                     .tag(day)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:194:21: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
192 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
195 |                     .tag(day)
196 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:195:22: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
195 |                     .tag(day)
    |                      |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
196 |                 }
197 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:192: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
190 |
191 |         if displayedComponents.contains(.date) {
192 |             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
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
194 |                     Text("\(day)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:198:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
196 |                 }
197 |             }
198 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
199 |         }
200 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:191:48: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
189 |         }
190 |
191 |         if displayedComponents.contains(.date) {
    |                                                |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                `- note: add 'if #available' version check
192 |             Picker(selection: $selectedDay.onChange(didChangeDay), label: Text("Day")) {
193 |                 ForEach(daysInSelectedMonth, id: \.self) { day in
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:199:9: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
197 |             }
198 |             .pickerStyle(pickerStyle)
199 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
200 |
201 |         if displayedComponents.contains(.hourAndMinute) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:202: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
200 |
201 |         if displayedComponents.contains(.hourAndMinute) {
202 |             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
203 |                 .foregroundColor(.secondary)
204 |                 .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:202:13: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
200 |
201 |         if displayedComponents.contains(.hourAndMinute) {
202 |             Text("HH:mm")
    |             |- error: 'Text' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
203 |                 .foregroundColor(.secondary)
204 |                 .font(.subheadline)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:203:18: error: 'foregroundColor' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
201 |         if displayedComponents.contains(.hourAndMinute) {
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
    |                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
204 |                 .font(.subheadline)
205 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:203:35: error: 'secondary' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
201 |         if displayedComponents.contains(.hourAndMinute) {
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
    |                                   |- error: 'secondary' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
204 |                 .font(.subheadline)
205 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:204:18: error: 'font' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
204 |                 .font(.subheadline)
    |                  |- error: 'font' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
205 |
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:204:24: error: 'subheadline' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
204 |                 .font(.subheadline)
    |                        |- error: 'subheadline' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
205 |
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206:13: error: 'Picker' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
204 |                 .font(.subheadline)
205 |
206 |             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
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
204 |                 .font(.subheadline)
205 |
206 |             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
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206:77: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
204 |                 .font(.subheadline)
205 |
206 |             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
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:207: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
205 |
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
207 |                 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
208 |                     Text("\(hour)")
209 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:207:17: error: 'ForEach' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
205 |
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
207 |                 ForEach(hours, id: \.self) { hour in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
208 |                     Text("\(hour)")
209 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:207:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
205 |
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
207 |                 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
208 |                     Text("\(hour)")
209 |                     .tag(hour)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:208:21: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
206 |             Picker(selection: $selectedHour.onChange(didChangeHour), label: Text("Hour")) {
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
209 |                     .tag(hour)
210 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:209:22: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
209 |                     .tag(hour)
    |                      |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
210 |                 }
211 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:206: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
204 |                 .font(.subheadline)
205 |
206 |             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
207 |                 ForEach(hours, id: \.self) { hour in
208 |                     Text("\(hour)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:212:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
210 |                 }
211 |             }
212 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
213 |
214 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:214:13: error: 'Picker' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
212 |             .pickerStyle(pickerStyle)
213 |
214 |             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
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:214:13: error: 'init(selection:label:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
212 |             .pickerStyle(pickerStyle)
213 |
214 |             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
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:214:81: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
212 |             .pickerStyle(pickerStyle)
213 |
214 |             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
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:215: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
213 |
214 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
215 |                 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
216 |                     Text("\(minute)")
217 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:215:17: error: 'ForEach' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
213 |
214 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
215 |                 ForEach(Array(minutes), id: \.self) { minute in
    |                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
216 |                     Text("\(minute)")
217 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:215:17: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
213 |
214 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
215 |                 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
216 |                     Text("\(minute)")
217 |                     .tag(minute)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:216:21: error: 'Text' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
214 |             Picker(selection: $selectedMinute.onChange(didChangeMinute), label: Text("Minute")) {
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
217 |                     .tag(minute)
218 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:217:22: error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
217 |                     .tag(minute)
    |                      |- error: 'tag(_:includeOptional:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
218 |                 }
219 |             }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:214: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
212 |             .pickerStyle(pickerStyle)
213 |
214 |             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
215 |                 ForEach(Array(minutes), id: \.self) { minute in
216 |                     Text("\(minute)")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:220:14: error: 'pickerStyle' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
218 |                 }
219 |             }
220 |             .pickerStyle(pickerStyle)
    |              |- error: 'pickerStyle' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
221 |         }
222 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:201:57: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
199 |         }
200 |
201 |         if displayedComponents.contains(.hourAndMinute) {
    |                                                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:201: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
199 |         }
200 |
201 |         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
202 |             Text("HH:mm")
203 |                 .foregroundColor(.secondary)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:221:9: error: 'buildIf' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @ViewBuilder func content() -> some View {
    |                       `- note: add @available attribute to enclosing instance method
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
    :
219 |             }
220 |             .pickerStyle(pickerStyle)
221 |         }
    |         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
222 |     }
223 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:160: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
158 |     }
159 |
160 |     @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
161 |         Text(dateFormatter.string(from: selection)).font(.headline)
162 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:225: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         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
226 |             isSheetPresented = false
227 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:225:9: error: 'Button' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
    |         |- error: 'Button' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
226 |             isSheetPresented = false
227 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:225: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         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
226 |             isSheetPresented = false
227 |         }, label: {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:226:13: error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
    |             |- error: setter for 'isSheetPresented' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
227 |         }, label: {
228 |             Image(systemName: "xmark")
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:228: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
227 |         }, label: {
228 |             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
229 |         })
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:228:13: error: 'Image' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
227 |         }, label: {
228 |             Image(systemName: "xmark")
    |             |- error: 'Image' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
229 |         })
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:228:13: error: 'init(systemName:)' is only available in macOS 11.0 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
227 |         }, label: {
228 |             Image(systemName: "xmark")
    |             |- error: 'init(systemName:)' is only available in macOS 11.0 or newer
    |             `- note: add 'if #available' version check
229 |         })
230 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:227: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
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
222 |     }
223 |
224 |     func dismissButton() -> some View {
    |          `- note: add @available attribute to enclosing instance method
225 |         Button(action: {
226 |             isSheetPresented = false
227 |         }, 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
228 |             Image(systemName: "xmark")
229 |         })
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:297:9: error: setter for 'selectedYear' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
294 |     }
295 |
296 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
297 |         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
298 |         selectedMonth = calendar.component(.month, from: selection)
299 |         selectedDay = calendar.component(.day, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:298:9: error: setter for 'selectedMonth' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
294 |     }
295 |
296 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
297 |         selectedYear = calendar.component(.year, from: selection)
298 |         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
299 |         selectedDay = calendar.component(.day, from: selection)
300 |         selectedHour = calendar.component(.hour, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:299:9: error: setter for 'selectedDay' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
294 |     }
295 |
296 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
297 |         selectedYear = calendar.component(.year, from: selection)
298 |         selectedMonth = calendar.component(.month, from: selection)
299 |         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
300 |         selectedHour = calendar.component(.hour, from: selection)
301 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:300:9: error: setter for 'selectedHour' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
294 |     }
295 |
296 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
297 |         selectedYear = calendar.component(.year, from: selection)
298 |         selectedMonth = calendar.component(.month, from: selection)
299 |         selectedDay = calendar.component(.day, from: selection)
300 |         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
301 |
302 |         let currentMinute = calendar.component(.minute, from: selection)
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:303:9: error: setter for 'selectedMinute' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
294 |     }
295 |
296 |     func updateSelectedDateComponents(from selection: Date) {
    |          `- note: add @available attribute to enclosing instance method
297 |         selectedYear = calendar.component(.year, from: selection)
298 |         selectedMonth = calendar.component(.month, from: selection)
    :
301 |
302 |         let currentMinute = calendar.component(.minute, from: selection)
303 |         selectedMinute = currentMinute - (currentMinute % 5)
    |         |- error: setter for 'selectedMinute' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
304 |     }
305 |
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:320:13: error: setter for 'selection' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
304 |     }
305 |
306 |     func updateDate(with dateComponents: DateComponents) {
    |          `- note: add @available attribute to enclosing instance method
307 |         if !dateComponents.isValidDate(in: calendar) {
308 |             let updatedDate: Date
    :
318 |             }
319 |
320 |             self.selection = updatedDate
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
321 |             updateSelectedDateComponents(from: updatedDate)
322 |         } else if let selection = calendar.date(from: dateComponents) {
/Users/admin/builder/spi-builder-workspace/Sources/TVDatePicker/API/TVDatePicker.swift:323:13: error: setter for 'selection' is only available in macOS 10.15 or newer
150 | }
151 |
152 | private extension TVDatePicker {
    |         `- note: add @available attribute to enclosing extension
153 |     @ViewBuilder func navigationViewContent() -> some View {
154 |         VStack(alignment: .leading, content: content)
    :
304 |     }
305 |
306 |     func updateDate(with dateComponents: DateComponents) {
    |          `- note: add @available attribute to enclosing instance method
307 |         if !dateComponents.isValidDate(in: calendar) {
308 |             let updatedDate: Date
    :
321 |             updateSelectedDateComponents(from: updatedDate)
322 |         } else if let selection = calendar.date(from: dateComponents) {
323 |             self.selection = selection
    |             |- error: setter for 'selection' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
324 |         }
325 |     }
BUILD FAILURE 6.0 macosSpm