Build Information
Successful build of NativeMarkKit, reference 2.1.1 (4833aa
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 22:39:54 UTC.
Swift 6 data race errors: 11
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[84/127] Compiling NativeMarkKit BackgroundValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[85/127] Compiling NativeMarkKit CGRect+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[86/127] Compiling NativeMarkKit ImageTextAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[87/127] Compiling NativeMarkKit Int+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[88/127] Compiling NativeMarkKit LayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[89/127] Compiling NativeMarkKit NSAttributedStringKey+NativeMark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[90/127] Compiling NativeMarkKit NativeImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[91/127] Compiling NativeMarkKit NativeMarkLabel+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:117:10: warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
114 | }
115 |
116 | extension NativeMarkLabel: AbstractViewDelegate {
| `- note: add '@preconcurrency' to the 'AbstractViewDelegate' conformance to defer isolation checking to run time
117 | func abstractViewDidInvalidateRect(_ rect: CGRect) {
| |- warning: main actor-isolated instance method 'abstractViewDidInvalidateRect' cannot be used to satisfy nonisolated requirement from protocol 'AbstractViewDelegate'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'abstractViewDidInvalidateRect' to make this instance method not isolated to the actor
118 | invalidateIntrinsicContentSize()
119 | setNeedsDisplay(rect)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift:9:10: note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
7 |
8 | protocol AbstractViewDelegate: AnyObject {
9 | func abstractViewDidInvalidateRect(_ rect: CGRect)
| `- note: mark the protocol requirement 'abstractViewDidInvalidateRect' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:42: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSWindow.convertToScreen:3:24: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect}
| |- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:34: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:101:65: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
99 | setAccessibilityURL(url.url)
100 | setAccessibilityParent(parent)
101 | let screenFrame = parent.window?.convertToScreen(parent.convert(url.frame, to: nil)) ?? url.frame
| `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 | setAccessibilityFrame(screenFrame)
103 | setAccessibilityFrameInParentSpace(url.frame)
AppKit.NSView.convert:2:22: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ rect: NSRect, to view: NSView?) -> NSRect}
| |- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift:111:17: warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
8 | public override var isFlipped: Bool { true }
9 |
10 | public var onOpenLink: ((URL) -> Void)? {
| `- note: property declared here
11 | get { abstractView.onOpenLink }
12 | set { abstractView.onOpenLink = newValue }
:
109 |
110 | override func accessibilityPerformPress() -> Bool {
111 | parent?.onOpenLink?(url.url)
| `- warning: main actor-isolated property 'onOpenLink' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | return true
113 | }
[92/127] Compiling NativeMarkKit NativeMarkLabel+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[93/127] Compiling NativeMarkKit NativeMarkLayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[94/127] Compiling NativeMarkKit NativeMarkStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[95/127] Compiling NativeMarkKit NativeMarkString.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[96/127] Compiling NativeMarkKit NativeMarkText+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[97/127] Compiling NativeMarkKit NativeMarkText+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[98/127] Compiling NativeMarkKit NativeMarkTextContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[99/127] Compiling NativeMarkKit NativeTextAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[100/127] Compiling NativeMarkKit OrderedListMarkerFormat+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[101/127] Compiling NativeMarkKit OrderedListMarkerFormatValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[102/127] Compiling NativeMarkKit Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[103/127] Compiling NativeMarkKit SpacerAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:155:30: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
153 | width: originalLineFragmentRect.width,
154 | height: originalLineFragmentRect.height + topMargin + bottomMargin)
155 | lineFragmentRect.assign(repeating: updatedLineFragmentRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
156 |
157 | let originalUsedRect = lineFragmentUsedRect.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:162:34: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
160 | width: originalUsedRect.width,
161 | height: originalUsedRect.height)
162 | lineFragmentUsedRect.assign(repeating: updatedUsedRect, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
163 |
164 | let originalBaseline = baselineOffset.pointee
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:165:28: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
163 |
164 | let originalBaseline = baselineOffset.pointee
165 | baselineOffset.assign(repeating: originalBaseline + topMargin, count: 1)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
166 |
167 | if isAtStart || isAtEnd {
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:13:9: warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: mutation of this property is only permitted within the actor
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
11 |
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:14:16: warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
| `- note: property declared here
7 |
8 | override func draw(withFrame cellFrame: NSRect, in controlView: NSView?) {
:
12 | override func cellFrame(for textContainer: NSTextContainer, proposedLineFragment lineFrag: NSRect, glyphPosition position: NSPoint, characterIndex charIndex: Int) -> NSRect {
13 | nativeTextAttachment?.characterIndex = charIndex
14 | return nativeTextAttachment?.lineFragment(for: textContainer, proposedLineFragment: lineFrag) ?? .zero
| `- warning: main actor-isolated property 'nativeTextAttachment' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:30:31: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
3 | import AppKit
4 |
5 | final class NativeTextAttachmentCell: NSTextAttachmentCell {
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSTextAttachmentCell'
6 | private var nativeTextAttachment: NativeTextAttachment? { attachment as? NativeTextAttachment }
7 |
:
28 | super.init(data: nil, ofType: nil)
29 | #if canImport(AppKit)
30 | self.attachmentCell = NativeTextAttachmentCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
31 | #endif
32 | }
[104/127] Compiling NativeMarkKit Em.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[105/127] Compiling NativeMarkKit ImageLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[106/127] Compiling NativeMarkKit ImageSizer.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[107/127] Compiling NativeMarkKit InlineStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[108/127] Compiling NativeMarkKit InlineStyleSelector.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[109/127] Compiling NativeMarkKit Length.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[110/127] Compiling NativeMarkKit NativeColor+Adaptable.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[111/127] Compiling NativeMarkKit NativeTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[112/127] Compiling NativeMarkKit OrderedListMarkerFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[113/127] Compiling NativeMarkKit Points.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[114/127] Compiling NativeMarkKit Strikethrough.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[115/127] Compiling NativeMarkKit StyleSheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:65:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #endif
9 |
10 | public final class StyleSheet {
| `- note: class 'StyleSheet' does not conform to the 'Sendable' protocol
11 | private var blockStyles: [BlockStyleSelector: [BlockStyle]]
12 | private var inlineStyles: [InlineStyleSelector: [InlineStyle]]
:
63 |
64 | public extension StyleSheet {
65 | static let `default` = StyleSheet(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StyleSheet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | [
67 | .document: [
[116/127] Compiling NativeMarkKit StyleStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[117/127] Compiling NativeMarkKit TextStyle+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[118/127] Compiling NativeMarkKit TextStyle+UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[119/127] Compiling NativeMarkKit TextStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[120/127] Compiling NativeMarkKit Underline.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[121/127] Compiling NativeMarkKit UnorderedListMarkerFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[122/127] Compiling NativeMarkKit Array+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[123/127] Compiling NativeMarkKit Character+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[124/127] Compiling NativeMarkKit HtmlEntities.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[125/127] Compiling NativeMarkKit Identifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[126/127] Compiling NativeMarkKit ParserError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
[127/127] Compiling NativeMarkKit String+Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
21 | }
22 |
23 | public static let unspecified: FontTraits = []
| |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unspecified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
22 |
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
23 | public static let unspecified: FontTraits = []
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
| `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 | public let rawValue: Int
18 |
:
24 | public static let italic = FontTraits(rawValue: 1 << 0)
25 | public static let bold = FontTraits(rawValue: 1 << 1)
26 | public static let monospace = FontTraits(rawValue: 1 << 2)
| |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'monospace' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
Build complete! (10.63s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NativeMarkKit",
"name" : "NativeMarkKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "NativeMarkKit",
"targets" : [
"NativeMarkKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NativeMarkKitTests",
"module_type" : "SwiftTarget",
"name" : "NativeMarkKitTests",
"path" : "Tests/NativeMarkKitTests",
"sources" : [
"AbstractView+Testing.swift",
"AtxheadingsTest.swift",
"AutolinksTest.swift",
"BackslashescapesTest.swift",
"BaseRenderTestCase.swift",
"BasicRenderTest.swift",
"BlanklinesTest.swift",
"BlockquotesTest.swift",
"CGContext+Testing.swift",
"CodespansTest.swift",
"DrawRenderTestCase.swift",
"EmphasisandstrongemphasisTest.swift",
"EntityandnumericcharacterreferencesTest.swift",
"Fakes/FakeImageLoader.swift",
"FencedcodeblocksTest.swift",
"Fixtures/NativeImage+Fixtures.swift",
"HardlinebreaksTest.swift",
"HtmlblocksTest.swift",
"ImagesTest.swift",
"IndentedcodeblocksTest.swift",
"InlinesTest.swift",
"LinkreferencedefinitionsTest.swift",
"LinksTest.swift",
"ListitemsTest.swift",
"ListsTest.swift",
"NativeImage+Testing.swift",
"NativeMarkStringDrawTest.swift",
"ParagraphsTest.swift",
"PrecedenceTest.swift",
"RawhtmlTest.swift",
"RenderTestCase.swift",
"SetextheadingsTest.swift",
"SoftlinebreaksTest.swift",
"TabsTest.swift",
"TestHelpers.swift",
"TextStyleTest.swift",
"TextualcontentTest.swift",
"ThematicbreaksTest.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"NativeMarkKit"
],
"type" : "test"
},
{
"c99name" : "NativeMarkKit",
"module_type" : "SwiftTarget",
"name" : "NativeMarkKit",
"path" : "Sources/NativeMarkKit",
"product_memberships" : [
"NativeMarkKit"
],
"sources" : [
"NSAttributedString+NativeMark.swift",
"ast/Document.swift",
"ast/Element.swift",
"ast/InlineText.swift",
"ast/Link.swift",
"ast/ListInfo.swift",
"ast/ListInfoKind.swift",
"ast/ListItem.swift",
"block/ATXHeadingBlockStarter.swift",
"block/Block.swift",
"block/BlockCloser.swift",
"block/BlockContinuationParser.swift",
"block/BlockKind.swift",
"block/BlockParser.swift",
"block/BlockQuoteBlockParser.swift",
"block/BlockQuoteStarter.swift",
"block/BlockStartParser.swift",
"block/DocumentBlockParser.swift",
"block/FencedCodeBlockParser.swift",
"block/FencedCodeBlockStarter.swift",
"block/HeadingBlockParser.swift",
"block/IndentedCodeBlockParser.swift",
"block/IndentedCodeBlockStarter.swift",
"block/ItemBlockParser.swift",
"block/ItemBlockStarter.swift",
"block/LineInserter.swift",
"block/LineParser.swift",
"block/LineResult.swift",
"block/LinkDefinitionsLineParser.swift",
"block/ListBlockParser.swift",
"block/ListKind.swift",
"block/ListStyle.swift",
"block/ParagraphBlockParser.swift",
"block/SetextHeadingBlockStarter.swift",
"block/ThematicBreakBlockParser.swift",
"block/ThematicBreakBlockStarter.swift",
"inline/AutolinkParser.swift",
"inline/BackslashParser.swift",
"inline/BackticksParser.swift",
"inline/BangParser.swift",
"inline/CloseBracketParser.swift",
"inline/Delimiter.swift",
"inline/DelimiterOrInlineText.swift",
"inline/DelimiterParser.swift",
"inline/DelimiterStack.swift",
"inline/EntityParser.swift",
"inline/InlineBlockParser.swift",
"inline/InlineLinkParser.swift",
"inline/InlineParser.swift",
"inline/LinkDefinition.swift",
"inline/LinkDefinitionParser.swift",
"inline/LinkDestinationParser.swift",
"inline/LinkLabel.swift",
"inline/LinkLabelParser.swift",
"inline/LinkTitleParser.swift",
"inline/NewlineParser.swift",
"inline/OpenBracketParser.swift",
"inline/SpacesAndNewlineParser.swift",
"inline/StringParser.swift",
"inline/TextCursor.swift",
"inline/TextResult.swift",
"lexer/Lexer.swift",
"lexer/Line.swift",
"lexer/LineColumn.swift",
"lexer/LineColumnCount.swift",
"render/AbstractView.swift",
"render/AccessibleURL.swift",
"render/BackgroundBorderValue.swift",
"render/BackgroundValue.swift",
"render/CGRect+Render.swift",
"render/ImageTextAttachment.swift",
"render/Int+Render.swift",
"render/LayoutManager.swift",
"render/NSAttributedStringKey+NativeMark.swift",
"render/NativeImage.swift",
"render/NativeMarkLabel+AppKit.swift",
"render/NativeMarkLabel+UIKit.swift",
"render/NativeMarkLayoutManager.swift",
"render/NativeMarkStorage.swift",
"render/NativeMarkString.swift",
"render/NativeMarkText+AppKit.swift",
"render/NativeMarkText+UIKit.swift",
"render/NativeMarkTextContainer.swift",
"render/NativeTextAttachment.swift",
"render/OrderedListMarkerFormat+Render.swift",
"render/OrderedListMarkerFormatValue.swift",
"render/Renderer.swift",
"render/SpacerAttachment.swift",
"render/TextContainer.swift",
"render/ThematicBreakAttachment.swift",
"render/URLOpener.swift",
"render/UnorderedListMarkerFormat+Render.swift",
"render/UnorderedListMarkerFormatValue.swift",
"style/AspectScaleDownByHeight.swift",
"style/AspectScaleDownByWidth.swift",
"style/BlockStyle.swift",
"style/BlockStyleSelector.swift",
"style/BorderSides.swift",
"style/DefaultImageLoader.swift",
"style/DefaultImageSizer.swift",
"style/Em.swift",
"style/ImageLoader.swift",
"style/ImageSizer.swift",
"style/InlineStyle.swift",
"style/InlineStyleSelector.swift",
"style/Length.swift",
"style/NativeColor+Adaptable.swift",
"style/NativeTypes.swift",
"style/OrderedListMarkerFormat.swift",
"style/Points.swift",
"style/Strikethrough.swift",
"style/StyleSheet.swift",
"style/StyleStack.swift",
"style/TextStyle+AppKit.swift",
"style/TextStyle+UIKit.swift",
"style/TextStyle.swift",
"style/Underline.swift",
"style/UnorderedListMarkerFormat.swift",
"utils/Array+Utils.swift",
"utils/Character+Utils.swift",
"utils/HtmlEntities.swift",
"utils/Identifier.swift",
"utils/ParserError.swift",
"utils/String+Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.