The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MijickCalendarView, reference main (f876cc), with Swift 6.1 for macOS (SPM) on 14 May 2025 20:53:12 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mijick/CalendarView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Mijick/CalendarView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f876cc1 Update README
Cloned https://github.com/Mijick/CalendarView.git
Revision (git rev-parse @):
f876cc1b101b1e8b3df87fadd7380985e54efc7b
SUCCESS checkout https://github.com/Mijick/CalendarView.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",
  "dependencies": [
    {
      "identity": "calendarview",
      "name": "MijickCalendarView",
      "url": "https://github.com/Mijick/CalendarView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CalendarView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/Mijick/CalendarView.git
[1/1182] Fetching calendarview
Fetched https://github.com/Mijick/CalendarView.git from cache (0.88s)
Creating working copy for https://github.com/Mijick/CalendarView.git
Working copy of https://github.com/Mijick/CalendarView.git resolved at main (f876cc1)
warning: '.resolve-product-dependencies': dependency 'calendarview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Mijick/CalendarView.git
https://github.com/Mijick/CalendarView.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MijickCalendarView",
  "name" : "MijickCalendarView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "MijickCalendarView",
      "targets" : [
        "MijickCalendarView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MijickCalendarViewTests",
      "module_type" : "SwiftTarget",
      "name" : "MijickCalendarViewTests",
      "path" : "Tests",
      "sources" : [
        "DataMonthViewTests.swift",
        "DateTests.swift",
        "Extensions/Date++.swift",
        "Extensions/Locale++.swift",
        "Extensions/String++.swift",
        "MDateFormatterTests.swift",
        "MDateRangeTests.swift",
        "MWeekdaysTest.swift"
      ],
      "target_dependencies" : [
        "MijickCalendarView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MijickCalendarView",
      "module_type" : "SwiftTarget",
      "name" : "MijickCalendarView",
      "path" : "Sources",
      "product_memberships" : [
        "MijickCalendarView"
      ],
      "sources" : [
        "Internal/Data/Data.MCalendarView.swift",
        "Internal/Data/Data.MonthView.swift",
        "Internal/Data/Data.swift",
        "Internal/Enums/MWeekday.swift",
        "Internal/Erasers/AnyWeekdayLabel.swift",
        "Internal/Extensions/Color++.swift",
        "Internal/Extensions/Date++.swift",
        "Internal/Extensions/View++.swift",
        "Internal/Helpers/MDateFormatter.swift",
        "Internal/Models/MCalendar.swift",
        "Internal/Models/MDateRange.swift",
        "Internal/Protocols/Configurable.swift",
        "Internal/Views/Default/DefaultDayView.swift",
        "Internal/Views/Default/DefaultMonthLabel.swift",
        "Internal/Views/Default/DefaultWeekdayLabel.swift",
        "Internal/Views/Default/DefaultWeekdaysView.swift",
        "Internal/Views/MCalendarView.swift",
        "Internal/Views/MonthView.swift",
        "Internal/Views/Others/RoundedRectangle.swift",
        "Public/Configurables/Public+CalendarConfig.swift",
        "Public/Enums/Public+MWeekday.swift",
        "Public/Enums/Public+WeekdaySymbolFormat.swift",
        "Public/Extensions/Public+MCalendarView.swift",
        "Public/Extensions/Public+View.swift",
        "Public/Models/Public+MDateRange.swift",
        "Public/View Protocols/Public+DayView.swift",
        "Public/View Protocols/Public+MonthLabel.swift",
        "Public/View Protocols/Public+WeekdayLabel.swift",
        "Public/View Protocols/Public+WeekdaysView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/30] Emitting module MijickCalendarView
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:14:16: warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
   |                |- warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'startDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'startDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:15:16: warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
   |                |- warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'endDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'endDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:16:16: warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
   |                |- warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'firstWeekday' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'firstWeekday' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:17:16: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
   |                |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'locale' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:18:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
   |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:101: warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
91 |     private(set) var weekdaysView: () -> any WeekdaysView = DefaultWeekdaysView.init
92 |     private(set) var monthLabel: (Date) -> any MonthLabel = DefaultMonthLabel.init
93 |     private(set) var dayView: (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView = DefaultDayView.init
   |                                                                                                     `- warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
[4/32] Compiling MijickCalendarView Public+WeekdayLabel.swift
[5/32] Compiling MijickCalendarView Public+WeekdaysView.swift
[6/32] Compiling MijickCalendarView Date++.swift
[7/32] Compiling MijickCalendarView View++.swift
[8/32] Compiling MijickCalendarView MDateFormatter.swift
[9/32] Compiling MijickCalendarView Public+MDateRange.swift
[10/32] Compiling MijickCalendarView Public+DayView.swift
[11/32] Compiling MijickCalendarView Public+MonthLabel.swift
[12/32] Compiling MijickCalendarView RoundedRectangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:101: warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
91 |     private(set) var weekdaysView: () -> any WeekdaysView = DefaultWeekdaysView.init
92 |     private(set) var monthLabel: (Date) -> any MonthLabel = DefaultMonthLabel.init
93 |     private(set) var dayView: (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView = DefaultDayView.init
   |                                                                                                     `- warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
[13/32] Compiling MijickCalendarView Public+CalendarConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:101: warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
91 |     private(set) var weekdaysView: () -> any WeekdaysView = DefaultWeekdaysView.init
92 |     private(set) var monthLabel: (Date) -> any MonthLabel = DefaultMonthLabel.init
93 |     private(set) var dayView: (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView = DefaultDayView.init
   |                                                                                                     `- warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
[14/32] Compiling MijickCalendarView Public+MWeekday.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:101: warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
91 |     private(set) var weekdaysView: () -> any WeekdaysView = DefaultWeekdaysView.init
92 |     private(set) var monthLabel: (Date) -> any MonthLabel = DefaultMonthLabel.init
93 |     private(set) var dayView: (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView = DefaultDayView.init
   |                                                                                                     `- warning: converting function value of type '@MainActor @Sendable (Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> DefaultDayView' to '(Date, Bool, Binding<Date?>?, Binding<MDateRange?>?) -> any DayView' loses global actor 'MainActor'; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
[15/32] Compiling MijickCalendarView MCalendar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:14:16: warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
   |                |- warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'startDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'startDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:15:16: warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
   |                |- warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'endDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'endDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:16:16: warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
   |                |- warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'firstWeekday' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'firstWeekday' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:17:16: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
   |                |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'locale' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:18:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
   |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[16/32] Compiling MijickCalendarView MDateRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:14:16: warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
   |                |- warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'startDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'startDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:15:16: warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
   |                |- warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'endDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'endDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:16:16: warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
   |                |- warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'firstWeekday' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'firstWeekday' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:17:16: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
   |                |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'locale' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:18:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
   |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[17/32] Compiling MijickCalendarView Configurable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:14:16: warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
   |                |- warning: static property 'startDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'startDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'startDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:15:16: warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | struct MCalendar {
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
   |                |- warning: static property 'endDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'endDate' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'endDate' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:16:16: warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     static var startDate: Date = .now.start(of: .month)
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
   |                |- warning: static property 'firstWeekday' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'firstWeekday' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'firstWeekday' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:17:16: warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     static var endDate: Date = .distantFuture.end(of: .month)
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
   |                |- warning: static property 'locale' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'locale' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'locale' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Models/MCalendar.swift:18:24: warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     static var firstWeekday: MWeekday = .monday
17 |     static var locale: Locale = .autoupdatingCurrent
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
   |                        |- warning: static property '_calendar' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert '_calendar' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: add '@MainActor' to make static property '_calendar' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[18/32] Compiling MijickCalendarView DefaultDayView.swift
[19/32] Compiling MijickCalendarView DefaultMonthLabel.swift
[20/32] Compiling MijickCalendarView DefaultWeekdayLabel.swift
[21/32] Compiling MijickCalendarView DefaultWeekdaysView.swift
[22/32] Compiling MijickCalendarView MCalendarView.swift
[23/32] Compiling MijickCalendarView MonthView.swift
[24/32] Compiling MijickCalendarView MWeekday.swift
[25/32] Compiling MijickCalendarView AnyWeekdayLabel.swift
[26/32] Compiling MijickCalendarView Color++.swift
[27/32] Compiling MijickCalendarView Data.MCalendarView.swift
[28/32] Compiling MijickCalendarView Data.MonthView.swift
[29/32] Compiling MijickCalendarView Data.swift
[30/32] Compiling MijickCalendarView Public+WeekdaySymbolFormat.swift
[31/32] Compiling MijickCalendarView Public+MCalendarView.swift
[32/32] Compiling MijickCalendarView Public+View.swift
Build complete! (10.05s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "MijickCalendarView",
  "name" : "MijickCalendarView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "MijickCalendarView",
      "targets" : [
        "MijickCalendarView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MijickCalendarViewTests",
      "module_type" : "SwiftTarget",
      "name" : "MijickCalendarViewTests",
      "path" : "Tests",
      "sources" : [
        "DataMonthViewTests.swift",
        "DateTests.swift",
        "Extensions/Date++.swift",
        "Extensions/Locale++.swift",
        "Extensions/String++.swift",
        "MDateFormatterTests.swift",
        "MDateRangeTests.swift",
        "MWeekdaysTest.swift"
      ],
      "target_dependencies" : [
        "MijickCalendarView"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MijickCalendarView",
      "module_type" : "SwiftTarget",
      "name" : "MijickCalendarView",
      "path" : "Sources",
      "product_memberships" : [
        "MijickCalendarView"
      ],
      "sources" : [
        "Internal/Data/Data.MCalendarView.swift",
        "Internal/Data/Data.MonthView.swift",
        "Internal/Data/Data.swift",
        "Internal/Enums/MWeekday.swift",
        "Internal/Erasers/AnyWeekdayLabel.swift",
        "Internal/Extensions/Color++.swift",
        "Internal/Extensions/Date++.swift",
        "Internal/Extensions/View++.swift",
        "Internal/Helpers/MDateFormatter.swift",
        "Internal/Models/MCalendar.swift",
        "Internal/Models/MDateRange.swift",
        "Internal/Protocols/Configurable.swift",
        "Internal/Views/Default/DefaultDayView.swift",
        "Internal/Views/Default/DefaultMonthLabel.swift",
        "Internal/Views/Default/DefaultWeekdayLabel.swift",
        "Internal/Views/Default/DefaultWeekdaysView.swift",
        "Internal/Views/MCalendarView.swift",
        "Internal/Views/MonthView.swift",
        "Internal/Views/Others/RoundedRectangle.swift",
        "Public/Configurables/Public+CalendarConfig.swift",
        "Public/Enums/Public+MWeekday.swift",
        "Public/Enums/Public+WeekdaySymbolFormat.swift",
        "Public/Extensions/Public+MCalendarView.swift",
        "Public/Extensions/Public+View.swift",
        "Public/Models/Public+MDateRange.swift",
        "Public/View Protocols/Public+DayView.swift",
        "Public/View Protocols/Public+MonthLabel.swift",
        "Public/View Protocols/Public+WeekdayLabel.swift",
        "Public/View Protocols/Public+WeekdaysView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.