The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CalendarKit, reference 1.0.7 (93b81c), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 01:39:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/insub4067/CalendarKit.git
Reference: 1.0.7
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/CalendarKit
 * tag               1.0.7      -> FETCH_HEAD
HEAD is now at 93b81ca add `static let now` DateComponent
Cloned https://github.com/insub4067/CalendarKit.git
Revision (git rev-parse @):
93b81cadc7fc888f42338826749ed5ed2c61dbed
SUCCESS checkout https://github.com/insub4067/CalendarKit.git at 1.0.7
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/insub4067/CalendarKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/14] Compiling CalendarKit GetMonthOffsetUseCase.swift
[4/14] Compiling CalendarKit GetDateRangeUseCase.swift
[5/15] Compiling CalendarKit CalendarHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:14:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
13 |
14 |     public init(@ViewBuilder cellBuilder: @escaping (WeekDay) -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
15 |         self.cellBuilder = cellBuilder
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:10:39: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               |                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
25 | }
26 |
27 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- 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
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:30:14: error: 'fontWeight' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |     }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28: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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |                    |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:42:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:44:9: error: 'Text' is only available in macOS 10.15 or newer
42 | #Preview {
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:45:14: error: 'fontWeight' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:30: error: 'Color' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:36: error: 'gray' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                                    |- error: 'gray' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:44: error: 'top' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |                                            |- error: 'top' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:19:9: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
   |         |- 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
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
21 |                 cellBuilder(weekday)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:19:9: error: 'LazyVGrid' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
   |         |- error: 'LazyVGrid' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
