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

The Swift Package Index logo.Swift Package Index

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

Build Information

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

Build Command

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

Build Log

 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
 20 |                 NavigationLink {
 21 |                     AnyView(customView(event))
    |                     |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 22 |                 } label: {
 23 |                     content
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:19:68: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    |                                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                    `- note: add 'if #available' version check
 20 |                 NavigationLink {
 21 |                     AnyView(customView(event))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:27:22: error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 25 |             } else {
 26 |                 content
 27 |                     .onTapGesture {
    |                      |- error: 'onTapGesture(count:perform:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 28 |                         switch selectionAction {
 29 |                         case .sheet, .customSheet:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:30:29: error: setter for 'showEventSheet' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 28 |                         switch selectionAction {
 29 |                         case .sheet, .customSheet:
 30 |                             showEventSheet = true
    |                             |- error: setter for 'showEventSheet' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 31 |                         case .inform(let closure):
 32 |                             closure(event)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:37:22: error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 35 |                         }
 36 |                     }
 37 |                     .sheet(isPresented: $showEventSheet) {
    |                      |- error: 'sheet(isPresented:onDismiss:content:)' is only available in macOS 10.15 or newer
    |                      `- note: add 'if #available' version check
 38 |                         ZStack {
 39 |                             if case .customSheet(let customView) = selectionAction {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:37:58: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 35 |                         }
 36 |                     }
 37 |                     .sheet(isPresented: $showEventSheet) {
    |                                                          |- 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
 38 |                         ZStack {
 39 |                             if case .customSheet(let customView) = selectionAction {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:38:25: error: 'ZStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 36 |                     }
 37 |                     .sheet(isPresented: $showEventSheet) {
 38 |                         ZStack {
    |                         |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 39 |                             if case .customSheet(let customView) = selectionAction {
 40 |                                 AnyView(customView(event))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:38:25: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 36 |                     }
 37 |                     .sheet(isPresented: $showEventSheet) {
 38 |                         ZStack {
    |                         |- 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
 39 |                             if case .customSheet(let customView) = selectionAction {
 40 |                                 AnyView(customView(event))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:40:33: error: 'AnyView' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 38 |                         ZStack {
 39 |                             if case .customSheet(let customView) = selectionAction {
 40 |                                 AnyView(customView(event))
    |                                 |- error: 'AnyView' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
 41 |                             } else {
 42 |                                 EventDetailsView(event: event)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:39:84: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 37 |                     .sheet(isPresented: $showEventSheet) {
 38 |                         ZStack {
 39 |                             if case .customSheet(let customView) = selectionAction {
    |                                                                                    |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                                    `- note: add 'if #available' version check
 40 |                                 AnyView(customView(event))
 41 |                             } else {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:41:36: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 39 |                             if case .customSheet(let customView) = selectionAction {
 40 |                                 AnyView(customView(event))
 41 |                             } else {
    |                                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                                    `- note: add 'if #available' version check
 42 |                                 EventDetailsView(event: event)
 43 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:38:32: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 36 |                     }
 37 |                     .sheet(isPresented: $showEventSheet) {
 38 |                         ZStack {
    |                                |- 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
 39 |                             if case .customSheet(let customView) = selectionAction {
 40 |                                 AnyView(customView(event))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:45:26: error: 'presentationDetents' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 43 |                             }
 44 |                         }
 45 |                         .presentationDetents([.medium])
    |                          |- error: 'presentationDetents' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
 46 |                     }
 47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:25:20: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
    :
 23 |                     content
 24 |                 }
 25 |             } else {
    |                    |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 26 |                 content
 27 |                     .onTapGesture {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:18:16: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
    |                |- 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
 19 |             if case .destination(let customView) = selectionAction {
 20 |                 NavigationLink {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:17:25: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: 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 property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:17:25: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: 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 property
 18 |         VStack {
 19 |             if case .destination(let customView) = selectionAction {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:55:16: error: 'VStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
    |                |- error: 'VStack' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:55:23: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
    |                       |- warning: conformance of 'Color' to 'ShapeStyle' 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
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:56:13: error: 'VStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
    |             |- error: 'VStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:56:32: error: 'leading' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
    |                                |- error: 'leading' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:59:25: error: 'HStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
    |                         |- error: 'HStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:59:44: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
    |                                            |- error: 'center' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:60:29: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
 60 |                             Text(event.calendarActivity.title)
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 61 |                                 .foregroundColor(mainColor)
 62 |                                 .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:61:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 59 |                         HStack(alignment: .center) {
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 62 |                                 .font(.caption)
 63 |                                 .padding(.top, 4)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:62:34: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
 62 |                                 .font(.caption)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 63 |                                 .padding(.top, 4)
 64 |                                 .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:62:40: error: 'caption' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
 62 |                                 .font(.caption)
    |                                        |- error: 'caption' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 63 |                                 .padding(.top, 4)
 64 |                                 .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:63:34: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 61 |                                 .foregroundColor(mainColor)
 62 |                                 .font(.caption)
 63 |                                 .padding(.top, 4)
    |                                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 64 |                                 .fontWeight(.semibold)
 65 |                                 .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:64:34: error: 'fontWeight' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 62 |                                 .font(.caption)
 63 |                                 .padding(.top, 4)
 64 |                                 .fontWeight(.semibold)
    |                                  |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 65 |                                 .dynamicTypeSize(.small ... .large)
 66 |                             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:65:34: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 63 |                                 .padding(.top, 4)
 64 |                                 .fontWeight(.semibold)
 65 |                                 .dynamicTypeSize(.small ... .large)
    |                                  |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
 66 |                             Spacer()
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:66:29: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 64 |                                 .fontWeight(.semibold)
 65 |                                 .dynamicTypeSize(.small ... .large)
 66 |                             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
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 68 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:66:29: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 64 |                                 .fontWeight(.semibold)
 65 |                                 .dynamicTypeSize(.small ... .large)
 66 |                             Spacer()
    |                             |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 68 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:67:29: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 65 |                                 .dynamicTypeSize(.small ... .large)
 66 |                             Spacer()
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 68 |                                 .foregroundColor(mainColor)
 69 |                                 .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:67:53: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 65 |                                 .dynamicTypeSize(.small ... .large)
 66 |                             Spacer()
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                     |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
 68 |                                 .foregroundColor(mainColor)
 69 |                                 .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:68:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 66 |                             Spacer()
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 68 |                                 .foregroundColor(mainColor)
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 69 |                                 .font(.caption2)
 70 |                                 .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:69:34: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 68 |                                 .foregroundColor(mainColor)
 69 |                                 .font(.caption2)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 70 |                                 .dynamicTypeSize(.small ... .large)
 71 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:69:40: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 67 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 68 |                                 .foregroundColor(mainColor)
 69 |                                 .font(.caption2)
    |                                        |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                        `- note: add 'if #available' version check
 70 |                                 .dynamicTypeSize(.small ... .large)
 71 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:70:34: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 68 |                                 .foregroundColor(mainColor)
 69 |                                 .font(.caption2)
 70 |                                 .dynamicTypeSize(.small ... .large)
    |                                  |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
 71 |                         }
 72 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:59:52: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
    |                                                    |- 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
 60 |                             Text(event.calendarActivity.title)
 61 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:58:46: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
    |                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
 59 |                         HStack(alignment: .center) {
 60 |                             Text(event.calendarActivity.title)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:73:25: error: 'HStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 71 |                         }
 72 |                     } else {
 73 |                         HStack(alignment: .center) {
    |                         |- error: 'HStack' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:73:44: error: 'center' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 71 |                         }
 72 |                     } else {
 73 |                         HStack(alignment: .center) {
    |                                            |- error: 'center' is only available in macOS 10.15 or newer
    |                                            `- note: add 'if #available' version check
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:74:29: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 72 |                     } else {
 73 |                         HStack(alignment: .center) {
 74 |                             Text(event.calendarActivity.title)
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 75 |                                 .foregroundColor(mainColor)
 76 |                                 .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:75:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 73 |                         HStack(alignment: .center) {
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 76 |                                 .font(.caption)
 77 |                                 .padding(.top, 4)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:76:34: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
 76 |                                 .font(.caption)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 77 |                                 .padding(.top, 4)
 78 |                                 .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:76:40: error: 'caption' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
 76 |                                 .font(.caption)
    |                                        |- error: 'caption' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
 77 |                                 .padding(.top, 4)
 78 |                                 .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:77:34: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 75 |                                 .foregroundColor(mainColor)
 76 |                                 .font(.caption)
 77 |                                 .padding(.top, 4)
    |                                  |- error: 'padding' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 78 |                                 .fontWeight(.semibold)
 79 |                                 .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:78:34: error: 'fontWeight' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 76 |                                 .font(.caption)
 77 |                                 .padding(.top, 4)
 78 |                                 .fontWeight(.semibold)
    |                                  |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:79:34: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 77 |                                 .padding(.top, 4)
 78 |                                 .fontWeight(.semibold)
 79 |                                 .dynamicTypeSize(.small ... .large)
    |                                  |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
 80 |                             Spacer()
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:80:29: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 78 |                                 .fontWeight(.semibold)
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             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
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 82 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:80:29: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 78 |                                 .fontWeight(.semibold)
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             Spacer()
    |                             |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 82 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:81:29: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             Spacer()
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                             |- error: 'Text' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:81:53: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             Spacer()
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                     |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                     `- note: add 'if #available' version check
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:81:110: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 79 |                                 .dynamicTypeSize(.small ... .large)
 80 |                             Spacer()
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                                                                              |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                                                                              `- note: add 'if #available' version check
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:82:34: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 80 |                             Spacer()
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 82 |                                 .foregroundColor(mainColor)
    |                                  |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 83 |                                 .font(.caption2)
 84 |                                 .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:83:34: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
    |                                  |- error: 'font' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
 84 |                                 .dynamicTypeSize(.small ... .large)
 85 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:83:40: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 81 |                             Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
    |                                        |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                        `- note: add 'if #available' version check
 84 |                                 .dynamicTypeSize(.small ... .large)
 85 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:84:34: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 82 |                                 .foregroundColor(mainColor)
 83 |                                 .font(.caption2)
 84 |                                 .dynamicTypeSize(.small ... .large)
    |                                  |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                                  `- note: add 'if #available' version check
 85 |                         }
 86 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:73:52: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 71 |                         }
 72 |                     } else {
 73 |                         HStack(alignment: .center) {
    |                                                    |- 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
 74 |                             Text(event.calendarActivity.title)
 75 |                                 .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:72:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 70 |                                 .dynamicTypeSize(.small ... .large)
 71 |                         }
 72 |                     } else {
    |                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 73 |                         HStack(alignment: .center) {
 74 |                             Text(event.calendarActivity.title)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:57:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
    |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:57:65: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
    |                                                                 |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                 `- note: add 'if #available' version check
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:57: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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
    |                                                                 |- 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
 58 |                     if event.columnCount > 0 {
 59 |                         HStack(alignment: .center) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:88:21: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 86 |                     }
 87 |                 } else if (event.calendarActivity.duration / 60) <= 60 {
 88 |                     Text(event.calendarActivity.title)
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 89 |                         .foregroundColor(mainColor)
 90 |                         .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:89:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 87 |                 } else if (event.calendarActivity.duration / 60) <= 60 {
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 90 |                         .font(.caption)
 91 |                         .padding(.top, 4)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:90:26: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
 90 |                         .font(.caption)
    |                          |- error: 'font' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 91 |                         .padding(.top, 4)
 92 |                         .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:90:32: error: 'caption' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
 90 |                         .font(.caption)
    |                                |- error: 'caption' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
 91 |                         .padding(.top, 4)
 92 |                         .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:91:26: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 89 |                         .foregroundColor(mainColor)
 90 |                         .font(.caption)
 91 |                         .padding(.top, 4)
    |                          |- error: 'padding' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
 92 |                         .fontWeight(.semibold)
 93 |                         .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:92:26: error: 'fontWeight' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 90 |                         .font(.caption)
 91 |                         .padding(.top, 4)
 92 |                         .fontWeight(.semibold)
    |                          |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
 93 |                         .dynamicTypeSize(.small ... .large)
 94 |                     if event.columnCount > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:93:26: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 91 |                         .padding(.top, 4)
 92 |                         .fontWeight(.semibold)
 93 |                         .dynamicTypeSize(.small ... .large)
    |                          |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
 94 |                     if event.columnCount > 0 {
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:95:25: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 93 |                         .dynamicTypeSize(.small ... .large)
 94 |                     if event.columnCount > 0 {
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                         |- error: 'Text' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
 96 |                             .foregroundColor(mainColor)
 97 |                             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:95:49: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 93 |                         .dynamicTypeSize(.small ... .large)
 94 |                     if event.columnCount > 0 {
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                 |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                 `- note: add 'if #available' version check
 96 |                             .foregroundColor(mainColor)
 97 |                             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:96:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 94 |                     if event.columnCount > 0 {
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 96 |                             .foregroundColor(mainColor)
    |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 97 |                             .font(.caption2)
 98 |                             .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:97:30: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 96 |                             .foregroundColor(mainColor)
 97 |                             .font(.caption2)
    |                              |- error: 'font' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:97:36: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 96 |                             .foregroundColor(mainColor)
 97 |                             .font(.caption2)
    |                                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:98:30: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 96 |                             .foregroundColor(mainColor)
 97 |                             .font(.caption2)
 98 |                             .dynamicTypeSize(.small ... .large)
    |                              |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
 99 |                     } else {
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:94:46: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 92 |                         .fontWeight(.semibold)
 93 |                         .dynamicTypeSize(.small ... .large)
 94 |                     if event.columnCount > 0 {
    |                                              |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                              `- note: add 'if #available' version check
 95 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
 96 |                             .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:100:25: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                         |- error: 'Text' is only available in macOS 10.15 or newer
    |                         `- note: add 'if #available' version check
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:100:49: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                 |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                 `- note: add 'if #available' version check
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:100:106: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
    |                                                                                                          |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                                                                          `- note: add 'if #available' version check
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:101:30: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 99 |                     } else {
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
101 |                             .foregroundColor(mainColor)
    |                              |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
102 |                             .font(.caption2)
103 |                             .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:102:30: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
    |                              |- error: 'font' is only available in macOS 10.15 or newer
    |                              `- note: add 'if #available' version check
103 |                             .dynamicTypeSize(.small ... .large)
104 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:102:36: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
    |                                    |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                    `- note: add 'if #available' version check
103 |                             .dynamicTypeSize(.small ... .large)
104 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:103:30: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
101 |                             .foregroundColor(mainColor)
102 |                             .font(.caption2)
103 |                             .dynamicTypeSize(.small ... .large)
    |                              |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                              `- note: add 'if #available' version check
104 |                     }
105 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:99:28: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 97 |                             .font(.caption2)
 98 |                             .dynamicTypeSize(.small ... .large)
 99 |                     } else {
    |                            |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
100 |                         Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened)), \(Int(event.calendarActivity.duration / 60)) min")
101 |                             .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:87:72: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 85 |                         }
 86 |                     }
 87 |                 } else if (event.calendarActivity.duration / 60) <= 60 {
    |                                                                        |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:87:72: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 85 |                         }
 86 |                     }
 87 |                 } else if (event.calendarActivity.duration / 60) <= 60 {
    |                                                                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                                                                        `- note: add 'if #available' version check
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:87:72: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
 85 |                         }
 86 |                     }
 87 |                 } else if (event.calendarActivity.duration / 60) <= 60 {
    |                                                                        |- 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
 88 |                     Text(event.calendarActivity.title)
 89 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:106:21: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
104 |                     }
105 |                 } else {
106 |                     Text(event.calendarActivity.title)
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
107 |                         .foregroundColor(mainColor)
108 |                         .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:107:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
105 |                 } else {
106 |                     Text(event.calendarActivity.title)
107 |                         .foregroundColor(mainColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
108 |                         .font(.caption)
109 |                         .padding(.top, 4)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:108:26: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
106 |                     Text(event.calendarActivity.title)
107 |                         .foregroundColor(mainColor)
108 |                         .font(.caption)
    |                          |- error: 'font' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
109 |                         .padding(.top, 4)
110 |                         .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:108:32: error: 'caption' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
106 |                     Text(event.calendarActivity.title)
107 |                         .foregroundColor(mainColor)
108 |                         .font(.caption)
    |                                |- error: 'caption' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
109 |                         .padding(.top, 4)
110 |                         .fontWeight(.semibold)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:109:26: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
107 |                         .foregroundColor(mainColor)
108 |                         .font(.caption)
109 |                         .padding(.top, 4)
    |                          |- error: 'padding' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
110 |                         .fontWeight(.semibold)
111 |                         .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:110:26: error: 'fontWeight' is only available in macOS 13.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
108 |                         .font(.caption)
109 |                         .padding(.top, 4)
110 |                         .fontWeight(.semibold)
    |                          |- error: 'fontWeight' is only available in macOS 13.0 or newer
    |                          `- note: add 'if #available' version check
111 |                         .dynamicTypeSize(.small ... .large)
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:111:26: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
109 |                         .padding(.top, 4)
110 |                         .fontWeight(.semibold)
111 |                         .dynamicTypeSize(.small ... .large)
    |                          |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
113 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:112:21: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
110 |                         .fontWeight(.semibold)
111 |                         .dynamicTypeSize(.small ... .large)
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:112:45: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
110 |                         .fontWeight(.semibold)
111 |                         .dynamicTypeSize(.small ... .large)
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
    |                                             |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                             `- note: add 'if #available' version check
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:112:102: error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
110 |                         .fontWeight(.semibold)
111 |                         .dynamicTypeSize(.small ... .large)
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
    |                                                                                                      |- error: 'formatted(date:time:)' is only available in macOS 12.0 or newer
    |                                                                                                      `- note: add 'if #available' version check
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:113:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
111 |                         .dynamicTypeSize(.small ... .large)
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
113 |                         .foregroundColor(mainColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
114 |                         .font(.caption2)
115 |                         .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:114:26: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
    |                          |- error: 'font' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
115 |                         .dynamicTypeSize(.small ... .large)
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:114:32: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
112 |                     Text("\(event.startDate.formatted(date: .omitted, time: .shortened)) - \(endDate.formatted(date: .omitted, time: .shortened))")
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
    |                                |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                `- note: add 'if #available' version check
115 |                         .dynamicTypeSize(.small ... .large)
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:115:26: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
113 |                         .foregroundColor(mainColor)
114 |                         .font(.caption2)
115 |                         .dynamicTypeSize(.small ... .large)
    |                          |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
117 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:116:21: error: 'Text' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
114 |                         .font(.caption2)
115 |                         .dynamicTypeSize(.small ... .large)
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
    |                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
117 |                         .foregroundColor(mainColor)
118 |                         .font(.caption2)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:117:26: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
115 |                         .dynamicTypeSize(.small ... .large)
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
117 |                         .foregroundColor(mainColor)
    |                          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
118 |                         .font(.caption2)
119 |                         .dynamicTypeSize(.small ... .large)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:118:26: error: 'font' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
117 |                         .foregroundColor(mainColor)
118 |                         .font(.caption2)
    |                          |- error: 'font' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
119 |                         .dynamicTypeSize(.small ... .large)
120 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:118:32: error: 'caption2' is only available in macOS 11.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
116 |                     Text("Duration: \(Int(event.calendarActivity.duration / 60)) min")
117 |                         .foregroundColor(mainColor)
118 |                         .font(.caption2)
    |                                |- error: 'caption2' is only available in macOS 11.0 or newer
    |                                `- note: add 'if #available' version check
119 |                         .dynamicTypeSize(.small ... .large)
120 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:119:26: error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
117 |                         .foregroundColor(mainColor)
118 |                         .font(.caption2)
119 |                         .dynamicTypeSize(.small ... .large)
    |                          |- error: 'dynamicTypeSize' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
120 |                 }
121 |                 Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:105:24: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
103 |                             .dynamicTypeSize(.small ... .large)
104 |                     }
105 |                 } else {
    |                        |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
106 |                     Text(event.calendarActivity.title)
107 |                         .foregroundColor(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:121: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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
119 |                         .dynamicTypeSize(.small ... .large)
120 |                 }
121 |                 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
122 |             }
123 |             .padding(.horizontal, 8)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:121:17: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
119 |                         .dynamicTypeSize(.small ... .large)
120 |                 }
121 |                 Spacer()
    |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
122 |             }
123 |             .padding(.horizontal, 8)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:56:41: 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 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
    |                                         |- 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
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:56:41: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
 54 |
 55 |         return VStack {
 56 |             VStack(alignment: .leading) {
    |                                         |- 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
 57 |                 if (event.calendarActivity.duration / 60) <= 30 {
 58 |                     if event.columnCount > 0 {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:123:14: error: 'padding' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
121 |                 Spacer()
122 |             }
123 |             .padding(.horizontal, 8)
    |              |- error: 'padding' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:124:14: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
122 |             }
123 |             .padding(.horizontal, 8)
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
    |              |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:124:75: error: 'leading' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
122 |             }
123 |             .padding(.horizontal, 8)
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
    |                                                                           |- error: 'leading' is only available in macOS 10.15 or newer
    |                                                                           `- note: add 'if #available' version check
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:125:14: error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
123 |             .padding(.horizontal, 8)
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
    |              |- error: 'background(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:125:26: error: 'ultraThinMaterial' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
123 |             .padding(.horizontal, 8)
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
    |                          |- error: 'ultraThinMaterial' is only available in macOS 12.0 or newer
    |                          `- note: add 'if #available' version check
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:126:14: error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
    |              |- error: 'background(_:in:fillStyle:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
127 |             .overlay {
128 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:126:35: error: 'opacity' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
    |                                   |- error: 'opacity' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
127 |             .overlay {
128 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:126:54: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
124 |             .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .leading)
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
    |                                                      |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |                                                      `- note: add 'if #available' version check
127 |             .overlay {
128 |                 HStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:127:14: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
    |              |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |              `- note: add 'if #available' version check
128 |                 HStack {
129 |                     Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:127:22: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
125 |             .background(.ultraThinMaterial)
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
    |                      |- warning: conformance of 'Color' to 'ShapeStyle' 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
128 |                 HStack {
129 |                     Rectangle()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:128:17: error: 'HStack' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
128 |                 HStack {
    |                 |- error: 'HStack' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
129 |                     Rectangle()
130 |                         .fill(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:128:24: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
128 |                 HStack {
    |                        |- warning: conformance of 'Color' to 'ShapeStyle' 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
129 |                     Rectangle()
130 |                         .fill(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:129:21: error: 'Rectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
127 |             .overlay {
128 |                 HStack {
129 |                     Rectangle()
    |                     |- error: 'Rectangle' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
130 |                         .fill(mainColor)
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:130:26: error: 'fill(_:style:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
128 |                 HStack {
129 |                     Rectangle()
130 |                         .fill(mainColor)
    |                          |- error: 'fill(_:style:)' is only available in macOS 14.0 or newer
    |                          `- note: add 'if #available' version check
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
132 |                         .frame(width: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:131:26: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
129 |                     Rectangle()
130 |                         .fill(mainColor)
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
    |                          |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
132 |                         .frame(width: 4)
133 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:131:66: error: 'leading' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
129 |                     Rectangle()
130 |                         .fill(mainColor)
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
    |                                                                  |- error: 'leading' is only available in macOS 10.15 or newer
    |                                                                  `- note: add 'if #available' version check
132 |                         .frame(width: 4)
133 |                     Spacer()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:132:26: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
130 |                         .fill(mainColor)
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
132 |                         .frame(width: 4)
    |                          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
133 |                     Spacer()
134 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:133:21: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
132 |                         .frame(width: 4)
133 |                     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
134 |                 }
135 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:133:21: error: 'Spacer' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
131 |                         .frame(maxHeight: .infinity, alignment: .leading)
132 |                         .frame(width: 4)
133 |                     Spacer()
    |                     |- error: 'Spacer' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
134 |                 }
135 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:128:24: 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
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
126 |             .background(mainColor.opacity(0.30), in: RoundedRectangle(cornerRadius: 8, style: .continuous))
127 |             .overlay {
128 |                 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
129 |                     Rectangle()
130 |                         .fill(mainColor)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:137:10: error: 'foregroundColor' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
135 |             }
136 |         }
137 |         .foregroundColor(.primary)
    |          |- error: 'foregroundColor' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
138 |         .overlay {
139 |             RoundedRectangle(cornerRadius: 6)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:137:27: error: 'primary' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
135 |             }
136 |         }
137 |         .foregroundColor(.primary)
    |                           |- error: 'primary' is only available in macOS 10.15 or newer
    |                           `- note: add 'if #available' version check
138 |         .overlay {
139 |             RoundedRectangle(cornerRadius: 6)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:138:10: error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
136 |         }
137 |         .foregroundColor(.primary)
138 |         .overlay {
    |          |- error: 'overlay(alignment:content:)' is only available in macOS 12.0 or newer
    |          `- note: add 'if #available' version check
139 |             RoundedRectangle(cornerRadius: 6)
140 |                 .stroke(mainColor, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:138:18: warning: conformance of 'Color' to 'ShapeStyle' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
136 |         }
137 |         .foregroundColor(.primary)
138 |         .overlay {
    |                  |- warning: conformance of 'Color' to 'ShapeStyle' 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
139 |             RoundedRectangle(cornerRadius: 6)
140 |                 .stroke(mainColor, lineWidth: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:139:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
137 |         .foregroundColor(.primary)
138 |         .overlay {
139 |             RoundedRectangle(cornerRadius: 6)
    |             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
140 |                 .stroke(mainColor, lineWidth: 1)
141 |                 .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:140:18: error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
138 |         .overlay {
139 |             RoundedRectangle(cornerRadius: 6)
140 |                 .stroke(mainColor, lineWidth: 1)
    |                  |- error: 'stroke(_:lineWidth:antialiased:)' is only available in macOS 14.0 or newer
    |                  `- note: add 'if #available' version check
141 |                 .frame(maxHeight: .infinity)
142 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:141:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
139 |             RoundedRectangle(cornerRadius: 6)
140 |                 .stroke(mainColor, lineWidth: 1)
141 |                 .frame(maxHeight: .infinity)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
142 |         }
143 |         .mask(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:143:10: error: 'mask' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
141 |                 .frame(maxHeight: .infinity)
142 |         }
143 |         .mask(
    |          |- error: 'mask' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
144 |             RoundedRectangle(cornerRadius: 6)
145 |                 .frame(maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:144:13: error: 'RoundedRectangle' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
142 |         }
143 |         .mask(
144 |             RoundedRectangle(cornerRadius: 6)
    |             |- error: 'RoundedRectangle' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
145 |                 .frame(maxHeight: .infinity)
146 |         )
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:145:18: error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
  8 | import SwiftUI
  9 |
 10 | struct EventView: View {
    |        `- note: add @available attribute to enclosing struct
 11 |     let event: any CalendarEventRepresentable
 12 |     let selectionAction: SelectionAction
    :
 49 |     }
 50 |
 51 |     private var content: some View {
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
    :
143 |         .mask(
144 |             RoundedRectangle(cornerRadius: 6)
145 |                 .frame(maxHeight: .infinity)
    |                  |- error: 'frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:)' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
146 |         )
147 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:160:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
158 |         let event60 = CalendarEvent.forPreview(activity: activity60min)
159 |
160 |         Group {
    |         |- warning: conformance of 'Group<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
161 |             EventView(event: event15, selectionAction: .none)
162 |                 .previewDisplayName("Normal 15min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:160:9: error: 'Group' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
158 |         let event60 = CalendarEvent.forPreview(activity: activity60min)
159 |
160 |         Group {
    |         |- error: 'Group' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
161 |             EventView(event: event15, selectionAction: .none)
162 |                 .previewDisplayName("Normal 15min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:160:9: error: 'init(content:)' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
158 |         let event60 = CalendarEvent.forPreview(activity: activity60min)
159 |
160 |         Group {
    |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
161 |             EventView(event: event15, selectionAction: .none)
162 |                 .previewDisplayName("Normal 15min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:162:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
160 |         Group {
161 |             EventView(event: event15, selectionAction: .none)
162 |                 .previewDisplayName("Normal 15min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:164:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
162 |                 .previewDisplayName("Normal 15min")
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:164:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
162 |                 .previewDisplayName("Normal 15min")
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:165:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
165 |                 .previewDisplayName("XXXL 15min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
166 |             EventView(event: event15, selectionAction: .none)
167 |                 .environment(\.sizeCategory, .extraSmall)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:167:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
167 |                 .environment(\.sizeCategory, .extraSmall)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
168 |                 .previewDisplayName("XS 15min")
169 |             EventView(event: event30, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:167:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
167 |                 .environment(\.sizeCategory, .extraSmall)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
168 |                 .previewDisplayName("XS 15min")
169 |             EventView(event: event30, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:168:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
166 |             EventView(event: event15, selectionAction: .none)
167 |                 .environment(\.sizeCategory, .extraSmall)
168 |                 .previewDisplayName("XS 15min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
169 |             EventView(event: event30, selectionAction: .none)
170 |                 .previewDisplayName("Normal 30min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:170:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
168 |                 .previewDisplayName("XS 15min")
169 |             EventView(event: event30, selectionAction: .none)
170 |                 .previewDisplayName("Normal 30min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
171 |             EventView(event: event30, selectionAction: .none)
172 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:172:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
170 |                 .previewDisplayName("Normal 30min")
171 |             EventView(event: event30, selectionAction: .none)
172 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
173 |                 .previewDisplayName("XXXL 30min")
174 |             EventView(event: event30, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:172:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
170 |                 .previewDisplayName("Normal 30min")
171 |             EventView(event: event30, selectionAction: .none)
172 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
173 |                 .previewDisplayName("XXXL 30min")
174 |             EventView(event: event30, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:173:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
171 |             EventView(event: event30, selectionAction: .none)
172 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
173 |                 .previewDisplayName("XXXL 30min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
174 |             EventView(event: event30, selectionAction: .none)
175 |                 .environment(\.sizeCategory, .extraSmall)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:175:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
173 |                 .previewDisplayName("XXXL 30min")
174 |             EventView(event: event30, selectionAction: .none)
175 |                 .environment(\.sizeCategory, .extraSmall)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
176 |                 .previewDisplayName("XS 30min")
177 |             EventView(event: event60, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:175:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
173 |                 .previewDisplayName("XXXL 30min")
174 |             EventView(event: event30, selectionAction: .none)
175 |                 .environment(\.sizeCategory, .extraSmall)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
176 |                 .previewDisplayName("XS 30min")
177 |             EventView(event: event60, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:176:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
174 |             EventView(event: event30, selectionAction: .none)
175 |                 .environment(\.sizeCategory, .extraSmall)
176 |                 .previewDisplayName("XS 30min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
177 |             EventView(event: event60, selectionAction: .none)
178 |                 .previewDisplayName("Normal 60min")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:178:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
176 |                 .previewDisplayName("XS 30min")
177 |             EventView(event: event60, selectionAction: .none)
178 |                 .previewDisplayName("Normal 60min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
179 |             EventView(event: event60, selectionAction: .none)
180 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:180:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
178 |                 .previewDisplayName("Normal 60min")
179 |             EventView(event: event60, selectionAction: .none)
180 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
181 |                 .previewDisplayName("XXXL 60min")
182 |             EventView(event: event60, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:180:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
178 |                 .previewDisplayName("Normal 60min")
179 |             EventView(event: event60, selectionAction: .none)
180 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
181 |                 .previewDisplayName("XXXL 60min")
182 |             EventView(event: event60, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:181:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
179 |             EventView(event: event60, selectionAction: .none)
180 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
181 |                 .previewDisplayName("XXXL 60min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
182 |             EventView(event: event60, selectionAction: .none)
183 |                 .environment(\.sizeCategory, .extraSmall)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:183:18: error: 'environment' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
181 |                 .previewDisplayName("XXXL 60min")
182 |             EventView(event: event60, selectionAction: .none)
183 |                 .environment(\.sizeCategory, .extraSmall)
    |                  |- error: 'environment' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
184 |                 .previewDisplayName("XS 60min")
185 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:183:32: error: 'sizeCategory' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
181 |                 .previewDisplayName("XXXL 60min")
182 |             EventView(event: event60, selectionAction: .none)
183 |                 .environment(\.sizeCategory, .extraSmall)
    |                                |- error: 'sizeCategory' is only available in macOS 10.15 or newer
    |                                `- note: add 'if #available' version check
184 |                 .previewDisplayName("XS 60min")
185 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:184:18: error: 'previewDisplayName' is only available in macOS 10.15 or newer
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
    :
182 |             EventView(event: event60, selectionAction: .none)
183 |                 .environment(\.sizeCategory, .extraSmall)
184 |                 .previewDisplayName("XS 60min")
    |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |                  `- note: add 'if #available' version check
185 |         }
186 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:151:36: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
148 | }
149 |
150 | struct EventView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
151 |     static var previews: some View {
    |                |                   |- warning: conformance of 'Group<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
    |                `- note: add @available attribute to enclosing static property
152 |         let activity15min = CalendarActivity.forPreview(duration: 60 * 15)
153 |         let activity30min = CalendarActivity.forPreview(duration: 60 * 30)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:26: error: 'yellow' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                          `- error: 'yellow' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:35: error: 'red' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                   `- error: 'red' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:41: error: 'green' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                         `- error: 'green' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:49: error: 'blue' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                                 `- error: 'blue' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.