Build Information
Successful build of SwiftExtras, reference main (ee47fa), with Swift 6.1 for macOS (SPM) on 14 Nov 2026 02:02:33 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
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[168/228] Compiling SwiftExtras Color+colorBlind.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
236 | /// - Parameter forceRefresh: forced refresh?
237 | /// - Returns: AppStore information
238 | public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[169/228] Compiling SwiftExtras Color+components.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
236 | /// - Parameter forceRefresh: forced refresh?
237 | /// - Returns: AppStore information
238 | public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[170/228] Compiling SwiftExtras Color+default.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
236 | /// - Parameter forceRefresh: forced refresh?
237 | /// - Returns: AppStore information
238 | public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[171/228] Compiling SwiftExtras Color+dynamicColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
236 | /// - Parameter forceRefresh: forced refresh?
237 | /// - Returns: AppStore information
238 | public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[172/228] Compiling SwiftExtras Color+init.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:238:76: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
236 | /// - Parameter forceRefresh: forced refresh?
237 | /// - Returns: AppStore information
238 | public static func appStoreInfo(_ forceRefresh: Bool = false) async -> SEAppInfoAppStoreInfo? {
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
239 | #if os(macOS) || os(iOS)
240 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:243:51: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
241 |
242 | if let cached = UserDefaults.standard.data(forKey: "SEAppInfoAppStoreInfo"),
243 | let appStoreInfo = try? decoder.decode(SEAppInfoAppStoreInfo.self, from: cached),
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
244 | !forceRefresh {
245 | return appStoreInfo
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Enums/AppInfo.swift:261:39: warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
259 | let (data, _) = try await session.data(for: request)
260 | UserDefaults.standard.set(data, forKey: "SEAppInfoAppStoreInfo")
261 | return try decoder.decode(SEAppInfoAppStoreInfo.self, from: data)
| `- warning: 'SEAppInfoAppStoreInfo' is deprecated: This struct is deprecated and may be removed in future versions.
262 | } catch {
263 | print("Error")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:40:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
38 | func onChange(_ handler: @escaping (Value) -> Void) -> Binding<Value> {
39 | Binding(
40 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:42:17: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
40 | get: { self.wrappedValue },
41 | set: { newValue in
42 | self.wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
43 | handler(newValue)
44 | })
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+onChange.swift:43:17: warning: capture of 'handler' with non-sendable type '(Value) -> Void' in a '@Sendable' closure
41 | set: { newValue in
42 | self.wrappedValue = newValue
43 | 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'
44 | })
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: capture of 'rhs' with non-sendable type 'Value' in a '@Sendable' closure
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:37:33: warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | static func ?? (lhs: Binding<Value?>, rhs: Value) -> Binding<Value> {
36 | Binding {
37 | lhs.wrappedValue ?? rhs
| `- warning: implicit capture of 'rhs' requires that 'Value' conforms to 'Sendable'; this is an error in the Swift 6 language mode
38 | } set: {
39 | lhs.wrappedValue = $0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:39:13: warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
37 | lhs.wrappedValue ?? rhs
38 | } set: {
39 | lhs.wrappedValue = $0
| `- warning: capture of 'lhs' with non-sendable type 'Binding<Value?>' in a '@Sendable' closure
40 | }
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Extensions/Binding+optional.swift:54:20: warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
50 | /// - Parameter source: optional source value
51 | /// - Returns: read-only Binding
52 | init<T>(for source: T?) where Value == T? {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
53 | self.init(
54 | get: { source },
| `- warning: capture of 'source' with non-sendable type 'T?' in a '@Sendable' closure
55 | set: { _, _ in }
56 | )
[173/228] Compiling SwiftExtras TextFieldActions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[174/228] Compiling SwiftExtras TextFieldWithAxisActionHelper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[175/228] Compiling SwiftExtras Toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[176/228] Compiling SwiftExtras highlight.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[177/228] Compiling SwiftExtras NSPasteboard+string.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[178/228] Compiling SwiftExtras PlatformTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[179/228] Compiling SwiftExtras PlatformViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[180/228] Compiling SwiftExtras openURL.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[181/228] Compiling SwiftExtras RegularExpressionOperator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[182/228] Compiling SwiftExtras optionalBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[183/228] Compiling SwiftExtras PictureInPicture.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[184/228] Compiling SwiftExtras PictureInPictureController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[185/228] Compiling SwiftExtras PictureInPictureLayerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[186/228] Compiling SwiftExtras PictureInPictureRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[187/228] Compiling SwiftExtras View+PictureInPicture.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[188/228] Compiling SwiftExtras AutoEquatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[189/228] Compiling SwiftExtras MailView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
| `- warning: capture of 'rhs' with non-sendable type 'T' in a '@Sendable' closure
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:30:40: warning: implicit capture of 'rhs' requires that 'T' conforms to 'Sendable'; this is an error in the Swift 6 language mode
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | 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
31 | set: { lhs.wrappedValue = $0 }
32 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/Operators/optionalBinding.swift:31:20: warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
26 | /// - rhs: The fallback value to use while the wrapped value is `nil`.
27 | /// - Returns: A nonoptional binding that writes changes back to `lhs`.
28 | public static func ?? <T>(lhs: Binding<T?>, rhs: T) -> Binding<T> {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
29 | Binding<T>(
30 | get: { lhs.wrappedValue ?? rhs },
31 | set: { lhs.wrappedValue = $0 }
| `- warning: capture of 'lhs' with non-sendable type 'Binding<T?>' in a '@Sendable' closure
32 | )
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/PictureInPicture/PictureInPictureController.swift:118:17: warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
116 |
117 | Task { @MainActor [weak self, weak controller] in
118 | controller?.startPictureInPicture()
| |- warning: sending 'controller' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'controller' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
119 | self?.possibleObservation = nil
120 | }
[190/228] Compiling SwiftExtras Logger+.swift
[191/228] Compiling SwiftExtras NotificationName+.swift
[192/228] Compiling SwiftExtras Optional+isNilOrEmpty.swift
[193/228] Compiling SwiftExtras ProcessInfo+Utilities.swift
[194/228] Compiling SwiftExtras Sequence+.swift
[195/228] Compiling SwiftExtras String+ANSIColors.swift
[196/228] Compiling SwiftExtras String+Base64.swift
[197/228] Compiling SwiftExtras String+HTML.swift
[198/228] Compiling SwiftExtras String+IdentifiableString.swift
[199/228] Compiling SwiftExtras String+LocalizedStringKey.swift
[200/228] Compiling SwiftExtras String+Quoted.swift
[201/228] Compiling SwiftExtras String+Split.swift
[202/228] Compiling SwiftExtras String+clean.swift
[203/228] Compiling SwiftExtras String+contains.swift
[204/228] Compiling SwiftExtras String+error.swift
[205/228] Compiling SwiftExtras String+fuzzyMatches.swift
[206/228] Compiling SwiftExtras String+hashed.swift
[207/228] Compiling SwiftExtras MatchedPopover.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[208/228] Compiling SwiftExtras MonthYearPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[209/228] Compiling SwiftExtras MultiSelectPickerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[210/228] Compiling SwiftExtras MultiSelectView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[211/228] Compiling SwiftExtras NavigationViewIfNeeded.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[212/228] Compiling SwiftExtras NotificationOnboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[213/228] Compiling SwiftExtras NotificationOnboardingSupport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[214/228] Compiling SwiftExtras NotificationView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[215/228] Compiling SwiftExtras Onboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[216/228] Compiling SwiftExtras SEAcknowledgementView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[217/228] Compiling SwiftExtras SEChangeLogView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[218/228] Compiling SwiftExtras SESettingsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[219/228] Compiling SwiftExtras SplitActionButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[220/228] Compiling SwiftExtras SpotlightOnboarding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[221/228] Compiling SwiftExtras VerificationField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[222/228] Compiling SwiftExtras resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/NotificationOnboarding.swift:181: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
179 | #endif
180 |
181 | 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
182 | let authorization = settings.authorizationStatus
183 | 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:314: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
312 | ) ?? false
313 |
314 | 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
315 | onPermissionChange(status)
316 | #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;
[223/246] Compiling SwiftExtrasDemo SwiftExtrasDemo.swift
[224/247] Compiling SwiftExtrasDemo StylesDemo.swift
[225/247] Compiling SwiftExtrasDemo PlatformDemo.swift
[226/247] Compiling SwiftExtrasScreenshots SwiftExtrasScreenshots.swift
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasScreenshots/SwiftExtrasScreenshots.swift:174:21: warning: 'IndexedList' is deprecated: Use the built in indexed list
172 | .init(name: "indexed-list", size: .init(width: 620, height: 420)) {
173 | ExampleFrame(title: "IndexedList") {
174 | IndexedList(data: indexedListItems) { item in
| `- warning: 'IndexedList' is deprecated: Use the built in indexed list
175 | Text(item)
176 | }
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasScreenshots/SwiftExtrasScreenshots.swift:270:5: warning: call to main actor-isolated initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
268 | @ViewBuilder
269 | private var splitActionButtons: some View {
270 | SplitActionButton(
| `- warning: call to main actor-isolated initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
271 | primaryTitle: "Publish",
272 | primarySystemImage: "paperplane",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SplitActionButton.swift:79:12: note: calls to initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:)' from outside of its actor context are implicitly asynchronous
77 | /// - secondaryAction: The action performed when the secondary menu item is
78 | /// selected.
79 | public init(
| `- note: calls to initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:)' from outside of its actor context are implicitly asynchronous
80 | primaryTitle: LocalizedStringKey = "Primary activity",
81 | primarySystemImage: String? = nil,
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasScreenshots/SwiftExtrasScreenshots.swift:278:19: warning: main actor-isolated static property 'borderedProminent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
276 | secondaryAction: { }
277 | )
278 | .buttonStyle(.borderedProminent)
| `- warning: main actor-isolated static property 'borderedProminent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
279 |
280 | SplitActionButton(
SwiftUI.PrimitiveButtonStyle.borderedProminent:2:46: note: static property declared here
1 | protocol PrimitiveButtonStyle {
2 | @MainActor @preconcurrency public static var borderedProminent: BorderedProminentButtonStyle { get }}
| `- note: static property declared here
3 |
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasScreenshots/SwiftExtrasScreenshots.swift:280:5: warning: call to main actor-isolated initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:label:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
278 | .buttonStyle(.borderedProminent)
279 |
280 | SplitActionButton(
| `- warning: call to main actor-isolated initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:label:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
281 | primaryTitle: "Publish",
282 | primarySystemImage: "paperplane",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtras/SwiftUI/SplitActionButton.swift:109:12: note: calls to initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:label:)' from outside of its actor context are implicitly asynchronous
107 | /// selected.
108 | /// - label: A custom view used as the visible button label.
109 | public init(
| `- note: calls to initializer 'init(primaryTitle:primarySystemImage:secondaryTitle:secondarySystemImage:primaryAction:secondaryAction:label:)' from outside of its actor context are implicitly asynchronous
110 | primaryTitle: LocalizedStringKey = "Primary activity",
111 | primarySystemImage: String? = nil,
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasScreenshots/SwiftExtrasScreenshots.swift:291:19: warning: main actor-isolated static property 'bordered' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
289 | }
290 | )
291 | .buttonStyle(.bordered)
| `- warning: main actor-isolated static property 'bordered' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
292 | }
293 |
SwiftUI.PrimitiveButtonStyle.bordered:2:46: note: static property declared here
1 | protocol PrimitiveButtonStyle {
2 | @MainActor @preconcurrency public static var bordered: BorderedButtonStyle { get }}
| `- note: static property declared here
3 |
[227/247] Compiling SwiftExtrasScreenshots ScreenshotRendering.swift
[228/247] Compiling SwiftExtrasScreenshots ModifierExamples.swift
[229/247] Emitting module SwiftExtrasScreenshots
[229/247] Write Objects.LinkFileList
[231/247] Compiling SwiftExtrasDemo OverviewDemo.swift
[232/247] Compiling SwiftExtrasDemo LayoutsDemo.swift
[233/247] Compiling SwiftExtrasDemo DemoComponents.swift
[234/247] Compiling SwiftExtrasDemo ColorsAndImagesDemo.swift
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasDemo/ContainersDemo.swift:25:13: warning: 'IndexedListDemo' is deprecated: Use the built in indexed list
23 | CardAndDisclosureDemo()
24 | CarouselDemo()
25 | IndexedListDemo()
| `- warning: 'IndexedListDemo' is deprecated: Use the built in indexed list
26 | NotificationContainerDemo()
27 | MetadataViewsDemo()
[235/247] Compiling SwiftExtrasDemo ContainersDemo.swift
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasDemo/ContainersDemo.swift:25:13: warning: 'IndexedListDemo' is deprecated: Use the built in indexed list
23 | CardAndDisclosureDemo()
24 | CarouselDemo()
25 | IndexedListDemo()
| `- warning: 'IndexedListDemo' is deprecated: Use the built in indexed list
26 | NotificationContainerDemo()
27 | MetadataViewsDemo()
[236/247] Compiling SwiftExtrasDemo ControlsDemo.swift
[237/247] Compiling SwiftExtrasDemo DemoCatalog.swift
[238/247] Emitting module SwiftExtrasDemo
[239/247] Compiling SwiftExtrasDemo ModifiersDemo.swift
/Users/admin/builder/spi-builder-workspace/Tools/SwiftExtrasDemo/ModifiersDemo.swift:247:13: warning: main actor-isolated property 'delayedTaskFinished' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
213 | @State private var notificationCount = 0
214 | @State private var appeared = false
215 | @State private var delayedTaskFinished = false
| `- note: mutation of this property is only permitted within the actor
216 |
217 | var body: some View {
:
245 | }
246 | .task(delay: .milliseconds(500)) {
247 | delayedTaskFinished = true
| |- warning: main actor-isolated property 'delayedTaskFinished' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
| `- note: consider declaring an isolated method on 'MainActor' to perform the mutation
248 | }
249 | }
[240/247] Compiling SwiftExtrasDemo UtilitiesDemo.swift
[240/247] Write Objects.LinkFileList
[241/247] Linking SwiftExtrasScreenshots
[242/247] Applying SwiftExtrasScreenshots
[243/247] Linking SwiftExtrasDemo
[244/247] Applying SwiftExtrasDemo
[246/247] Emitting module SwiftExtrasScreenshotTesting
[247/247] Compiling SwiftExtrasScreenshotTesting ScreenshotTestCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:147:35: warning: main actor-isolated property 'appearance' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
145 | for language in languages {
146 | for (index, scenario) in scenarios.enumerated() {
147 | XCUIDevice.shared.appearance = scenario.appearance.deviceAppearance
| `- warning: main actor-isolated property 'appearance' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
148 |
149 | let application = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:118:44: note: mutation of this property is only permitted within the actor
116 | * Get or set the UI style of the device. Uses the `XCUIDeviceAppearance` enum to describe the UI style.
117 | */
118 | @property (nonatomic) XCUIDeviceAppearance appearance API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)) API_UNAVAILABLE(watchos);
| `- note: mutation of this property is only permitted within the actor
119 |
120 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:147:28: warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
145 | for language in languages {
146 | for (index, scenario) in scenarios.enumerated() {
147 | XCUIDevice.shared.appearance = scenario.appearance.deviceAppearance
| `- warning: main actor-isolated class property 'shared' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
148 |
149 | let application = XCUIApplication()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIDevice.h:41:41: note: mutation of this class property is only permitted within the actor
39 |
40 | /*! The current device. */
41 | @property (class, readonly) XCUIDevice *sharedDevice;
| `- note: mutation of this class property is only permitted within the actor
42 |
43 | + (instancetype)new XCUI_UNAVAILABLE("Access XCUIDevice through +sharedDevice");
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:149:35: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
147 | XCUIDevice.shared.appearance = scenario.appearance.deviceAppearance
148 |
149 | let application = XCUIApplication()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
150 | application.launchArguments += [
151 | "-AppleLanguages", "(\(language.identifier))",
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:29:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
27 | * Returns a proxy for the application specified by the "Target Application" target setting.
28 | */
29 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
30 | + (instancetype)new;
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:150:29: warning: main actor-isolated property 'launchArguments' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
148 |
149 | let application = XCUIApplication()
150 | application.launchArguments += [
| `- warning: main actor-isolated property 'launchArguments' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
151 | "-AppleLanguages", "(\(language.identifier))",
152 | "-AppleLocale", language.localeIdentifier
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:93:51: note: mutation of this property is only permitted within the actor
91 | * is launched.
92 | */
93 | @property (nonatomic, copy) NSArray <NSString *> *launchArguments;
| `- note: mutation of this property is only permitted within the actor
94 |
95 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:154:29: warning: main actor-isolated property 'launchArguments' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
152 | "-AppleLocale", language.localeIdentifier
153 | ]
154 | application.launchArguments += scenario.launchArguments
| `- warning: main actor-isolated property 'launchArguments' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
155 | configure(application, language: language, scenario: scenario)
156 | application.launch()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIApplication.h:93:51: note: mutation of this property is only permitted within the actor
91 | * is launched.
92 | */
93 | @property (nonatomic, copy) NSArray <NSString *> *launchArguments;
| `- note: mutation of this property is only permitted within the actor
94 |
95 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:156:29: warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
154 | application.launchArguments += scenario.launchArguments
155 | configure(application, language: language, scenario: scenario)
156 | application.launch()
| `- warning: call to main actor-isolated instance method 'launch()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
157 |
158 | try prepareForScreenshot(
XCUIAutomation.XCUIApplication.launch:2:22: note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
1 | class XCUIApplication {
2 | @MainActor open func launch()}
| `- note: calls to instance method 'launch()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:164:46: warning: call to main actor-isolated instance method 'screenshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
162 | )
163 |
164 | let screenshot = application.screenshot()
| `- warning: call to main actor-isolated instance method 'screenshot()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | let name = screenshotName(
166 | language: language,
XCUIAutomation.XCUIElement.screenshot:2:22: note: calls to instance method 'screenshot()' from outside of its actor context are implicitly asynchronous
1 | class XCUIElement {
2 | @MainActor open func screenshot() -> XCUIScreenshot}
| `- note: calls to instance method 'screenshot()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:176:45: warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
174 |
175 | if let screenshotsDirectory,
176 | let pngData = screenshot.image.pngData() {
| `- warning: main actor-isolated property 'image' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
177 | try pngData.write(
178 | to: screenshotsDirectory.appendingPathComponent("\(name).png"),
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks/XCUIAutomation.framework/Headers/XCUIScreenshot.h:29:37: note: property declared here
27 | */
28 | #if TARGET_OS_OSX
29 | @property (readonly, copy) NSImage *image;
| `- note: property declared here
30 | #else
31 | @property (readonly, copy) UIImage *image;
/Users/admin/builder/spi-builder-workspace/Sources/SwiftExtrasScreenshotTesting/ScreenshotTestCase.swift:183:29: warning: call to main actor-isolated instance method 'terminate()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |
132 | /// Captures every configured language and scenario combination.
133 | public final func testScreenshots() throws {
| `- note: add '@MainActor' to make instance method 'testScreenshots()' part of global actor 'MainActor'
134 | guard type(of: self) != ScreenshotTestCase.self else {
135 | throw XCTSkip("ScreenshotTestCase is a reusable base class.")
:
181 | }
182 |
183 | application.terminate()
| `- warning: call to main actor-isolated instance method 'terminate()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | }
185 | }
XCUIAutomation.XCUIApplication.terminate:2:22: note: calls to instance method 'terminate()' from outside of its actor context are implicitly asynchronous
1 | class XCUIApplication {
2 | @MainActor open func terminate()}
| `- note: calls to instance method 'terminate()' from outside of its actor context are implicitly asynchronous
3 |
Build complete! (38.16s)
Fetching https://github.com/0xWDG/PreferenceKit.git
[1/3065] Fetching preferencekit
Fetched https://github.com/0xWDG/PreferenceKit.git from cache (1.29s)
Fetching https://github.com/0xWDG/OSLogViewer.git
[1/1916] Fetching oslogviewer
Fetched https://github.com/0xWDG/OSLogViewer.git from cache (1.21s)
Computing version for https://github.com/0xWDG/OSLogViewer.git
Computed https://github.com/0xWDG/OSLogViewer.git at 1.1.6 (1.74s)
Creating working copy for https://github.com/0xWDG/PreferenceKit.git
Working copy of https://github.com/0xWDG/PreferenceKit.git resolved at main (40eeeb0)
Creating working copy for https://github.com/0xWDG/OSLogViewer.git
Working copy of https://github.com/0xWDG/OSLogViewer.git resolved at 1.1.6
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "oslogviewer",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xWDG/OSLogViewer.git"
},
{
"identity" : "preferencekit",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/0xWDG/PreferenceKit.git"
}
],
"manifest_display_name" : "SwiftExtras",
"name" : "SwiftExtras",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "SwiftExtras",
"targets" : [
"SwiftExtras"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftExtrasScreenshotTesting",
"targets" : [
"SwiftExtrasScreenshotTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftExtrasScreenshots",
"targets" : [
"SwiftExtrasScreenshots"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftExtrasDemo",
"targets" : [
"SwiftExtrasDemo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftExtrasTests",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasTests",
"path" : "Tests/SwiftExtrasTests",
"product_dependencies" : [
"PreferenceKit"
],
"sources" : [
"AnyCodableTests.swift",
"AppInfoTests.swift",
"CollectionAndNumericTests.swift",
"DateExtensionTests.swift",
"DeviceInfoTests.swift",
"DynamicJSONTests.swift",
"DynamicTests.swift",
"FoundationExtensionTests.swift",
"ModelTests.swift",
"ScreenshotTestingTests.swift",
"ShimmerTests.swift",
"StringAndURLTests.swift",
"SwiftExtrasTests.swift",
"UbiquitousStorageTests.swift",
"UtilityExtensionTests.swift"
],
"target_dependencies" : [
"SwiftExtras",
"SwiftExtrasScreenshotTesting"
],
"type" : "test"
},
{
"c99name" : "SwiftExtrasScreenshots",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasScreenshots",
"path" : "Tools/SwiftExtrasScreenshots",
"product_memberships" : [
"SwiftExtrasScreenshots"
],
"sources" : [
"ModifierExamples.swift",
"ScreenshotRendering.swift",
"SwiftExtrasScreenshots.swift"
],
"target_dependencies" : [
"SwiftExtras"
],
"type" : "executable"
},
{
"c99name" : "SwiftExtrasScreenshotTesting",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasScreenshotTesting",
"path" : "Sources/SwiftExtrasScreenshotTesting",
"product_memberships" : [
"SwiftExtrasScreenshotTesting"
],
"sources" : [
"ScreenshotTestCase.swift"
],
"target_dependencies" : [
"SwiftExtras"
],
"type" : "library"
},
{
"c99name" : "SwiftExtrasDemo",
"module_type" : "SwiftTarget",
"name" : "SwiftExtrasDemo",
"path" : "Tools/SwiftExtrasDemo",
"product_memberships" : [
"SwiftExtrasDemo"
],
"sources" : [
"ColorsAndImagesDemo.swift",
"ContainersDemo.swift",
"ControlsDemo.swift",
"DemoCatalog.swift",
"DemoComponents.swift",
"LayoutsDemo.swift",
"ModifiersDemo.swift",
"OverviewDemo.swift",
"PlatformDemo.swift",
"StylesDemo.swift",
"SwiftExtrasDemo.swift",
"UtilitiesDemo.swift"
],
"target_dependencies" : [
"SwiftExtras"
],
"type" : "executable"
},
{
"c99name" : "SwiftExtras",
"module_type" : "SwiftTarget",
"name" : "SwiftExtras",
"path" : "Sources/SwiftExtras",
"product_dependencies" : [
"OSLogViewer",
"PreferenceKit"
],
"product_memberships" : [
"SwiftExtras",
"SwiftExtrasScreenshotTesting",
"SwiftExtrasScreenshots",
"SwiftExtrasDemo"
],
"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+onChange.swift",
"Extensions/Binding+optional.swift",
"Extensions/CGFloat+.swift",
"Extensions/CGSize+device.swift",
"Extensions/Collection+.swift",
"Extensions/Collection+safeIndex.swift",
"Extensions/Color/Color+Codable.swift",
"Extensions/Color/Color+Identifiable.swift",
"Extensions/Color/Color+colorBlind.swift",
"Extensions/Color/Color+components.swift",
"Extensions/Color/Color+default.swift",
"Extensions/Color/Color+dynamicColor.swift",
"Extensions/Color/Color+init.swift",
"Extensions/Color/Color+random.swift",
"Extensions/Color/PlatformColor+.swift",
"Extensions/Data.swift",
"Extensions/Date/Date+.swift",
"Extensions/Date/Date+Identifiable.swift",
"Extensions/Date/Date+getFormattedDate.swift",
"Extensions/Dictionary+RawRepresentable.swift",
"Extensions/Double+.swift",
"Extensions/Error+errorCode.swift",
"Extensions/Float.swift",
"Extensions/Image/Image+Platform.swift",
"Extensions/Image/Image+centerCropped.swift",
"Extensions/Image/PlatformImage+.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/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+LocalizedStringKey.swift",
"Extensions/String/String+Quoted.swift",
"Extensions/String/String+Split.swift",
"Extensions/String/String+clean.swift",
"Extensions/String/String+contains.swift",
"Extensions/String/String+error.swift",
"Extensions/String/String+fuzzyMatches.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+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+onChange.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+stretchableView.swift",
"Extensions/View/View+stretchy.swift",
"Extensions/View/View+subtitle.swift",
"Functions/GravatarAvatarImage.swift",
"Functions/kMeansCluster.swift",
"Layout/Flow.swift",
"Layout/StickySection.swift",
"Layout/WStack.swift",
"Modifiers/BorderBeamEffect.swift",
"Modifiers/Button+longPress.swift",
"Modifiers/CaptureScrollingOffset.swift",
"Modifiers/CustomBadge.swift",
"Modifiers/FloatingSafeAreaBar.swift",
"Modifiers/IslandToast.swift",
"Modifiers/KeyboardDismissModifier.swift",
"Modifiers/KeyboardDoneToolbar.swift",
"Modifiers/PulsatingEffect.swift",
"Modifiers/ShakeEffect.swift",
"Modifiers/Shimmer.swift",
"Modifiers/StretchyHeaderViewModifier.swift",
"Modifiers/TextFieldActions.swift",
"Modifiers/TextFieldWithAxisActionHelper.swift",
"Modifiers/Toast.swift",
"Modifiers/highlight.swift",
"MultiPlatform/NSPasteboard+string.swift",
"MultiPlatform/PlatformTypes.swift",
"MultiPlatform/PlatformViewRepresentable.swift",
"MultiPlatform/openURL.swift",
"Operators/RegularExpressionOperator.swift",
"Operators/optionalBinding.swift",
"PictureInPicture/PictureInPicture.swift",
"PictureInPicture/PictureInPictureController.swift",
"PictureInPicture/PictureInPictureLayerView.swift",
"PictureInPicture/PictureInPictureRenderer.swift",
"PictureInPicture/View+PictureInPicture.swift",
"Protocols/AutoEquatable.swift",
"Representables/MailView.swift",
"Representables/SFSafari.swift",
"Representables/WebView.swift",
"Shapes/HexShape.swift",
"Structs/AnyCodable.swift",
"Structs/DeviceInfo.swift",
"Structs/Dynamic.swift",
"Structs/DynamicJSON.swift",
"Structs/IslandToastCard.swift",
"Structs/SEAcknowledgement.swift",
"Structs/SEChangeLogEntry.swift",
"Structs/SocialIcons.swift",
"Structs/UbiquitousStorage.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/CloseButton.swift",
"SwiftUI/Compat.swift",
"SwiftUI/ConfettiView.swift",
"SwiftUI/ConfirmationButton.swift",
"SwiftUI/CopyableLabeledContent.swift",
"SwiftUI/DisclosureSection.swift",
"SwiftUI/HorizontalStepper.swift",
"SwiftUI/IndexedList.swift",
"SwiftUI/LabeledTextField.swift",
"SwiftUI/LimitedTextField.swift",
"SwiftUI/MatchedPopover.swift",
"SwiftUI/MonthYearPickerView.swift",
"SwiftUI/MultiSelectPickerView.swift",
"SwiftUI/MultiSelectView.swift",
"SwiftUI/NavigationViewIfNeeded.swift",
"SwiftUI/NotificationOnboarding.swift",
"SwiftUI/NotificationOnboardingSupport.swift",
"SwiftUI/NotificationView.swift",
"SwiftUI/Onboarding.swift",
"SwiftUI/SEAcknowledgementView.swift",
"SwiftUI/SEChangeLogView.swift",
"SwiftUI/SESettingsView.swift",
"SwiftUI/SplitActionButton.swift",
"SwiftUI/SpotlightOnboarding.swift",
"SwiftUI/VerificationField.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.