21 |                 cellBuilder(weekday)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:19:9: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
   |         |- 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
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
21 |                 cellBuilder(weekday)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:20:13: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday 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
21 |                 cellBuilder(weekday)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:20:13: error: 'ForEach' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
21 |                 cellBuilder(weekday)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:20:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
21 |                 cellBuilder(weekday)
22 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:19:74: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
   |                                                                          |- 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
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
21 |                 cellBuilder(weekday)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:18:32: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |               |- 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
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:18:32: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |               |- 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
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
[6/15] Compiling CalendarKit GetMonthOffsetArrayUseCase.swift
[7/15] Compiling CalendarKit GetYearArrayUseCase.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/15] Compiling CalendarKit WeekDay.swift
[9/15] Compiling CalendarKit Int+.swift
[10/15] Compiling CalendarKit GetDateComponentListByMonthOffsetUseCase.swift
[11/15] Emitting module CalendarKit
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:98:34: error: 'now' is only available in macOS 12 or newer
 88 | }
 89 |
 90 | extension DateComponent: Equatable {
    | `- note: add @available attribute to enclosing extension
 91 |
 92 |     public static func == (lhs: Self, rhs: Self) -> Bool {
    :
 96 |     }
 97 |
 98 |     public static let now = Date.now.mapToComponent
    |                       |          `- error: 'now' is only available in macOS 12 or newer
    |                       `- note: add @available attribute to enclosing static property
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
13 |     let vSpacing: CGFloat
14 |     let cellBuilder: (DateComponent) -> Content
15 |     @State var dates: [DateComponent] = []
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     private let getDates = GetDateComponentListByMonthOffsetUseCase()
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:22:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
17 |     private let getDates = GetDateComponentListByMonthOffsetUseCase()
18 |
19 |     public init(
   |            `- note: add @available attribute to enclosing initializer
20 |         offset: Int,
21 |         vSpacing: CGFloat = 12,
22 |         @ViewBuilder _ cellBuilder: @escaping (DateComponent) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 |     ) {
24 |         self.offset = offset
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:10:40: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               |                        `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:42:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:44:9: error: 'Text' is only available in macOS 10.15 or newer
42 | #Preview {
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:45:14: error: 'fontWeight' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:30: error: 'Color' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:36: error: 'gray' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                                    |- error: 'gray' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:44: error: 'top' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |                                            |- error: 'top' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
25 | }
26 |
27 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- 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
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:30:14: error: 'fontWeight' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |     }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28: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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |                    |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:14:18: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
13 |
14 |     public init(@ViewBuilder cellBuilder: @escaping (WeekDay) -> Content) {
   |            |     `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
   |            `- note: add @available attribute to enclosing initializer
15 |         self.cellBuilder = cellBuilder
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:18:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
   :
16 |     }
17 |
18 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
19 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), content: {
20 |             ForEach(WeekDay.allCases, id: \.self) { weekday in
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:10:39: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarHeader<Content: View>: View {
   |               |                       `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let cellBuilder: (WeekDay) -> Content
[12/15] Compiling CalendarKit CalendarContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:15:6: error: 'State' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
13 |     let vSpacing: CGFloat
14 |     let cellBuilder: (DateComponent) -> Content
15 |     @State var dates: [DateComponent] = []
   |      `- error: 'State' is only available in macOS 10.15 or newer
16 |
17 |     private let getDates = GetDateComponentListByMonthOffsetUseCase()
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:22:10: error: 'ViewBuilder' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
17 |     private let getDates = GetDateComponentListByMonthOffsetUseCase()
18 |
19 |     public init(
   |            `- note: add @available attribute to enclosing initializer
20 |         offset: Int,
21 |         vSpacing: CGFloat = 12,
22 |         @ViewBuilder _ cellBuilder: @escaping (DateComponent) -> Content
   |          `- error: 'ViewBuilder' is only available in macOS 10.15 or newer
23 |     ) {
24 |         self.offset = offset
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:29:27: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:10:40: error: 'View' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               |                        `- error: 'View' is only available in macOS 10.15 or newer
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:42:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
40 | }
41 |
42 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:44:9: error: 'Text' is only available in macOS 10.15 or newer
42 | #Preview {
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:45:14: error: 'fontWeight' is only available in macOS 10.15 or newer
43 |     CalendarContent(offset: 0) { date in
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:14: error: 'foregroundStyle' is only available in macOS 14.0 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |              |- error: 'foregroundStyle' is only available in macOS 14.0 or newer
   |              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:30: error: 'Color' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                              |- error: 'Color' is only available in macOS 10.15 or newer
   |                              `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:46:36: error: 'gray' is only available in macOS 10.15 or newer
44 |         Text(String(date.day))
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
   |                                    |- error: 'gray' is only available in macOS 10.15 or newer
   |                                    `- note: add 'if #available' version check
47 |             .frame(height: 60, alignment: .top)
48 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:14: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |              |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:47:44: error: 'top' is only available in macOS 10.15 or newer
45 |             .fontWeight(.medium)
46 |             .foregroundStyle(Color.gray)
47 |             .frame(height: 60, alignment: .top)
   |                                            |- error: 'top' is only available in macOS 10.15 or newer
   |                                            `- note: add 'if #available' version check
48 |     }
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:2: error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
25 | }
26 |
27 | #Preview {
   |  `- error: 'Preview(_:body:)' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28:5: 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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |     |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: warning: conformance of 'Text' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- 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
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:29:9: error: 'Text' is only available in macOS 10.15 or newer
27 | #Preview {
28 |     CalendarHeader {
29 |         Text($0.korean)
   |         |- error: 'Text' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
30 |             .fontWeight(.medium)
31 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:30:14: error: 'fontWeight' is only available in macOS 10.15 or newer
28 |     CalendarHeader {
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
   |              |- error: 'fontWeight' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
31 |     }
32 | }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:28: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
26 |
27 | #Preview {
28 |     CalendarHeader {
   |                    |- 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
29 |         Text($0.korean)
30 |             .fontWeight(.medium)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarHeader.swift:27:10: 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
25 | }
26 |
27 | #Preview {
   |          `- 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
28 |     CalendarHeader {
29 |         Text($0.korean)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:30:9: error: 'LazyVGrid' is only available in macOS 11.0 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
   |         |- error: 'LazyVGrid' is only available in macOS 11.0 or newer
   |         `- note: add 'if #available' version check
31 |             ForEach(self.dates, id: \.id) { date in
32 |                 cellBuilder(date)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:30:9: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
   |         |- 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
31 |             ForEach(self.dates, id: \.id) { date in
32 |                 cellBuilder(date)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:31:13: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { 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
32 |                 cellBuilder(date)
33 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:31:13: error: 'ForEach' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   |             |- error: 'ForEach' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
32 |                 cellBuilder(date)
33 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:31:13: error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   |             |- error: 'init(_:id:content:)' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
32 |                 cellBuilder(date)
33 |             }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:30:84: 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
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
   |                                                                                    |- 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
31 |             ForEach(self.dates, id: \.id) { date in
32 |                 cellBuilder(date)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:35:10: error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   :
33 |             }
34 |         }
35 |         .frame(alignment: .top)
   |          |- error: 'frame(width:height:alignment:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
36 |         .onAppear {
37 |             self.dates = self.getDates.exeute(self.offset)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:35:28: error: 'top' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   :
33 |             }
34 |         }
35 |         .frame(alignment: .top)
   |                            |- error: 'top' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
36 |         .onAppear {
37 |             self.dates = self.getDates.exeute(self.offset)
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:36:10: error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   :
34 |         }
35 |         .frame(alignment: .top)
36 |         .onAppear {
   |          |- error: 'onAppear(perform:)' is only available in macOS 10.15 or newer
   |          `- note: add 'if #available' version check
37 |             self.dates = self.getDates.exeute(self.offset)
38 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/View/CalendarContent.swift:37:13: error: setter for 'dates' is only available in macOS 10.15 or newer
 8 | import SwiftUI
 9 |
10 | public struct CalendarContent<Content: View>: View {
   |               `- note: add @available attribute to enclosing generic struct
11 |
12 |     let offset: Int
   :
27 |     }
28 |
29 |     public var body: some View {
   |                `- note: add @available attribute to enclosing property
30 |         LazyVGrid(columns: .init(repeating: .init(), count: 7), spacing: vSpacing) {
31 |             ForEach(self.dates, id: \.id) { date in
   :
35 |         .frame(alignment: .top)
36 |         .onAppear {
37 |             self.dates = self.getDates.exeute(self.offset)
   |             |- error: setter for 'dates' is only available in macOS 10.15 or newer
   |             `- note: add 'if #available' version check
38 |         }
39 |     }
[13/15] Compiling CalendarKit GetComponentFromOffsetUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/UseCase/GetComponentFromOffsetUseCase.swift:25:33: error: 'now' is only available in macOS 12 or newer
 8 | import Foundation
 9 |
