Build Information
Successful build of SDGInterface, reference 0.15.3 (0e2efe
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:55:17 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
| |- warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSmallCaps' to make this instance method not isolated to the actor
249 | attemptToMutateSelection {
250 | $0.makeSmallCaps(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:59:16: note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
57 | /// - Parameters:
58 | /// - sender: The sender.
59 | @objc func makeSmallCaps(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
60 |
61 | /// Converts the selection to a lower case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:254:23: warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
252 | }
253 |
254 | @objc public func makeLowerCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeLowerCase' to make this instance method not isolated to the actor
255 | attemptToMutateSelection {
256 | $0.makeLowerCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:65:16: note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
63 | /// - Parameters:
64 | /// - sender: The sender.
65 | @objc func makeLowerCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
66 | }
67 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:262:23: warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
260 | // MARK: - TextEditingResponder
261 |
262 | @objc public func normalizeText(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'normalizeText' to make this instance method not isolated to the actor
263 | attemptToModifySelection { NSAttributedString(RichText($0)) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextEditingResponder.swift:25:16: note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func normalizeText(_ sender: Any?)
| `- note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:268:23: warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | // MARK: - TextDisplayResponder
267 |
268 | @objc public func showCharacterInformation(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCharacterInformation' to make this instance method not isolated to the actor
269 | let possibleString: NSAttributedString?
270 | #if canImport(AppKit)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextDisplayResponder.swift:25:16: note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func showCharacterInformation(_ sender: Any?)
| `- note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/TextContextMenu.swift:30:23: warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The context menu used by text views.
25 | public final class TextContextMenu {
| `- note: class 'TextContextMenu' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Class Properties
28 |
29 | /// The context menu.
30 | public static let contextMenu: TextContextMenu = TextContextMenu()
| |- warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextMenu' 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
31 |
32 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:72: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
26 | extension TextEditor {
27 |
28 | internal class CocoaImplementation: CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
70 | // MARK: - SharedValueObserver
71 |
72 | 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
73 | let newValue = contents.value.attributedString()
74 | let existingValue: NSAttributedString
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | contents: contents,
54 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:57:15: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
53 | contents: contents,
:
55 | logMode: false
56 | )
57 | cocoa.setEditability(true)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | return CocoaView(cocoa)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| |- warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.text' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.source' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.derivation' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
54 | let cocoa = TextEditor.CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
52 | let cocoa = CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
53 | contents: contents,
54 | transparentBackground: transparentBackground,
[586/589] Compiling SDGInterface TextEditor.CocoaDocumentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:87: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
32 | internal typealias Superclass = UILabel
33 | #endif
34 | internal final class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
35 |
36 | // MARK: - Initialization
:
85 | // MARK: - SharedValueObserver
86 |
87 | 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
88 | let resolved = String(localizedText.value.resolved())
89 | #if canImport(AppKit)
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| `- warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:38:16: note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
36 | // MARK: - Initialization
37 |
38 | internal init(text: Shared<UserFacing<S, L>>, colour: Colour) {
| `- note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
39 | self.localizedText = text
40 | defer {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:60: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
26 | extension DerivedLog {
27 |
28 | internal class CocoaImplementation: TextEditor.CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
58 | // MARK: - SharedValueObserver
59 |
60 | 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
61 | let derived = derivation(source.value)
62 | let newValue = derived.attributedString()
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' 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 | let cocoa = DerivedLog.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:32:16: note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | source: Shared<Source>,
34 | derivation: @escaping (Source) -> RichText,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:64:17: warning: call to main actor-isolated instance method 'setEditability' 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 | let cocoa = DerivedLog.CocoaImplementation(
58 | source: source,
:
62 | )
63 | #if !os(tvOS)
64 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #endif
66 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:60:17: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
55 | contents: contents,
:
58 | )
59 | #if !os(tvOS)
60 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | #endif
62 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Rich Text/NSAttributedString.swift:52:24: warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | internal static let htmlCorrection: Double = 3 ÷ 4
52 | private static var lineHeightTable: [String: [Double: Double]] = [:]
| |- warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineHeightTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineHeightTable' 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 | private static func lineHeight(for font: Font) -> Double {
54 | return cached(in: &lineHeightTable[font.fontName, default: [:]][font.size]) {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:218:23: warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | #endif
31 |
32 | extension CocoaTextView: RichTextEditingResponder {
| `- note: add '@preconcurrency' to the 'RichTextEditingResponder' conformance to defer isolation checking to run time
33 |
34 | // MARK: - Selection
:
216 | // MARK: - RichTextEditingResponder
217 |
218 | @objc public func makeSuperscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSuperscript' to make this instance method not isolated to the actor
219 | attemptToMutateSelection {
220 | $0.superscript(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:27:16: note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
25 | /// - Parameters:
26 | /// - sender: The sender.
27 | @objc func makeSuperscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
28 |
29 | /// Subscripts the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:224:23: warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
222 | }
223 |
224 | @objc public func makeSubscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSubscript' to make this instance method not isolated to the actor
225 | attemptToMutateSelection {
226 | $0.`subscript`(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:33:16: note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
31 | /// - Parameters:
32 | /// - sender: The sender.
33 | @objc func makeSubscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
34 |
35 | /// Resets the baseline of the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:230:23: warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
228 | }
229 |
230 | @objc public func resetBaseline(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetBaseline' to make this instance method not isolated to the actor
231 | attemptToMutateSelection {
232 | $0.resetBaseline(for: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:39:16: note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
37 | /// - Parameters:
38 | /// - sender: The sender.
39 | @objc func resetBaseline(_ sender: Any?)
| `- note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
40 |
41 | // MARK: - Case
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:236:23: warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
234 | }
235 |
236 | @objc public func resetCasing(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetCasing' to make this instance method not isolated to the actor
237 | attemptToMutateSelection {
238 | $0.resetCasing(of: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:47:16: note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
45 | /// - Parameters:
46 | /// - sender: The sender.
47 | @objc func resetCasing(_ sender: Any?)
| `- note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
48 |
49 | /// Converts the selection to an upper case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:242:23: warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 | }
241 |
242 | @objc public func makeUpperCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeUpperCase' to make this instance method not isolated to the actor
243 | attemptToMutateSelection {
244 | $0.makeUpperCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:53:16: note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
51 | /// - Parameters:
52 | /// - sender: The sender.
53 | @objc func makeUpperCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
54 |
55 | /// Converts the selection to a small caps font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:248:23: warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
246 | }
247 |
248 | @objc public func makeSmallCaps(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSmallCaps' to make this instance method not isolated to the actor
249 | attemptToMutateSelection {
250 | $0.makeSmallCaps(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:59:16: note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
57 | /// - Parameters:
58 | /// - sender: The sender.
59 | @objc func makeSmallCaps(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
60 |
61 | /// Converts the selection to a lower case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:254:23: warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
252 | }
253 |
254 | @objc public func makeLowerCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeLowerCase' to make this instance method not isolated to the actor
255 | attemptToMutateSelection {
256 | $0.makeLowerCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:65:16: note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
63 | /// - Parameters:
64 | /// - sender: The sender.
65 | @objc func makeLowerCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
66 | }
67 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:262:23: warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
260 | // MARK: - TextEditingResponder
261 |
262 | @objc public func normalizeText(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'normalizeText' to make this instance method not isolated to the actor
263 | attemptToModifySelection { NSAttributedString(RichText($0)) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextEditingResponder.swift:25:16: note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func normalizeText(_ sender: Any?)
| `- note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:268:23: warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | // MARK: - TextDisplayResponder
267 |
268 | @objc public func showCharacterInformation(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCharacterInformation' to make this instance method not isolated to the actor
269 | let possibleString: NSAttributedString?
270 | #if canImport(AppKit)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextDisplayResponder.swift:25:16: note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func showCharacterInformation(_ sender: Any?)
| `- note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/TextContextMenu.swift:30:23: warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The context menu used by text views.
25 | public final class TextContextMenu {
| `- note: class 'TextContextMenu' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Class Properties
28 |
29 | /// The context menu.
30 | public static let contextMenu: TextContextMenu = TextContextMenu()
| |- warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextMenu' 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
31 |
32 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:72: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
26 | extension TextEditor {
27 |
28 | internal class CocoaImplementation: CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
70 | // MARK: - SharedValueObserver
71 |
72 | 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
73 | let newValue = contents.value.attributedString()
74 | let existingValue: NSAttributedString
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | contents: contents,
54 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:57:15: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
53 | contents: contents,
:
55 | logMode: false
56 | )
57 | cocoa.setEditability(true)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | return CocoaView(cocoa)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| |- warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.text' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.source' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.derivation' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
54 | let cocoa = TextEditor.CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
52 | let cocoa = CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
53 | contents: contents,
54 | transparentBackground: transparentBackground,
[587/589] Compiling SDGInterface TextEditor.CocoaFrameView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:87: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
32 | internal typealias Superclass = UILabel
33 | #endif
34 | internal final class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
35 |
36 | // MARK: - Initialization
:
85 | // MARK: - SharedValueObserver
86 |
87 | 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
88 | let resolved = String(localizedText.value.resolved())
89 | #if canImport(AppKit)
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| `- warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:38:16: note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
36 | // MARK: - Initialization
37 |
38 | internal init(text: Shared<UserFacing<S, L>>, colour: Colour) {
| `- note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
39 | self.localizedText = text
40 | defer {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:60: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
26 | extension DerivedLog {
27 |
28 | internal class CocoaImplementation: TextEditor.CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
58 | // MARK: - SharedValueObserver
59 |
60 | 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
61 | let derived = derivation(source.value)
62 | let newValue = derived.attributedString()
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' 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 | let cocoa = DerivedLog.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:32:16: note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | source: Shared<Source>,
34 | derivation: @escaping (Source) -> RichText,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:64:17: warning: call to main actor-isolated instance method 'setEditability' 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 | let cocoa = DerivedLog.CocoaImplementation(
58 | source: source,
:
62 | )
63 | #if !os(tvOS)
64 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #endif
66 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:60:17: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
55 | contents: contents,
:
58 | )
59 | #if !os(tvOS)
60 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | #endif
62 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Rich Text/NSAttributedString.swift:52:24: warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | internal static let htmlCorrection: Double = 3 ÷ 4
52 | private static var lineHeightTable: [String: [Double: Double]] = [:]
| |- warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineHeightTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineHeightTable' 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 | private static func lineHeight(for font: Font) -> Double {
54 | return cached(in: &lineHeightTable[font.fontName, default: [:]][font.size]) {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:218:23: warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | #endif
31 |
32 | extension CocoaTextView: RichTextEditingResponder {
| `- note: add '@preconcurrency' to the 'RichTextEditingResponder' conformance to defer isolation checking to run time
33 |
34 | // MARK: - Selection
:
216 | // MARK: - RichTextEditingResponder
217 |
218 | @objc public func makeSuperscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSuperscript' to make this instance method not isolated to the actor
219 | attemptToMutateSelection {
220 | $0.superscript(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:27:16: note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
25 | /// - Parameters:
26 | /// - sender: The sender.
27 | @objc func makeSuperscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
28 |
29 | /// Subscripts the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:224:23: warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
222 | }
223 |
224 | @objc public func makeSubscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSubscript' to make this instance method not isolated to the actor
225 | attemptToMutateSelection {
226 | $0.`subscript`(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:33:16: note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
31 | /// - Parameters:
32 | /// - sender: The sender.
33 | @objc func makeSubscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
34 |
35 | /// Resets the baseline of the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:230:23: warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
228 | }
229 |
230 | @objc public func resetBaseline(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetBaseline' to make this instance method not isolated to the actor
231 | attemptToMutateSelection {
232 | $0.resetBaseline(for: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:39:16: note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
37 | /// - Parameters:
38 | /// - sender: The sender.
39 | @objc func resetBaseline(_ sender: Any?)
| `- note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
40 |
41 | // MARK: - Case
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:236:23: warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
234 | }
235 |
236 | @objc public func resetCasing(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetCasing' to make this instance method not isolated to the actor
237 | attemptToMutateSelection {
238 | $0.resetCasing(of: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:47:16: note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
45 | /// - Parameters:
46 | /// - sender: The sender.
47 | @objc func resetCasing(_ sender: Any?)
| `- note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
48 |
49 | /// Converts the selection to an upper case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:242:23: warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 | }
241 |
242 | @objc public func makeUpperCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeUpperCase' to make this instance method not isolated to the actor
243 | attemptToMutateSelection {
244 | $0.makeUpperCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:53:16: note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
51 | /// - Parameters:
52 | /// - sender: The sender.
53 | @objc func makeUpperCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
54 |
55 | /// Converts the selection to a small caps font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:248:23: warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
246 | }
247 |
248 | @objc public func makeSmallCaps(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSmallCaps' to make this instance method not isolated to the actor
249 | attemptToMutateSelection {
250 | $0.makeSmallCaps(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:59:16: note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
57 | /// - Parameters:
58 | /// - sender: The sender.
59 | @objc func makeSmallCaps(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
60 |
61 | /// Converts the selection to a lower case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:254:23: warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
252 | }
253 |
254 | @objc public func makeLowerCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeLowerCase' to make this instance method not isolated to the actor
255 | attemptToMutateSelection {
256 | $0.makeLowerCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:65:16: note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
63 | /// - Parameters:
64 | /// - sender: The sender.
65 | @objc func makeLowerCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
66 | }
67 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:262:23: warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
260 | // MARK: - TextEditingResponder
261 |
262 | @objc public func normalizeText(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'normalizeText' to make this instance method not isolated to the actor
263 | attemptToModifySelection { NSAttributedString(RichText($0)) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextEditingResponder.swift:25:16: note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func normalizeText(_ sender: Any?)
| `- note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:268:23: warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | // MARK: - TextDisplayResponder
267 |
268 | @objc public func showCharacterInformation(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCharacterInformation' to make this instance method not isolated to the actor
269 | let possibleString: NSAttributedString?
270 | #if canImport(AppKit)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextDisplayResponder.swift:25:16: note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func showCharacterInformation(_ sender: Any?)
| `- note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/TextContextMenu.swift:30:23: warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The context menu used by text views.
25 | public final class TextContextMenu {
| `- note: class 'TextContextMenu' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Class Properties
28 |
29 | /// The context menu.
30 | public static let contextMenu: TextContextMenu = TextContextMenu()
| |- warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextMenu' 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
31 |
32 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:72: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
26 | extension TextEditor {
27 |
28 | internal class CocoaImplementation: CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
70 | // MARK: - SharedValueObserver
71 |
72 | 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
73 | let newValue = contents.value.attributedString()
74 | let existingValue: NSAttributedString
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | contents: contents,
54 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:57:15: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
53 | contents: contents,
:
55 | logMode: false
56 | )
57 | cocoa.setEditability(true)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | return CocoaView(cocoa)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| |- warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.text' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.source' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.derivation' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
54 | let cocoa = TextEditor.CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
52 | let cocoa = CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
53 | contents: contents,
54 | transparentBackground: transparentBackground,
[588/589] Compiling SDGInterface TextEditor.CocoaImplementation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:87: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
32 | internal typealias Superclass = UILabel
33 | #endif
34 | internal final class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
35 |
36 | // MARK: - Initialization
:
85 | // MARK: - SharedValueObserver
86 |
87 | 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
88 | let resolved = String(localizedText.value.resolved())
89 | #if canImport(AppKit)
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| `- warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:38:16: note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
36 | // MARK: - Initialization
37 |
38 | internal init(text: Shared<UserFacing<S, L>>, colour: Colour) {
| `- note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
39 | self.localizedText = text
40 | defer {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:60: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
26 | extension DerivedLog {
27 |
28 | internal class CocoaImplementation: TextEditor.CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
58 | // MARK: - SharedValueObserver
59 |
60 | 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
61 | let derived = derivation(source.value)
62 | let newValue = derived.attributedString()
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' 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 | let cocoa = DerivedLog.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:32:16: note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | source: Shared<Source>,
34 | derivation: @escaping (Source) -> RichText,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:64:17: warning: call to main actor-isolated instance method 'setEditability' 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 | let cocoa = DerivedLog.CocoaImplementation(
58 | source: source,
:
62 | )
63 | #if !os(tvOS)
64 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #endif
66 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:60:17: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
55 | contents: contents,
:
58 | )
59 | #if !os(tvOS)
60 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | #endif
62 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Rich Text/NSAttributedString.swift:52:24: warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | internal static let htmlCorrection: Double = 3 ÷ 4
52 | private static var lineHeightTable: [String: [Double: Double]] = [:]
| |- warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineHeightTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineHeightTable' 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 | private static func lineHeight(for font: Font) -> Double {
54 | return cached(in: &lineHeightTable[font.fontName, default: [:]][font.size]) {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:218:23: warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | #endif
31 |
32 | extension CocoaTextView: RichTextEditingResponder {
| `- note: add '@preconcurrency' to the 'RichTextEditingResponder' conformance to defer isolation checking to run time
33 |
34 | // MARK: - Selection
:
216 | // MARK: - RichTextEditingResponder
217 |
218 | @objc public func makeSuperscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSuperscript' to make this instance method not isolated to the actor
219 | attemptToMutateSelection {
220 | $0.superscript(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:27:16: note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
25 | /// - Parameters:
26 | /// - sender: The sender.
27 | @objc func makeSuperscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
28 |
29 | /// Subscripts the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:224:23: warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
222 | }
223 |
224 | @objc public func makeSubscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSubscript' to make this instance method not isolated to the actor
225 | attemptToMutateSelection {
226 | $0.`subscript`(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:33:16: note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
31 | /// - Parameters:
32 | /// - sender: The sender.
33 | @objc func makeSubscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
34 |
35 | /// Resets the baseline of the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:230:23: warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
228 | }
229 |
230 | @objc public func resetBaseline(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetBaseline' to make this instance method not isolated to the actor
231 | attemptToMutateSelection {
232 | $0.resetBaseline(for: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:39:16: note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
37 | /// - Parameters:
38 | /// - sender: The sender.
39 | @objc func resetBaseline(_ sender: Any?)
| `- note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
40 |
41 | // MARK: - Case
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:236:23: warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
234 | }
235 |
236 | @objc public func resetCasing(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetCasing' to make this instance method not isolated to the actor
237 | attemptToMutateSelection {
238 | $0.resetCasing(of: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:47:16: note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
45 | /// - Parameters:
46 | /// - sender: The sender.
47 | @objc func resetCasing(_ sender: Any?)
| `- note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
48 |
49 | /// Converts the selection to an upper case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:242:23: warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 | }
241 |
242 | @objc public func makeUpperCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeUpperCase' to make this instance method not isolated to the actor
243 | attemptToMutateSelection {
244 | $0.makeUpperCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:53:16: note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
51 | /// - Parameters:
52 | /// - sender: The sender.
53 | @objc func makeUpperCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
54 |
55 | /// Converts the selection to a small caps font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:248:23: warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
246 | }
247 |
248 | @objc public func makeSmallCaps(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSmallCaps' to make this instance method not isolated to the actor
249 | attemptToMutateSelection {
250 | $0.makeSmallCaps(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:59:16: note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
57 | /// - Parameters:
58 | /// - sender: The sender.
59 | @objc func makeSmallCaps(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
60 |
61 | /// Converts the selection to a lower case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:254:23: warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
252 | }
253 |
254 | @objc public func makeLowerCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeLowerCase' to make this instance method not isolated to the actor
255 | attemptToMutateSelection {
256 | $0.makeLowerCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:65:16: note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
63 | /// - Parameters:
64 | /// - sender: The sender.
65 | @objc func makeLowerCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
66 | }
67 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:262:23: warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
260 | // MARK: - TextEditingResponder
261 |
262 | @objc public func normalizeText(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'normalizeText' to make this instance method not isolated to the actor
263 | attemptToModifySelection { NSAttributedString(RichText($0)) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextEditingResponder.swift:25:16: note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func normalizeText(_ sender: Any?)
| `- note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:268:23: warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | // MARK: - TextDisplayResponder
267 |
268 | @objc public func showCharacterInformation(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCharacterInformation' to make this instance method not isolated to the actor
269 | let possibleString: NSAttributedString?
270 | #if canImport(AppKit)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextDisplayResponder.swift:25:16: note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func showCharacterInformation(_ sender: Any?)
| `- note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/TextContextMenu.swift:30:23: warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The context menu used by text views.
25 | public final class TextContextMenu {
| `- note: class 'TextContextMenu' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Class Properties
28 |
29 | /// The context menu.
30 | public static let contextMenu: TextContextMenu = TextContextMenu()
| |- warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextMenu' 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
31 |
32 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:72: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
26 | extension TextEditor {
27 |
28 | internal class CocoaImplementation: CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
70 | // MARK: - SharedValueObserver
71 |
72 | 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
73 | let newValue = contents.value.attributedString()
74 | let existingValue: NSAttributedString
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | contents: contents,
54 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:57:15: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
53 | contents: contents,
:
55 | logMode: false
56 | )
57 | cocoa.setEditability(true)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | return CocoaView(cocoa)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| |- warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.text' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.source' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.derivation' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
54 | let cocoa = TextEditor.CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
52 | let cocoa = CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
53 | contents: contents,
54 | transparentBackground: transparentBackground,
[589/589] Compiling SDGInterface TextEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:87: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
32 | internal typealias Superclass = UILabel
33 | #endif
34 | internal final class CocoaImplementation: Superclass, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
35 |
36 | // MARK: - Initialization
:
85 | // MARK: - SharedValueObserver
86 |
87 | 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
88 | let resolved = String(localizedText.value.resolved())
89 | #if canImport(AppKit)
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| `- warning: call to main actor-isolated initializer 'init(text:colour:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.CocoaImplementation.swift:38:16: note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
36 | // MARK: - Initialization
37 |
38 | internal init(text: Shared<UserFacing<S, L>>, colour: Colour) {
| `- note: calls to initializer 'init(text:colour:)' from outside of its actor context are implicitly asynchronous
39 | self.localizedText = text
40 | defer {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:60: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
26 | extension DerivedLog {
27 |
28 | internal class CocoaImplementation: TextEditor.CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
58 | // MARK: - SharedValueObserver
59 |
60 | 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
61 | let derived = derivation(source.value)
62 | let newValue = derived.attributedString()
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' 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 | let cocoa = DerivedLog.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(source:derivation:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.CocoaImplementation.swift:32:16: note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(source:derivation:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | source: Shared<Source>,
34 | derivation: @escaping (Source) -> RichText,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:64:17: warning: call to main actor-isolated instance method 'setEditability' 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 | let cocoa = DerivedLog.CocoaImplementation(
58 | source: source,
:
62 | )
63 | #if !os(tvOS)
64 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | #endif
66 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:60:17: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
54 | let cocoa = TextEditor.CocoaImplementation(
55 | contents: contents,
:
58 | )
59 | #if !os(tvOS)
60 | cocoa.setEditability(false)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
61 | #endif
62 | return CocoaView(cocoa)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Rich Text/NSAttributedString.swift:52:24: warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | internal static let htmlCorrection: Double = 3 ÷ 4
52 | private static var lineHeightTable: [String: [Double: Double]] = [:]
| |- warning: static property 'lineHeightTable' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lineHeightTable' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'lineHeightTable' 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 | private static func lineHeight(for font: Font) -> Double {
54 | return cached(in: &lineHeightTable[font.fontName, default: [:]][font.size]) {
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:218:23: warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | #endif
31 |
32 | extension CocoaTextView: RichTextEditingResponder {
| `- note: add '@preconcurrency' to the 'RichTextEditingResponder' conformance to defer isolation checking to run time
33 |
34 | // MARK: - Selection
:
216 | // MARK: - RichTextEditingResponder
217 |
218 | @objc public func makeSuperscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSuperscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSuperscript' to make this instance method not isolated to the actor
219 | attemptToMutateSelection {
220 | $0.superscript(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:27:16: note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
25 | /// - Parameters:
26 | /// - sender: The sender.
27 | @objc func makeSuperscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSuperscript' 'async' to allow actor-isolated conformances
28 |
29 | /// Subscripts the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:224:23: warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
222 | }
223 |
224 | @objc public func makeSubscript(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSubscript' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSubscript' to make this instance method not isolated to the actor
225 | attemptToMutateSelection {
226 | $0.`subscript`(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:33:16: note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
31 | /// - Parameters:
32 | /// - sender: The sender.
33 | @objc func makeSubscript(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSubscript' 'async' to allow actor-isolated conformances
34 |
35 | /// Resets the baseline of the selection.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:230:23: warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
228 | }
229 |
230 | @objc public func resetBaseline(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetBaseline' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetBaseline' to make this instance method not isolated to the actor
231 | attemptToMutateSelection {
232 | $0.resetBaseline(for: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:39:16: note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
37 | /// - Parameters:
38 | /// - sender: The sender.
39 | @objc func resetBaseline(_ sender: Any?)
| `- note: mark the protocol requirement 'resetBaseline' 'async' to allow actor-isolated conformances
40 |
41 | // MARK: - Case
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:236:23: warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
234 | }
235 |
236 | @objc public func resetCasing(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'resetCasing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'resetCasing' to make this instance method not isolated to the actor
237 | attemptToMutateSelection {
238 | $0.resetCasing(of: NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:47:16: note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
45 | /// - Parameters:
46 | /// - sender: The sender.
47 | @objc func resetCasing(_ sender: Any?)
| `- note: mark the protocol requirement 'resetCasing' 'async' to allow actor-isolated conformances
48 |
49 | /// Converts the selection to an upper case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:242:23: warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
240 | }
241 |
242 | @objc public func makeUpperCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeUpperCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeUpperCase' to make this instance method not isolated to the actor
243 | attemptToMutateSelection {
244 | $0.makeUpperCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:53:16: note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
51 | /// - Parameters:
52 | /// - sender: The sender.
53 | @objc func makeUpperCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeUpperCase' 'async' to allow actor-isolated conformances
54 |
55 | /// Converts the selection to a small caps font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:248:23: warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
246 | }
247 |
248 | @objc public func makeSmallCaps(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeSmallCaps' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeSmallCaps' to make this instance method not isolated to the actor
249 | attemptToMutateSelection {
250 | $0.makeSmallCaps(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:59:16: note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
57 | /// - Parameters:
58 | /// - sender: The sender.
59 | @objc func makeSmallCaps(_ sender: Any?)
| `- note: mark the protocol requirement 'makeSmallCaps' 'async' to allow actor-isolated conformances
60 |
61 | /// Converts the selection to a lower case font.
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:254:23: warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
252 | }
253 |
254 | @objc public func makeLowerCase(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'makeLowerCase' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'makeLowerCase' to make this instance method not isolated to the actor
255 | attemptToMutateSelection {
256 | $0.makeLowerCase(NSRange(0..<$0.length))
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/RichTextEditingResponder.swift:65:16: note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
63 | /// - Parameters:
64 | /// - sender: The sender.
65 | @objc func makeLowerCase(_ sender: Any?)
| `- note: mark the protocol requirement 'makeLowerCase' 'async' to allow actor-isolated conformances
66 | }
67 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:262:23: warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
260 | // MARK: - TextEditingResponder
261 |
262 | @objc public func normalizeText(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'normalizeText' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'normalizeText' to make this instance method not isolated to the actor
263 | attemptToModifySelection { NSAttributedString(RichText($0)) }
264 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextEditingResponder.swift:25:16: note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func normalizeText(_ sender: Any?)
| `- note: mark the protocol requirement 'normalizeText' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/CocoaTextView.swift:268:23: warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
266 | // MARK: - TextDisplayResponder
267 |
268 | @objc public func showCharacterInformation(_ sender: Any?) {
| |- warning: main actor-isolated instance method 'showCharacterInformation' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showCharacterInformation' to make this instance method not isolated to the actor
269 | let possibleString: NSAttributedString?
270 | #if canImport(AppKit)
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Actions/TextDisplayResponder.swift:25:16: note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
23 | /// - Parameters:
24 | /// - sender: The sender.
25 | @objc func showCharacterInformation(_ sender: Any?)
| `- note: mark the protocol requirement 'showCharacterInformation' 'async' to allow actor-isolated conformances
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/TextContextMenu.swift:30:23: warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// The context menu used by text views.
25 | public final class TextContextMenu {
| `- note: class 'TextContextMenu' does not conform to the 'Sendable' protocol
26 |
27 | // MARK: - Class Properties
28 |
29 | /// The context menu.
30 | public static let contextMenu: TextContextMenu = TextContextMenu()
| |- warning: static property 'contextMenu' is not concurrency-safe because non-'Sendable' type 'TextContextMenu' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contextMenu' 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
31 |
32 | // MARK: - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:72: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
26 | extension TextEditor {
27 |
28 | internal class CocoaImplementation: CocoaFrameView, SharedValueObserver {
| `- note: add '@preconcurrency' to the 'SharedValueObserver' conformance to defer isolation checking to run time
29 |
30 | // MARK: - Initialization
:
70 | // MARK: - SharedValueObserver
71 |
72 | 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
73 | let newValue = contents.value.attributedString()
74 | let existingValue: NSAttributedString
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
| `- warning: call to main actor-isolated initializer 'init(contents:transparentBackground:logMode:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
53 | contents: contents,
54 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaImplementation.swift:32:16: note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Initialization
31 |
32 | internal init(
| `- note: calls to initializer 'init(contents:transparentBackground:logMode:)' from outside of its actor context are implicitly asynchronous
33 | contents: Shared<RichText>,
34 | transparentBackground: Bool,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:57:15: warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 |
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
| `- note: add '@MainActor' to make instance method 'cocoa()' part of global actor 'MainActor'
52 | let cocoa = CocoaImplementation(
53 | contents: contents,
:
55 | logMode: false
56 | )
57 | cocoa.setEditability(true)
| `- warning: call to main actor-isolated instance method 'setEditability' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | return CocoaView(cocoa)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.CocoaFrameView.swift:78:23: note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
76 |
77 | #if !os(tvOS)
78 | internal func setEditability(_ isEditable: Bool) {
| `- note: calls to instance method 'setEditability' from outside of its actor context are implicitly asynchronous
79 | textView.isEditable = isEditable
80 | }
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Label/GenericLabel.swift:53:11: warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
51 | return useSwiftUI3OrFallback(to: {
52 | return CocoaView(
53 | CocoaImplementation(text: text, colour: colour)
| |- warning: sending 'self.text' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.text' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
54 | )
55 | })
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.source' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.source' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/DerivedLog.swift:57:32: warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
55 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
56 | public func cocoa() -> CocoaView {
57 | let cocoa = DerivedLog.CocoaImplementation(
| |- warning: sending 'self.derivation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.derivation' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | source: source,
59 | derivation: derivation,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Log/Log.swift:54:32: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
52 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
53 | public func cocoa() -> CocoaView {
54 | let cocoa = TextEditor.CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
55 | contents: contents,
56 | transparentBackground: transparentBackground,
/Users/admin/builder/spi-builder-workspace/Sources/SDGInterface/Text/Text Editor/TextEditor.swift:52:21: warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
50 | #if canImport(AppKit) || (canImport(UIKit) && !os(watchOS))
51 | public func cocoa() -> CocoaView {
52 | let cocoa = CocoaImplementation(
| |- warning: sending 'self.contents' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.contents' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
53 | contents: contents,
54 | transparentBackground: transparentBackground,
[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 LabelledProgressBarPreview.swift
[594/602] 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 |
[595/603] Compiling SDGProgressIndicators LabelledProgressBar.swift
[596/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 |
[597/603] Compiling SDGProgressIndicators ProgressBar.SwiftUIImplementation.swift
[598/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 | }
[599/603] Compiling SDGProgressIndicators ProgressBarPreview.swift
[600/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 |
[601/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 |
[602/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 |
[603/603] Compiling SDGProgressIndicators View.swift
[604/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
[605/612] Compiling SDGInterfaceSample MenuBarSampleMenu.swift
[606/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
[607/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
[608/612] Compiling SDGInterfaceSample SampleApplication.swift
[609/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 |
[610/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
[611/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 | }
[612/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 | }
[613/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 }
[614/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 {
[615/615] Emitting module SDGInterfaceInternalTestUtilities
Build complete! (64.35s)
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.