The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DateRangePicker, reference main (a6503d), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 07:58:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/14T/DateRangePicker.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/14T/DateRangePicker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a6503d4 Mention dark mode support in README
Cloned https://github.com/14T/DateRangePicker.git
Revision (git rev-parse @):
a6503d46e5dfbd6cde386d01ad514797d2246126
SUCCESS checkout https://github.com/14T/DateRangePicker.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "daterangepicker",
      "name": "DateRangePicker",
      "url": "https://github.com/14T/DateRangePicker.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DateRangePicker",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/14T/DateRangePicker.git
[1/227] Fetching daterangepicker
Fetched https://github.com/14T/DateRangePicker.git from cache (0.90s)
Creating working copy for https://github.com/14T/DateRangePicker.git
Working copy of https://github.com/14T/DateRangePicker.git resolved at main (a6503d4)
warning: '.resolve-product-dependencies': dependency 'daterangepicker' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/14T/DateRangePicker.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module DateRangePicker
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
14 |
15 |     @available(iOS 16.0, visionOS 1.0, *)
16 |     @Binding private var startDate: Date?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     @available(iOS 16.0, visionOS 1.0, *)
18 |     @Binding private var endDate: Date?
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
16 |     @Binding private var startDate: Date?
17 |     @available(iOS 16.0, visionOS 1.0, *)
18 |     @Binding private var endDate: Date?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
19 |     let bounds: Range<Date>?
20 |     var calendar: Calendar = .current
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:24:20: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
21 |
22 |     @available(iOS 16.0, visionOS 1.0, *)
23 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
24 |         startDate: Binding<Date?>,
   |                    `- error: 'Binding' is only available in macOS 10.15 or newer
25 |         endDate: Binding<Date?>,
26 |         bounds: Range<Date>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:25:18: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
21 |
22 |     @available(iOS 16.0, visionOS 1.0, *)
23 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
24 |         startDate: Binding<Date?>,
25 |         endDate: Binding<Date?>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
26 |         bounds: Range<Date>? = nil
27 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:34:31: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
32 |
33 |     @available(iOS 16.0, visionOS 1.0, *)
34 |     private var datesBinding: Binding<Set<DateComponents>> {
   |                 |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing property
35 |         Binding {
36 |             DateRangeHelper.getDatesInRange(startDate: startDate, endDate: endDate, calendar: calendar)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
[4/5] Compiling DateRangePicker DateRangeHelper.swift
[5/5] Compiling DateRangePicker DateRangePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:16:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
14 |
15 |     @available(iOS 16.0, visionOS 1.0, *)
16 |     @Binding private var startDate: Date?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
17 |     @available(iOS 16.0, visionOS 1.0, *)
18 |     @Binding private var endDate: Date?
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:18:6: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
16 |     @Binding private var startDate: Date?
17 |     @available(iOS 16.0, visionOS 1.0, *)
18 |     @Binding private var endDate: Date?
   |      `- error: 'Binding' is only available in macOS 10.15 or newer
19 |     let bounds: Range<Date>?
20 |     var calendar: Calendar = .current
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:24:20: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
21 |
22 |     @available(iOS 16.0, visionOS 1.0, *)
23 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
24 |         startDate: Binding<Date?>,
   |                    `- error: 'Binding' is only available in macOS 10.15 or newer
25 |         endDate: Binding<Date?>,
26 |         bounds: Range<Date>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:25:18: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
21 |
22 |     @available(iOS 16.0, visionOS 1.0, *)
23 |     public init(
   |            `- note: add '@available' attribute to enclosing initializer
