Build Information
Successful build of SDGInterface, reference master (c5ed62
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:55:21 UTC.
Swift 6 data race errors: 69
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[583/589] Compiling SDGInterface MenuBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[584/589] Compiling SDGInterface MenuBarProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[585/589] Compiling SDGInterface MenuBar.Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[586/589] Compiling SDGInterface MenuBar.Edit.Find.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[587/589] Compiling SDGInterface MenuBar.Edit.Speech.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[588/589] Compiling SDGInterface MenuBar.Edit.SpellingAndGrammar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[589/589] Compiling SDGInterface MenuBar.Edit.Substitutions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:50:21: warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
48 | public static let leading: Alignment = Alignment(horizontal: .leading, vertical: .centre)
49 | /// A shimmed version of `SwiftUI.VerticalAlignment.center` with no availability constraints.
50 | public static let centre: Alignment = Alignment(horizontal: .centre, vertical: .centre)
| |- warning: static property 'centre' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'centre' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | /// A shimmed version of `SwiftUI.VerticalAlignment.trailing` with no availability constraints.
52 | public static let trailing: Alignment = Alignment(horizontal: .trailing, vertical: .centre)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:42:21: warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
40 |
41 | /// A shimmed version of `SwiftUI.VerticalAlignment.topLeading` with no availability constraints.
42 | public static let topLeading: Alignment = Alignment(horizontal: .leading, vertical: .top)
| |- warning: static property 'topLeading' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeading' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | /// A shimmed version of `SwiftUI.VerticalAlignment.top` with no availability constraints.
44 | public static let top: Alignment = Alignment(horizontal: .centre, vertical: .top)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Alignment/Alignment.swift:58:21: warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// A shimmed version of `SwiftUI.Alignment` with no availability constraints.
37 | public struct Alignment: Equatable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Properties
:
56 | public static let bottom: Alignment = Alignment(horizontal: .centre, vertical: .bottom)
57 | /// A shimmed version of `SwiftUI.VerticalAlignment.bottomTrailing` with no availability constraints.
58 | public static let bottomTrailing: Alignment = Alignment(horizontal: .trailing, vertical: .bottom)
| |- warning: static property 'bottomTrailing' is not concurrency-safe because non-'Sendable' type 'Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomTrailing' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:58:22: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | #else
60 | let view = UIStackView()
AppKit.NSStackView:53:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
51 | public init(frame frameRect: NSRect)
52 | public init?(coder: NSCoder)
53 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:64:18: warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
62 | for entry in content {
63 | #if canImport(AppKit)
64 | view.addView(entry.cocoa().native, in: .center)
| `- warning: call to main actor-isolated instance method 'addView(_:in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #else
66 | view.addArrangedSubview(entry.cocoa().native)
AppKit.NSStackView:2:26: note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
1 | extension NSStackView {
2 | @MainActor open func addView(_ view: NSView, in gravity: NSStackView.Gravity)
| `- note: calls to instance method 'addView(_:in:)' from outside of its actor context are implicitly asynchronous
3 | @available(swift, obsoleted: 3, renamed: "addView(_:in:)")
4 | open func addView(_ view: NSView, inGravity gravity: NSStackView.Gravity)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:71:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
69 | switch alignment {
70 | case .top:
71 | view.alignment = .top
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
72 | case .centre:
73 | #if canImport(AppKit)
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:74:18: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
72 | case .centre:
73 | #if canImport(AppKit)
74 | view.alignment = .centerY
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
75 | #else
76 | view.alignment = .center
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:79:16: warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
77 | #endif
78 | case .bottom:
79 | view.alignment = .bottom
| `- warning: main actor-isolated property 'alignment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 | if let specific = spacing {
AppKit.NSStackView:8:14: note: mutation of this property is only permitted within the actor
6 | weak open var delegate: (any NSStackViewDelegate)? { get set }
7 | open var orientation: NSUserInterfaceLayoutOrientation { get set }
8 | open var alignment: NSLayoutConstraint.Attribute { get set }
| `- note: mutation of this property is only permitted within the actor
9 | open var edgeInsets: NSEdgeInsets { get set }
10 | @available(macOS 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Views/HorizontalStack.swift:82:16: warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
54 |
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
57 | #if canImport(AppKit)
58 | let view = NSStackView()
:
80 | }
81 | if let specific = spacing {
82 | view.spacing = CGFloat(specific)
| `- warning: main actor-isolated property 'spacing' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | return CocoaView(view)
AppKit.NSStackView:12:14: note: mutation of this property is only permitted within the actor
10 | @available(macOS 10.11, *)
11 | open var distribution: NSStackView.Distribution { get set }
12 | open var spacing: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
13 | open func setCustomSpacing(_ spacing: CGFloat, after view: NSView)
14 | @available(swift, obsoleted: 3, renamed: "setCustomSpacing(_:after:)")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:57:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
55 |
56 | /// A shimmed version of `SwiftUI.Edge.Set.all` with no availability constraints.
57 | public static let all: Set = [.horizontal, .vertical]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Layout/Geometry/Edge/EdgeSet.swift:52:23: warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// A shimmed version of `SwiftUI.Edge.Set` with no availability constraints.
38 | public struct Set: OptionSet {
| `- note: consider making struct 'Set' conform to the 'Sendable' protocol
39 |
40 | // MARK: - Static Properties
:
50 |
51 | /// A shimmed version of `SwiftUI.Edge.Set.horizontal` with no availability constraints.
52 | public static let horizontal: Set = [.leading, .trailing]
| |- warning: static property 'horizontal' is not concurrency-safe because non-'Sendable' type 'Edge.Set' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'horizontal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | /// A shimmed version of `SwiftUI.Edge.Set.vertical` with no availability constraints.
54 | public static let vertical: Set = [.top, .bottom]
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:24:16: warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| `- warning: let 'hidePreferences' is not concurrency-safe because non-'Sendable' type 'Shared<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menu Bar/Submenus/MenuBar.Application.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import AppKit
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGText
20 | import SDGLocalization
:
22 | import SDGInterfaceLocalizations
23 |
24 | internal let hidePreferences = Shared(true)
| |- note: annotate 'hidePreferences' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | extension MenuBar {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:28:21: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
26 |
27 | /// The command key (⌘).
28 | public static let command: KeyModifiers = KeyModifiers(rawValue: 1 << 0)
| |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The shift key (⇧).
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Menus/KeyModifiers.swift:34:21: warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// Modifier keys.
23 | public struct KeyModifiers: OptionSet {
| `- note: consider making struct 'KeyModifiers' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Modifiers
:
32 |
33 | /// The option key (⌥).
34 | public static let option: KeyModifiers = KeyModifiers(rawValue: 1 << 2)
| |- warning: static property 'option' is not concurrency-safe because non-'Sendable' type 'KeyModifiers' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'option' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// The control key (⌃).
[590/602] Compiling SDGInterfaceTestUtilities View.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceTestUtilities/View.swift:38:19: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
24 |
25 | @available(macOS 10.15, tvOS 13, iOS 13, watchOS 6, *)
26 | private func testSDGInterfaceViewConformance<T>(
| `- note: add '@MainActor' to make global function 'testSDGInterfaceViewConformance(of:testBody:file:line:)' part of global actor 'MainActor'
27 | of view: T,
28 | testBody: Bool = true,
:
36 | let swiftUI = view.swiftUI()
37 | if testBody {
38 | _ = swiftUI.body
| `- warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 | }
40 | #endif
SwiftUICore.View:8:49: note: property declared here
6 | nonisolated static func _viewListCount(inputs: _ViewListCountInputs) -> Int?
7 | associatedtype Body : View
8 | @ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }
| `- note: property declared here
9 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceTestUtilities/View.swift:82:16: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 | #if canImport(SwiftUI)
74 | @available(macOS 10.15, tvOS 13, iOS 13, watchOS 6, *)
75 | private func testSwiftUIViewConformance<T>(
| `- note: add '@MainActor' to make global function 'testSwiftUIViewConformance(of:testBody:file:line:)' part of global actor 'MainActor'
76 | of view: T,
77 | testBody: Bool = true,
:
80 | ) where T: SwiftUI.View {
81 | if testBody {
82 | _ = view.body
| `- warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }
84 | }
SwiftUICore.View:8:49: note: property declared here
6 | nonisolated static func _viewListCount(inputs: _ViewListCountInputs) -> Int?
7 | associatedtype Body : View
8 | @ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }
| `- note: property declared here
9 | }
[591/602] Emitting module SDGInterfaceTestUtilities
[592/602] Compiling SDGInterfaceTestUtilities LegacyView.swift
[593/602] Compiling SDGProgressIndicators ProgressBar.SwiftUIImplementation.swift
[594/603] Compiling SDGProgressIndicators LegacyView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/Legacy Mode/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
[595/603] Compiling SDGProgressIndicators LabelledProgressBar.swift
[596/603] Compiling SDGProgressIndicators ProgressBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.swift:68:28: warning: call to main actor-isolated initializer 'init(range:value:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
66 | public func cocoa() -> CocoaView {
67 | return useSwiftUI2OrFallback(to: {
68 | return CocoaView(CocoaImplementation(range: range, value: value))
| `- warning: call to main actor-isolated initializer 'init(range:value:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | })
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.CocoaImplementation.swift:39:14: note: calls to initializer 'init(range:value:)' from outside of its actor context are implicitly asynchronous
37 | // MARK: - Initialization
38 |
39 | public init(
| `- note: calls to initializer 'init(range:value:)' from outside of its actor context are implicitly asynchronous
40 | range: Shared<ClosedRange<Double>>,
41 | value: Shared<Double?>
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/Legacy Mode/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.swift:87:27: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
78 |
79 | #if canImport(SwiftUI)
80 | public func swiftUI() -> some SwiftUI.View {
| `- note: add '@MainActor' to make instance method 'swiftUI()' part of global actor 'MainActor'
81 | #if os(watchOS)
82 | return SwiftUI.AnyView(SwiftUIImplementation(range: range, value: value))
:
85 | let swiftUI = SwiftUIImplementation(range: range, value: value)
86 | #if DEBUG
87 | _ = swiftUI.body // Eager execution to simplify testing.
| `- warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
88 | #endif
89 | return SwiftUI.AnyView(swiftUI)
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.SwiftUIImplementation.swift:36:20: note: property declared here
34 | // MARK: - View
35 |
36 | internal var body: some SwiftUI.View { // @exempt(from: tests) watchOS
| `- note: property declared here
37 | let view: ProgressView<EmptyView, EmptyView>
38 | if let value = value.value {
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.swift:68:28: warning: sending 'self.range' risks causing data races; this is an error in the Swift 6 language mode
66 | public func cocoa() -> CocoaView {
67 | return useSwiftUI2OrFallback(to: {
68 | return CocoaView(CocoaImplementation(range: range, value: value))
| |- warning: sending 'self.range' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.range' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | })
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.swift:68:28: warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
66 | public func cocoa() -> CocoaView {
67 | return useSwiftUI2OrFallback(to: {
68 | return CocoaView(CocoaImplementation(range: range, value: value))
| |- warning: sending 'self.value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.value' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | })
70 | }
[597/603] Compiling SDGProgressIndicators ProgressBarPreview.swift
[598/603] Compiling SDGProgressIndicators LabelledProgressBarPreview.swift
[599/603] Compiling SDGProgressIndicators LegacyMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/Legacy Mode/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
[600/603] Compiling SDGProgressIndicators Previews.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/Legacy Mode/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
[601/603] Compiling SDGProgressIndicators ProgressBar.CocoaImplementation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.CocoaImplementation.swift:66:21: warning: main actor-isolated instance method 'valueChanged(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | internal typealias Superclass = UIProgressView
34 | #endif
35 | internal class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
36 |
37 | // MARK: - Initialization
:
64 | // MARK: - SharedValueObserver
65 |
66 | internal func valueChanged(for identifier: String) {
| |- warning: main actor-isolated instance method 'valueChanged(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'valueChanged(for:)' to make this instance method not isolated to the actor
67 | #if canImport(AppKit)
68 | let range = self.range.value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/SharedValueObserver.swift:24:8: note: mark the protocol requirement 'valueChanged(for:)' 'async' to allow actor-isolated conformances
22 | ///
23 | /// - SeeAlso: `register(observer:identifier:)`
24 | func valueChanged(for identifier: String)
| `- note: mark the protocol requirement 'valueChanged(for:)' 'async' to allow actor-isolated conformances
25 | }
26 |
[602/603] Emitting module SDGProgressIndicators
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/Legacy Mode/LegacyMode.swift:15:14: warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | */
14 |
15 | internal var legacyMode = false
| |- warning: var 'legacyMode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'legacyMode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'legacyMode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGProgressIndicators/ProgressBar/ProgressBar.CocoaImplementation.swift:66:21: warning: main actor-isolated instance method 'valueChanged(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | internal typealias Superclass = UIProgressView
34 | #endif
35 | internal class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
36 |
37 | // MARK: - Initialization
:
64 | // MARK: - SharedValueObserver
65 |
66 | internal func valueChanged(for identifier: String) {
| |- warning: main actor-isolated instance method 'valueChanged(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'valueChanged(for:)' to make this instance method not isolated to the actor
67 | #if canImport(AppKit)
68 | let range = self.range.value
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/SharedValueObserver.swift:24:8: note: mark the protocol requirement 'valueChanged(for:)' 'async' to allow actor-isolated conformances
22 | ///
23 | /// - SeeAlso: `register(observer:identifier:)`
24 | func valueChanged(for identifier: String)
| `- note: mark the protocol requirement 'valueChanged(for:)' 'async' to allow actor-isolated conformances
25 | }
26 |
[603/603] Compiling SDGProgressIndicators View.swift
[604/612] Emitting module SDGInterfaceSample
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/InterfaceLocalization.swift:25:21: warning: static property 'fallbackLocalization' is not concurrency-safe because non-'Sendable' type 'InterfaceLocalization' may have shared mutable state; this is an error in the Swift 6 language mode
15 | import SDGLocalization
16 |
17 | public enum InterfaceLocalization: String, CaseIterable, InputLocalization {
| `- note: consider making enum 'InterfaceLocalization' conform to the 'Sendable' protocol
18 |
19 | // MARK: - Cases
:
23 | // MARK: - Localization
24 |
25 | public static let fallbackLocalization: InterfaceLocalization = .englishCanada
| |- warning: static property 'fallbackLocalization' is not concurrency-safe because non-'Sendable' type 'InterfaceLocalization' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallbackLocalization' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:180:44: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | }
150 |
151 | @objc public func demonstrateSegmentedControl() {
| `- note: add '@MainActor' to make instance method 'demonstrateSegmentedControl()' part of global actor 'MainActor'
152 | enum Value: CaseIterable {
153 | case text
:
178 | #if canImport(SwiftUI)
179 | if #available(macOS 10.15, tvOS 13, iOS 13, watchOS 6, *) {
180 | _ = segmentedControl.swiftUI().body // Eager execution to simplify testing.
| `- warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
181 | }
182 | #endif
SwiftUICore.View:8:49: note: property declared here
6 | nonisolated static func _viewListCount(inputs: _ViewListCountInputs) -> Int?
7 | associatedtype Body : View
8 | @ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }
| `- note: property declared here
9 | }
[605/612] Compiling SDGInterfaceSample SampleApplication.swift
[606/612] Compiling SDGInterfaceSample MenuBarSampleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
[607/612] Compiling SDGInterfaceSample MenuBarSampleViewTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
[608/612] Compiling SDGInterfaceSample InterfaceLocalization.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/InterfaceLocalization.swift:25:21: warning: static property 'fallbackLocalization' is not concurrency-safe because non-'Sendable' type 'InterfaceLocalization' may have shared mutable state; this is an error in the Swift 6 language mode
15 | import SDGLocalization
16 |
17 | public enum InterfaceLocalization: String, CaseIterable, InputLocalization {
| `- note: consider making enum 'InterfaceLocalization' conform to the 'Sendable' protocol
18 |
19 | // MARK: - Cases
:
23 | // MARK: - Localization
24 |
25 | public static let fallbackLocalization: InterfaceLocalization = .englishCanada
| |- warning: static property 'fallbackLocalization' is not concurrency-safe because non-'Sendable' type 'InterfaceLocalization' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fallbackLocalization' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | }
27 |
[609/612] Compiling SDGInterfaceSample MenuBarSampleWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
[610/612] Compiling SDGInterfaceSample MenuBarTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:144:11: warning: capture of 'content' with non-sendable type 'Shared<RichText>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
142 | entryText.prepend("\n")
143 | }
144 | content.value.append(contentsOf: RichText(rawText: entryText))
| `- warning: capture of 'content' with non-sendable type 'Shared<RichText>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 | if entry == 100 {
146 | timer.invalidate() // @exempt(from: tests)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SDGCornerstone/Sources/SDGControlFlow/Shared.swift:23:20: note: generic class 'Shared' does not conform to the 'Sendable' protocol
21 | #endif
22 | /// A reference to a shared value.
23 | public final class Shared<Value>: TransparentWrapper {
| `- note: generic class 'Shared' does not conform to the 'Sendable' protocol
24 |
25 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:18:3: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
16 | import Foundation
17 |
18 | import SDGControlFlow
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SDGControlFlow'
19 | import SDGLogic
20 | import SDGText
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:139:11: warning: mutation of captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
137 | var entry = 0
138 | Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { timer in
139 | entry += 1
| `- warning: mutation of captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | var entryText = entry.inDigits()
141 | if entry ≠ 1 {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:140:27: warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
138 | Timer.scheduledTimer(withTimeInterval: 1, repeats: true) { timer in
139 | entry += 1
140 | var entryText = entry.inDigits()
| `- warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
141 | if entry ≠ 1 {
142 | entryText.prepend("\n")
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:141:14: warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
139 | entry += 1
140 | var entryText = entry.inDigits()
141 | if entry ≠ 1 {
| `- warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
142 | entryText.prepend("\n")
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:145:14: warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
143 | }
144 | content.value.append(contentsOf: RichText(rawText: entryText))
145 | if entry == 100 {
| `- warning: reference to captured var 'entry' in concurrently-executing code; this is an error in the Swift 6 language mode
146 | timer.invalidate() // @exempt(from: tests)
147 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:180:44: warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | }
150 |
151 | @objc public func demonstrateSegmentedControl() {
| `- note: add '@MainActor' to make instance method 'demonstrateSegmentedControl()' part of global actor 'MainActor'
152 | enum Value: CaseIterable {
153 | case text
:
178 | #if canImport(SwiftUI)
179 | if #available(macOS 10.15, tvOS 13, iOS 13, watchOS 6, *) {
180 | _ = segmentedControl.swiftUI().body // Eager execution to simplify testing.
| `- warning: main actor-isolated property 'body' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
181 | }
182 | #endif
SwiftUICore.View:8:49: note: property declared here
6 | nonisolated static func _viewListCount(inputs: _ViewListCountInputs) -> Int?
7 | associatedtype Body : View
8 | @ViewBuilder @MainActor @preconcurrency var body: Self.Body { get }
| `- note: property declared here
9 | }
[611/612] Compiling SDGInterfaceSample MenuBarSampleMenu.swift
[612/612] Compiling SDGInterfaceSample MenuBarSample.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterfaceSample/MenuBarTarget.swift:28:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import SDGErrorMessages
25 |
26 | @objc public final class MenuBarTarget: NSObject {
| `- note: class 'MenuBarTarget' does not conform to the 'Sendable' protocol
27 |
28 | public static let shared: MenuBarTarget = MenuBarTarget()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'MenuBarTarget' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | #if PLATFORM_HAS_COCOA_INTERFACE
[613/615] Compiling SDGInterfaceInternalTestUtilities Window.swift
/Users/admin/builder/spi-builder-workspace/Tests/SDGInterfaceInternalTestUtilities/Window.swift:19:25: warning: reference to var 'allWindows' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | #if PLATFORM_HAS_COCOA_INTERFACE
18 | public func forEachWindow(_ closure: (CocoaWindow) -> Void) {
19 | for window in Array(allWindows.values) {
| `- warning: reference to var 'allWindows' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | closure(CocoaWindow(window))
21 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Windows/Cocoa/ManagedWindow.swift:20:16: note: var declared here
18 | #endif
19 |
20 | internal var allWindows = [ObjectIdentifier: CocoaWindow.NativeType]()
| `- note: var declared here
21 |
22 | internal protocol ManagedWindow: AnyObject {
[614/615] Emitting module SDGInterfaceInternalTestUtilities
[615/615] Compiling SDGInterfaceInternalTestUtilities ApplicationTestCase.swift
/Users/admin/builder/spi-builder-workspace/Tests/SDGInterfaceInternalTestUtilities/ApplicationTestCase.swift:49:73: warning: main actor-isolated property 'title' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
47 | forEachWindow { window in // @exempt(from: tests)
48 | #if canImport(AppKit) // @exempt(from: tests)
49 | XCTAssert(false, "Failed to tear down window: \(window.native.title)")
| `- warning: main actor-isolated property 'title' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
50 | #else
51 | XCTAssert(false, "Failed to tear down window: \(window.native)")
AppKit.NSWindow:22:25: note: property declared here
20 | @available(*, unavailable)
21 | public convenience init(coder: NSCoder)
22 | @MainActor open var title: String { get set }
| `- note: property declared here
23 | @available(macOS 11.0, *)
24 | open var subtitle: String { get set }
Build complete! (67.24s)
Build complete.
{
"dependencies" : [
{
"identity" : "sdgcornerstone",
"requirement" : {
"range" : [
{
"lower_bound" : "10.1.2",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SDGGiesbrecht/SDGCornerstone"
}
],
"manifest_display_name" : "SDGInterface",
"name" : "SDGInterface",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SDGInterface",
"targets" : [
"SDGInterface"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SDGInterfaceTestUtilities",
"targets" : [
"SDGInterfaceTestUtilities"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SDGErrorMessages",
"targets" : [
"SDGErrorMessages"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SDGProgressIndicators",
"targets" : [
"SDGProgressIndicators"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SDGKeyboard",
"targets" : [
"SDGKeyboard"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_SDGInterfaceSample",
"targets" : [
"SDGInterfaceSample"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SDGProgressIndicatorsTests",
"module_type" : "SwiftTarget",
"name" : "SDGProgressIndicatorsTests",
"path" : "Tests/SDGProgressIndicatorsTests",
"product_dependencies" : [
"SDGControlFlow",
"SDGLocalization",
"SDGXCTestUtilities"
],
"sources" : [
"APITests.swift",
"LegacyMode.swift",
"PreviewTests.swift"
],
"target_dependencies" : [
"SDGInterface",
"SDGProgressIndicators",
"SDGInterfaceSample",
"SDGInterfaceTestUtilities",
"SDGInterfaceInternalTestUtilities"
],
"type" : "test"
},
{
"c99name" : "SDGProgressIndicators",
"module_type" : "SwiftTarget",
"name" : "SDGProgressIndicators",
"path" : "Sources/SDGProgressIndicators",
"product_dependencies" : [
"SDGControlFlow",
"SDGLogic",
"SDGMathematics",
"SDGText",
"SDGLocalization"
],
"product_memberships" : [
"SDGProgressIndicators",
"_SDGInterfaceSample"
],
"sources" : [
"LabelledProgressBar.swift",
"Legacy Mode/LegacyMode.swift",
"Legacy Mode/LegacyView.swift",
"Previews/LabelledProgressBarPreview.swift",
"Previews/Previews.swift",
"Previews/ProgressBarPreview.swift",
"ProgressBar/ProgressBar.CocoaImplementation.swift",
"ProgressBar/ProgressBar.SwiftUIImplementation.swift",
"ProgressBar/ProgressBar.swift",
"View.swift"
],
"target_dependencies" : [
"SDGInterfaceLocalizations",
"SDGInterface"
],
"type" : "library"
},
{
"c99name" : "SDGKeyboardTests",
"module_type" : "SwiftTarget",
"name" : "SDGKeyboardTests",
"path" : "Tests/SDGKeyboardTests",
"product_dependencies" : [
"SDGXCTestUtilities"
],
"sources" : [
"APITests.swift"
],
"target_dependencies" : [
"SDGKeyboard",
"SDGInterfaceInternalTestUtilities"
],
"type" : "test"
},
{
"c99name" : "SDGKeyboard",
"module_type" : "SwiftTarget",
"name" : "SDGKeyboard",
"path" : "Sources/SDGKeyboard",
"product_dependencies" : [
"SDGLogic",
"SDGCollections",
"SDGText"
],
"product_memberships" : [
"SDGKeyboard"
],
"sources" : [
"Key.swift"
],
"type" : "library"
},
{
"c99name" : "SDGInterfaceTests",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceTests",
"path" : "Tests/SDGInterfaceTests",
"product_dependencies" : [
"SDGControlFlow",
"SDGLogic",
"SDGMathematics",
"SDGText",
"SDGLocalization",
"SDGXCTestUtilities",
"SDGLogicTestUtilities",
"SDGLocalizationTestUtilities"
],
"sources" : [
"APITests.swift",
"Examples/CocoaViewExample.swift",
"Examples/CocoaViewExample2.swift",
"Examples/CocoaWindowExample.swift",
"Examples/Service.swift",
"Examples/SwiftUIViewExample.swift",
"InternalTests.swift",
"PreviewTests.swift",
"RegressionTests.swift",
"Utilities/InterfaceLocalization.swift",
"Utilities/LegacyMode.swift",
"Utilities/NSAttributedString.swift"
],
"target_dependencies" : [
"SDGInterface",
"SDGInterfaceSample",
"SDGInterfaceLocalizations",
"SDGInterfaceTestUtilities",
"SDGInterfaceInternalTestUtilities"
],
"type" : "test"
},
{
"c99name" : "SDGInterfaceTestUtilities",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceTestUtilities",
"path" : "Sources/SDGInterfaceTestUtilities",
"product_dependencies" : [
"SDGControlFlow",
"SDGLogic",
"SDGText",
"SDGLocalization",
"SDGTesting"
],
"product_memberships" : [
"SDGInterfaceTestUtilities"
],
"sources" : [
"LegacyView.swift",
"View.swift"
],
"target_dependencies" : [
"SDGInterface",
"SDGInterfaceLocalizations"
],
"type" : "library"
},
{
"c99name" : "SDGInterfaceSample",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceSample",
"path" : "Sources/SDGInterfaceSample",
"product_dependencies" : [
"SDGControlFlow",
"SDGLogic",
"SDGMathematics",
"SDGText",
"SDGLocalization"
],
"product_memberships" : [
"_SDGInterfaceSample"
],
"sources" : [
"InterfaceLocalization.swift",
"MenuBarSample.swift",
"MenuBarSampleMenu.swift",
"MenuBarSampleView.swift",
"MenuBarSampleViewTextField.swift",
"MenuBarSampleWindow.swift",
"MenuBarTarget.swift",
"SampleApplication.swift"
],
"target_dependencies" : [
"SDGInterfaceLocalizations",
"SDGInterface",
"SDGProgressIndicators",
"SDGErrorMessages"
],
"type" : "library"
},
{
"c99name" : "SDGInterfaceResourceGeneration",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceResourceGeneration",
"path" : "Tests/SDGInterfaceResourceGeneration",
"product_dependencies" : [
"SDGText",
"SDGLocalization",
"SDGPersistence"
],
"sources" : [
"Repository.swift",
"ResourceGeneration.swift",
"RichTextNormalizationAttributeMapping.swift"
],
"target_dependencies" : [
"SDGInterface"
],
"type" : "test"
},
{
"c99name" : "SDGInterfaceLocalizations",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceLocalizations",
"path" : "Sources/SDGInterfaceLocalizations",
"product_dependencies" : [
"SDGLocalization"
],
"product_memberships" : [
"SDGInterface",
"SDGInterfaceTestUtilities",
"SDGErrorMessages",
"SDGProgressIndicators",
"_SDGInterfaceSample"
],
"sources" : [
"APILocalization.swift",
"InterfaceLocalization.swift",
"MenuBarLocalization.swift"
],
"type" : "library"
},
{
"c99name" : "SDGInterfaceInternalTestUtilities",
"module_type" : "SwiftTarget",
"name" : "SDGInterfaceInternalTestUtilities",
"path" : "Tests/SDGInterfaceInternalTestUtilities",
"product_dependencies" : [
"SDGXCTestUtilities"
],
"sources" : [
"ApplicationTestCase.swift",
"Window.swift"
],
"target_dependencies" : [
"SDGInterface",
"SDGInterfaceSample"
],
"type" : "library"
},
{
"c99name" : "SDGInterface",
"module_type" : "SwiftTarget",
"name" : "SDGInterface",
"path" : "Sources/SDGInterface",
"product_dependencies" : [
"SDGControlFlow",
"SDGLogic",
"SDGMathematics",
"SDGCollections",
"SDGText",
"SDGLocalization",
"SDGGeometry",
"SDGCalendar"
],
"product_memberships" : [
"SDGInterface",
"SDGInterfaceTestUtilities",
"SDGProgressIndicators",
"_SDGInterfaceSample"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Normalization Mapping.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Actions/ClosureActionSender.swift",
"Actions/ClosureSelector.swift",
"Actions/Selector.swift",
"Actions/UIResponder.swift",
"Alert/Alert.swift",
"Alert/AlertButton.swift",
"Alert/AlertButtonStyle.swift",
"Alert/AlertStyle.swift",
"Alert/LegacyView + Alert.swift",
"Alert/ViewWithAlert.CocoaImplementation.swift",
"Alert/ViewWithAlert.SwiftUIImplementation.swift",
"Alert/ViewWithAlert.swift",
"Application/Application Name/ApplicationNameForm.swift",
"Application/Application Name/ApplicationNameLocalization.swift",
"Application/Application/Application.swift",
"Application/Application/LegacyApplication.swift",
"Application/Application/NSApplicationDelegate.swift",
"Application/Application/NSApplicationDelegateProtocol.swift",
"Application/Application/Service.swift",
"Application/Application/SwiftUIApplication.swift",
"Application/Application/UIApplicationDelegate.swift",
"Application/ProcessInfo.swift",
"Application/System Interface/ExtensionDetails.swift",
"Application/System Interface/FetchResult.swift",
"Application/System Interface/Handoff.swift",
"Application/System Interface/HandoffAcceptanceDetails.swift",
"Application/System Interface/LaunchDetails.swift",
"Application/System Interface/OpeningDetails.swift",
"Application/System Interface/PrintingDetails.swift",
"Application/System Interface/PrintingResponse.swift",
"Application/System Interface/QuickActionDetails.swift",
"Application/System Interface/RemoteNotificationDetails.swift",
"Application/System Interface/SystemInterface.swift",
"Application/System Interface/SystemNotification.swift",
"Application/System Interface/TerminationResponse.swift",
"Application/System Interface/ViewControllerRestorationResponse.swift",
"Buttons/Button/Button.CocoaImplementation.swift",
"Buttons/Button/Button.SwiftUIImplementation.swift",
"Buttons/Button/Button.swift",
"Buttons/ButtonLabel.swift",
"Buttons/Check Box/CheckBox.CocoaImplementation.swift",
"Buttons/Check Box/CheckBox.SwiftUIImplementation.swift",
"Buttons/Check Box/CheckBox.swift",
"Buttons/SegmentedControl/SegmentedControl.CocoaImplementation.swift",
"Buttons/SegmentedControl/SegmentedControl.SwiftUIImplementation.swift",
"Buttons/SegmentedControl/SegmentedControl.swift",
"Colour/Colour.swift",
"Colour/ColourContainer.swift",
"Colour/NSColor.swift",
"Colour/UIColor.swift",
"Context Menu/ContextMenu.swift",
"Context Menu/ContextMenuEntries.swift",
"Images/Cocoa/CocoaImage.swift",
"Images/Image.Definition.swift",
"Images/Image.swift",
"Images/SwiftUI/SwiftUI.Image.swift",
"Layout/Geometry/Alignment/Alignment.swift",
"Layout/Geometry/Alignment/HorizontalAlignment.swift",
"Layout/Geometry/Alignment/VerticalAlignment.swift",
"Layout/Geometry/Axis.swift",
"Layout/Geometry/ContentMode.swift",
"Layout/Geometry/Edge/Edge.swift",
"Layout/Geometry/Edge/EdgeSet.swift",
"Layout/Geometry/Edge/NSRectEdge.swift",
"Layout/Geometry/Point/CGPoint.swift",
"Layout/Geometry/Point/Point.swift",
"Layout/Geometry/Point/UnitPoint.swift",
"Layout/Geometry/Rectangle/CGRect.swift",
"Layout/Geometry/Rectangle/Rectangle.swift",
"Layout/Geometry/Size/CGSize.swift",
"Layout/Geometry/Size/Size.swift",
"Layout/Views/Framed.swift",
"Layout/Views/HorizontalStack.swift",
"Layout/Views/Layered.swift",
"Layout/Views/Padded.swift",
"Layout/Views/Proportioned.swift",
"LegacyMode.swift",
"Menu Bar/LegacyMenuBar.swift",
"Menu Bar/MenuBar.swift",
"Menu Bar/MenuBarProtocol.swift",
"Menu Bar/Submenus/MenuBar.Application.swift",
"Menu Bar/Submenus/MenuBar.Edit.Find.swift",
"Menu Bar/Submenus/MenuBar.Edit.Speech.swift",
"Menu Bar/Submenus/MenuBar.Edit.SpellingAndGrammar.swift",
"Menu Bar/Submenus/MenuBar.Edit.Substitutions.swift",
"Menu Bar/Submenus/MenuBar.Edit.Transformations.swift",
"Menu Bar/Submenus/MenuBar.Edit.swift",
"Menu Bar/Submenus/MenuBar.File.OpenRecent.swift",
"Menu Bar/Submenus/MenuBar.File.swift",
"Menu Bar/Submenus/MenuBar.Format.Font.Baseline.swift",
"Menu Bar/Submenus/MenuBar.Format.Font.Casing.swift",
"Menu Bar/Submenus/MenuBar.Format.Font.Kern.swift",
"Menu Bar/Submenus/MenuBar.Format.Font.Ligatures.swift",
"Menu Bar/Submenus/MenuBar.Format.Font.swift",
"Menu Bar/Submenus/MenuBar.Format.Text.WritingDirection.swift",
"Menu Bar/Submenus/MenuBar.Format.Text.swift",
"Menu Bar/Submenus/MenuBar.Format.swift",
"Menu Bar/Submenus/MenuBar.Help.swift",
"Menu Bar/Submenus/MenuBar.View.swift",
"Menu Bar/Submenus/MenuBar.Window.swift",
"Menus/Coding.swift",
"Menus/Commands/CommandsConcatenation.swift",
"Menus/Commands/EmptyCommands.swift",
"Menus/Commands/Protocol/Commands.swift",
"Menus/Commands/Protocol/CommandsBuilder.swift",
"Menus/Commands/Protocol/LegacyCommands.swift",
"Menus/KeyModifiers.swift",
"Menus/Menu Components/Divider.swift",
"Menus/Menu Components/EmptyMenuComponents.swift",
"Menus/Menu Components/Menu/Menu.SwiftUICommandsImplementation.swift",
"Menus/Menu Components/Menu/Menu.SwiftUIImplementation.swift",
"Menus/Menu Components/Menu/Menu.swift",
"Menus/Menu Components/Menu/MenuCocoaImplementation/Menu.CocoaImplementation.swift",
"Menus/Menu Components/Menu/MenuCocoaImplementation/Menu.CocoaMenu.swift",
"Menus/Menu Components/Menu/MenuProtocol.swift",
"Menus/Menu Components/MenuComponentsConcatenation.swift",
"Menus/Menu Components/MenuEntry/MenuEntry.CocoaImplementation.swift",
"Menus/Menu Components/MenuEntry/MenuEntry.SwiftUIImplementation.swift",
"Menus/Menu Components/MenuEntry/MenuEntry.swift",
"Menus/Menu Components/Protocol/LegacyMenuCompontents.swift",
"Menus/Menu Components/Protocol/MenuBuilder.swift",
"Menus/Menu Components/Protocol/MenuComponents.swift",
"Placeholder.swift",
"PopOvers/Anchor/Anchor.Source.swift",
"PopOvers/Anchor/AttachmentAnchor.swift",
"PopOvers/Anchor/PopoverAttachmentAnchor.swift",
"PopOvers/Anchor/RectangularAttachmentAchor.swift",
"PopOvers/PopOver.SwiftUIImplementation.swift",
"PopOvers/PopOver.swift",
"PopOvers/PopOverCocoaImplementation/Cocoa.PopOverDelegate.swift",
"PopOvers/PopOverCocoaImplementation/Cocoa.ViewPopOverView.swift",
"PopOvers/PopOverCocoaImplementation/PopOver.CocoaImplementation.swift",
"PopOvers/PopOverCocoaImplementation/UIPopoverArrowDirection.swift",
"PopOvers/PopOverCocoaImplementation/UIView.swift",
"Preview Utilities/Previews.swift",
"Resources.swift",
"Resources/Resources 1.swift",
"Tables/Table/Table.CocoaImplementation.Cell.swift",
"Tables/Table/Table.CocoaImplementation.CellView.swift",
"Tables/Table/Table.CocoaImplementation.TableView.swift",
"Tables/Table/Table.CocoaImplementation.swift",
"Tables/Table/Table.swift",
"Text/Actions/RichTextEditingResponder.swift",
"Text/Actions/TextDisplayResponder.swift",
"Text/Actions/TextEditingResponder.swift",
"Text/CharacterInformation.swift",
"Text/Font.swift",
"Text/Label/CompatibilityLabel.swift",
"Text/Label/GenericLabel.CocoaImplementation.swift",
"Text/Label/GenericLabel.SwiftUIImplementation.swift",
"Text/Label/GenericLabel.swift",
"Text/Label/Label.swift",
"Text/Log/DerivedLog.CocoaImplementation.swift",
"Text/Log/DerivedLog.swift",
"Text/Log/Log.swift",
"Text/Rich Text/NSAttributedString.Key.swift",
"Text/Rich Text/NSAttributedString.swift",
"Text/Rich Text/RichText.swift",
"Text/Rich Text/RichTextIndex.swift",
"Text/Rich Text/RichTextNormalizationAttribute.swift",
"Text/Rich Text/RichTextNormalizationAttributeMapping.swift",
"Text/Rich Text/RichTextScalar.swift",
"Text/Rich Text/RichTextSegment.swift",
"Text/StrictString.swift",
"Text/Text Editor/CocoaTextView.swift",
"Text/Text Editor/TextEditor.CocoaDocumentView.swift",
"Text/Text Editor/TextEditor.CocoaFrameView.swift",
"Text/Text Editor/TextEditor.CocoaImplementation.swift",
"Text/Text Editor/TextEditor.swift",
"Text/Text Field/LabelledTextField.swift",
"Text/Text Field/TextField.Cell.swift",
"Text/Text Field/TextField.CocoaImplementation.swift",
"Text/Text Field/TextField.SwiftUIImplementation.swift",
"Text/Text Field/TextField.swift",
"Text/Text View/TextView.CocoaImplementation.swift",
"Text/Text View/TextView.swift",
"Text/TextContextMenu.swift",
"Views/AnyView.swift",
"Views/Cocoa/CocoaView.swift",
"Views/Cocoa/LayoutConstraintPriority.NativeType.swift",
"Views/Cocoa/LayoutConstraintPriority.swift",
"Views/EmptyView.swift",
"Views/Protocol/CocoaViewImplementation.swift",
"Views/Protocol/CocoaViewRepresentableWrapper.swift",
"Views/Protocol/CompositeLegacyViewImplementation.swift",
"Views/Protocol/CompositeViewImplementation.swift",
"Views/Protocol/LegacyCocoaViewImplementation.swift",
"Views/Protocol/LegacyView.swift",
"Views/Protocol/SwiftUIViewImplementation.swift",
"Views/Protocol/View + LetterboxPreviews.swift",
"Views/Protocol/View.swift",
"Views/Protocol/ViewProtocolShims.swift",
"Views/SwiftUI/Color.swift",
"Views/SwiftUI/Ellipse.swift",
"Views/SwiftUI/SwiftUI.Rectangle.swift",
"Views/SwiftUI/SwiftUIAnyView.swift",
"Views/SwiftUI/SwiftUITupleView.swift",
"Views/SwiftUI/Text.swift",
"Windows/Cocoa/CocoaWindow.FullscreenObserver.swift",
"Windows/Cocoa/CocoaWindow.swift",
"Windows/Cocoa/ManagedWindow.swift",
"Windows/Protocol/CocoaWindowImplementation.swift",
"Windows/Protocol/LegacyWindow.swift",
"Windows/Protocol/WindowProtocol.swift",
"Windows/Window/Window.CocoaImplementation.swift",
"Windows/Window/Window.SwiftUIImplementation.Delegate.swift",
"Windows/Window/Window.SwiftUIImplementation.WindowFinder.swift",
"Windows/Window/Window.SwiftUIImplementation.swift",
"Windows/Window/Window.swift",
"Windows/Window/WindowType.swift"
],
"target_dependencies" : [
"SDGInterfaceLocalizations"
],
"type" : "library"
},
{
"c99name" : "SDGErrorMessages",
"module_type" : "SwiftTarget",
"name" : "SDGErrorMessages",
"path" : "Sources/SDGErrorMessages",
"product_dependencies" : [
"SDGText",
"SDGLocalization"
],
"product_memberships" : [
"SDGErrorMessages",
"_SDGInterfaceSample"
],
"sources" : [
"Error.swift"
],
"target_dependencies" : [
"SDGInterfaceLocalizations"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.