The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SimpleCalendar, reference v1.0.0 (1c9cef), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 13:02:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

 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 {
   |         `- note: add '@available' attribute to enclosing property
13 |         VStack(alignment: .leading) {
14 |             ZStack {
15 |                 VStack(alignment: .leading, spacing: 0) {
   |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                         `- note: add 'if #available' version check
16 |                     Text(event.calendarActivity.activityType.name)
17 |                         .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:15:57: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 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 {
   |         `- note: add '@available' attribute to enclosing property
13 |         VStack(alignment: .leading) {
14 |             ZStack {
15 |                 VStack(alignment: .leading, spacing: 0) {
   |                                                         |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                                                         `- note: add 'if #available' version check
16 |                     Text(event.calendarActivity.activityType.name)
17 |                         .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:15:57: 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
 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 {
   |         `- note: add '@available' attribute to enclosing property
13 |         VStack(alignment: .leading) {
14 |             ZStack {
15 |                 VStack(alignment: .leading, spacing: 0) {
   |                                                         |- 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
16 |                     Text(event.calendarActivity.activityType.name)
17 |                         .font(.caption)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:53:10: error: 'padding' 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 {
   |         `- note: add '@available' attribute to enclosing property
13 |         VStack(alignment: .leading) {
14 |             ZStack {
   :
51 |             }
52 |         }
53 |         .padding()
   |          |- error: 'padding' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
54 |     }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:59:9: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
55 | }
56 |
57 | struct EventDetailsView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
58 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
   |         |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |         `- note: add 'if #available' version check
60 |             EventDetailsView(event: CalendarEvent.forPreview())
61 |                 .previewDisplayName("Light")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:59:9: error: 'Group' 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 {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
   |         |- error: 'Group' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
60 |             EventDetailsView(event: CalendarEvent.forPreview())
61 |                 .previewDisplayName("Light")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:59:9: error: 'init(content:)' 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 {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
   |         |- error: 'init(content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
60 |             EventDetailsView(event: CalendarEvent.forPreview())
61 |                 .previewDisplayName("Light")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:61:18: error: 'previewDisplayName' 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 {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
61 |                 .previewDisplayName("Light")
   |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
62 |                 .preferredColorScheme(.light)
63 |             EventDetailsView(event: CalendarEvent.forPreview())
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:62:18: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
55 | }
56 |
57 | struct EventDetailsView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
58 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
61 |                 .previewDisplayName("Light")
62 |                 .preferredColorScheme(.light)
   |                  |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
63 |             EventDetailsView(event: CalendarEvent.forPreview())
64 |                 .previewDisplayName("Dark")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:64:18: error: 'previewDisplayName' 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 {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
   :
62 |                 .preferredColorScheme(.light)
63 |             EventDetailsView(event: CalendarEvent.forPreview())
64 |                 .previewDisplayName("Dark")
   |                  |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
65 |                 .preferredColorScheme(.dark)
66 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:65:18: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
55 | }
56 |
57 | struct EventDetailsView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
58 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
   :
63 |             EventDetailsView(event: CalendarEvent.forPreview())
64 |                 .previewDisplayName("Dark")
65 |                 .preferredColorScheme(.dark)
   |                  |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
   |                  `- note: add 'if #available' version check
66 |         }
67 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/EventDetailsView.swift:58:36: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
55 | }
56 |
57 | struct EventDetailsView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
58 |     static var previews: some View {
   |                |                   |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                |                   `- note: add 'if #available' version check
   |                `- note: add '@available' attribute to enclosing static property
59 |         Group {
60 |             EventDetailsView(event: CalendarEvent.forPreview())
/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)
[8/13] Compiling SimpleCalendar CalendarTimelineView.swift
/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:16:31: error: 'publish(every:tolerance:on:in:options:)' 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: '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: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/CalendarTimelineView.swift:19:9: error: 'GeometryReader' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
   |         |- error: 'GeometryReader' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
20 |             VStack {
21 |                 Divider()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:20:13: error: 'VStack' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
21 |                 Divider()
22 |                     .frame(height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:21:17: error: 'Divider' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
21 |                 Divider()
   |                 |- error: 'Divider' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
22 |                     .frame(height: 1)
23 |                     .overlay(Color.red)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:22:22: error: 'frame(width:height:alignment:)' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
21 |                 Divider()
22 |                     .frame(height: 1)
   |                      |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
23 |                     .overlay(Color.red)
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:23:22: error: 'overlay(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
21 |                 Divider()
22 |                     .frame(height: 1)
23 |                     .overlay(Color.red)
   |                      |- error: 'overlay(_:ignoresSafeAreaEdges:)' is only available in macOS 12.0 or newer
   |                      `- note: add 'if #available' version check
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
25 |                     .padding(.vertical, 8)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:23:30: error: 'Color' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
21 |                 Divider()
22 |                     .frame(height: 1)
23 |                     .overlay(Color.red)
   |                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
25 |                     .padding(.vertical, 8)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:23:36: error: 'red' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
21 |                 Divider()
22 |                     .frame(height: 1)
23 |                     .overlay(Color.red)
   |                                    |- error: 'red' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
25 |                     .padding(.vertical, 8)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:24:22: error: 'offset' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   :
22 |                     .frame(height: 1)
23 |                     .overlay(Color.red)
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
   |                      |- error: 'offset' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
25 |                     .padding(.vertical, 8)
26 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:25:22: error: 'padding' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   :
23 |                     .overlay(Color.red)
24 |                     .offset(CGSize(width: 0, height: timelineOffset))
25 |                     .padding(.vertical, 8)
   |                      |- error: 'padding' is only available in macOS 10.15 or newer
   |                      `- note: add 'if #available' version check
26 |             }
27 |             .padding(.horizontal, 16)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:27:14: error: 'padding' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   :
25 |                     .padding(.vertical, 8)
26 |             }
27 |             .padding(.horizontal, 16)
   |              |- error: 'padding' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
28 |             .onAppear {
29 |                 calculateOffset()
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:28:14: error: 'onAppear(perform:)' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   :
26 |             }
27 |             .padding(.horizontal, 16)
28 |             .onAppear {
   |              |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
29 |                 calculateOffset()
30 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:32:10: error: 'onReceive(_:perform:)' 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 {
   |         `- note: add '@available' attribute to enclosing property
19 |         GeometryReader { _ in
20 |             VStack {
   :
30 |             }
31 |         }
32 |         .onReceive(timer) { _ in
   |          |- error: 'onReceive(_:perform:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
33 |             calculateOffset()
34 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:41:9: error: setter for 'timelineOffset' 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
   :
35 |     }
36 |
37 |     func calculateOffset() {
   |          `- note: add '@available' attribute to enclosing instance method
38 |         let actualHourHeight = hourHeight + hourSpacing
39 |         let heightPerSecond = (actualHourHeight / 60) / 60
40 |         let secondsSinceStartOfDay = abs(Date().atHour(startHourOfDay)?.timeIntervalSinceNow ?? 0)
41 |         timelineOffset = secondsSinceStartOfDay * heightPerSecond
   |         |- error: setter for 'timelineOffset' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
42 |     }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:47:9: error: 'ScrollView' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
   |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
48 |             VStack {
49 |                 ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:47:9: error: 'init(_:content:)' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
   |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
48 |             VStack {
49 |                 ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:48:13: error: 'VStack' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   |             |- error: 'VStack' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
49 |                 ZStack {
50 |                     CalendarTimelineView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:49:17: error: 'ZStack' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
49 |                 ZStack {
   |                 |- error: 'ZStack' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
50 |                     CalendarTimelineView(
51 |                         startHourOfDay: 6,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:56:18: error: 'frame(width:height:alignment:)' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   :
54 |                     )
55 |                 }
56 |                 .frame(height: 580)
   |                  |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |                  `- note: add 'if #available' version check
57 |                 Spacer()
58 |                 Text("End of view")
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:57: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
43 | }
44 |
45 | struct CalendarTimelineView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
46 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   :
55 |                 }
56 |                 .frame(height: 580)
57 |                 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
58 |                 Text("End of view")
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:57:17: error: 'Spacer' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   :
55 |                 }
56 |                 .frame(height: 580)
57 |                 Spacer()
   |                 |- error: 'Spacer' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
58 |                 Text("End of view")
59 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:58:17: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
43 | }
44 |
45 | struct CalendarTimelineView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
46 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   :
56 |                 .frame(height: 580)
57 |                 Spacer()
58 |                 Text("End of view")
   |                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                 `- note: add 'if #available' version check
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:58:17: error: 'Text' 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 {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   :
56 |                 .frame(height: 580)
57 |                 Spacer()
58 |                 Text("End of view")
   |                 |- error: 'Text' is only available in macOS 10.15 or newer
   |                 `- note: add 'if #available' version check
59 |             }
60 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:48:20: warning: conformance of 'Spacer' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
43 | }
44 |
45 | struct CalendarTimelineView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
46 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   |                    |- 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
49 |                 ZStack {
50 |                     CalendarTimelineView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarTimelineView.swift:48:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
43 | }
44 |
45 | struct CalendarTimelineView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
46 |     static var previews: some View {
   |                `- note: add '@available' attribute to enclosing static property
47 |         ScrollView {
48 |             VStack {
   |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
   |                    `- note: add 'if #available' version check
49 |                 ZStack {
50 |                     CalendarTimelineView(
[9/13] Compiling SimpleCalendar SimpleCalendarView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:32:62: error: 'View' is only available in macOS 10.15 or newer
  7 |
  8 | /// Defines the type of action preformed on an event selection
  9 | public enum SelectionAction {
    |             `- note: add '@available' attribute to enclosing enum
 10 |     /// Shows the Activity Sheet for Simple Calendar
 11 |     ///
    :
 30 |     /// )
 31 |     /// ```
 32 |     case customSheet((any CalendarEventRepresentable) -> any View)
    |                                                              `- error: 'View' is only available in macOS 10.15 or newer
 33 |
 34 |     /// Shows a destination view using `NavigationLink`
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:45:62: error: 'View' is only available in macOS 10.15 or newer
  7 |
  8 | /// Defines the type of action preformed on an event selection
  9 | public enum SelectionAction {
    |             `- note: add '@available' attribute to enclosing enum
 10 |     /// Shows the Activity Sheet for Simple Calendar
 11 |     ///
    :
 43 |     /// )
 44 |     /// ```
 45 |     case destination((any CalendarEventRepresentable) -> any View)
    |                                                              `- error: 'View' is only available in macOS 10.15 or newer
 46 |
 47 |     /// Uses a closure to inform about the selection,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:75:6: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 76 |     @Binding var selectedDate: Date
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:76:6: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
 76 |     @Binding var selectedDate: Date
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
 76 |     @Binding var selectedDate: Date
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 79 |     @State private var hourHeight: Double
 80 |     @State private var hourSpacing: Double
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:79:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
 79 |     @State private var hourHeight: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 80 |     @State private var hourSpacing: Double
 81 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:80:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
 79 |     @State private var hourHeight: Double
 80 |     @State private var hourSpacing: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 81 |
 82 |     private let startHourOfDay: Int
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:96:17: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
 97 |         selectedDate: Binding<Date>,
 98 |         selectionAction: SelectionAction = .sheet,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:97:23: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
 97 |         selectedDate: Binding<Date>,
    |                       `- error: 'Binding' is only available in macOS 10.15 or newer
 98 |         selectionAction: SelectionAction = .sheet,
 99 |         dateSelectionStyle: DateSelectionStyle = .datePicker,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:145:27: error: 'View' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:259:31: error: 'View' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:106:26: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
 97 |         selectedDate: Binding<Date>,
    :
104 |         _events = events
105 |         _selectedDate = selectedDate
106 |         _visibleEvents = State(initialValue: events.wrappedValue)
    |                          |- error: 'State' is only available in macOS 10.15 or newer
    |                          `- note: add 'if #available' version check
107 |         _hourHeight = State(initialValue: hourHeight)
108 |         _hourSpacing = State(initialValue: hourSpacing)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:107:23: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
 97 |         selectedDate: Binding<Date>,
    :
105 |         _selectedDate = selectedDate
106 |         _visibleEvents = State(initialValue: events.wrappedValue)
107 |         _hourHeight = State(initialValue: hourHeight)
    |                       |- error: 'State' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
108 |         _hourSpacing = State(initialValue: hourSpacing)
109 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:108:24: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
 97 |         selectedDate: Binding<Date>,
    :
106 |         _visibleEvents = State(initialValue: events.wrappedValue)
107 |         _hourHeight = State(initialValue: hourHeight)
108 |         _hourSpacing = State(initialValue: hourSpacing)
    |                        |- error: 'State' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
109 |
110 |         self.startHourOfDay = startHourOfDay
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:9: error: 'ScrollView' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |         |- error: 'ScrollView' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:9: error: 'init(_:content:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |         |- error: 'init(_:content:)' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- 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
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- 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
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- 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
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of '_ConditionalContent<TrueContent, FalseContent>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- 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
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:146:20: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
    |                    |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
147 |             ZStack {
148 |                 CalendarPageView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:147:13: error: 'ZStack' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    |             |- error: 'ZStack' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
148 |                 CalendarPageView(
149 |                     hours: hours,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:155:57: error: 'buildIf' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
153 |
154 |                 let calendar = Calendar.current
155 |                 if calendar.isDateInToday(selectedDate) {
    |                                                         |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                                                         `- note: add 'if #available' version check
156 |                     CalendarTimelineView(
157 |                         startHourOfDay: startHourOfDay,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:161:17: error: 'buildIf' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
159 |                         hourHeight: $hourHeight
160 |                     )
161 |                 }
    |                 |- error: 'buildIf' is only available in macOS 10.15 or newer
    |                 `- note: add 'if #available' version check
162 |
163 |                 CalendarContentView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:147:20: warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    |                    |- warning: conformance of 'Optional<Wrapped>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                    `- note: add 'if #available' version check
148 |                 CalendarPageView(
149 |                     hours: hours,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:14: error: 'toolbar(content:)' is only available in macOS 11.0 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |              |- error: 'toolbar(content:)' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- 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
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- 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
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- 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
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- 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
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                      `- note: add 'if #available' version check
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:17: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                 |- 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
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:17: error: 'ToolbarItem' is only available in macOS 11.0 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                 |- error: 'ToolbarItem' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:17: error: 'init(placement:content:)' is only available in macOS 11.0 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                 |- error: 'init(placement:content:)' is only available in macOS 11.0 or newer
    |                 `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:41: error: 'topBarTrailing' is unavailable in macOS
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                         `- error: 'topBarTrailing' is unavailable in macOS
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
SwiftUI.ToolbarItemPlacement.topBarTrailing:5:21: note: 'topBarTrailing' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 17.0, tvOS 17.0)
4 |   @available(macOS, unavailable)
5 |   public static var topBarTrailing: ToolbarItemPlacement { get }}
  |                     `- note: 'topBarTrailing' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- 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
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- 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
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                         `- note: add 'if #available' version check
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:21: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     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
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:21: error: 'ZStack' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                     |- error: 'ZStack' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:21: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     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
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
    |                            |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                            `- note: add 'if #available' version check
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:173:29: error: 'DatePicker' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
173 |                             DatePicker("", selection: $selectedDate, displayedComponents: [.date])
    |                             |- error: 'DatePicker' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:173:29: error: 'init(_:selection:displayedComponents:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
173 |                             DatePicker("", selection: $selectedDate, displayedComponents: [.date])
    |                             |- error: 'init(_:selection:displayedComponents:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:173:40: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
173 |                             DatePicker("", selection: $selectedDate, displayedComponents: [.date])
    |                                        |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
    |                                        `- note: add 'if #available' version check
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:174:34: error: 'labelsHidden()' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
172 |                         case .datePicker:
173 |                             DatePicker("", selection: $selectedDate, displayedComponents: [.date])
174 |                                 .labelsHidden()
    |                                  |- error: 'labelsHidden()' is only available in macOS 10.15 or newer
    |                                  `- note: add 'if #available' version check
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:173:29: error: 'buildEither(first:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
173 |                             DatePicker("", selection: $selectedDate, displayedComponents: [.date])
    |                             |- error: 'buildEither(first:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: error: 'Picker' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- error: 'Picker' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: error: 'init(selection:content:label:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- error: 'init(selection:content:label:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:177:33: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
    |                                 |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
178 |                                     Text(date, style: .date)
179 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:177:33: error: 'ForEach' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
    |                                 |- error: 'ForEach' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
178 |                                     Text(date, style: .date)
179 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:177:33: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
    |                                 |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
178 |                                     Text(date, style: .date)
179 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:178:37: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
    |                                     |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                     `- note: add 'if #available' version check
179 |                                 }
180 |                             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:178:37: error: 'Text' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
    |                                     |- error: 'Text' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
179 |                                 }
180 |                             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:178:37: error: 'init(_:style:)' is only available in macOS 11.0 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
    |                                     |- error: 'init(_:style:)' is only available in macOS 11.0 or newer
    |                                     `- note: add 'if #available' version check
179 |                                 }
180 |                             } label: {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:177:59: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
177 |                                 ForEach(dates, id:\.self) { date in
    |                                                           |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                           `- note: add 'if #available' version check
178 |                                     Text(date, style: .date)
179 |                                 }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:62: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                                                              |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                                              `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:181:33: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
179 |                                 }
180 |                             } label: {
181 |                                 Text("")
    |                                 |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                 `- note: add 'if #available' version check
182 |                             }
183 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:181:33: error: 'Text' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
179 |                                 }
180 |                             } label: {
181 |                                 Text("")
    |                                 |- error: 'Text' is only available in macOS 10.15 or newer
    |                                 `- note: add 'if #available' version check
182 |                             }
183 |                         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:180:38: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
178 |                                     Text(date, style: .date)
179 |                                 }
180 |                             } label: {
    |                                      |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                                      `- note: add 'if #available' version check
181 |                                 Text("")
182 |                             }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- warning: conformance of 'ForEach<Data, ID, Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:176:29: error: 'buildEither(second:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
174 |                                 .labelsHidden()
175 |                         case .selectedDates(let dates):
176 |                             Picker(selection: $selectedDate) {
    |                             |- error: 'buildEither(second:)' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
177 |                                 ForEach(dates, id:\.self) { date in
178 |                                     Text(date, style: .date)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:170:28: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     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
171 |                         switch dateSelectionStyle {
172 |                         case .datePicker:
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:169:57: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
167 |             }
168 |             .toolbar {
169 |                 ToolbarItem(placement: .topBarTrailing) {
    |                                                         |- 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
170 |                     ZStack {
171 |                         switch dateSelectionStyle {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:168:22: 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
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
166 |                 )
167 |             }
168 |             .toolbar {
    |                      |- 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
169 |                 ToolbarItem(placement: .topBarTrailing) {
170 |                     ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:188:10: error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
186 |             }
187 |         }
188 |         .onChange(of: selectedDate) { _ in
    |          |- error: 'onChange(of:perform:)' is only available in macOS 11.0 or newer
    |          `- note: add 'if #available' version check
189 |             updateContent()
190 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:191:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
    :
189 |             updateContent()
190 |         }
191 |         .onAppear {
    |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
192 |             updateContent()
193 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:245:9: error: setter for 'visibleEvents' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
204 |     }
205 |
206 |     private func calculateCoordinates(forEvents events: [any CalendarEventRepresentable]) {
    |                  `- note: add '@available' attribute to enclosing instance method
207 |         var eventList: [any CalendarEventRepresentable] = []
208 |
    :
243 |         }
244 |
245 |         self.visibleEvents = eventList
    |         |- error: setter for 'visibleEvents' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
246 |     }
247 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:276:59: error: 'yellow' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
274 |                 activity: CalendarActivity.forPreview(
275 |                     id: UUID().uuidString,
276 |                     type: ActivityType.forPreview(color: .yellow)
    |                                                           |- error: 'yellow' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
277 |                 )
278 |             ),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:284:59: error: 'blue' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
282 |                 activity: CalendarActivity.forPreview(
283 |                     id: UUID().uuidString,
284 |                     type: ActivityType.forPreview(color: .blue),
    |                                                           |- error: 'blue' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
285 |                     duration: 6 * (60 * 60)
286 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:293:59: error: 'gray' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
291 |                 activity: CalendarActivity.forPreview(
292 |                     id: UUID().uuidString,
293 |                     type: ActivityType.forPreview(color: .gray)
    |                                                           |- error: 'gray' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
294 |                 )
295 |             ),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:301:59: error: 'red' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
299 |                 activity: CalendarActivity.forPreview(
300 |                     id: UUID().uuidString,
301 |                     type: ActivityType.forPreview(color: .red),
    |                                                           |- error: 'red' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
302 |                     duration: 45 * 60)
303 |             ),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:309:59: error: 'yellow' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
307 |                 activity: CalendarActivity.forPreview(
308 |                     id: UUID().uuidString,
309 |                     type: ActivityType.forPreview(color: .yellow)
    |                                                           |- error: 'yellow' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
310 |                 )
311 |             ),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:317:59: error: 'purple' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
315 |                 activity: CalendarActivity.forPreview(
316 |                     id: UUID().uuidString,
317 |                     type: ActivityType.forPreview(color: .purple)
    |                                                           |- error: 'purple' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
318 |                 )
319 |             ),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:325:59: error: 'red' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
323 |                 activity: CalendarActivity.forPreview(
324 |                     id: UUID().uuidString,
325 |                     type: ActivityType.forPreview(color: .red)
    |                                                           |- error: 'red' is only available in macOS 10.15 or newer
    |                                                           `- note: add 'if #available' version check
326 |                 )
327 |             )
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:330:16: warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
328 |         ]
329 |
330 |         return Group {
    |                |- warning: conformance of 'Group<Content>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                `- note: add 'if #available' version check
331 |             NavigationStack {
332 |                 SimpleCalendarView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:330:16: error: 'Group' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
328 |         ]
329 |
330 |         return Group {
    |                |- error: 'Group' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
331 |             NavigationStack {
332 |                 SimpleCalendarView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:330:16: error: 'init(content:)' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
328 |         ]
329 |
330 |         return Group {
    |                |- error: 'init(content:)' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
331 |             NavigationStack {
332 |                 SimpleCalendarView(
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:331:13: error: 'NavigationStack' is only available in macOS 13.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
329 |
330 |         return Group {
331 |             NavigationStack {
    |             |- error: 'NavigationStack' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
332 |                 SimpleCalendarView(
333 |                     events: .constant(events),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:338:14: error: 'previewDisplayName' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
336 |                 )
337 |             }
338 |             .previewDisplayName("Light")
    |              |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
339 |             .preferredColorScheme(.light)
340 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:339:14: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
337 |             }
338 |             .previewDisplayName("Light")
339 |             .preferredColorScheme(.light)
    |              |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
340 |
341 |             NavigationStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:341:13: error: 'NavigationStack' is only available in macOS 13.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
339 |             .preferredColorScheme(.light)
340 |
341 |             NavigationStack {
    |             |- error: 'NavigationStack' is only available in macOS 13.0 or newer
    |             `- note: add 'if #available' version check
342 |                 SimpleCalendarView(
343 |                     events: .constant(events),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:348:14: error: 'previewDisplayName' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
346 |                 )
347 |             }
348 |             .previewDisplayName("Dark")
    |              |- error: 'previewDisplayName' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
349 |             .preferredColorScheme(.dark)
350 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:349:14: error: 'preferredColorScheme' is only available in macOS 11.0 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
    :
347 |             }
348 |             .previewDisplayName("Dark")
349 |             .preferredColorScheme(.dark)
    |              |- error: 'preferredColorScheme' is only available in macOS 11.0 or newer
    |              `- note: add 'if #available' version check
350 |         }
351 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Emitting module SimpleCalendar
/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)
/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:1: warning: extension declares a conformance of imported type 'Color' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
41 | }
42 |
43 | extension Color: Codable {
   | |- warning: extension declares a conformance of imported type 'Color' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
44 |     enum CodingKeys: String, CodingKey {
45 |         case red, green, blue
/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/SimpleCalendarView.swift:32:62: error: 'View' is only available in macOS 10.15 or newer
  7 |
  8 | /// Defines the type of action preformed on an event selection
  9 | public enum SelectionAction {
    |             `- note: add '@available' attribute to enclosing enum
 10 |     /// Shows the Activity Sheet for Simple Calendar
 11 |     ///
    :
 30 |     /// )
 31 |     /// ```
 32 |     case customSheet((any CalendarEventRepresentable) -> any View)
    |                                                              `- error: 'View' is only available in macOS 10.15 or newer
 33 |
 34 |     /// Shows a destination view using `NavigationLink`
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:45:62: error: 'View' is only available in macOS 10.15 or newer
  7 |
  8 | /// Defines the type of action preformed on an event selection
  9 | public enum SelectionAction {
    |             `- note: add '@available' attribute to enclosing enum
 10 |     /// Shows the Activity Sheet for Simple Calendar
 11 |     ///
    :
 43 |     /// )
 44 |     /// ```
 45 |     case destination((any CalendarEventRepresentable) -> any View)
    |                                                              `- error: 'View' is only available in macOS 10.15 or newer
 46 |
 47 |     /// Uses a closure to inform about the selection,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:75:6: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 76 |     @Binding var selectedDate: Date
 77 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:76:6: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
 76 |     @Binding var selectedDate: Date
    |      `- error: 'Binding' is only available in macOS 10.15 or newer
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:78:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
 76 |     @Binding var selectedDate: Date
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
    |      `- error: 'State' is only available in macOS 10.15 or newer
 79 |     @State private var hourHeight: Double
 80 |     @State private var hourSpacing: Double
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:79:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 77 |
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
 79 |     @State private var hourHeight: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 80 |     @State private var hourSpacing: Double
 81 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:80:6: error: 'State' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 78 |     @State private var visibleEvents: [any CalendarEventRepresentable]
 79 |     @State private var hourHeight: Double
 80 |     @State private var hourSpacing: Double
    |      `- error: 'State' is only available in macOS 10.15 or newer
 81 |
 82 |     private let startHourOfDay: Int
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:96:17: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
    |                 `- error: 'Binding' is only available in macOS 10.15 or newer
 97 |         selectedDate: Binding<Date>,
 98 |         selectionAction: SelectionAction = .sheet,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:97:23: error: 'Binding' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
 93 |     ///   - hourSpacing: The vstack spacing between each hour label. Defaults to `24.0`
 94 |     ///   - startHourOfDay: The first hour of the day to show. Defaults to `6` as 6 in the morning / 6 am
 95 |     public init(
    |            `- note: add '@available' attribute to enclosing initializer
 96 |         events: Binding<[any CalendarEventRepresentable]>,
 97 |         selectedDate: Binding<Date>,
    |                       `- error: 'Binding' is only available in macOS 10.15 or newer
 98 |         selectionAction: SelectionAction = .sheet,
 99 |         dateSelectionStyle: DateSelectionStyle = .datePicker,
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:145:27: error: 'View' is only available in macOS 10.15 or newer
 71 |
 72 | /// A Simple Calendar view containing the events and activities send in
 73 | public struct SimpleCalendarView: View {
    |               `- note: add '@available' attribute to enclosing struct
 74 |     /// The events the calendar should show
 75 |     @Binding var events: [any CalendarEventRepresentable]
    :
143 |     }
144 |
145 |     public var body: some View {
    |                |          `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing property
146 |         ScrollView {
147 |             ZStack {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/SimpleCalendarView.swift:259:31: error: 'View' is only available in macOS 10.15 or newer
256 | }
257 |
258 | struct ScheduleView_Previews: PreviewProvider {
    |        `- note: add '@available' attribute to enclosing struct
259 |     static var previews: some View {
    |                |              `- error: 'View' is only available in macOS 10.15 or newer
    |                `- note: add '@available' attribute to enclosing static property
260 |         // swiftlint:disable force_unwrapping
261 |         let dateEvent1 = Calendar.current.date(bySettingHour: 9, minute: 0, second: 0, of: Date())!
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:9:6: error: 'Binding' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add '@available' attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
10 |     let selectionAction: SelectionAction
11 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:15:27: error: 'View' is only available in macOS 10.15 or newer
 6 | import SwiftUI
 7 |
 8 | struct CalendarContentView: View {
   |        `- note: add '@available' attribute to enclosing struct
 9 |     @Binding var events: [any CalendarEventRepresentable]
10 |     let selectionAction: SelectionAction
   :
13 |     private let boxSpacing = 5.0
14 |
15 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
16 |         GeometryReader { geo in
17 |             let width = (geo.size.width - leadingPadding)
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarContentView.swift:33:31: error: 'View' is only available in macOS 10.15 or newer
30 | }
31 |
32 | struct CalendarContentView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
33 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
34 |         CalendarContentView(
35 |             events: .constant([]),
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarPageView.swift:12:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CalendarPageView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let hours: [String]
12 |     @Binding var hourSpacing: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
13 |     @Binding var hourHeight: Double
14 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarPageView.swift:13:6: error: 'Binding' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CalendarPageView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let hours: [String]
12 |     @Binding var hourSpacing: Double
13 |     @Binding var hourHeight: Double
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
14 |
15 |     var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarPageView.swift:15:20: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | struct CalendarPageView: View {
   |        `- note: add '@available' attribute to enclosing struct
11 |     let hours: [String]
12 |     @Binding var hourSpacing: Double
13 |     @Binding var hourHeight: Double
14 |
15 |     var body: some View {
   |         |          `- error: 'View' is only available in macOS 10.15 or newer
   |         `- note: add '@available' attribute to enclosing property
16 |         VStack(alignment: .leading, spacing: hourSpacing) {
17 |             ForEach(hours, id: \.self) { hour in
/Users/admin/builder/spi-builder-workspace/Sources/SimpleCalendar/Views/CalendarPageView.swift:38:31: error: 'View' is only available in macOS 10.15 or newer
35 |
36 |
37 | struct CalendarPageView_Previews: PreviewProvider {
   |        `- note: add '@available' attribute to enclosing struct
38 |     static var previews: some View {
   |                |              `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing static property
39 |         Group {
40 |             CalendarPageView(hours: ["12 am", "1 am", "2 am", "3 am", "4 am"], hourSpacing: .constant(24), hourHeight: .constant(30))
/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:16:31: error: 'publish(every:tolerance:on:in:options:)' 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: '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: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)
[11/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)
[12/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:1: warning: extension declares a conformance of imported type 'Color' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
41 | }
42 |
43 | extension Color: Codable {
   | |- warning: extension declares a conformance of imported type 'Color' to imported protocols 'Decodable', 'Encodable'; this will not behave correctly if the owners of 'SwiftUICore' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
44 |     enum CodingKeys: String, CodingKey {
45 |         case red, green, blue
/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 |
[13/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 |
BUILD FAILURE 6.3 macosSpm