Build Information
Successful build of SwiftExtras, reference main (5c6dcf), with Swift 6.1 for macOS (SPM) on 15 Mar 2026 21:01:53 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[62/142] Compiling SwiftExtras View+onboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/View/View+readOffsetX.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct ViewOffsetXKey: PreferenceKey {
40 | static var defaultValue: CGFloat = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[63/142] Compiling SwiftExtras View+readOffsetX.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/View/View+readOffsetX.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct ViewOffsetXKey: PreferenceKey {
40 | static var defaultValue: CGFloat = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[64/142] Compiling SwiftExtras View+render.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/View/View+readOffsetX.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct ViewOffsetXKey: PreferenceKey {
40 | static var defaultValue: CGFloat = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[65/142] Compiling SwiftExtras View+sizeSaver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/View/View+readOffsetX.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct ViewOffsetXKey: PreferenceKey {
40 | static var defaultValue: CGFloat = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[66/142] Compiling SwiftExtras View+snapshot.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/View/View+readOffsetX.swift:40:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | struct ViewOffsetXKey: PreferenceKey {
40 | static var defaultValue: CGFloat = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
[67/142] Compiling SwiftExtras Color+colorBlind.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[68/142] Compiling SwiftExtras Color+components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[69/142] Compiling SwiftExtras Color+default.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[70/142] Compiling SwiftExtras Color+dynamicColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[71/142] Compiling SwiftExtras Color+init.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[72/142] Compiling SwiftExtras Color+random.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[73/142] Compiling SwiftExtras Data+Compression.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[74/142] Compiling SwiftExtras Date+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[75/142] Compiling SwiftExtras Date+Identifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[76/142] Compiling SwiftExtras Date+getFormattedDate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[77/142] Compiling SwiftExtras Double+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[78/142] Compiling SwiftExtras Error+errorCode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[79/142] Compiling SwiftExtras Float.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Date+.swift:134:23: warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
132 |
133 | /// First day of the week
134 | public static var firstDayOfWeek = Calendar.current.firstWeekday
| |- warning: static property 'firstDayOfWeek' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'firstDayOfWeek' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'firstDayOfWeek' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Array of capitalized first letters of the weekdays
[80/142] Compiling SwiftExtras MailView.swift
[81/142] Compiling SwiftExtras SFSafari.swift
[82/142] Compiling SwiftExtras WebView.swift
[83/142] Compiling SwiftExtras HexShape.swift
[84/142] Compiling SwiftExtras SEAcknowledgement.swift
[85/142] Compiling SwiftExtras SEChangeLogEntry.swift
[86/142] Compiling SwiftExtras SocialIcons.swift
[87/142] Compiling SwiftExtras BorderedToggleStyle.swift
[88/142] Compiling SwiftExtras ColoredButtonStyle.swift
[89/142] Compiling SwiftExtras GrayButtonStyle.swift
[90/142] Compiling SwiftExtras ListButtonStyle.swift
[91/142] Compiling SwiftExtras PlainBorderedToggleStyle.swift
[92/142] Compiling SwiftExtras ToggleButtonStyle.swift
[93/142] Compiling SwiftExtras SwiftExtras.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[94/142] Compiling SwiftExtras AsyncTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[95/142] Compiling SwiftExtras AsyncView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[96/142] Compiling SwiftExtras CardView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[97/142] Compiling SwiftExtras CarouselView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[98/142] Compiling SwiftExtras ConfettiView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[99/142] Compiling SwiftExtras ConfirmationButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[100/142] Compiling SwiftExtras CopyableLabeledContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[101/142] Compiling SwiftExtras DisclosureSection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[102/142] Compiling SwiftExtras FloatingTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[103/142] Compiling SwiftExtras HorizontalStepper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[104/142] Compiling SwiftExtras IndexedList.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/AsyncView.swift:84:32: warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
26 | /// }
27 | /// ```
28 | public struct AsyncView<Content: View, Result>: View {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
29 | /// Task to execute
30 | let task: () async -> Result
:
82 |
83 | AsyncTask {
84 | result = await task()
| `- warning: non-sendable result type 'Result' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
85 | }
86 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/IndexedList.swift:241:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
239 | /// on the frames of the indexed letters.
240 | struct IndexKeyPreferenceKey: PreferenceKey {
241 | static var defaultValue: [IndexKeyInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
242 | static func reduce(value: inout [IndexKeyInfo], nextValue: () -> [IndexKeyInfo]) {
243 | value.append(contentsOf: nextValue())
[105/142] Compiling SwiftExtras BackgroundRemover.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[106/142] Compiling SwiftExtras SensoryFeedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[107/142] Compiling SwiftExtras AppInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[108/142] Compiling SwiftExtras Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[109/142] Compiling SwiftExtras Binding+for.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[110/142] Compiling SwiftExtras Binding+onChange.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[111/142] Compiling SwiftExtras Binding+optional.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[112/142] Compiling SwiftExtras CGFloat+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[113/142] Compiling SwiftExtras CGSize+device.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[114/142] Compiling SwiftExtras Collection+.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[115/142] Compiling SwiftExtras Collection+safeIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[116/142] Compiling SwiftExtras Color+Codable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[117/142] Compiling SwiftExtras Color+Identifiable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+for.swift:27:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
23 | /// - Parameter source: optional source value
24 | /// - Returns: read-only Binding
25 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
26 | self.init(
27 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
28 | set: { _, _ in }
29 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:36:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
34 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
35 | Binding(
36 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:38:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 | get: { self.wrappedValue },
37 | set: { newValue in
38 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
39 | handler(newValue)
40 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:39:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
37 | set: { newValue in
38 | self.wrappedValue = newValue
39 | handler(newValue)
| |- warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 | })
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:33:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
31 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
32 | Binding {
33 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
34 | } set: {
35 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:35:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
33 | lhs.wrappedValue ?? rhs
34 | } set: {
35 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
36 | }
37 | }
[118/142] Compiling SwiftExtras View+stretchy.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[119/142] Compiling SwiftExtras kMeansCluster.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[120/142] Compiling SwiftExtras WStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[121/142] Compiling SwiftExtras Button+longPress.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[122/142] Compiling SwiftExtras KeyboardDismissModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[123/142] Compiling SwiftExtras PulsatingEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[124/142] Compiling SwiftExtras ShakeEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[125/142] Compiling SwiftExtras NSPasteboard+string.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[126/142] Compiling SwiftExtras PlatformTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[127/142] Compiling SwiftExtras PlatformViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[128/142] Compiling SwiftExtras openURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[129/142] Compiling SwiftExtras RegularExpressionOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[130/142] Compiling SwiftExtras optionalBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:25:36: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
| `- warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | set: { lhs.wrappedValue = $0 }
27 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:26:16: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
21 | /// - Parameter rhs: Value if the optional binding value is nil
22 | /// - Returns: Binding
23 | public func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
24 | Binding(
25 | get: { lhs.wrappedValue ?? rhs },
26 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
27 | )
28 | }
[131/142] Compiling SwiftExtras LimitedTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[132/142] Compiling SwiftExtras MonthYearPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[133/142] Compiling SwiftExtras MultiSelectPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[134/142] Compiling SwiftExtras MultiSelectView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[135/142] Compiling SwiftExtras NavigationViewIfNeeded.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[136/142] Compiling SwiftExtras NotificationOnboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[137/142] Compiling SwiftExtras NotificationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[138/142] Compiling SwiftExtras Onboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[139/142] Compiling SwiftExtras SEAcknowledgementView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[140/142] Compiling SwiftExtras SEChangeLogView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[141/142] Compiling SwiftExtras SESettingsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
[142/142] Compiling SwiftExtras resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:158:69: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
156 | /// To Cut off the infinite loop!
157 | .task {
158 | let settings = await UNUserNotificationCenter.current().notificationSettings()
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
159 | let authorization = settings.authorizationStatus
160 | self.authorization = authorization
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:15:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
13 | #if canImport(SwiftUI) && canImport(UserNotifications)
14 | import SwiftUI
15 | import UserNotifications
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UserNotifications'
16 |
17 | /// A SwiftUI view that presents an onboarding screen to request push notification permissions from the user.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:271:74: warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
269 | ) ?? false
270 |
271 | let authorization = await UNUserNotificationCenter.current().notificationSettings().authorizationStatus
| `- warning: non-sendable result type 'UNNotificationSettings' cannot be sent from nonisolated context in call to instance method 'notificationSettings()'; this is an error in the Swift 6 language mode
272 | onPermissionChange(status)
273 | #else
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h:58:12: note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
56 |
57 | API_AVAILABLE(macos(10.14), ios(10.0), watchos(3.0), tvos(10.0))
58 | @interface UNNotificationSettings : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'UNNotificationSettings' does not conform to the 'Sendable' protocol
59 |
60 | @property (NS_NONATOMIC_IOSONLY, readonly) UNAuthorizationStatus authorizationStatus;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SESettingsView.swift:330:59: warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
328 | if let extractor {
329 | isLoading = true
330 | OSLogString = await extractor.export()
| |- warning: sending 'extractor' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'extractor' to nonisolated instance method 'export()' risks causing data races between nonisolated and main actor-isolated uses
331 | isLoading = false
332 | }
Build complete! (20.51s)
Fetching https://github.com/0xWDG/OSLogViewer.git
[1/1585] Fetching oslogviewer
Fetched https://github.com/0xWDG/OSLogViewer.git from cache (1.13s)
Creating working copy for https://github.com/0xWDG/OSLogViewer.git
Working copy of https://github.com/0xWDG/OSLogViewer.git resolved at main (e45ebc5)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "oslogviewer",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xWDG/OSLogViewer.git"
}
],
"manifest_display_name" : "SwiftExtras",
"name" : "SwiftExtras",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "SwiftExtras",
"targets" : [
"SwiftExtras"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftExtrasTests",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasTests",
"path" : "Tests/SwiftExtrasTests",
"sources" : [
"SwiftExtrasTests.swift"
],
"target_dependencies" : [
"SwiftExtras"
],
"type" : "test"
},
{
"c99name" : "SwiftExtras",
"module_type" : "SwiftTarget",
"name" : "SwiftExtras",
"path" : "Sources/SwiftExtras",
"product_dependencies" : [
"OSLogViewer"
],
"product_memberships" : [
"SwiftExtras"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Assets.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Classes/BackgroundRemover.swift",
"Classes/SensoryFeedback.swift",
"Enums/AppInfo.swift",
"Enums/Device.swift",
"Extensions/Binding+for.swift",
"Extensions/Binding+onChange.swift",
"Extensions/Binding+optional.swift",
"Extensions/CGFloat+.swift",
"Extensions/CGSize+device.swift",
"Extensions/Collection+.swift",
"Extensions/Collection+safeIndex.swift",
"Extensions/Color+Codable.swift",
"Extensions/Color+Identifiable.swift",
"Extensions/Color+colorBlind.swift",
"Extensions/Color+components.swift",
"Extensions/Color+default.swift",
"Extensions/Color+dynamicColor.swift",
"Extensions/Color+init.swift",
"Extensions/Color+random.swift",
"Extensions/Data+Compression.swift",
"Extensions/Date+.swift",
"Extensions/Date+Identifiable.swift",
"Extensions/Date+getFormattedDate.swift",
"Extensions/Double+.swift",
"Extensions/Error+errorCode.swift",
"Extensions/Float.swift",
"Extensions/Image+Platform.swift",
"Extensions/Image+centerCropped.swift",
"Extensions/Int+.swift",
"Extensions/Locale+Utilities.swift",
"Extensions/LocalizedStringKey+.swift",
"Extensions/LocalizedStringKey+Identifiable.swift",
"Extensions/Logger+.swift",
"Extensions/NotificationName+.swift",
"Extensions/Optional+isNilOrEmpty.swift",
"Extensions/PlatformColor+.swift",
"Extensions/PlatformImage+.swift",
"Extensions/ProcessInfo+Utilities.swift",
"Extensions/Sequence+.swift",
"Extensions/String/String+ANSIColors.swift",
"Extensions/String/String+Base64.swift",
"Extensions/String/String+HTML.swift",
"Extensions/String/String+IdentifiableString.swift",
"Extensions/String/String+clean.swift",
"Extensions/String/String+contains.swift",
"Extensions/String/String+error.swift",
"Extensions/String/String+hashed.swift",
"Extensions/String/String+slice.swift",
"Extensions/String/String+slugified.swift",
"Extensions/String/String+subscript.swift",
"Extensions/String/String+trimmed.swift",
"Extensions/String/String+url.swift",
"Extensions/StringProtocol+.swift",
"Extensions/Task+.swift",
"Extensions/Text+Gradient.swift",
"Extensions/TimeInterval+.swift",
"Extensions/UIDevice+Utilities.swift",
"Extensions/URL+.swift",
"Extensions/URLSession.swift",
"Extensions/UserDefaults+subscript.swift",
"Extensions/View/View+Error.swift",
"Extensions/View/View+Frame.swift",
"Extensions/View/View+Log.swift",
"Extensions/View/View+Task.swift",
"Extensions/View/View+View+onChange.swift.swift",
"Extensions/View/View+adaptiveColor.swift",
"Extensions/View/View+colorScheme.swift",
"Extensions/View/View+getRootViewController.swift",
"Extensions/View/View+horizontallyCentered.swift",
"Extensions/View/View+modifier.swift",
"Extensions/View/View+onFirstAppear.swift",
"Extensions/View/View+onLandscape.swift",
"Extensions/View/View+onNotification.swift",
"Extensions/View/View+onboarding.swift",
"Extensions/View/View+readOffsetX.swift",
"Extensions/View/View+render.swift",
"Extensions/View/View+sizeSaver.swift",
"Extensions/View/View+snapshot.swift",
"Extensions/View/View+stretchy.swift",
"Functions/kMeansCluster.swift",
"Layout/WStack.swift",
"Modifiers/Button+longPress.swift",
"Modifiers/KeyboardDismissModifier.swift",
"Modifiers/PulsatingEffect.swift",
"Modifiers/ShakeEffect.swift",
"MultiPlatform/NSPasteboard+string.swift",
"MultiPlatform/PlatformTypes.swift",
"MultiPlatform/PlatformViewRepresentable.swift",
"MultiPlatform/openURL.swift",
"Operators/RegularExpressionOperator.swift",
"Operators/optionalBinding.swift",
"Representables/MailView.swift",
"Representables/SFSafari.swift",
"Representables/WebView.swift",
"Shapes/HexShape.swift",
"Structs/SEAcknowledgement.swift",
"Structs/SEChangeLogEntry.swift",
"Structs/SocialIcons.swift",
"Styles/BorderedToggleStyle.swift",
"Styles/ColoredButtonStyle.swift",
"Styles/GrayButtonStyle.swift",
"Styles/ListButtonStyle.swift",
"Styles/PlainBorderedToggleStyle.swift",
"Styles/ToggleButtonStyle.swift",
"SwiftExtras.swift",
"SwiftUI/AsyncTask.swift",
"SwiftUI/AsyncView.swift",
"SwiftUI/CardView.swift",
"SwiftUI/CarouselView.swift",
"SwiftUI/ConfettiView.swift",
"SwiftUI/ConfirmationButton.swift",
"SwiftUI/CopyableLabeledContent.swift",
"SwiftUI/DisclosureSection.swift",
"SwiftUI/FloatingTextField.swift",
"SwiftUI/HorizontalStepper.swift",
"SwiftUI/IndexedList.swift",
"SwiftUI/LimitedTextField.swift",
"SwiftUI/MonthYearPickerView.swift",
"SwiftUI/MultiSelectPickerView.swift",
"SwiftUI/MultiSelectView.swift",
"SwiftUI/NavigationViewIfNeeded.swift",
"SwiftUI/NotificationOnboarding.swift",
"SwiftUI/NotificationView.swift",
"SwiftUI/Onboarding.swift",
"SwiftUI/SEAcknowledgementView.swift",
"SwiftUI/SEChangeLogView.swift",
"SwiftUI/SESettingsView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.