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, reference v1.0.0 (1c9cef), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 15:49:50 UTC.

Build Command

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

Build Log

329 |
330 |         return Group {
    |                |- error: 'Group' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
331 |             NavigationStack {
332 |                 SimpleCalendarView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:330:16: error: 'init(content:)' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
328 |         ]
329 |
330 |         return Group {
    |                |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
331 |             NavigationStack {
332 |                 SimpleCalendarView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:331:13: error: 'NavigationStack' is only available in macOS 13.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
329 |
330 |         return Group {
331 |             NavigationStack {
    |             |- error: 'NavigationStack' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
332 |                 SimpleCalendarView(
333 |                     events: .constant(events),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:338:14: error: 'previewDisplayName' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
336 |                 )
337 |             }
338 |             .previewDisplayName("Light")
    |              |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
339 |             .preferredColorScheme(.light)
340 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:339:14: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
337 |             }
338 |             .previewDisplayName("Light")
339 |             .preferredColorScheme(.light)
    |              |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
340 |
341 |             NavigationStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:341:13: error: 'NavigationStack' is only available in macOS 13.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
339 |             .preferredColorScheme(.light)
340 |
341 |             NavigationStack {
    |             |- error: 'NavigationStack' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
342 |                 SimpleCalendarView(
343 |                     events: .constant(events),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:348:14: error: 'previewDisplayName' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
346 |                 )
347 |             }
348 |             .previewDisplayName("Dark")
    |              |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
349 |             .preferredColorScheme(.dark)
350 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:349:14: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add @available attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add @available attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
347 |             }
348 |             .previewDisplayName("Dark")
349 |             .preferredColorScheme(.dark)
    |              |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
350 |         }
351 |     }
[12/13] Compiling SimpleCalendar CalendarContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     let selectionAction: SelectionAction
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct CalendarContentView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
33 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
34 |         CalendarContentView(
35 |             events: .constant([]),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:16:9: error: 'GeometryReader' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
17 |             let width = (geo.size.width - leadingPadding)
18 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:19:13: error: 'ForEach' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
18 |
19 |             ForEach(events, id:\.id) { event in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |                 let boxWidth = (width / Double(event.columnCount + 1)) - boxSpacing
21 |                 EventView(event: event, selectionAction: selectionAction)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:19:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
18 |
19 |             ForEach(events, id:\.id) { event in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
20 |                 let boxWidth = (width / Double(event.columnCount + 1)) - boxSpacing
21 |                 EventView(event: event, selectionAction: selectionAction)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:22:22: error: 'offset' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
20 |                 let boxWidth = (width / Double(event.columnCount + 1)) - boxSpacing
21 |                 EventView(event: event, selectionAction: selectionAction)
22 |                     .offset(CGSize(width: boxWidth * Double(event.column) + (boxSpacing * Double(event.column)), height: (event.coordinates?.minY ?? 0)))
   |                      |- error: 'offset' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
23 |                     .shadow(color: .black.opacity(0.1), radius: 5, x: 0, y: 5)
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:23:22: error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
21 |                 EventView(event: event, selectionAction: selectionAction)
22 |                     .offset(CGSize(width: boxWidth * Double(event.column) + (boxSpacing * Double(event.column)), height: (event.coordinates?.minY ?? 0)))
23 |                     .shadow(color: .black.opacity(0.1), radius: 5, x: 0, y: 5)
   |                      |- error: 'shadow(color:radius:x:y:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:23:37: error: 'black' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
21 |                 EventView(event: event, selectionAction: selectionAction)
22 |                     .offset(CGSize(width: boxWidth * Double(event.column) + (boxSpacing * Double(event.column)), height: (event.coordinates?.minY ?? 0)))
23 |                     .shadow(color: .black.opacity(0.1), radius: 5, x: 0, y: 5)
   |                                     |- error: 'black' is only available in macOS 10.15 or newer
   |                                     `- note: add 'if #available' version check
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:23:43: error: 'opacity' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
21 |                 EventView(event: event, selectionAction: selectionAction)
22 |                     .offset(CGSize(width: boxWidth * Double(event.column) + (boxSpacing * Double(event.column)), height: (event.coordinates?.minY ?? 0)))
23 |                     .shadow(color: .black.opacity(0.1), radius: 5, x: 0, y: 5)
   |                                           |- error: 'opacity' is only available in macOS 10.15 or newer
   |                                           `- note: add 'if #available' version check
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
25 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:24:22: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
22 |                     .offset(CGSize(width: boxWidth * Double(event.column) + (boxSpacing * Double(event.column)), height: (event.coordinates?.minY ?? 0)))
23 |                     .shadow(color: .black.opacity(0.1), radius: 5, x: 0, y: 5)
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
25 |             }
26 |             .padding(.top, 12)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:26:14: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
24 |                     .frame(width: boxWidth, height: event.coordinates?.height ?? 20)
25 |             }
26 |             .padding(.top, 12)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
27 |             .padding(.leading, leadingPadding)
28 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:27:14: error: 'padding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add @available attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
   :
25 |             }
26 |             .padding(.top, 12)
27 |             .padding(.leading, leadingPadding)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |         }
29 |     }
[13/13] Compiling SimpleCalendar EventView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:15:6: error: 'State' 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
 13 |
 14 |     // For opening Event details
 15 |     @State private var showEventSheet = false
    |      `- error: 'State' is only available in macOS 10.15 or newer
 16 |
 17 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:17:20: error: 'View' 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 {
    |         |          `- error: 'View' is only available in macOS 10.15 or newer
    |         `- 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:51:31: error: 'View' 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 {
    |                 |             `- error: 'View' is only available in macOS 10.15 or newer
    |                 `- note: add @available attribute to enclosing property
 52 |         let mainColor = event.calendarActivity.activityType.color
 53 |         let endDate = event.startDate.addingTimeInterval(event.calendarActivity.duration)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:151:31: error: 'View' 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 {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- 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/Views/EventView.swift:18:9: 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:18:9: 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
    :
 15 |     @State private var showEventSheet = false
 16 |
 17 |     var body: some View {
    |         `- note: add @available attribute to enclosing property
 18 |         VStack {
    |         |- error: 'VStack' is only available in macOS 10.15 or newer
    |         `- 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:18:9: 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: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:20:17: error: 'NavigationLink' 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 {
 20 |                 NavigationLink {
    |                 |- error: 'NavigationLink' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
 21 |                     AnyView(customView(event))
 22 |                 } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:21:21: 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 {
 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:164:30: error: cannot convert value of type 'KeyPath<EnvironmentValues, ContentSizeCategory>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
162 |                 .previewDisplayName("Normal 15min")
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                              `- error: cannot convert value of type 'KeyPath<EnvironmentValues, ContentSizeCategory>' to expected argument type 'WritableKeyPath<EnvironmentValues, V>'
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventView.swift:164:47: error: cannot infer contextual base in reference to member 'extraExtraExtraLarge'
162 |                 .previewDisplayName("Normal 15min")
163 |             EventView(event: event15, selectionAction: .none)
164 |                 .environment(\.sizeCategory, .extraExtraExtraLarge)
    |                                               `- error: cannot infer contextual base in reference to member 'extraExtraExtraLarge'
165 |                 .previewDisplayName("XXXL 15min")
166 |             EventView(event: event15, selectionAction: .none)
BUILD FAILURE 6.0 macosSpm