The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of MijickCalendarView, reference main (673096), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 07:02:54 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
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 6730960 Update README
Cloned https://github.com/Mijick/CalendarView.git
Revision (git rev-parse @):
6730960ae4921a2ad1b9e76505f9c36e27ba9946
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/1137] Fetching calendarview
Fetched https://github.com/Mijick/CalendarView.git from cache (0.90s)
Creating working copy for https://github.com/Mijick/CalendarView.git
Working copy of https://github.com/Mijick/CalendarView.git resolved at main (6730960)
warning: '.resolve-product-dependencies': dependency 'calendarview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
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.1.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--7754E27361AE5C74.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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
   |                        `- 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:22: warning: main actor-isolated default value in a nonisolated context; 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: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
[4/32] Compiling MijickCalendarView Public+MDateRange.swift
[5/32] Compiling MijickCalendarView Public+DayView.swift
[6/32] Compiling MijickCalendarView Public+MonthLabel.swift
[7/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[8/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[9/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate '_calendar' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |
[10/32] Compiling MijickCalendarView Public+WeekdayLabel.swift
[11/32] Compiling MijickCalendarView Public+WeekdaysView.swift
[12/32] Compiling MijickCalendarView RoundedRectangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:22: warning: main actor-isolated default value in a nonisolated context; 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: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[13/32] Compiling MijickCalendarView Public+CalendarConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:22: warning: main actor-isolated default value in a nonisolated context; 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: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[14/32] Compiling MijickCalendarView Public+MWeekday.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/Configurables/Public+CalendarConfig.swift:93:22: warning: main actor-isolated default value in a nonisolated context; 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: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
94 |
95 |     private(set) var scrollDate: Date? = nil
/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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[15/32] Compiling MijickCalendarView Date++.swift
/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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[16/32] Compiling MijickCalendarView View++.swift
/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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[17/32] Compiling MijickCalendarView MDateFormatter.swift
/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: annotate 'locale' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     private static var _calendar: Calendar = .init(identifier: .gregorian)
19 |
[18/32] Compiling MijickCalendarView MWeekday.swift
/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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[19/32] Compiling MijickCalendarView AnyWeekdayLabel.swift
/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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[20/32] Compiling MijickCalendarView Color++.swift
/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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[21/32] Compiling MijickCalendarView DefaultWeekdaysView.swift
[22/32] Compiling MijickCalendarView MCalendarView.swift
[23/32] Compiling MijickCalendarView MonthView.swift
[24/32] Compiling MijickCalendarView Public+WeekdaySymbolFormat.swift
[25/32] Compiling MijickCalendarView Public+MCalendarView.swift
[26/32] Compiling MijickCalendarView Public+View.swift
[27/32] Compiling MijickCalendarView DefaultDayView.swift
[28/32] Compiling MijickCalendarView DefaultMonthLabel.swift
[29/32] Compiling MijickCalendarView DefaultWeekdayLabel.swift
[30/32] Compiling MijickCalendarView Data.MCalendarView.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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[31/32] Compiling MijickCalendarView Data.MonthView.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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
[32/32] Compiling MijickCalendarView Data.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: annotate 'startDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'endDate' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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: annotate 'firstWeekday' with '@MainActor' if property should only be accessed from the main actor
   |                `- 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)
Build complete! (28.77s)
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.