Build Information
Successful build of MijickCalendarView, reference main (673096
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 22:30:05 UTC.
Swift 6 data race errors: 8
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
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.84s)
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
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
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/Internal/Views/Default/DefaultDayView.swift:18:9: warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | struct DefaultDayView: DayView {
| `- note: add '@preconcurrency' to the 'DayView' conformance to defer isolation checking to run time
15 | let date: Date
16 | let isCurrentMonth: Bool
17 | let selectedDate: Binding<Date?>?
18 | let selectedRange: Binding<MDateRange?>?
| `- warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:19:9: note: 'selectedRange' declared here
17 | var isCurrentMonth: Bool { get }
18 | var selectedDate: Binding<Date?>? { get }
19 | var selectedRange: Binding<MDateRange?>? { get }
| `- note: 'selectedRange' declared here
20 |
21 | // MARK: View Customisation
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:14:9: warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: add '@preconcurrency' to the 'WeekdayLabel' conformance to defer isolation checking to run time
14 | let weekday: MWeekday
| `- warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:15:9: note: 'weekday' declared here
13 | public protocol WeekdayLabel: View {
14 | // MARK: Required Attributes
15 | var weekday: MWeekday { get }
| `- note: 'weekday' declared here
16 |
17 | // MARK: View Customisation
/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 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 |
[5/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 |
[6/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 |
[7/32] Compiling MijickCalendarView DefaultDayView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultDayView.swift:18:9: warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | struct DefaultDayView: DayView {
| `- note: add '@preconcurrency' to the 'DayView' conformance to defer isolation checking to run time
15 | let date: Date
16 | let isCurrentMonth: Bool
17 | let selectedDate: Binding<Date?>?
18 | let selectedRange: Binding<MDateRange?>?
| `- warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:19:9: note: 'selectedRange' declared here
17 | var isCurrentMonth: Bool { get }
18 | var selectedDate: Binding<Date?>? { get }
19 | var selectedRange: Binding<MDateRange?>? { get }
| `- note: 'selectedRange' declared here
20 |
21 | // MARK: View Customisation
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:14:9: warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: add '@preconcurrency' to the 'WeekdayLabel' conformance to defer isolation checking to run time
14 | let weekday: MWeekday
| `- warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:15:9: note: 'weekday' declared here
13 | public protocol WeekdayLabel: View {
14 | // MARK: Required Attributes
15 | var weekday: MWeekday { get }
| `- note: 'weekday' declared here
16 |
17 | // MARK: View Customisation
[8/32] Compiling MijickCalendarView DefaultMonthLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultDayView.swift:18:9: warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | struct DefaultDayView: DayView {
| `- note: add '@preconcurrency' to the 'DayView' conformance to defer isolation checking to run time
15 | let date: Date
16 | let isCurrentMonth: Bool
17 | let selectedDate: Binding<Date?>?
18 | let selectedRange: Binding<MDateRange?>?
| `- warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:19:9: note: 'selectedRange' declared here
17 | var isCurrentMonth: Bool { get }
18 | var selectedDate: Binding<Date?>? { get }
19 | var selectedRange: Binding<MDateRange?>? { get }
| `- note: 'selectedRange' declared here
20 |
21 | // MARK: View Customisation
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:14:9: warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: add '@preconcurrency' to the 'WeekdayLabel' conformance to defer isolation checking to run time
14 | let weekday: MWeekday
| `- warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:15:9: note: 'weekday' declared here
13 | public protocol WeekdayLabel: View {
14 | // MARK: Required Attributes
15 | var weekday: MWeekday { get }
| `- note: 'weekday' declared here
16 |
17 | // MARK: View Customisation
[9/32] Compiling MijickCalendarView DefaultWeekdayLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultDayView.swift:18:9: warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | import SwiftUI
13 |
14 | struct DefaultDayView: DayView {
| `- note: add '@preconcurrency' to the 'DayView' conformance to defer isolation checking to run time
15 | let date: Date
16 | let isCurrentMonth: Bool
17 | let selectedDate: Binding<Date?>?
18 | let selectedRange: Binding<MDateRange?>?
| `- warning: main actor-isolated property 'selectedRange' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:19:9: note: 'selectedRange' declared here
17 | var isCurrentMonth: Bool { get }
18 | var selectedDate: Binding<Date?>? { get }
19 | var selectedRange: Binding<MDateRange?>? { get }
| `- note: 'selectedRange' declared here
20 |
21 | // MARK: View Customisation
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:14:9: warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: add '@preconcurrency' to the 'WeekdayLabel' conformance to defer isolation checking to run time
14 | let weekday: MWeekday
| `- warning: main actor-isolated property 'weekday' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:15:9: note: 'weekday' declared here
13 | public protocol WeekdayLabel: View {
14 | // MARK: Required Attributes
15 | var weekday: MWeekday { get }
| `- note: 'weekday' declared here
16 |
17 | // MARK: View Customisation
[10/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 |
[11/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 |
[12/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 |
[13/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)
[14/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)
[15/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)
[16/32] Compiling MijickCalendarView Public+WeekdayLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:23:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | // MARK: - Default View Implementation
22 | public extension WeekdayLabel {
23 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
24 | }
25 | private extension WeekdayLabel {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:39:41: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | /// Returns a type-erased object.
39 | func erased() -> AnyWeekdayLabel { .init(self) }
| | `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'erased()' part of global actor 'MainActor'
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Erasers/AnyWeekdayLabel.swift:16:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
14 | private let internalView: AnyView
15 |
16 | init<V: WeekdayLabel>(_ view: V) { internalView = view.erased() }
| `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
17 | public var body: some View { internalView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:21:60: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | // MARK: - Default View Implementation
20 | public extension WeekdaysView {
21 | func createContent() -> AnyView { createWeekdaysView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
22 | func createWeekdayLabel(_ weekday: MWeekday) -> AnyWeekdayLabel { createDefaultWeekDayLabel(weekday).erased() }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:25:82: warning: call to main actor-isolated initializer 'init(weekday:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 | private extension WeekdaysView {
25 | func createDefaultWeekDayLabel(_ weekday: MWeekday) -> DefaultWeekdayLabel { DefaultWeekdayLabel(weekday: weekday) }
| | `- warning: call to main actor-isolated initializer 'init(weekday:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createDefaultWeekDayLabel' part of global actor 'MainActor'
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:13:8: note: calls to initializer 'init(weekday:)' from outside of its actor context are implicitly asynchronous
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: calls to initializer 'init(weekday:)' from outside of its actor context are implicitly asynchronous
14 | let weekday: MWeekday
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:39:41: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 |
38 | /// Returns a type-erased object.
39 | func erased() -> AnyWeekdayLabel { .init(self) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:21:60: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
19 | // MARK: - Default View Implementation
20 | public extension WeekdaysView {
21 | func createContent() -> AnyView { createWeekdaysView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
22 | func createWeekdayLabel(_ weekday: MWeekday) -> AnyWeekdayLabel { createDefaultWeekDayLabel(weekday).erased() }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:25:82: warning: sending 'weekday' risks causing data races; this is an error in the Swift 6 language mode
23 | }
24 | private extension WeekdaysView {
25 | func createDefaultWeekDayLabel(_ weekday: MWeekday) -> DefaultWeekdayLabel { DefaultWeekdayLabel(weekday: weekday) }
| |- warning: sending 'weekday' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'weekday' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
26 | }
27 |
[17/32] Compiling MijickCalendarView Public+WeekdaysView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:23:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | // MARK: - Default View Implementation
22 | public extension WeekdayLabel {
23 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
24 | }
25 | private extension WeekdayLabel {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:39:41: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | /// Returns a type-erased object.
39 | func erased() -> AnyWeekdayLabel { .init(self) }
| | `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'erased()' part of global actor 'MainActor'
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Erasers/AnyWeekdayLabel.swift:16:5: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
14 | private let internalView: AnyView
15 |
16 | init<V: WeekdayLabel>(_ view: V) { internalView = view.erased() }
| `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
17 | public var body: some View { internalView }
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:21:60: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | // MARK: - Default View Implementation
20 | public extension WeekdaysView {
21 | func createContent() -> AnyView { createWeekdaysView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
22 | func createWeekdayLabel(_ weekday: MWeekday) -> AnyWeekdayLabel { createDefaultWeekDayLabel(weekday).erased() }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:25:82: warning: call to main actor-isolated initializer 'init(weekday:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 | }
24 | private extension WeekdaysView {
25 | func createDefaultWeekDayLabel(_ weekday: MWeekday) -> DefaultWeekdayLabel { DefaultWeekdayLabel(weekday: weekday) }
| | `- warning: call to main actor-isolated initializer 'init(weekday:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createDefaultWeekDayLabel' part of global actor 'MainActor'
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Views/Default/DefaultWeekdayLabel.swift:13:8: note: calls to initializer 'init(weekday:)' from outside of its actor context are implicitly asynchronous
11 | import SwiftUI
12 |
13 | struct DefaultWeekdayLabel: WeekdayLabel {
| `- note: calls to initializer 'init(weekday:)' from outside of its actor context are implicitly asynchronous
14 | let weekday: MWeekday
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdayLabel.swift:39:41: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
37 |
38 | /// Returns a type-erased object.
39 | func erased() -> AnyWeekdayLabel { .init(self) }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:21:60: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
19 | // MARK: - Default View Implementation
20 | public extension WeekdaysView {
21 | func createContent() -> AnyView { createWeekdaysView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
22 | func createWeekdayLabel(_ weekday: MWeekday) -> AnyWeekdayLabel { createDefaultWeekDayLabel(weekday).erased() }
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+WeekdaysView.swift:25:82: warning: sending 'weekday' risks causing data races; this is an error in the Swift 6 language mode
23 | }
24 | private extension WeekdaysView {
25 | func createDefaultWeekDayLabel(_ weekday: MWeekday) -> DefaultWeekdayLabel { DefaultWeekdayLabel(weekday: weekday) }
| |- warning: sending 'weekday' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'weekday' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
26 | }
27 |
[18/32] Compiling MijickCalendarView Public+WeekdaySymbolFormat.swift
[19/32] Compiling MijickCalendarView Public+MCalendarView.swift
[20/32] Compiling MijickCalendarView Public+View.swift
[21/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)
[22/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)
[23/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)
[24/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 |
[25/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 |
[26/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 |
[27/32] Compiling MijickCalendarView DefaultWeekdaysView.swift
[28/32] Compiling MijickCalendarView MCalendarView.swift
[29/32] Compiling MijickCalendarView MonthView.swift
[30/32] Compiling MijickCalendarView Public+MDateRange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:35:64: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createDayLabel()' part of global actor 'MainActor'
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createSelectionView()' part of global actor 'MainActor'
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createRangeSelectionView()' part of global actor 'MainActor'
38 | }
39 | private extension DayView {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:54:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | .foregroundColor(isSelected() ? .backgroundPrimary : .onBackgroundPrimary)
49 | }
50 | func createDefaultSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultSelectionView()' part of global actor 'MainActor'
51 | Circle()
52 | .fill(Color.onBackgroundPrimary)
53 | .transition(.asymmetric(insertion: .scale(scale: 0.52).combined(with: .opacity), removal: .opacity))
54 | .active(if: isSelected())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:60:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | .active(if: isSelected())
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultRangeSelectionView()' part of global actor 'MainActor'
57 | RoundedRectangle(corners: rangeSelectionViewCorners)
58 | .fill(Color.onBackgroundPrimary.opacity(0.12))
59 | .transition(.opacity)
60 | .active(if: isWithinRange())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+MonthLabel.swift:23:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | // MARK: - Default View Implementation
22 | public extension MonthLabel {
23 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
24 | }
25 | private extension MonthLabel {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
38 | }
39 | private extension DayView {
[31/32] Compiling MijickCalendarView Public+DayView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:35:64: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createDayLabel()' part of global actor 'MainActor'
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createSelectionView()' part of global actor 'MainActor'
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createRangeSelectionView()' part of global actor 'MainActor'
38 | }
39 | private extension DayView {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:54:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | .foregroundColor(isSelected() ? .backgroundPrimary : .onBackgroundPrimary)
49 | }
50 | func createDefaultSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultSelectionView()' part of global actor 'MainActor'
51 | Circle()
52 | .fill(Color.onBackgroundPrimary)
53 | .transition(.asymmetric(insertion: .scale(scale: 0.52).combined(with: .opacity), removal: .opacity))
54 | .active(if: isSelected())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:60:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | .active(if: isSelected())
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultRangeSelectionView()' part of global actor 'MainActor'
57 | RoundedRectangle(corners: rangeSelectionViewCorners)
58 | .fill(Color.onBackgroundPrimary.opacity(0.12))
59 | .transition(.opacity)
60 | .active(if: isWithinRange())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+MonthLabel.swift:23:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | // MARK: - Default View Implementation
22 | public extension MonthLabel {
23 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
24 | }
25 | private extension MonthLabel {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
38 | }
39 | private extension DayView {
[32/32] Compiling MijickCalendarView Public+MonthLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:35:64: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createDayLabel()' part of global actor 'MainActor'
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createSelectionView()' part of global actor 'MainActor'
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createRangeSelectionView()' part of global actor 'MainActor'
38 | }
39 | private extension DayView {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:54:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | .foregroundColor(isSelected() ? .backgroundPrimary : .onBackgroundPrimary)
49 | }
50 | func createDefaultSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultSelectionView()' part of global actor 'MainActor'
51 | Circle()
52 | .fill(Color.onBackgroundPrimary)
53 | .transition(.asymmetric(insertion: .scale(scale: 0.52).combined(with: .opacity), removal: .opacity))
54 | .active(if: isSelected())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:60:14: warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | .active(if: isSelected())
55 | }
56 | func createDefaultRangeSelectionView() -> some View {
| `- note: add '@MainActor' to make instance method 'createDefaultRangeSelectionView()' part of global actor 'MainActor'
57 | RoundedRectangle(corners: rangeSelectionViewCorners)
58 | .fill(Color.onBackgroundPrimary.opacity(0.12))
59 | .transition(.opacity)
60 | .active(if: isWithinRange())
| `- warning: call to main actor-isolated instance method 'active(if:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | }
62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Internal/Extensions/View++.swift:15:23: note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
13 |
14 | extension View {
15 | @ViewBuilder func active(if condition: Bool) -> some View { if condition { self } }
| `- note: calls to instance method 'active(if:)' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+MonthLabel.swift:23:62: warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | // MARK: - Default View Implementation
22 | public extension MonthLabel {
23 | func createContent() -> AnyView { createDefaultContent().erased() }
| | `- warning: call to main actor-isolated instance method 'erased()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
| `- note: add '@MainActor' to make instance method 'createContent()' part of global actor 'MainActor'
24 | }
25 | private extension MonthLabel {
/Users/admin/builder/spi-builder-workspace/Sources/Public/Extensions/Public+View.swift:15:10: note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
13 |
14 | public extension View {
15 | func erased() -> AnyView { .init(self) }
| `- note: calls to instance method 'erased()' from outside of its actor context are implicitly asynchronous
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:34:62: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
32 | // MARK: - Default View Implementation
33 | public extension DayView {
34 | func createContent() -> AnyView { createDefaultContent().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:36:74: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | func createContent() -> AnyView { createDefaultContent().erased() }
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Public/View Protocols/Public+DayView.swift:37:84: warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
35 | func createDayLabel() -> AnyView { createDefaultDayLabel().erased() }
36 | func createSelectionView() -> AnyView { createDefaultSelectionView().erased() }
37 | func createRangeSelectionView() -> AnyView { createDefaultRangeSelectionView().erased() }
| `- warning: sending task-isolated value of type 'some View' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
38 | }
39 | private extension DayView {
Build complete! (28.25s)
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.