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 main (86793d), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 15:51:07 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

 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
   :
14 |
15 |     // Timer for updating the position of the timeline
16 |     private let timer = Timer.publish(every: 60, on: .main, in: .common).autoconnect()
   |                               `- error: 'publish(every:tolerance:on:in:options:)' is only available in macOS 10.15 or newer
17 |
18 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:16:74: error: 'autoconnect()' is only available in macOS 10.15 or newer
 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
   :
14 |
15 |     // Timer for updating the position of the timeline
16 |     private let timer = Timer.publish(every: 60, on: .main, in: .common).autoconnect()
   |                                                                          `- error: 'autoconnect()' is only available in macOS 10.15 or newer
17 |
18 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:11:6: error: 'Binding' is only available in macOS 10.15 or newer
 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
12 |     @Binding var hourHeight: Double
13 |     @State private var timelineOffset: Double = 0
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
12 |     @Binding var hourHeight: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     @State private var timelineOffset: Double = 0
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:13:6: error: 'State' is only available in macOS 10.15 or newer
 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
12 |     @Binding var hourHeight: Double
13 |     @State private var timelineOffset: Double = 0
   |      `- error: 'State' is only available in macOS 10.15 or newer
14 |
15 |     // Timer for updating the position of the timeline
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:18:20: error: 'View' is only available in macOS 10.15 or newer
 7 | import Combine
 8 |
 9 | struct CalendarTimelineView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let startHourOfDay: Int
11 |     @Binding var hourSpacing: Double
   :
16 |     private let timer = Timer.publish(every: 60, on: .main, in: .common).autoconnect()
17 |
18 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:46:31: error: 'View' is only available in macOS 10.15 or newer
43 | }
44 |
45 | struct CalendarTimelineView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
46 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:12:20: error: 'View' is only available in macOS 10.15 or newer
 7 | import SwiftUI
 8 |
 9 | struct EventDetailsView: View {
   |        `- note: add @available attribute to enclosing struct
10 |     let event: any CalendarEventRepresentable
11 |
12 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add @available attribute to enclosing property
13 |         VStack(alignment: .leading) {
14 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:58:31: error: 'View' is only available in macOS 10.15 or newer
55 | }
56 |
57 | struct EventDetailsView_Previews: PreviewProvider {
   |        `- note: add @available attribute to enclosing struct
58 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
/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)
[9/13] Compiling SimpleCalendar File.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Extensions/File.swift:15:23: error: 'Color' is only available in macOS 10.15 or newer
13 | #endif
14 |
15 | fileprivate extension Color {
   |             |         `- error: 'Color' is only available in macOS 10.15 or newer
   |             `- note: add @available attribute to enclosing extension
16 |     #if os(macOS)
17 |     typealias SystemColor = NSColor
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Extensions/File.swift:43:11: error: 'Color' is only available in macOS 10.15 or newer
41 | }
42 |
43 | extension Color: Codable {
   | |         `- error: 'Color' is only available in macOS 10.15 or newer
   | `- note: add @available attribute to enclosing extension
44 |     enum CodingKeys: String, CodingKey {
45 |         case red, green, blue
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Extensions/File.swift:29:9: error: 'init(_:)' is only available in macOS 11.0 or newer
13 | #endif
14 |
15 | fileprivate extension Color {
   |             `- note: add @available attribute to enclosing extension
16 |     #if os(macOS)
17 |     typealias SystemColor = NSColor
   :
20 |     #endif
21 |
22 |     var colorComponents: (red: CGFloat, green: CGFloat, blue: CGFloat, alpha: CGFloat)? {
   |         `- note: add @available attribute to enclosing property
23 |         var r: CGFloat = 0
24 |         var g: CGFloat = 0
   :
27 |
28 |         #if os(macOS)
29 |         SystemColor(self).getRed(&r, green: &g, blue: &b, alpha: &a)
   |         |- error: 'init(_:)' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
30 |         // Note that non RGB color will raise an exception, that I don't now how to catch because it is an Objc exception.
31 |         #else
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Extensions/File.swift:54:14: error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
41 | }
42 |
43 | extension Color: Codable {
   | `- note: add @available attribute to enclosing extension
44 |     enum CodingKeys: String, CodingKey {
45 |         case red, green, blue
46 |     }
47 |
48 |     public init(from decoder: Decoder) throws {
   |            `- note: add @available attribute to enclosing initializer
49 |         let container = try decoder.container(keyedBy: CodingKeys.self)
50 |         let r = try container.decode(Double.self, forKey: .red)
   :
52 |         let b = try container.decode(Double.self, forKey: .blue)
53 |
54 |         self.init(red: r, green: g, blue: b)
   |              |- error: 'init(_:red:green:blue:opacity:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
55 |     }
56 |
[10/13] Compiling SimpleCalendar CalendarEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:26: error: 'yellow' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                          `- error: 'yellow' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:35: error: 'red' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                   `- error: 'red' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:41: error: 'green' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                         `- error: 'green' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:49: error: 'blue' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                                 `- error: 'blue' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
[11/13] Compiling SimpleCalendar Date+Formatting.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Extensions/Date+Formatting.swift:12:9: error: 'RelativeDateTimeFormatter' is only available in macOS 10.15 or newer
 8 | import Foundation
 9 |
10 | extension Date {
   | `- note: add @available attribute to enclosing extension
11 |     func relativeDateDisplay() -> String {
   |          `- note: add @available attribute to enclosing instance method
12 |         RelativeDateTimeFormatter().localizedString(for: self, relativeTo: Date())
   |         |- error: 'RelativeDateTimeFormatter' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
13 |     }
14 |
[12/13] Compiling SimpleCalendar CalendarActivity.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:40:23: error: 'Color' is only available in macOS 10.15 or newer
 36 | ///
 37 | /// It categorises an calendarActivity so the user can easier distinguish between each calendarActivity.
 38 | public struct ActivityType: Codable {
    |               `- note: add @available attribute to enclosing struct
 39 |     public let name: String
 40 |     public let color: Color
    |                       `- error: 'Color' is only available in macOS 10.15 or newer
 41 |
 42 |     public init(name: String, color: Color) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:42:38: error: 'Color' is only available in macOS 10.15 or newer
 36 | ///
 37 | /// It categorises an calendarActivity so the user can easier distinguish between each calendarActivity.
 38 | public struct ActivityType: Codable {
    |               `- note: add @available attribute to enclosing struct
 39 |     public let name: String
 40 |     public let color: Color
 41 |
 42 |     public init(name: String, color: Color) {
    |            |                         `- error: 'Color' is only available in macOS 10.15 or newer
    |            `- note: add @available attribute to enclosing initializer
 43 |         self.name = name
 44 |         self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:16: error: 'Color' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                `- error: 'Color' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:26: error: 'yellow' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                          `- error: 'yellow' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:35: error: 'red' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                   `- error: 'red' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:41: error: 'green' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                         `- error: 'green' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Entities/CalendarActivity.swift:51:49: error: 'blue' is only available in macOS 10.15 or newer
 46 | }
 47 |
 48 | internal extension ActivityType {
    |          `- note: add @available attribute to enclosing extension
 49 |     static func forPreview(
    |                 `- note: add @available attribute to enclosing static method
 50 |         name: String = "For Preview",
 51 |         color: Color = [.yellow, .red, .green, .blue].randomElement()!
    |                                                 `- error: 'blue' is only available in macOS 10.15 or newer
 52 |     ) -> ActivityType {
 53 |         ActivityType(name: name, color: color)
[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