The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of NativeMarkKit, reference 2.1.1 (4833aa), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 15:50:13 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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

AppKit.NSView:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[107/127] Compiling NativeMarkKit BackgroundBorderValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[108/127] Compiling NativeMarkKit BackgroundValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[109/127] Compiling NativeMarkKit CGRect+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[110/127] Compiling NativeMarkKit ImageTextAttachment.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[111/127] Compiling NativeMarkKit Int+Render.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[112/127] Compiling NativeMarkKit LayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[113/127] Compiling NativeMarkKit NSAttributedStringKey+NativeMark.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[114/127] Compiling NativeMarkKit NativeImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[115/127] Compiling NativeMarkKit NativeMarkLabel+AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:10:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 8 |     }
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
   |                       |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:12:23: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
   |                       |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
14 |
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:11:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
 9 |
10 |     public static let left = BorderSides(rawValue: 1 << 0)
11 |     public static let right = BorderSides(rawValue: 1 << 1)
   |                       |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift:13:23: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct BorderSides: OptionSet {
   |               `- note: consider making struct 'BorderSides' conform to the 'Sendable' protocol
 4 |     public let rawValue: Int
 5 |
   :
11 |     public static let right = BorderSides(rawValue: 1 << 1)
12 |     public static let top = BorderSides(rawValue: 1 << 2)
13 |     public static let bottom = BorderSides(rawValue: 1 << 3)
   |                       |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'BorderSides' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |     public static let all: BorderSides = [.left, .right, .top, .bottom]
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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 protocol requirement; 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 protocol requirement; 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:196:26: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     @MainActor open func convertToScreen(_ rect: NSRect) -> NSRect
     |                          `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/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)
AppKit.NSView:4:41: note: property declared here
  2 |     @MainActor public init(frame frameRect: NSRect)
  3 |     @MainActor public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/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:104:26: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
102 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
103 |     open func convertRect(_ rect: NSRect, fromView view: NSView?) -> NSRect
104 |     @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
105 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
106 |     open func convertRect(_ rect: NSRect, toView view: NSView?) -> NSRect
/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 |     }
[116/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[117/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[118/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[119/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[120/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[121/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[122/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[123/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[124/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[125/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[126/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
[127/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/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |         [
 67 |             .document: [
/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
 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 |     }
Build complete! (24.62s)
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.