24 |         startDate: Binding<Date?>,
25 |         endDate: Binding<Date?>,
   |                  `- error: 'Binding' is only available in macOS 10.15 or newer
26 |         bounds: Range<Date>? = nil
27 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:34:31: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
32 |
33 |     @available(iOS 16.0, visionOS 1.0, *)
34 |     private var datesBinding: Binding<Set<DateComponents>> {
   |                 |             `- error: 'Binding' is only available in macOS 10.15 or newer
   |                 `- note: add '@available' attribute to enclosing property
35 |         Binding {
36 |             DateRangeHelper.getDatesInRange(startDate: startDate, endDate: endDate, calendar: calendar)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:48:27: error: 'View' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                |          `- error: 'View' is only available in macOS 10.15 or newer
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:35:9: error: 'Binding' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
32 |
33 |     @available(iOS 16.0, visionOS 1.0, *)
34 |     private var datesBinding: Binding<Set<DateComponents>> {
   |                 `- note: add '@available' attribute to enclosing property
35 |         Binding {
   |         |- error: 'Binding' is only available in macOS 10.15 or newer
   |         `- note: add 'if #available' version check
36 |             DateRangeHelper.getDatesInRange(startDate: startDate, endDate: endDate, calendar: calendar)
37 |         } set: { newValue in
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:41:29: error: cannot pass as inout because setter for 'startDate' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
32 |
33 |     @available(iOS 16.0, visionOS 1.0, *)
34 |     private var datesBinding: Binding<Set<DateComponents>> {
   |                 `- note: add '@available' attribute to enclosing property
35 |         Binding {
36 |             DateRangeHelper.getDatesInRange(startDate: startDate, endDate: endDate, calendar: calendar)
   :
39 |                 newValue: newValue,
40 |                 calendar: calendar,
41 |                 startDate: &startDate,
   |                             |- error: cannot pass as inout because setter for 'startDate' is only available in macOS 10.15 or newer
   |                             `- note: add 'if #available' version check
42 |                 endDate: &endDate
43 |             )
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:42:27: error: cannot pass as inout because setter for 'endDate' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
32 |
33 |     @available(iOS 16.0, visionOS 1.0, *)
34 |     private var datesBinding: Binding<Set<DateComponents>> {
   |                 `- note: add '@available' attribute to enclosing property
35 |         Binding {
36 |             DateRangeHelper.getDatesInRange(startDate: startDate, endDate: endDate, calendar: calendar)
   :
40 |                 calendar: calendar,
41 |                 startDate: &startDate,
42 |                 endDate: &endDate
   |                           |- error: cannot pass as inout because setter for 'endDate' is only available in macOS 10.15 or newer
   |                           `- note: add 'if #available' version check
43 |             )
44 |         }
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:49:9: error: 'MultiDatePicker' is unavailable in macOS
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
   |         `- error: 'MultiDatePicker' is unavailable in macOS
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
SwiftUI.MultiDatePicker:5:15: note: 'MultiDatePicker' has been explicitly marked unavailable here
 3 | @available(tvOS, unavailable)
 4 | @available(watchOS, unavailable)
 5 | public struct MultiDatePicker<Label> : View where Label : View {
   |               `- note: 'MultiDatePicker' has been explicitly marked unavailable here
 6 |     @MainActor @preconcurrency public var body: some View { get }
 7 |     @available(iOS 16.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:49:9: error: 'init(_:selection:in:)' is unavailable in macOS
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
   |         `- error: 'init(_:selection:in:)' is unavailable in macOS
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
SwiftUI.MultiDatePicker.init:2:20: note: 'init(_:selection:in:)' has been explicitly marked unavailable here
1 | generic struct MultiDatePicker {
2 | nonisolated public init(_ titleKey: LocalizedStringKey, selection: Binding<Set<DateComponents>>, in bounds: Range<Date>)}
  |                    `- note: 'init(_:selection:in:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:49:25: error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
   |                         |- error: 'LocalizedStringKey' is only available in macOS 10.15 or newer
   |                         `- note: add 'if #available' version check
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:50:14: error: 'environment' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
51 |             .environment(\.timeZone, .current)
52 |             .environment(\.calendar, calendar)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:50:28: error: 'locale' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
   |                            |- error: 'locale' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
51 |             .environment(\.timeZone, .current)
52 |             .environment(\.calendar, calendar)
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:51:14: error: 'environment' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
52 |             .environment(\.calendar, calendar)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:51:28: error: 'timeZone' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
   |                            |- error: 'timeZone' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
52 |             .environment(\.calendar, calendar)
53 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:52:14: error: 'environment' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
52 |             .environment(\.calendar, calendar)
   |              |- error: 'environment' is only available in macOS 10.15 or newer
   |              `- note: add 'if #available' version check
53 |     }
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/DateRangePicker/Views/DateRangePicker.swift:52:28: error: 'calendar' is only available in macOS 10.15 or newer
 4 |
 5 | @available(iOS 16.0, visionOS 1.0, *)
 6 | public struct DateRangePicker: View {
   |               `- note: add '@available' attribute to enclosing struct
 7 |     @available(iOS 16.0, visionOS 1.0, *)
 8 |     static var defaultBounds: Range<Date> {
   :
46 |
47 |     @available(iOS 16.0, visionOS 1.0, *)
48 |     public var body: some View {
   |                `- note: add '@available' attribute to enclosing property
49 |         MultiDatePicker("", selection: datesBinding, in: bounds ?? Self.defaultBounds)
50 |             .environment(\.locale, Locale.current)
51 |             .environment(\.timeZone, .current)
52 |             .environment(\.calendar, calendar)
   |                            |- error: 'calendar' is only available in macOS 10.15 or newer
   |                            `- note: add 'if #available' version check
53 |     }
54 | }
BUILD FAILURE 6.3 macosSpm