10 | public struct GetComponentFromOffsetUseCase {
   |               `- note: add @available attribute to enclosing struct
11 |
12 |     private let calendar = Calendar.current
   :
15 |     public init() { }
16 |
17 |     public func execute(_ offset: Int) -> DateComponent {
   |                 `- note: add @available attribute to enclosing instance method
18 |         guard
19 |             let adjustedDate = calendar.date(
   :
23 |             )
24 |         else {
25 |             return .init(from: .now)
   |                                 |- error: 'now' is only available in macOS 12 or newer
   |                                 `- note: add 'if #available' version check
26 |         }
27 |         return adjustedDate.mapToComponent
[14/15] Compiling CalendarKit DateComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:98:34: error: 'now' is only available in macOS 12 or newer
 88 | }
 89 |
 90 | extension DateComponent: Equatable {
    | `- note: add @available attribute to enclosing extension
 91 |
 92 |     public static func == (lhs: Self, rhs: Self) -> Bool {
    :
 96 |     }
 97 |
 98 |     public static let now = Date.now.mapToComponent
    |                       |          `- error: 'now' is only available in macOS 12 or newer
    |                       `- note: add @available attribute to enclosing static property
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:55:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 53 |
 54 |         guard components.count == 3 else {
 55 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 56 |             return
 57 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:65:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 63 |             let year = components.popLast()
 64 |         else {
 65 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 66 |             return
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:76:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 74 |         let calendar = Calendar.current
 75 |         guard let date = calendar.date(from: dateComponents) else {
 76 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 77 |             return
 78 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:123:56: error: 'now' is only available in macOS 12 or newer
100 |
101 |
102 | extension DateComponent {
    | `- note: add @available attribute to enclosing extension
103 |
104 |     // 1 -> "01"
    :
114 |     public var fullDateString: String { "\(yearMonthDayString) (\(weekday.korean))" }
115 |
116 |     public var mapToDate: Date {
    |                `- note: add @available attribute to enclosing property
117 |         var dateComponents = DateComponents()
118 |         dateComponents.year = year
    :
121 |
122 |         let calendar = Calendar.current
123 |         return calendar.date(from: dateComponents) ?? .now
    |                                                        |- error: 'now' is only available in macOS 12 or newer
    |                                                        `- note: add 'if #available' version check
124 |     }
125 | }
[15/15] Compiling CalendarKit HourComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:98:34: error: 'now' is only available in macOS 12 or newer
 88 | }
 89 |
 90 | extension DateComponent: Equatable {
    | `- note: add @available attribute to enclosing extension
 91 |
 92 |     public static func == (lhs: Self, rhs: Self) -> Bool {
    :
 96 |     }
 97 |
 98 |     public static let now = Date.now.mapToComponent
    |                       |          `- error: 'now' is only available in macOS 12 or newer
    |                       `- note: add @available attribute to enclosing static property
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:55:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 53 |
 54 |         guard components.count == 3 else {
 55 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 56 |             return
 57 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:65:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 63 |             let year = components.popLast()
 64 |         else {
 65 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 66 |             return
 67 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:76:30: error: 'now' is only available in macOS 12 or newer
  8 | import Foundation
  9 |
 10 | public struct DateComponent: Identifiable {
    |               `- note: add @available attribute to enclosing struct
 11 |
 12 |     public let id: String = UUID().uuidString
    :
 45 |
 46 |     // 2023.01.01
 47 |     public init(dateString: String, separator: String = ".") {
    |            `- note: add @available attribute to enclosing initializer
 48 |
 49 |         var components = dateString
    :
 74 |         let calendar = Calendar.current
 75 |         guard let date = calendar.date(from: dateComponents) else {
 76 |             self.init(from: .now)
    |                              |- error: 'now' is only available in macOS 12 or newer
    |                              `- note: add 'if #available' version check
 77 |             return
 78 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CalendarKit/Entity/DateComponent.swift:123:56: error: 'now' is only available in macOS 12 or newer
100 |
101 |
102 | extension DateComponent {
    | `- note: add @available attribute to enclosing extension
103 |
104 |     // 1 -> "01"
    :
114 |     public var fullDateString: String { "\(yearMonthDayString) (\(weekday.korean))" }
115 |
116 |     public var mapToDate: Date {
    |                `- note: add @available attribute to enclosing property
117 |         var dateComponents = DateComponents()
118 |         dateComponents.year = year
    :
121 |
122 |         let calendar = Calendar.current
123 |         return calendar.date(from: dateComponents) ?? .now
    |                                                        |- error: 'now' is only available in macOS 12 or newer
    |                                                        `- note: add 'if #available' version check
124 |     }
125 | }
BUILD FAILURE 6.2 macosSpm