The Swift Package Index logo.Swift Package Index

Build Information

Successful build of STTextView, reference 2.3.10 (856925), with Swift 6.1 for macOS (SPM) on 29 Apr 2026 13:01:30 UTC.

Swift 6 data race errors: 90

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

 464 |         willSet {
 465 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:22:9: note: requirement 'textLayoutManager' declared here
20 |     static var textDidChangeNotification: NSNotification.Name { get }
21 |
22 |     var textLayoutManager: NSTextLayoutManager { get }
   |         `- note: requirement 'textLayoutManager' declared here
23 |     var textContentManager: NSTextContentManager { get }
24 |     var textContainer: NSTextContainer { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:483:22: warning: main actor-isolated property 'textContentManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 481 |     /// The text view's text storage object.
 482 |     @objc
 483 |     open dynamic var textContentManager: NSTextContentManager {
     |                      `- warning: main actor-isolated property 'textContentManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 484 |         willSet {
 485 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:23:9: note: requirement 'textContentManager' declared here
21 |
22 |     var textLayoutManager: NSTextLayoutManager { get }
23 |     var textContentManager: NSTextContentManager { get }
   |         `- note: requirement 'textContentManager' declared here
24 |     var textContainer: NSTextContainer { get set }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:495:16: warning: main actor-isolated property 'textContainer' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 493 |
 494 |     /// The text view's text container
 495 |     public var textContainer: NSTextContainer {
     |                `- warning: main actor-isolated property 'textContainer' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 496 |         get {
 497 |             textLayoutManager.textContainer!
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:24:9: note: requirement 'textContainer' declared here
22 |     var textLayoutManager: NSTextLayoutManager { get }
23 |     var textContentManager: NSTextContentManager { get }
24 |     var textContainer: NSTextContainer { get set }
   |         `- note: requirement 'textContainer' declared here
25 |
26 |     var widthTracksTextView: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:334:16: warning: main actor-isolated property 'widthTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 332 |     @available(*, deprecated, renamed: "isHorizontallyResizable")
 333 |     @objc
 334 |     public var widthTracksTextView: Bool {
     |                `- warning: main actor-isolated property 'widthTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 335 |         set { isHorizontallyResizable = !newValue }
 336 |         get { !isHorizontallyResizable }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:26:9: note: requirement 'widthTracksTextView' declared here
24 |     var textContainer: NSTextContainer { get set }
25 |
26 |     var widthTracksTextView: Bool { get set }
   |         `- note: requirement 'widthTracksTextView' declared here
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:317:16: warning: main actor-isolated property 'isHorizontallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 315 |     /// When `false`, text wraps at the view width.
 316 |     @objc
 317 |     public var isHorizontallyResizable: Bool {
     |                `- warning: main actor-isolated property 'isHorizontallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 318 |         set {
 319 |             if _isHorizontallyResizable != newValue {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:27:9: note: requirement 'isHorizontallyResizable' declared here
25 |
26 |     var widthTracksTextView: Bool { get set }
27 |     var isHorizontallyResizable: Bool { get set }
   |         `- note: requirement 'isHorizontallyResizable' declared here
28 |     var heightTracksTextView: Bool { get set }
29 |     var isVerticallyResizable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:362:16: warning: main actor-isolated property 'heightTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 360 |     @available(*, deprecated, renamed: "isVerticallyResizable")
 361 |     @objc
 362 |     public var heightTracksTextView: Bool {
     |                `- warning: main actor-isolated property 'heightTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 363 |         set { isVerticallyResizable = !newValue }
 364 |         get { !isVerticallyResizable }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:28:9: note: requirement 'heightTracksTextView' declared here
26 |     var widthTracksTextView: Bool { get set }
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
   |         `- note: requirement 'heightTracksTextView' declared here
29 |     var isVerticallyResizable: Bool { get set }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:345:16: warning: main actor-isolated property 'isVerticallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 343 |     /// When `false`, content is clipped at the view height.
 344 |     @objc
 345 |     public var isVerticallyResizable: Bool {
     |                `- warning: main actor-isolated property 'isVerticallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 346 |         set {
 347 |             if _isVerticallyResizable != newValue {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:29:9: note: requirement 'isVerticallyResizable' declared here
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
29 |     var isVerticallyResizable: Bool { get set }
   |         `- note: requirement 'isVerticallyResizable' declared here
30 |
31 |     var highlightSelectedLine: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:370:22: warning: main actor-isolated property 'highlightSelectedLine' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 368 |     @MainActor @Invalidating(.layoutViewport)
 369 |     @objc
 370 |     open dynamic var highlightSelectedLine = false
     |                      `- warning: main actor-isolated property 'highlightSelectedLine' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 371 |
 372 |     /// Enable to show line numbers in the gutter.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:31:9: note: requirement 'highlightSelectedLine' declared here
29 |     var isVerticallyResizable: Bool { get set }
30 |
31 |     var highlightSelectedLine: Bool { get set }
   |         `- note: requirement 'highlightSelectedLine' declared here
32 |     var selectedLineHighlightColor: Color { get set }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:388:22: warning: main actor-isolated property 'selectedLineHighlightColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 386 |     @Invalidating(.display)
 387 |     @objc
 388 |     open dynamic var selectedLineHighlightColor = NSColor.selectedTextBackgroundColor.withAlphaComponent(0.25)
     |                      `- warning: main actor-isolated property 'selectedLineHighlightColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 389 |
 390 |     /// The text view's background color
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:32:9: note: requirement 'selectedLineHighlightColor' declared here
30 |
31 |     var highlightSelectedLine: Bool { get set }
32 |     var selectedLineHighlightColor: Color { get set }
   |         `- note: requirement 'selectedLineHighlightColor' declared here
33 |
34 |     var showsLineNumbers: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:374:14: warning: main actor-isolated property 'showsLineNumbers' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 372 |     /// Enable to show line numbers in the gutter.
 373 |     @MainActor @Invalidating(.layout)
 374 |     open var showsLineNumbers = false {
     |              `- warning: main actor-isolated property 'showsLineNumbers' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 375 |         didSet {
 376 |             isGutterVisible = showsLineNumbers
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:34:9: note: requirement 'showsLineNumbers' declared here
32 |     var selectedLineHighlightColor: Color { get set }
33 |
34 |     var showsLineNumbers: Bool { get set }
   |         `- note: requirement 'showsLineNumbers' declared here
35 |     var showsInvisibleCharacters: Bool { get set }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:590:16: warning: main actor-isolated property 'showsInvisibleCharacters' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 588 |     /// A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters.
 589 |     @Invalidating(.layoutViewport, .display)
 590 |     public var showsInvisibleCharacters = false {
     |                `- warning: main actor-isolated property 'showsInvisibleCharacters' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 591 |         willSet {
 592 |             textLayoutManager.invalidateLayout(for: textLayoutManager.textViewportLayoutController.viewportRange ?? textLayoutManager.documentRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:35:9: note: requirement 'showsInvisibleCharacters' declared here
33 |
34 |     var showsLineNumbers: Bool { get set }
35 |     var showsInvisibleCharacters: Bool { get set }
   |         `- note: requirement 'showsInvisibleCharacters' declared here
36 |
37 |     var font: Font { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:103:16: warning: main actor-isolated property 'font' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 101 |     @MainActor
 102 |     @objc
 103 |     public var font: NSFont {
     |                `- warning: main actor-isolated property 'font' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 104 |         get {
 105 |             _defaultTypingAttributes[.font] as! NSFont
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:37:9: note: requirement 'font' declared here
35 |     var showsInvisibleCharacters: Bool { get set }
36 |
37 |     var font: Font { get set }
   |         `- note: requirement 'font' declared here
38 |     var textColor: Color { get set }
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:127:16: warning: main actor-isolated property 'textColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 125 |     @MainActor
 126 |     @objc
 127 |     public var textColor: NSColor {
     |                `- warning: main actor-isolated property 'textColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 128 |         get {
 129 |             _defaultTypingAttributes[.foregroundColor] as! NSColor
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:38:9: note: requirement 'textColor' declared here
36 |
37 |     var font: Font { get set }
38 |     var textColor: Color { get set }
   |         `- note: requirement 'textColor' declared here
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:149:16: warning: main actor-isolated property 'defaultParagraphStyle' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 147 |     @MainActor
 148 |     @objc
 149 |     public var defaultParagraphStyle: NSParagraphStyle {
     |                `- warning: main actor-isolated property 'defaultParagraphStyle' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 150 |         set {
 151 |             _defaultTypingAttributes[.paragraphStyle] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:39:9: note: requirement 'defaultParagraphStyle' declared here
37 |     var font: Font { get set }
38 |     var textColor: Color { get set }
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
   |         `- note: requirement 'defaultParagraphStyle' declared here
40 |
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:170:16: warning: main actor-isolated property 'typingAttributes' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 168 |     /// When the text view’s selection changes, the contents of the dictionary are reset automatically.
 169 |     @objc
 170 |     public var typingAttributes: [NSAttributedString.Key: Any] {
     |                `- warning: main actor-isolated property 'typingAttributes' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 171 |         get {
 172 |             _typingAttributes.merging(_defaultTypingAttributes) { (current, _) in current }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:41:9: note: requirement 'typingAttributes' declared here
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
40 |
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
   |         `- note: requirement 'typingAttributes' declared here
42 |
43 |     var text: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:266:14: warning: main actor-isolated property 'text' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 264 |     /// If you want to maintain a snapshot of this as you manipulate the text storage, you should make a copy of the appropriate substring.
 265 |     @objc
 266 |     open var text: String? {
     |              `- warning: main actor-isolated property 'text' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 267 |         set {
 268 |             let prevLocation = textLayoutManager.insertionPointLocations.first
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:43:9: note: requirement 'text' declared here
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
42 |
43 |     var text: String? { get set }
   |         `- note: requirement 'text' declared here
44 |     var attributedText: NSAttributedString? { get set }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:290:14: warning: main actor-isolated property 'attributedText' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 288 |     /// Assigning a new value to this property also replaces the value of the `text` property with the same string data, albeit without any formatting information. In addition, the `font`, `textColor`, and `textAlignment` properties are updated to reflect the typing attributes of the text view.
 289 |     @objc
 290 |     open var attributedText: NSAttributedString? {
     |              `- warning: main actor-isolated property 'attributedText' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 291 |         set {
 292 |             let prevLocation = textLayoutManager.insertionPointLocations.first
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:44:9: note: requirement 'attributedText' declared here
42 |
43 |     var text: String? { get set }
44 |     var attributedText: NSAttributedString? { get set }
   |         `- note: requirement 'attributedText' declared here
45 |
46 |     var isEditable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:46:22: warning: main actor-isolated property 'isEditable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  44 |     @Invalidating(.insertionPoint, .cursorRects)
  45 |     @objc
  46 |     open dynamic var isEditable = true {
     |                      `- warning: main actor-isolated property 'isEditable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  47 |         didSet {
  48 |             if isEditable == true {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:46:9: note: requirement 'isEditable' declared here
44 |     var attributedText: NSAttributedString? { get set }
45 |
46 |     var isEditable: Bool { get set }
   |         `- note: requirement 'isEditable' declared here
47 |     var isSelectable: Bool { get set }
48 |     var allowsUndo: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:57:22: warning: main actor-isolated property 'isSelectable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  55 |     @Invalidating(.insertionPoint, .cursorRects)
  56 |     @objc
  57 |     open dynamic var isSelectable = true {
     |                      `- warning: main actor-isolated property 'isSelectable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  58 |         didSet {
  59 |             if isSelectable == false {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:47:9: note: requirement 'isSelectable' declared here
45 |
46 |     var isEditable: Bool { get set }
47 |     var isSelectable: Bool { get set }
   |         `- note: requirement 'isSelectable' declared here
48 |     var allowsUndo: Bool { get set }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:420:22: warning: main actor-isolated property 'allowsUndo' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 418 |     /// `true` if the receiver allows undo, otherwise `false`. Default `true`.
 419 |     @objc
 420 |     open dynamic var allowsUndo: Bool
     |                      `- warning: main actor-isolated property 'allowsUndo' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 421 |     var _undoManager: UndoManager?
 422 |     var _yankingManager = YankingManager()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:48:9: note: requirement 'allowsUndo' declared here
46 |     var isEditable: Bool { get set }
47 |     var isSelectable: Bool { get set }
48 |     var allowsUndo: Bool { get set }
   |         `- note: requirement 'allowsUndo' declared here
49 |
50 |     var textDelegate: Delegate? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:448:21: warning: main actor-isolated property 'textDelegate' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 446 |
 447 |     /// The delegate for all text views sharing the same layout manager.
 448 |     public weak var textDelegate: (any STTextViewDelegate)? {
     |                     `- warning: main actor-isolated property 'textDelegate' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 449 |         set {
 450 |             delegateProxy.source = newValue
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:50:9: note: requirement 'textDelegate' declared here
48 |     var allowsUndo: Bool { get set }
49 |
50 |     var textDelegate: Delegate? { get set }
   |         `- note: requirement 'textDelegate' declared here
51 |
52 |     var gutterView: GutterView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:381:16: warning: main actor-isolated property 'gutterView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 379 |
 380 |     /// Gutter view
 381 |     public var gutterView: STGutterView?
     |                `- warning: main actor-isolated property 'gutterView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 382 |
 383 |     /// The highlight color of the selected line.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:52:9: note: requirement 'gutterView' declared here
50 |     var textDelegate: Delegate? { get set }
51 |
52 |     var gutterView: GutterView? { get }
   |         `- note: requirement 'gutterView' declared here
53 |     func toggleRuler(_ sender: Any?)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Gutter.swift:12:23: warning: main actor-isolated instance method 'toggleRuler' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 10 |
 11 |     /// This action method shows or hides the ruler, if the receiver is enclosed in a scroll view.
 12 |     @objc public func toggleRuler(_ sender: Any?) {
    |                       |- warning: main actor-isolated instance method 'toggleRuler' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'toggleRuler' to make this instance method not isolated to the actor
 13 |         isGutterVisible.toggle()
 14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:53:10: note: mark the protocol requirement 'toggleRuler' 'async' to allow actor-isolated conformances
51 |
52 |     var gutterView: GutterView? { get }
53 |     func toggleRuler(_ sender: Any?)
   |          `- note: mark the protocol requirement 'toggleRuler' 'async' to allow actor-isolated conformances
54 |
55 |     var textSelection: NSRange { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1034:16: warning: main actor-isolated property 'textSelection' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1032 |     ///
1033 |     /// If the length of the selection range is 0, indicating that the selection is actually an insertion point
1034 |     public var textSelection: NSRange {
     |                `- warning: main actor-isolated property 'textSelection' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1035 |         set {
1036 |             setSelectedRange(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:55:9: note: requirement 'textSelection' declared here
53 |     func toggleRuler(_ sender: Any?)
54 |
55 |     var textSelection: NSRange { get set }
   |         `- note: requirement 'textSelection' declared here
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1079:15: warning: main actor-isolated instance method 'addAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1077 |
1078 |     /// Add attribute.
1079 |     open func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange) {
     |               |- warning: main actor-isolated instance method 'addAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'addAttributes(_:range:)' to make this instance method not isolated to the actor
1080 |         addAttributes(attrs, range: range, updateLayout: true)
1081 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:57:10: note: mark the protocol requirement 'addAttributes(_:range:)' 'async' to allow actor-isolated conformances
55 |     var textSelection: NSRange { get set }
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
   |          `- note: mark the protocol requirement 'addAttributes(_:range:)' 'async' to allow actor-isolated conformances
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1113:15: warning: main actor-isolated instance method 'setAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1111 |
1112 |     /// Set attributes.
1113 |     open func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange) {
     |               |- warning: main actor-isolated instance method 'setAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'setAttributes(_:range:)' to make this instance method not isolated to the actor
1114 |         setAttributes(attrs, range: range, updateLayout: true)
1115 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:58:10: note: mark the protocol requirement 'setAttributes(_:range:)' 'async' to allow actor-isolated conformances
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
   |          `- note: mark the protocol requirement 'setAttributes(_:range:)' 'async' to allow actor-isolated conformances
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
60 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1149:15: warning: main actor-isolated instance method 'removeAttribute(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1147 |
1148 |     /// Remove attributes.
1149 |     open func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange) {
     |               |- warning: main actor-isolated instance method 'removeAttribute(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'removeAttribute(_:range:)' to make this instance method not isolated to the actor
1150 |         removeAttribute(attribute, range: range, updateLayout: true)
1151 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:59:10: note: mark the protocol requirement 'removeAttribute(_:range:)' 'async' to allow actor-isolated conformances
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
   |          `- note: mark the protocol requirement 'removeAttribute(_:range:)' 'async' to allow actor-isolated conformances
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1705:15: warning: main actor-isolated instance method 'shouldChangeText(in:replacementString:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1703 |     /// this method should be called with information on the change.
1704 |     /// Coalesce consecutive typing events
1705 |     open func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool {
     |               |- warning: main actor-isolated instance method 'shouldChangeText(in:replacementString:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'shouldChangeText(in:replacementString:)' to make this instance method not isolated to the actor
1706 |         let result = delegateProxy.textView(self, shouldChangeTextIn: affectedTextRange, replacementString: replacementString)
1707 |         if !result {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:61:10: note: mark the protocol requirement 'shouldChangeText(in:replacementString:)' 'async' to allow actor-isolated conformances
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
   |          `- note: mark the protocol requirement 'shouldChangeText(in:replacementString:)' 'async' to allow actor-isolated conformances
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
63 |     func insertText(_ string: Any, replacementRange: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1630:15: warning: main actor-isolated instance method 'replaceCharacters(in:with:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1628 |     }
1629 |
1630 |     open func replaceCharacters(in range: NSTextRange, with string: String) {
     |               |- warning: main actor-isolated instance method 'replaceCharacters(in:with:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'replaceCharacters(in:with:)' to make this instance method not isolated to the actor
1631 |         replaceCharacters(in: range, with: string, useTypingAttributes: true, allowsTypingCoalescing: false)
1632 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:62:10: note: mark the protocol requirement 'replaceCharacters(in:with:)' 'async' to allow actor-isolated conformances
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
   |          `- note: mark the protocol requirement 'replaceCharacters(in:with:)' 'async' to allow actor-isolated conformances
63 |     func insertText(_ string: Any, replacementRange: NSRange)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:197:21: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
195 |     }
196 |
197 |     @objc open func insertText(_ string: Any, replacementRange: NSRange) {
    |                     |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
    |                     `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
198 |         unmarkText()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:63:10: note: mark the protocol requirement 'insertText(_:replacementRange:)' 'async' to allow actor-isolated conformances
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
63 |     func insertText(_ string: Any, replacementRange: NSRange)
   |          `- note: mark the protocol requirement 'insertText(_:replacementRange:)' 'async' to allow actor-isolated conformances
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:783:13: warning: main actor-isolated property '_yankingManager' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 420 |     open dynamic var allowsUndo: Bool
 421 |     var _undoManager: UndoManager?
 422 |     var _yankingManager = YankingManager()
     |         `- note: property declared here
 423 |
 424 |     var markedText: STMarkedText?
     :
 781 |             guard let self else { return }
 782 |
 783 |             _yankingManager.selectionChanged()
     |             `- warning: main actor-isolated property '_yankingManager' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 784 |
 785 |             let textViewNotification = Notification(name: Self.didChangeSelectionNotification, object: self, userInfo: notification.userInfo)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:785:64: warning: main actor-isolated static property 'didChangeSelectionNotification' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  36 |
  37 |     /// Sent when the selection range of characters changes.
  38 |     public static let didChangeSelectionNotification = STTextLayoutManager.didChangeSelectionNotification
     |                       `- note: static property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
     :
 783 |             _yankingManager.selectionChanged()
 784 |
 785 |             let textViewNotification = Notification(name: Self.didChangeSelectionNotification, object: self, userInfo: notification.userInfo)
     |                                                                `- warning: main actor-isolated static property 'didChangeSelectionNotification' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 786 |
 787 |             NotificationCenter.default.post(textViewNotification)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:788:18: warning: main actor-isolated property 'delegateProxy' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 457 |
 458 |     /// Proxy for delegate calls
 459 |     let delegateProxy = STTextViewDelegateProxy(source: nil)
     |         `- note: property declared here
 460 |
 461 |     /// The manager that lays out text for the text view's text container.
     :
 786 |
 787 |             NotificationCenter.default.post(textViewNotification)
 788 |             self.delegateProxy.textViewDidChangeSelection(textViewNotification)
     |                  `- warning: main actor-isolated property 'delegateProxy' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 789 |
 790 |             NSAccessibility.post(element: self, notification: .selectedTextChanged)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:793:21: warning: main actor-isolated property 'shouldDimissCompletionOnSelectionChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 544 |     ///
 545 |     /// Automatically call ``cancelComplete(_:)`` when `true`.
 546 |     open var shouldDimissCompletionOnSelectionChange = true
     |              `- note: property declared here
 547 |
 548 |     var _completionTask: Task<Void, any Error>?
     :
 791 |
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
     |                     `- warning: main actor-isolated property 'shouldDimissCompletionOnSelectionChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:794:26: warning: main actor-isolated property 'currentEvent' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
     |                          `- warning: main actor-isolated property 'currentEvent' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:794:20: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
     |                    `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:28: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                            `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:22: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                      `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:68: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                                                                    `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:62: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                                                              `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:796:27: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
     |                           `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:796:21: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
     |                     `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:797:29: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
     |                             `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 798 |                     self.cancelComplete(textViewNotification.object)
 799 |                 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:797:23: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
     |                       `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 798 |                     self.cancelComplete(textViewNotification.object)
 799 |                 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:798:26: warning: call to main actor-isolated instance method 'cancelComplete' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
     |                          `- warning: call to main actor-isolated instance method 'cancelComplete' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 799 |                 }
 800 |             }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Complete.swift:31:21: note: calls to instance method 'cancelComplete' from outside of its actor context are implicitly asynchronous
 29 |     /// see ``complete(_:)``
 30 |     @preconcurrency @MainActor
 31 |     @objc open func cancelComplete(_ sender: Any?) {
    |                     `- note: calls to instance method 'cancelComplete' from outside of its actor context are implicitly asynchronous
 32 |         _completionTask?.cancel()
 33 |         _completionWindowController?.close()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:808:19: warning: main actor-isolated property 'needsUpdateConstraints' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 806 |         _usageBoundsForTextContainerObserver = textLayoutManager.observe(\.usageBoundsForTextContainer, options: [.initial, .new]) { [weak self] _, _ in
 807 |             // FB13291926: Notification no longer works. Fixed again in macOS 15.6
 808 |             self?.needsUpdateConstraints = true
     |                   `- warning: main actor-isolated property 'needsUpdateConstraints' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 809 |         }
 810 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:267:16: note: mutation of this property is only permitted within the actor
265 | - (void)updateConstraintsForSubtreeIfNeeded API_AVAILABLE(macos(10.7));
266 | - (void)updateConstraints API_AVAILABLE(macos(10.7)) NS_REQUIRES_SUPER;
267 | @property BOOL needsUpdateConstraints API_AVAILABLE(macos(10.7));
    |                `- note: mutation of this property is only permitted within the actor
268 | @end
269 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1693:21: warning: capture of 'undoRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1691 |             // Regular undo action
1692 |             textView.replaceCharacters(
1693 |                 in: undoRange,
     |                     `- warning: capture of 'undoRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1694 |                 with: previousStringInRange,
1695 |                 allowsTypingCoalescing: false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextRange.h:28:12: note: class 'NSTextRange' does not conform to the 'Sendable' protocol
26 | // NSTextRange represents a contiguous range between two locations inside document contents. It consists of the starting location and terminating location. They are the two basic properties, location and endLocation, respectively. The terminating location, endLocation, is directly following the last location in the range. So, a location is contained in a range if (range.location <= location) && (location < range.endLocation).
27 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0))
28 | @interface NSTextRange : NSObject
   |            `- note: class 'NSTextRange' does not conform to the 'Sendable' protocol
29 | #pragma mark Initialization
30 | // Returns an empty range when endLocation=nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1694:23: warning: capture of 'previousStringInRange' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
1692 |             textView.replaceCharacters(
1693 |                 in: undoRange,
1694 |                 with: previousStringInRange,
     |                       `- warning: capture of 'previousStringInRange' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
1695 |                 allowsTypingCoalescing: false
1696 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 27 |
 28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
 29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
    |            `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 30 |
 31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1697:43: warning: capture of 'textRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1695 |                 allowsTypingCoalescing: false
1696 |             )
1697 |             textView.setSelectedTextRange(textRange, updateLayout: true)
     |                                           `- warning: capture of 'textRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1698 |         }
1699 |         undoManager.endUndoGrouping()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextRange.h:28:12: note: class 'NSTextRange' does not conform to the 'Sendable' protocol
26 | // NSTextRange represents a contiguous range between two locations inside document contents. It consists of the starting location and terminating location. They are the two basic properties, location and endLocation, respectively. The terminating location, endLocation, is directly following the last location in the range. So, a location is contained in a range if (range.location <= location) && (location < range.endLocation).
27 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0))
28 | @interface NSTextRange : NSObject
   |            `- note: class 'NSTextRange' does not conform to the 'Sendable' protocol
29 | #pragma mark Initialization
30 | // Returns an empty range when endLocation=nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1692:22: warning: call to main actor-isolated instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1655 |     }
1656 |
1657 |     func replaceCharacters(in textRange: NSTextRange, with replacementString: NSAttributedString, allowsTypingCoalescing: Bool) {
     |          |- note: calls to instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' from outside of its actor context are implicitly asynchronous
     |          `- note: main actor isolation inferred from inheritance from class 'NSView'
1658 |         let previousStringInRange = (textContentManager as? NSTextContentStorage)!.attributedString!.attributedSubstring(from: NSRange(textRange, in: textContentManager))
1659 |
     :
1690 |         undoManager.registerUndo(withTarget: self) { textView in
1691 |             // Regular undo action
1692 |             textView.replaceCharacters(
     |                      `- warning: call to main actor-isolated instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1693 |                 in: undoRange,
1694 |                 with: previousStringInRange,
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1697:22: warning: call to main actor-isolated instance method 'setSelectedTextRange(_:updateLayout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1695 |                 allowsTypingCoalescing: false
1696 |             )
1697 |             textView.setSelectedTextRange(textRange, updateLayout: true)
     |                      `- warning: call to main actor-isolated instance method 'setSelectedTextRange(_:updateLayout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1698 |         }
1699 |         undoManager.endUndoGrouping()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Select.swift:9:10: note: calls to instance method 'setSelectedTextRange(_:updateLayout:)' from outside of its actor context are implicitly asynchronous
  7 | extension STTextView {
  8 |
  9 |     func setSelectedTextRange(_ textRange: NSTextRange, updateLayout: Bool) {
    |          |- note: calls to instance method 'setSelectedTextRange(_:updateLayout:)' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 10 |         guard isSelectable, textRange.endLocation <= textLayoutManager.documentRange.endLocation else {
 11 |             return
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1795:22: warning: call to main actor-isolated instance method 'updateInsertionPointStateAndRestartTimer()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1788 |     struct InsertionPoint: NSViewInvalidating {
1789 |
1790 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1791 |             guard let textView = view as? STTextView else {
1792 |                 return
1793 |             }
1794 |
1795 |             textView.updateInsertionPointStateAndRestartTimer()
     |                      `- warning: call to main actor-isolated instance method 'updateInsertionPointStateAndRestartTimer()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1796 |         }
1797 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+InsertionPoint.swift:11:17: note: calls to instance method 'updateInsertionPointStateAndRestartTimer()' from outside of its actor context are implicitly asynchronous
  9 |
 10 |     /// Updates the insertion point’s location and optionally restarts the blinking cursor timer.
 11 |     public func updateInsertionPointStateAndRestartTimer() {
    |                 |- note: calls to instance method 'updateInsertionPointStateAndRestartTimer()' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 12 |         // Hide insertion point layers
 13 |         if shouldDrawInsertionPoint {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1802:26: warning: call to main actor-isolated instance method 'invalidateCursorRects(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1799 |     struct CursorRects: NSViewInvalidating {
1800 |
1801 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1802 |             view.window?.invalidateCursorRects(for: view)
     |                          `- warning: call to main actor-isolated instance method 'invalidateCursorRects(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1803 |         }
1804 |     }
AppKit.NSWindow.invalidateCursorRects:2:22: note: calls to instance method 'invalidateCursorRects(for:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func invalidateCursorRects(for view: NSView)}
  |                      |- note: calls to instance method 'invalidateCursorRects(for:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1802:18: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1799 |     struct CursorRects: NSViewInvalidating {
1800 |
1801 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1802 |             view.window?.invalidateCursorRects(for: view)
     |                  `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1803 |         }
1804 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1813:22: warning: call to main actor-isolated instance method 'layoutViewport()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1484 |     }
1485 |
1486 |     func layoutViewport() {
     |          |- note: calls to instance method 'layoutViewport()' from outside of its actor context are implicitly asynchronous
     |          `- note: main actor isolation inferred from inheritance from class 'NSView'
1487 |         // Convergence loop - max 5 iterations
1488 |         // If layout triggers changes that require re-layout, needsRelayout is set
     :
1806 |     struct LayoutViewport: NSViewInvalidating {
1807 |
1808 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1809 |             guard let textView = view as? STTextView else {
1810 |                 return
1811 |             }
1812 |
1813 |             textView.layoutViewport()
     |                      `- warning: call to main actor-isolated instance method 'layoutViewport()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1814 |         }
1815 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegate.swift:139:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |     func textView(_ textView: STTextView, insertCompletionItem item: any STCompletionItem) {}
137 |
138 |     func textViewCompletionViewController(_ textView: STTextView) -> any STCompletionViewControllerProtocol {
    |          `- note: add '@MainActor' to make instance method 'textViewCompletionViewController' part of global actor 'MainActor'
139 |         STCompletionViewController()
    |         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 |     }
141 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:32:37: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 30 |     func textView(_ textView: STTextView, shouldChangeTextIn affectedCharRange: NSTextRange, replacementString: String?) -> Bool {
 31 |         var result = source?.textView(textView, shouldChangeTextIn: affectedCharRange, replacementString: replacementString) ?? true
 32 |         result = result && textView.plugins.events.reduce(result) { partialResult, events in
    |                                     `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 33 |             partialResult && events.shouldChangeTextHandler?(affectedCharRange, replacementString) ?? true
 34 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:41:32: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 36 |     }
 37 |
 38 |     func textView(_ textView: STTextView, willChangeTextIn affectedCharRange: NSTextRange, replacementString: String) {
    |          `- note: add '@MainActor' to make instance method 'textView(_:willChangeTextIn:replacementString:)' part of global actor 'MainActor'
 39 |         source?.textView(textView, willChangeTextIn: affectedCharRange, replacementString: replacementString)
 40 |
 41 |         for events in textView.plugins.events {
    |                                `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |             events.willChangeTextHandler?(affectedCharRange, replacementString)
 43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:49:32: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     func textView(_ textView: STTextView, didChangeTextIn affectedCharRange: NSTextRange, replacementString: String) {
    |          `- note: add '@MainActor' to make instance method 'textView(_:didChangeTextIn:replacementString:)' part of global actor 'MainActor'
 47 |         source?.textView(textView, didChangeTextIn: affectedCharRange, replacementString: replacementString)
 48 |
 49 |         for events in textView.plugins.events {
    |                                `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 50 |             events.didChangeTextHandler?(affectedCharRange, replacementString)
 51 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:56:49: warning: main actor-isolated property 'textLayoutManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     func textView(_ textView: STTextView, menu: NSMenu, for event: NSEvent, at location: NSTextLocation) -> NSMenu? {
    |          `- note: add '@MainActor' to make instance method 'textView(_:menu:for:at:)' part of global actor 'MainActor'
 56 |         guard let textContentManager = textView.textLayoutManager.textContentManager else {
    |                                                 `- warning: main actor-isolated property 'textLayoutManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 57 |             return nil
 58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:463:22: note: property declared here
 461 |     /// The manager that lays out text for the text view's text container.
 462 |     @objc
 463 |     open dynamic var textLayoutManager: NSTextLayoutManager {
     |                      `- note: property declared here
 464 |         willSet {
 465 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:63:36: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     func textView(_ textView: STTextView, menu: NSMenu, for event: NSEvent, at location: NSTextLocation) -> NSMenu? {
    |          `- note: add '@MainActor' to make instance method 'textView(_:menu:for:at:)' part of global actor 'MainActor'
 56 |         guard let textContentManager = textView.textLayoutManager.textContentManager else {
 57 |             return nil
    :
 61 |
 62 |         // Append plugins menus
 63 |         let pluginMenus = textView.plugins.events.compactMap { events in
    |                                    `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |             events.onContextMenuHandler?(location, textContentManager)
 65 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:97:63: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |
 96 |     func textViewCompletionViewController(_ textView: STTextView) -> any STCompletionViewControllerProtocol {
 97 |         source?.textViewCompletionViewController(textView) ?? STCompletionViewController()
    |                                                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:763:16: warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 761 |
 762 |     deinit {
 763 |         guard !plugins.isEmpty else { return }
     |                `- warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 764 |         Task { @MainActor [plugins] in
 765 |             for plugin in plugins {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/Plugin/Plugin.swift:4:8: note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 2 | //  https://github.com/krzyzanowskim/STTextView/blob/main/LICENSE.md
 3 |
 4 | struct Plugin {
   |        `- note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 5 |     let instance: any STPlugin
 6 |     var events: STPluginEvents?
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:764:28: warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 762 |     deinit {
 763 |         guard !plugins.isEmpty else { return }
 764 |         Task { @MainActor [plugins] in
     |                            `- warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 765 |             for plugin in plugins {
 766 |                 plugin.instance.tearDown()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/Plugin/Plugin.swift:4:8: note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 2 | //  https://github.com/krzyzanowskim/STTextView/blob/main/LICENSE.md
 3 |
 4 | struct Plugin {
   |        `- note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 5 |     let instance: any STPlugin
 6 |     var events: STPluginEvents?
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:798:26: warning: sending value of non-Sendable type 'Any?' risks causing data races; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
     |                          |- warning: sending value of non-Sendable type 'Any?' risks causing data races; this is an error in the Swift 6 language mode
     |                          `- note: sending main actor-isolated value of non-Sendable type 'Any?' to main actor-isolated instance method 'cancelComplete' risks causing races in between main actor-isolated and main actor-isolated uses
 799 |                 }
 800 |             }
[124/124] Compiling STTextViewAppKit YankingManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Insert.swift:60:24: warning: main actor-isolated instance method 'insertText' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
58 |     }
59 |
60 |     override open func insertText(_ insertString: Any) {
   |                        |- warning: main actor-isolated instance method 'insertText' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
   |                        `- note: add 'nonisolated' to 'insertText' to make this instance method not isolated to the actor
61 |         insertText(insertString, replacementRange: .notFound)
62 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:30:32: note: add '@preconcurrency' to the 'NSTextInput' conformance to defer isolation checking to run time
  28 | /// A TextKit2 text view without NSTextView baggage
  29 | @objc
  30 | open class STTextView: NSView, NSTextInput, NSTextContent, STTextViewProtocol {
     |                                `- note: add '@preconcurrency' to the 'NSTextInput' conformance to defer isolation checking to run time
  31 |     /// Posted before an object performs any operation that changes characters or formatting attributes.
  32 |     public static let textWillChangeNotification = NSNotification.Name("NSTextWillChangeNotification")
AppKit.NSResponder.doCommand:3:24: warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
1 | class NSResponder {
2 | @available(macOS 10.0, *)
3 |   @MainActor open func doCommand(by selector: Selector)}
  |                        |- warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
  |                        `- note: add 'nonisolated' to 'doCommand(by:)' to make this instance method not isolated to the actor
4 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:115:23: warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
113 |     /// The text view should accept the marked text as if it had been inserted normally.
114 |     /// If there is no marked text, the invocation of this method has no effect.
115 |     @objc public func unmarkText() {
    |                       |- warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'unmarkText()' to make this instance method not isolated to the actor
116 |         if hasMarkedText() {
117 |             // Delete temporary marked text. It's been replaced with final text in insertText
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:140:23: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
138 |
139 |     /// Returns whether or not the receiver has marked text.
140 |     @objc public func hasMarkedText() -> Bool {
    |                       |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
141 |         markedText != nil
142 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:131:23: warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
129 |     /// The returned range measures from the start of the receiver’s text storage.
130 |     /// The return value’s location is NSNotFound and its length is 0 if and only if hasMarkedText() returns false.
131 |     @objc public func markedRange() -> NSRange {
    |                       |- warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'markedRange()' to make this instance method not isolated to the actor
132 |         if !hasMarkedText() {
133 |             return .notFound
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:9:23: warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
  7 | extension STTextView: NSTextInputClient {
  8 |
  9 |     @objc public func selectedRange() -> NSRange {
    |                       |- warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'selectedRange()' to make this instance method not isolated to the actor
 10 |         if let selectionTextRange = textLayoutManager.textSelections.last?.textRanges.last {
 11 |             return NSRange(selectionTextRange, in: textContentManager)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:188:23: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     @objc public func characterIndex(for point: CGPoint) -> Int {
    |                       |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInput'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
189 |         let eventPoint = contentView.convert(window!.convertPoint(fromScreen: point), from: nil)
190 |         guard let location = textLayoutManager.caretLocation(interactingAt: eventPoint, inContainerAt: textLayoutManager.documentRange.location) else {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:414:14: warning: main actor-isolated property 'contentType' cannot be used to satisfy nonisolated requirement from protocol 'NSTextContent'; this is an error in the Swift 6 language mode
  28 | /// A TextKit2 text view without NSTextView baggage
  29 | @objc
  30 | open class STTextView: NSView, NSTextInput, NSTextContent, STTextViewProtocol {
     |                                             `- note: add '@preconcurrency' to the 'NSTextContent' conformance to defer isolation checking to run time
  31 |     /// Posted before an object performs any operation that changes characters or formatting attributes.
  32 |     public static let textWillChangeNotification = NSNotification.Name("NSTextWillChangeNotification")
     :
 412 |
 413 |     /// The semantic meaning for a text input area.
 414 |     open var contentType: NSTextContentType?
     |              `- warning: main actor-isolated property 'contentType' cannot be used to satisfy nonisolated requirement from protocol 'NSTextContent'; this is an error in the Swift 6 language mode
 415 |
 416 |     /// A Boolean value that indicates whether the receiver allows undo.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextContent.h:62:46: note: requirement 'contentType' declared here
60 |
61 | @protocol NSTextContent
62 | @property (nullable, copy) NSTextContentType contentType API_AVAILABLE(macos(11.0));
   |                                              `- note: requirement 'contentType' declared here
63 | @end
64 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:38:23: warning: main actor-isolated static property 'didChangeSelectionNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  28 | /// A TextKit2 text view without NSTextView baggage
  29 | @objc
  30 | open class STTextView: NSView, NSTextInput, NSTextContent, STTextViewProtocol {
     |                                                            `- note: add '@preconcurrency' to the 'STTextViewProtocol' conformance to defer isolation checking to run time
  31 |     /// Posted before an object performs any operation that changes characters or formatting attributes.
  32 |     public static let textWillChangeNotification = NSNotification.Name("NSTextWillChangeNotification")
     :
  36 |
  37 |     /// Sent when the selection range of characters changes.
  38 |     public static let didChangeSelectionNotification = STTextLayoutManager.didChangeSelectionNotification
     |                       `- warning: main actor-isolated static property 'didChangeSelectionNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:18:16: note: requirement 'didChangeSelectionNotification' declared here
16 |     associatedtype Delegate
17 |
18 |     static var didChangeSelectionNotification: NSNotification.Name { get }
   |                `- note: requirement 'didChangeSelectionNotification' declared here
19 |     static var textWillChangeNotification: NSNotification.Name { get }
20 |     static var textDidChangeNotification: NSNotification.Name { get }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:32:23: warning: main actor-isolated static property 'textWillChangeNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  30 | open class STTextView: NSView, NSTextInput, NSTextContent, STTextViewProtocol {
  31 |     /// Posted before an object performs any operation that changes characters or formatting attributes.
  32 |     public static let textWillChangeNotification = NSNotification.Name("NSTextWillChangeNotification")
     |                       `- warning: main actor-isolated static property 'textWillChangeNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  33 |
  34 |     /// Sent when the text in the receiving control changes.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:19:16: note: requirement 'textWillChangeNotification' declared here
17 |
18 |     static var didChangeSelectionNotification: NSNotification.Name { get }
19 |     static var textWillChangeNotification: NSNotification.Name { get }
   |                `- note: requirement 'textWillChangeNotification' declared here
20 |     static var textDidChangeNotification: NSNotification.Name { get }
21 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:35:23: warning: main actor-isolated static property 'textDidChangeNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  33 |
  34 |     /// Sent when the text in the receiving control changes.
  35 |     public static let textDidChangeNotification = NSText.didChangeNotification
     |                       `- warning: main actor-isolated static property 'textDidChangeNotification' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  36 |
  37 |     /// Sent when the selection range of characters changes.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:20:16: note: requirement 'textDidChangeNotification' declared here
18 |     static var didChangeSelectionNotification: NSNotification.Name { get }
19 |     static var textWillChangeNotification: NSNotification.Name { get }
20 |     static var textDidChangeNotification: NSNotification.Name { get }
   |                `- note: requirement 'textDidChangeNotification' declared here
21 |
22 |     var textLayoutManager: NSTextLayoutManager { get }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:463:22: warning: main actor-isolated property 'textLayoutManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 461 |     /// The manager that lays out text for the text view's text container.
 462 |     @objc
 463 |     open dynamic var textLayoutManager: NSTextLayoutManager {
     |                      `- warning: main actor-isolated property 'textLayoutManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 464 |         willSet {
 465 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:22:9: note: requirement 'textLayoutManager' declared here
20 |     static var textDidChangeNotification: NSNotification.Name { get }
21 |
22 |     var textLayoutManager: NSTextLayoutManager { get }
   |         `- note: requirement 'textLayoutManager' declared here
23 |     var textContentManager: NSTextContentManager { get }
24 |     var textContainer: NSTextContainer { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:483:22: warning: main actor-isolated property 'textContentManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 481 |     /// The text view's text storage object.
 482 |     @objc
 483 |     open dynamic var textContentManager: NSTextContentManager {
     |                      `- warning: main actor-isolated property 'textContentManager' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 484 |         willSet {
 485 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:23:9: note: requirement 'textContentManager' declared here
21 |
22 |     var textLayoutManager: NSTextLayoutManager { get }
23 |     var textContentManager: NSTextContentManager { get }
   |         `- note: requirement 'textContentManager' declared here
24 |     var textContainer: NSTextContainer { get set }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:495:16: warning: main actor-isolated property 'textContainer' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 493 |
 494 |     /// The text view's text container
 495 |     public var textContainer: NSTextContainer {
     |                `- warning: main actor-isolated property 'textContainer' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 496 |         get {
 497 |             textLayoutManager.textContainer!
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:24:9: note: requirement 'textContainer' declared here
22 |     var textLayoutManager: NSTextLayoutManager { get }
23 |     var textContentManager: NSTextContentManager { get }
24 |     var textContainer: NSTextContainer { get set }
   |         `- note: requirement 'textContainer' declared here
25 |
26 |     var widthTracksTextView: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:334:16: warning: main actor-isolated property 'widthTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 332 |     @available(*, deprecated, renamed: "isHorizontallyResizable")
 333 |     @objc
 334 |     public var widthTracksTextView: Bool {
     |                `- warning: main actor-isolated property 'widthTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 335 |         set { isHorizontallyResizable = !newValue }
 336 |         get { !isHorizontallyResizable }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:26:9: note: requirement 'widthTracksTextView' declared here
24 |     var textContainer: NSTextContainer { get set }
25 |
26 |     var widthTracksTextView: Bool { get set }
   |         `- note: requirement 'widthTracksTextView' declared here
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:317:16: warning: main actor-isolated property 'isHorizontallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 315 |     /// When `false`, text wraps at the view width.
 316 |     @objc
 317 |     public var isHorizontallyResizable: Bool {
     |                `- warning: main actor-isolated property 'isHorizontallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 318 |         set {
 319 |             if _isHorizontallyResizable != newValue {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:27:9: note: requirement 'isHorizontallyResizable' declared here
25 |
26 |     var widthTracksTextView: Bool { get set }
27 |     var isHorizontallyResizable: Bool { get set }
   |         `- note: requirement 'isHorizontallyResizable' declared here
28 |     var heightTracksTextView: Bool { get set }
29 |     var isVerticallyResizable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:362:16: warning: main actor-isolated property 'heightTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 360 |     @available(*, deprecated, renamed: "isVerticallyResizable")
 361 |     @objc
 362 |     public var heightTracksTextView: Bool {
     |                `- warning: main actor-isolated property 'heightTracksTextView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 363 |         set { isVerticallyResizable = !newValue }
 364 |         get { !isVerticallyResizable }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:28:9: note: requirement 'heightTracksTextView' declared here
26 |     var widthTracksTextView: Bool { get set }
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
   |         `- note: requirement 'heightTracksTextView' declared here
29 |     var isVerticallyResizable: Bool { get set }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:345:16: warning: main actor-isolated property 'isVerticallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 343 |     /// When `false`, content is clipped at the view height.
 344 |     @objc
 345 |     public var isVerticallyResizable: Bool {
     |                `- warning: main actor-isolated property 'isVerticallyResizable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 346 |         set {
 347 |             if _isVerticallyResizable != newValue {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:29:9: note: requirement 'isVerticallyResizable' declared here
27 |     var isHorizontallyResizable: Bool { get set }
28 |     var heightTracksTextView: Bool { get set }
29 |     var isVerticallyResizable: Bool { get set }
   |         `- note: requirement 'isVerticallyResizable' declared here
30 |
31 |     var highlightSelectedLine: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:370:22: warning: main actor-isolated property 'highlightSelectedLine' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 368 |     @MainActor @Invalidating(.layoutViewport)
 369 |     @objc
 370 |     open dynamic var highlightSelectedLine = false
     |                      `- warning: main actor-isolated property 'highlightSelectedLine' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 371 |
 372 |     /// Enable to show line numbers in the gutter.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:31:9: note: requirement 'highlightSelectedLine' declared here
29 |     var isVerticallyResizable: Bool { get set }
30 |
31 |     var highlightSelectedLine: Bool { get set }
   |         `- note: requirement 'highlightSelectedLine' declared here
32 |     var selectedLineHighlightColor: Color { get set }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:388:22: warning: main actor-isolated property 'selectedLineHighlightColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 386 |     @Invalidating(.display)
 387 |     @objc
 388 |     open dynamic var selectedLineHighlightColor = NSColor.selectedTextBackgroundColor.withAlphaComponent(0.25)
     |                      `- warning: main actor-isolated property 'selectedLineHighlightColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 389 |
 390 |     /// The text view's background color
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:32:9: note: requirement 'selectedLineHighlightColor' declared here
30 |
31 |     var highlightSelectedLine: Bool { get set }
32 |     var selectedLineHighlightColor: Color { get set }
   |         `- note: requirement 'selectedLineHighlightColor' declared here
33 |
34 |     var showsLineNumbers: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:374:14: warning: main actor-isolated property 'showsLineNumbers' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 372 |     /// Enable to show line numbers in the gutter.
 373 |     @MainActor @Invalidating(.layout)
 374 |     open var showsLineNumbers = false {
     |              `- warning: main actor-isolated property 'showsLineNumbers' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 375 |         didSet {
 376 |             isGutterVisible = showsLineNumbers
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:34:9: note: requirement 'showsLineNumbers' declared here
32 |     var selectedLineHighlightColor: Color { get set }
33 |
34 |     var showsLineNumbers: Bool { get set }
   |         `- note: requirement 'showsLineNumbers' declared here
35 |     var showsInvisibleCharacters: Bool { get set }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:590:16: warning: main actor-isolated property 'showsInvisibleCharacters' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 588 |     /// A Boolean value that indicates whether to substitute visible glyphs for whitespace and other typically invisible characters.
 589 |     @Invalidating(.layoutViewport, .display)
 590 |     public var showsInvisibleCharacters = false {
     |                `- warning: main actor-isolated property 'showsInvisibleCharacters' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 591 |         willSet {
 592 |             textLayoutManager.invalidateLayout(for: textLayoutManager.textViewportLayoutController.viewportRange ?? textLayoutManager.documentRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:35:9: note: requirement 'showsInvisibleCharacters' declared here
33 |
34 |     var showsLineNumbers: Bool { get set }
35 |     var showsInvisibleCharacters: Bool { get set }
   |         `- note: requirement 'showsInvisibleCharacters' declared here
36 |
37 |     var font: Font { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:103:16: warning: main actor-isolated property 'font' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 101 |     @MainActor
 102 |     @objc
 103 |     public var font: NSFont {
     |                `- warning: main actor-isolated property 'font' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 104 |         get {
 105 |             _defaultTypingAttributes[.font] as! NSFont
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:37:9: note: requirement 'font' declared here
35 |     var showsInvisibleCharacters: Bool { get set }
36 |
37 |     var font: Font { get set }
   |         `- note: requirement 'font' declared here
38 |     var textColor: Color { get set }
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:127:16: warning: main actor-isolated property 'textColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 125 |     @MainActor
 126 |     @objc
 127 |     public var textColor: NSColor {
     |                `- warning: main actor-isolated property 'textColor' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 128 |         get {
 129 |             _defaultTypingAttributes[.foregroundColor] as! NSColor
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:38:9: note: requirement 'textColor' declared here
36 |
37 |     var font: Font { get set }
38 |     var textColor: Color { get set }
   |         `- note: requirement 'textColor' declared here
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:149:16: warning: main actor-isolated property 'defaultParagraphStyle' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 147 |     @MainActor
 148 |     @objc
 149 |     public var defaultParagraphStyle: NSParagraphStyle {
     |                `- warning: main actor-isolated property 'defaultParagraphStyle' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 150 |         set {
 151 |             _defaultTypingAttributes[.paragraphStyle] = newValue
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:39:9: note: requirement 'defaultParagraphStyle' declared here
37 |     var font: Font { get set }
38 |     var textColor: Color { get set }
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
   |         `- note: requirement 'defaultParagraphStyle' declared here
40 |
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:170:16: warning: main actor-isolated property 'typingAttributes' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 168 |     /// When the text view’s selection changes, the contents of the dictionary are reset automatically.
 169 |     @objc
 170 |     public var typingAttributes: [NSAttributedString.Key: Any] {
     |                `- warning: main actor-isolated property 'typingAttributes' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 171 |         get {
 172 |             _typingAttributes.merging(_defaultTypingAttributes) { (current, _) in current }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:41:9: note: requirement 'typingAttributes' declared here
39 |     var defaultParagraphStyle: NSParagraphStyle { get set }
40 |
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
   |         `- note: requirement 'typingAttributes' declared here
42 |
43 |     var text: String? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:266:14: warning: main actor-isolated property 'text' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 264 |     /// If you want to maintain a snapshot of this as you manipulate the text storage, you should make a copy of the appropriate substring.
 265 |     @objc
 266 |     open var text: String? {
     |              `- warning: main actor-isolated property 'text' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 267 |         set {
 268 |             let prevLocation = textLayoutManager.insertionPointLocations.first
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:43:9: note: requirement 'text' declared here
41 |     var typingAttributes: [NSAttributedString.Key: Any] { get set }
42 |
43 |     var text: String? { get set }
   |         `- note: requirement 'text' declared here
44 |     var attributedText: NSAttributedString? { get set }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:290:14: warning: main actor-isolated property 'attributedText' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 288 |     /// Assigning a new value to this property also replaces the value of the `text` property with the same string data, albeit without any formatting information. In addition, the `font`, `textColor`, and `textAlignment` properties are updated to reflect the typing attributes of the text view.
 289 |     @objc
 290 |     open var attributedText: NSAttributedString? {
     |              `- warning: main actor-isolated property 'attributedText' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 291 |         set {
 292 |             let prevLocation = textLayoutManager.insertionPointLocations.first
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:44:9: note: requirement 'attributedText' declared here
42 |
43 |     var text: String? { get set }
44 |     var attributedText: NSAttributedString? { get set }
   |         `- note: requirement 'attributedText' declared here
45 |
46 |     var isEditable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:46:22: warning: main actor-isolated property 'isEditable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  44 |     @Invalidating(.insertionPoint, .cursorRects)
  45 |     @objc
  46 |     open dynamic var isEditable = true {
     |                      `- warning: main actor-isolated property 'isEditable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  47 |         didSet {
  48 |             if isEditable == true {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:46:9: note: requirement 'isEditable' declared here
44 |     var attributedText: NSAttributedString? { get set }
45 |
46 |     var isEditable: Bool { get set }
   |         `- note: requirement 'isEditable' declared here
47 |     var isSelectable: Bool { get set }
48 |     var allowsUndo: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:57:22: warning: main actor-isolated property 'isSelectable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  55 |     @Invalidating(.insertionPoint, .cursorRects)
  56 |     @objc
  57 |     open dynamic var isSelectable = true {
     |                      `- warning: main actor-isolated property 'isSelectable' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
  58 |         didSet {
  59 |             if isSelectable == false {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:47:9: note: requirement 'isSelectable' declared here
45 |
46 |     var isEditable: Bool { get set }
47 |     var isSelectable: Bool { get set }
   |         `- note: requirement 'isSelectable' declared here
48 |     var allowsUndo: Bool { get set }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:420:22: warning: main actor-isolated property 'allowsUndo' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 418 |     /// `true` if the receiver allows undo, otherwise `false`. Default `true`.
 419 |     @objc
 420 |     open dynamic var allowsUndo: Bool
     |                      `- warning: main actor-isolated property 'allowsUndo' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 421 |     var _undoManager: UndoManager?
 422 |     var _yankingManager = YankingManager()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:48:9: note: requirement 'allowsUndo' declared here
46 |     var isEditable: Bool { get set }
47 |     var isSelectable: Bool { get set }
48 |     var allowsUndo: Bool { get set }
   |         `- note: requirement 'allowsUndo' declared here
49 |
50 |     var textDelegate: Delegate? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:448:21: warning: main actor-isolated property 'textDelegate' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 446 |
 447 |     /// The delegate for all text views sharing the same layout manager.
 448 |     public weak var textDelegate: (any STTextViewDelegate)? {
     |                     `- warning: main actor-isolated property 'textDelegate' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 449 |         set {
 450 |             delegateProxy.source = newValue
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:50:9: note: requirement 'textDelegate' declared here
48 |     var allowsUndo: Bool { get set }
49 |
50 |     var textDelegate: Delegate? { get set }
   |         `- note: requirement 'textDelegate' declared here
51 |
52 |     var gutterView: GutterView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:381:16: warning: main actor-isolated property 'gutterView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 379 |
 380 |     /// Gutter view
 381 |     public var gutterView: STGutterView?
     |                `- warning: main actor-isolated property 'gutterView' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 382 |
 383 |     /// The highlight color of the selected line.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:52:9: note: requirement 'gutterView' declared here
50 |     var textDelegate: Delegate? { get set }
51 |
52 |     var gutterView: GutterView? { get }
   |         `- note: requirement 'gutterView' declared here
53 |     func toggleRuler(_ sender: Any?)
54 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Gutter.swift:12:23: warning: main actor-isolated instance method 'toggleRuler' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
 10 |
 11 |     /// This action method shows or hides the ruler, if the receiver is enclosed in a scroll view.
 12 |     @objc public func toggleRuler(_ sender: Any?) {
    |                       |- warning: main actor-isolated instance method 'toggleRuler' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
    |                       `- note: add 'nonisolated' to 'toggleRuler' to make this instance method not isolated to the actor
 13 |         isGutterVisible.toggle()
 14 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:53:10: note: mark the protocol requirement 'toggleRuler' 'async' to allow actor-isolated conformances
51 |
52 |     var gutterView: GutterView? { get }
53 |     func toggleRuler(_ sender: Any?)
   |          `- note: mark the protocol requirement 'toggleRuler' 'async' to allow actor-isolated conformances
54 |
55 |     var textSelection: NSRange { get set }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1034:16: warning: main actor-isolated property 'textSelection' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1032 |     ///
1033 |     /// If the length of the selection range is 0, indicating that the selection is actually an insertion point
1034 |     public var textSelection: NSRange {
     |                `- warning: main actor-isolated property 'textSelection' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1035 |         set {
1036 |             setSelectedRange(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:55:9: note: requirement 'textSelection' declared here
53 |     func toggleRuler(_ sender: Any?)
54 |
55 |     var textSelection: NSRange { get set }
   |         `- note: requirement 'textSelection' declared here
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1079:15: warning: main actor-isolated instance method 'addAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1077 |
1078 |     /// Add attribute.
1079 |     open func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange) {
     |               |- warning: main actor-isolated instance method 'addAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'addAttributes(_:range:)' to make this instance method not isolated to the actor
1080 |         addAttributes(attrs, range: range, updateLayout: true)
1081 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:57:10: note: mark the protocol requirement 'addAttributes(_:range:)' 'async' to allow actor-isolated conformances
55 |     var textSelection: NSRange { get set }
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
   |          `- note: mark the protocol requirement 'addAttributes(_:range:)' 'async' to allow actor-isolated conformances
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1113:15: warning: main actor-isolated instance method 'setAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1111 |
1112 |     /// Set attributes.
1113 |     open func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange) {
     |               |- warning: main actor-isolated instance method 'setAttributes(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'setAttributes(_:range:)' to make this instance method not isolated to the actor
1114 |         setAttributes(attrs, range: range, updateLayout: true)
1115 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:58:10: note: mark the protocol requirement 'setAttributes(_:range:)' 'async' to allow actor-isolated conformances
56 |
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
   |          `- note: mark the protocol requirement 'setAttributes(_:range:)' 'async' to allow actor-isolated conformances
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
60 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1149:15: warning: main actor-isolated instance method 'removeAttribute(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1147 |
1148 |     /// Remove attributes.
1149 |     open func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange) {
     |               |- warning: main actor-isolated instance method 'removeAttribute(_:range:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'removeAttribute(_:range:)' to make this instance method not isolated to the actor
1150 |         removeAttribute(attribute, range: range, updateLayout: true)
1151 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:59:10: note: mark the protocol requirement 'removeAttribute(_:range:)' 'async' to allow actor-isolated conformances
57 |     func addAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
58 |     func setAttributes(_ attrs: [NSAttributedString.Key: Any], range: NSRange)
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
   |          `- note: mark the protocol requirement 'removeAttribute(_:range:)' 'async' to allow actor-isolated conformances
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1705:15: warning: main actor-isolated instance method 'shouldChangeText(in:replacementString:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1703 |     /// this method should be called with information on the change.
1704 |     /// Coalesce consecutive typing events
1705 |     open func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool {
     |               |- warning: main actor-isolated instance method 'shouldChangeText(in:replacementString:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'shouldChangeText(in:replacementString:)' to make this instance method not isolated to the actor
1706 |         let result = delegateProxy.textView(self, shouldChangeTextIn: affectedTextRange, replacementString: replacementString)
1707 |         if !result {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:61:10: note: mark the protocol requirement 'shouldChangeText(in:replacementString:)' 'async' to allow actor-isolated conformances
59 |     func removeAttribute(_ attribute: NSAttributedString.Key, range: NSRange)
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
   |          `- note: mark the protocol requirement 'shouldChangeText(in:replacementString:)' 'async' to allow actor-isolated conformances
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
63 |     func insertText(_ string: Any, replacementRange: NSRange)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1630:15: warning: main actor-isolated instance method 'replaceCharacters(in:with:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
1628 |     }
1629 |
1630 |     open func replaceCharacters(in range: NSTextRange, with string: String) {
     |               |- warning: main actor-isolated instance method 'replaceCharacters(in:with:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
     |               `- note: add 'nonisolated' to 'replaceCharacters(in:with:)' to make this instance method not isolated to the actor
1631 |         replaceCharacters(in: range, with: string, useTypingAttributes: true, allowsTypingCoalescing: false)
1632 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:62:10: note: mark the protocol requirement 'replaceCharacters(in:with:)' 'async' to allow actor-isolated conformances
60 |
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
   |          `- note: mark the protocol requirement 'replaceCharacters(in:with:)' 'async' to allow actor-isolated conformances
63 |     func insertText(_ string: Any, replacementRange: NSRange)
64 | }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:197:21: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
195 |     }
196 |
197 |     @objc open func insertText(_ string: Any, replacementRange: NSRange) {
    |                     |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'STTextViewProtocol'; this is an error in the Swift 6 language mode
    |                     `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
198 |         unmarkText()
199 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewCommon/STTextViewProtocol.swift:63:10: note: mark the protocol requirement 'insertText(_:replacementRange:)' 'async' to allow actor-isolated conformances
61 |     func shouldChangeText(in affectedTextRange: NSTextRange, replacementString: String?) -> Bool
62 |     func replaceCharacters(in range: NSTextRange, with string: String)
63 |     func insertText(_ string: Any, replacementRange: NSRange)
   |          `- note: mark the protocol requirement 'insertText(_:replacementRange:)' 'async' to allow actor-isolated conformances
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:783:13: warning: main actor-isolated property '_yankingManager' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 420 |     open dynamic var allowsUndo: Bool
 421 |     var _undoManager: UndoManager?
 422 |     var _yankingManager = YankingManager()
     |         `- note: property declared here
 423 |
 424 |     var markedText: STMarkedText?
     :
 781 |             guard let self else { return }
 782 |
 783 |             _yankingManager.selectionChanged()
     |             `- warning: main actor-isolated property '_yankingManager' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 784 |
 785 |             let textViewNotification = Notification(name: Self.didChangeSelectionNotification, object: self, userInfo: notification.userInfo)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:785:64: warning: main actor-isolated static property 'didChangeSelectionNotification' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
  36 |
  37 |     /// Sent when the selection range of characters changes.
  38 |     public static let didChangeSelectionNotification = STTextLayoutManager.didChangeSelectionNotification
     |                       `- note: static property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
     :
 783 |             _yankingManager.selectionChanged()
 784 |
 785 |             let textViewNotification = Notification(name: Self.didChangeSelectionNotification, object: self, userInfo: notification.userInfo)
     |                                                                `- warning: main actor-isolated static property 'didChangeSelectionNotification' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 786 |
 787 |             NotificationCenter.default.post(textViewNotification)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:788:18: warning: main actor-isolated property 'delegateProxy' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 457 |
 458 |     /// Proxy for delegate calls
 459 |     let delegateProxy = STTextViewDelegateProxy(source: nil)
     |         `- note: property declared here
 460 |
 461 |     /// The manager that lays out text for the text view's text container.
     :
 786 |
 787 |             NotificationCenter.default.post(textViewNotification)
 788 |             self.delegateProxy.textViewDidChangeSelection(textViewNotification)
     |                  `- warning: main actor-isolated property 'delegateProxy' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 789 |
 790 |             NSAccessibility.post(element: self, notification: .selectedTextChanged)
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:793:21: warning: main actor-isolated property 'shouldDimissCompletionOnSelectionChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 544 |     ///
 545 |     /// Automatically call ``cancelComplete(_:)`` when `true`.
 546 |     open var shouldDimissCompletionOnSelectionChange = true
     |              `- note: property declared here
 547 |
 548 |     var _completionTask: Task<Void, any Error>?
     :
 791 |
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
     |                     `- warning: main actor-isolated property 'shouldDimissCompletionOnSelectionChange' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:794:26: warning: main actor-isolated property 'currentEvent' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
     |                          `- warning: main actor-isolated property 'currentEvent' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:794:20: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 792 |             // Cancel completinon on selection change
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
     |                    `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:28: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                            `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:22: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                      `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:68: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                                                                    `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:795:62: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 793 |             if self.shouldDimissCompletionOnSelectionChange {
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
     |                                                              `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:796:27: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
     |                           `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:796:21: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 794 |                 if NSApp.currentEvent == nil ||
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
     |                     `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:797:29: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
     |                             `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 798 |                     self.cancelComplete(textViewNotification.object)
 799 |                 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
    |                                                 `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:797:23: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 795 |                     (NSApp.currentEvent?.type != .keyDown && NSApp.currentEvent?.type != .keyUp) ||
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
     |                       `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 798 |                     self.cancelComplete(textViewNotification.object)
 799 |                 }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
    |                                                          `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:798:26: warning: call to main actor-isolated instance method 'cancelComplete' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
     |                          `- warning: call to main actor-isolated instance method 'cancelComplete' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 799 |                 }
 800 |             }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Complete.swift:31:21: note: calls to instance method 'cancelComplete' from outside of its actor context are implicitly asynchronous
 29 |     /// see ``complete(_:)``
 30 |     @preconcurrency @MainActor
 31 |     @objc open func cancelComplete(_ sender: Any?) {
    |                     `- note: calls to instance method 'cancelComplete' from outside of its actor context are implicitly asynchronous
 32 |         _completionTask?.cancel()
 33 |         _completionWindowController?.close()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:808:19: warning: main actor-isolated property 'needsUpdateConstraints' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 806 |         _usageBoundsForTextContainerObserver = textLayoutManager.observe(\.usageBoundsForTextContainer, options: [.initial, .new]) { [weak self] _, _ in
 807 |             // FB13291926: Notification no longer works. Fixed again in macOS 15.6
 808 |             self?.needsUpdateConstraints = true
     |                   `- warning: main actor-isolated property 'needsUpdateConstraints' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 809 |         }
 810 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSLayoutConstraint.h:267:16: note: mutation of this property is only permitted within the actor
265 | - (void)updateConstraintsForSubtreeIfNeeded API_AVAILABLE(macos(10.7));
266 | - (void)updateConstraints API_AVAILABLE(macos(10.7)) NS_REQUIRES_SUPER;
267 | @property BOOL needsUpdateConstraints API_AVAILABLE(macos(10.7));
    |                `- note: mutation of this property is only permitted within the actor
268 | @end
269 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1693:21: warning: capture of 'undoRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1691 |             // Regular undo action
1692 |             textView.replaceCharacters(
1693 |                 in: undoRange,
     |                     `- warning: capture of 'undoRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1694 |                 with: previousStringInRange,
1695 |                 allowsTypingCoalescing: false
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextRange.h:28:12: note: class 'NSTextRange' does not conform to the 'Sendable' protocol
26 | // NSTextRange represents a contiguous range between two locations inside document contents. It consists of the starting location and terminating location. They are the two basic properties, location and endLocation, respectively. The terminating location, endLocation, is directly following the last location in the range. So, a location is contained in a range if (range.location <= location) && (location < range.endLocation).
27 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0))
28 | @interface NSTextRange : NSObject
   |            `- note: class 'NSTextRange' does not conform to the 'Sendable' protocol
29 | #pragma mark Initialization
30 | // Returns an empty range when endLocation=nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1694:23: warning: capture of 'previousStringInRange' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
1692 |             textView.replaceCharacters(
1693 |                 in: undoRange,
1694 |                 with: previousStringInRange,
     |                       `- warning: capture of 'previousStringInRange' with non-sendable type 'NSAttributedString' in a '@Sendable' closure
1695 |                 allowsTypingCoalescing: false
1696 |             )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h:29:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 27 |
 28 | API_AVAILABLE(macos(10.0), ios(3.2), watchos(2.0), tvos(9.0))
 29 | @interface NSAttributedString : NSObject <NSCopying, NSMutableCopying, NSSecureCoding>
    |            `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
 30 |
 31 | // Override these two APIs when subclassing NSAttributedString
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1697:43: warning: capture of 'textRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1695 |                 allowsTypingCoalescing: false
1696 |             )
1697 |             textView.setSelectedTextRange(textRange, updateLayout: true)
     |                                           `- warning: capture of 'textRange' with non-sendable type 'NSTextRange' in a '@Sendable' closure
1698 |         }
1699 |         undoManager.endUndoGrouping()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextRange.h:28:12: note: class 'NSTextRange' does not conform to the 'Sendable' protocol
26 | // NSTextRange represents a contiguous range between two locations inside document contents. It consists of the starting location and terminating location. They are the two basic properties, location and endLocation, respectively. The terminating location, endLocation, is directly following the last location in the range. So, a location is contained in a range if (range.location <= location) && (location < range.endLocation).
27 | API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0), watchos(8.0), visionos(1.0))
28 | @interface NSTextRange : NSObject
   |            `- note: class 'NSTextRange' does not conform to the 'Sendable' protocol
29 | #pragma mark Initialization
30 | // Returns an empty range when endLocation=nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1692:22: warning: call to main actor-isolated instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1655 |     }
1656 |
1657 |     func replaceCharacters(in textRange: NSTextRange, with replacementString: NSAttributedString, allowsTypingCoalescing: Bool) {
     |          |- note: calls to instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' from outside of its actor context are implicitly asynchronous
     |          `- note: main actor isolation inferred from inheritance from class 'NSView'
1658 |         let previousStringInRange = (textContentManager as? NSTextContentStorage)!.attributedString!.attributedSubstring(from: NSRange(textRange, in: textContentManager))
1659 |
     :
1690 |         undoManager.registerUndo(withTarget: self) { textView in
1691 |             // Regular undo action
1692 |             textView.replaceCharacters(
     |                      `- warning: call to main actor-isolated instance method 'replaceCharacters(in:with:allowsTypingCoalescing:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1693 |                 in: undoRange,
1694 |                 with: previousStringInRange,
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1697:22: warning: call to main actor-isolated instance method 'setSelectedTextRange(_:updateLayout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1695 |                 allowsTypingCoalescing: false
1696 |             )
1697 |             textView.setSelectedTextRange(textRange, updateLayout: true)
     |                      `- warning: call to main actor-isolated instance method 'setSelectedTextRange(_:updateLayout:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1698 |         }
1699 |         undoManager.endUndoGrouping()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+Select.swift:9:10: note: calls to instance method 'setSelectedTextRange(_:updateLayout:)' from outside of its actor context are implicitly asynchronous
  7 | extension STTextView {
  8 |
  9 |     func setSelectedTextRange(_ textRange: NSTextRange, updateLayout: Bool) {
    |          |- note: calls to instance method 'setSelectedTextRange(_:updateLayout:)' from outside of its actor context are implicitly asynchronous
    |          `- note: main actor isolation inferred from inheritance from class 'NSView'
 10 |         guard isSelectable, textRange.endLocation <= textLayoutManager.documentRange.endLocation else {
 11 |             return
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1795:22: warning: call to main actor-isolated instance method 'updateInsertionPointStateAndRestartTimer()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1788 |     struct InsertionPoint: NSViewInvalidating {
1789 |
1790 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1791 |             guard let textView = view as? STTextView else {
1792 |                 return
1793 |             }
1794 |
1795 |             textView.updateInsertionPointStateAndRestartTimer()
     |                      `- warning: call to main actor-isolated instance method 'updateInsertionPointStateAndRestartTimer()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1796 |         }
1797 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+InsertionPoint.swift:11:17: note: calls to instance method 'updateInsertionPointStateAndRestartTimer()' from outside of its actor context are implicitly asynchronous
  9 |
 10 |     /// Updates the insertion point’s location and optionally restarts the blinking cursor timer.
 11 |     public func updateInsertionPointStateAndRestartTimer() {
    |                 |- note: calls to instance method 'updateInsertionPointStateAndRestartTimer()' from outside of its actor context are implicitly asynchronous
    |                 `- note: main actor isolation inferred from inheritance from class 'NSView'
 12 |         // Hide insertion point layers
 13 |         if shouldDrawInsertionPoint {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1802:26: warning: call to main actor-isolated instance method 'invalidateCursorRects(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1799 |     struct CursorRects: NSViewInvalidating {
1800 |
1801 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1802 |             view.window?.invalidateCursorRects(for: view)
     |                          `- warning: call to main actor-isolated instance method 'invalidateCursorRects(for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1803 |         }
1804 |     }
AppKit.NSWindow.invalidateCursorRects:2:22: note: calls to instance method 'invalidateCursorRects(for:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func invalidateCursorRects(for view: NSView)}
  |                      |- note: calls to instance method 'invalidateCursorRects(for:)' from outside of its actor context are implicitly asynchronous
  |                      `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1802:18: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1799 |     struct CursorRects: NSViewInvalidating {
1800 |
1801 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1802 |             view.window?.invalidateCursorRects(for: view)
     |                  `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
1803 |         }
1804 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
 84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 85 |
 86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
    |                                                             `- note: property declared here
 87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
 88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:1813:22: warning: call to main actor-isolated instance method 'layoutViewport()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1484 |     }
1485 |
1486 |     func layoutViewport() {
     |          |- note: calls to instance method 'layoutViewport()' from outside of its actor context are implicitly asynchronous
     |          `- note: main actor isolation inferred from inheritance from class 'NSView'
1487 |         // Convergence loop - max 5 iterations
1488 |         // If layout triggers changes that require re-layout, needsRelayout is set
     :
1806 |     struct LayoutViewport: NSViewInvalidating {
1807 |
1808 |         func invalidate(view: NSView) {
     |              `- note: add '@MainActor' to make instance method 'invalidate(view:)' part of global actor 'MainActor'
1809 |             guard let textView = view as? STTextView else {
1810 |                 return
1811 |             }
1812 |
1813 |             textView.layoutViewport()
     |                      `- warning: call to main actor-isolated instance method 'layoutViewport()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1814 |         }
1815 |     }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegate.swift:139:9: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
136 |     func textView(_ textView: STTextView, insertCompletionItem item: any STCompletionItem) {}
137 |
138 |     func textViewCompletionViewController(_ textView: STTextView) -> any STCompletionViewControllerProtocol {
    |          `- note: add '@MainActor' to make instance method 'textViewCompletionViewController' part of global actor 'MainActor'
139 |         STCompletionViewController()
    |         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
140 |     }
141 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:32:37: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 30 |     func textView(_ textView: STTextView, shouldChangeTextIn affectedCharRange: NSTextRange, replacementString: String?) -> Bool {
 31 |         var result = source?.textView(textView, shouldChangeTextIn: affectedCharRange, replacementString: replacementString) ?? true
 32 |         result = result && textView.plugins.events.reduce(result) { partialResult, events in
    |                                     `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 33 |             partialResult && events.shouldChangeTextHandler?(affectedCharRange, replacementString) ?? true
 34 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:41:32: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 36 |     }
 37 |
 38 |     func textView(_ textView: STTextView, willChangeTextIn affectedCharRange: NSTextRange, replacementString: String) {
    |          `- note: add '@MainActor' to make instance method 'textView(_:willChangeTextIn:replacementString:)' part of global actor 'MainActor'
 39 |         source?.textView(textView, willChangeTextIn: affectedCharRange, replacementString: replacementString)
 40 |
 41 |         for events in textView.plugins.events {
    |                                `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 42 |             events.willChangeTextHandler?(affectedCharRange, replacementString)
 43 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:49:32: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     }
 45 |
 46 |     func textView(_ textView: STTextView, didChangeTextIn affectedCharRange: NSTextRange, replacementString: String) {
    |          `- note: add '@MainActor' to make instance method 'textView(_:didChangeTextIn:replacementString:)' part of global actor 'MainActor'
 47 |         source?.textView(textView, didChangeTextIn: affectedCharRange, replacementString: replacementString)
 48 |
 49 |         for events in textView.plugins.events {
    |                                `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 50 |             events.didChangeTextHandler?(affectedCharRange, replacementString)
 51 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:56:49: warning: main actor-isolated property 'textLayoutManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     func textView(_ textView: STTextView, menu: NSMenu, for event: NSEvent, at location: NSTextLocation) -> NSMenu? {
    |          `- note: add '@MainActor' to make instance method 'textView(_:menu:for:at:)' part of global actor 'MainActor'
 56 |         guard let textContentManager = textView.textLayoutManager.textContentManager else {
    |                                                 `- warning: main actor-isolated property 'textLayoutManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 57 |             return nil
 58 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:463:22: note: property declared here
 461 |     /// The manager that lays out text for the text view's text container.
 462 |     @objc
 463 |     open dynamic var textLayoutManager: NSTextLayoutManager {
     |                      `- note: property declared here
 464 |         willSet {
 465 |             textContentManager.primaryTextLayoutManager = nil
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:63:36: warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |     }
 54 |
 55 |     func textView(_ textView: STTextView, menu: NSMenu, for event: NSEvent, at location: NSTextLocation) -> NSMenu? {
    |          `- note: add '@MainActor' to make instance method 'textView(_:menu:for:at:)' part of global actor 'MainActor'
 56 |         guard let textContentManager = textView.textLayoutManager.textContentManager else {
 57 |             return nil
    :
 61 |
 62 |         // Append plugins menus
 63 |         let pluginMenus = textView.plugins.events.compactMap { events in
    |                                    `- warning: main actor-isolated property 'plugins' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 64 |             events.onContextMenuHandler?(location, textContentManager)
 65 |         }
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:41:9: note: property declared here
  39 |
  40 |     /// Installed plugins. events value is available after plugin is setup
  41 |     var plugins: [Plugin] = []
     |         `- note: property declared here
  42 |
  43 |     /// A Boolean value that controls whether the text view allows the user to edit text.
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextViewDelegateProxy.swift:97:63: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 95 |
 96 |     func textViewCompletionViewController(_ textView: STTextView) -> any STCompletionViewControllerProtocol {
 97 |         source?.textViewCompletionViewController(textView) ?? STCompletionViewController()
    |                                                               `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
 21 | @interface NSResponder : NSObject <NSCoding>
 22 |
 23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
    | |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSResponder'
 24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:763:16: warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 761 |
 762 |     deinit {
 763 |         guard !plugins.isEmpty else { return }
     |                `- warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 764 |         Task { @MainActor [plugins] in
 765 |             for plugin in plugins {
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/Plugin/Plugin.swift:4:8: note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 2 | //  https://github.com/krzyzanowskim/STTextView/blob/main/LICENSE.md
 3 |
 4 | struct Plugin {
   |        `- note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 5 |     let instance: any STPlugin
 6 |     var events: STPluginEvents?
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:764:28: warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 762 |     deinit {
 763 |         guard !plugins.isEmpty else { return }
 764 |         Task { @MainActor [plugins] in
     |                            `- warning: cannot access property 'plugins' with a non-sendable type '[Plugin]' from nonisolated deinit; this is an error in the Swift 6 language mode
 765 |             for plugin in plugins {
 766 |                 plugin.instance.tearDown()
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/Plugin/Plugin.swift:4:8: note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 2 | //  https://github.com/krzyzanowskim/STTextView/blob/main/LICENSE.md
 3 |
 4 | struct Plugin {
   |        `- note: consider making struct 'Plugin' conform to the 'Sendable' protocol
 5 |     let instance: any STPlugin
 6 |     var events: STPluginEvents?
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:798:26: warning: sending value of non-Sendable type 'Any?' risks causing data races; this is an error in the Swift 6 language mode
 796 |                     NSApp.currentEvent?.characters == nil ||
 797 |                     !(NSApp.currentEvent?.characters?.contains(where: \.isLetter) ?? false) {
 798 |                     self.cancelComplete(textViewNotification.object)
     |                          |- warning: sending value of non-Sendable type 'Any?' risks causing data races; this is an error in the Swift 6 language mode
     |                          `- note: sending main actor-isolated value of non-Sendable type 'Any?' to main actor-isolated instance method 'cancelComplete' risks causing races in between main actor-isolated and main actor-isolated uses
 799 |                 }
 800 |             }
[125/126] Compiling STTextView module.swift
[126/126] Emitting module STTextView
[127/129] Compiling STTextViewSwiftUIAppKit TextViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextViewModifier.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | private struct FontEnvironmentKey: EnvironmentKey {
35 |     static var defaultValue: NSFont = .preferredFont(forTextStyle: .body)
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextViewModifier.swift:39:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | private struct LineHeightMultipleEnvironmentKey: EnvironmentKey {
39 |     static var defaultValue: CGFloat = 1.0
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
[128/129] Emitting module STTextViewSwiftUIAppKit
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextViewModifier.swift:35:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | private struct FontEnvironmentKey: EnvironmentKey {
35 |     static var defaultValue: NSFont = .preferredFont(forTextStyle: .body)
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextViewModifier.swift:39:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | private struct LineHeightMultipleEnvironmentKey: EnvironmentKey {
39 |     static var defaultValue: CGFloat = 1.0
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
[129/129] Compiling STTextViewSwiftUIAppKit TextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextView.swift:216:46: warning: main actor-isolated property 'attributedText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
209 |         }
210 |
211 |         func textViewDidChangeText(_ notification: Notification) {
    |              `- note: add '@MainActor' to make instance method 'textViewDidChangeText' part of global actor 'MainActor'
212 |             guard !isUpdating, let textView = notification.object as? STTextView else {
213 |                 return
214 |             }
215 |             isUserEditing = true
216 |             text = AttributedString(textView.attributedText ?? NSAttributedString())
    |                                              `- warning: main actor-isolated property 'attributedText' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
217 |         }
218 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView.swift:290:14: note: property declared here
 288 |     /// Assigning a new value to this property also replaces the value of the `text` property with the same string data, albeit without any formatting information. In addition, the `font`, `textColor`, and `textAlignment` properties are updated to reflect the typing attributes of the text view.
 289 |     @objc
 290 |     open var attributedText: NSAttributedString? {
     |              `- note: property declared here
 291 |         set {
 292 |             let prevLocation = textLayoutManager.insertionPointLocations.first
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewSwiftUIAppKit/TextView.swift:224:34: warning: call to main actor-isolated instance method 'selectedRange()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |         }
218 |
219 |         func textViewDidChangeSelection(_ notification: Notification) {
    |              `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection' part of global actor 'MainActor'
220 |             guard !isUpdating, let textView = notification.object as? STTextView else {
221 |                 return
222 |             }
223 |
224 |             selection = textView.selectedRange()
    |                                  `- warning: call to main actor-isolated instance method 'selectedRange()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
225 |         }
226 |
/Users/admin/builder/spi-builder-workspace/Sources/STTextViewAppKit/STTextView+NSTextInputClient.swift:9:23: note: calls to instance method 'selectedRange()' from outside of its actor context are implicitly asynchronous
  7 | extension STTextView: NSTextInputClient {
  8 |
  9 |     @objc public func selectedRange() -> NSRange {
    |                       `- note: calls to instance method 'selectedRange()' from outside of its actor context are implicitly asynchronous
 10 |         if let selectionTextRange = textLayoutManager.textSelections.last?.textRanges.last {
 11 |             return NSRange(selectionTextRange, in: textContentManager)
[130/131] Compiling STTextViewSwiftUI module.swift
[131/131] Emitting module STTextViewSwiftUI
Build complete! (22.15s)
Fetching https://github.com/krzyzanowskim/STTextKitPlus
Fetching https://github.com/krzyzanowskim/CoreTextSwift
[1/98] Fetching coretextswift
[46/291] Fetching coretextswift, sttextkitplus
Fetched https://github.com/krzyzanowskim/CoreTextSwift from cache (0.68s)
Fetched https://github.com/krzyzanowskim/STTextKitPlus from cache (0.68s)
Computing version for https://github.com/krzyzanowskim/CoreTextSwift
Computed https://github.com/krzyzanowskim/CoreTextSwift at 0.2.0 (3.84s)
Computing version for https://github.com/krzyzanowskim/STTextKitPlus
Computed https://github.com/krzyzanowskim/STTextKitPlus at 0.3.0 (0.58s)
Creating working copy for https://github.com/krzyzanowskim/CoreTextSwift
Working copy of https://github.com/krzyzanowskim/CoreTextSwift resolved at 0.2.0
Creating working copy for https://github.com/krzyzanowskim/STTextKitPlus
Working copy of https://github.com/krzyzanowskim/STTextKitPlus resolved at 0.3.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "sttextkitplus",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/STTextKitPlus"
    },
    {
      "identity" : "coretextswift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/krzyzanowskim/CoreTextSwift"
    }
  ],
  "manifest_display_name" : "STTextView",
  "name" : "STTextView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "STTextView",
      "targets" : [
        "STTextView",
        "STTextViewSwiftUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "STTextViewUIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewUIKitTests",
      "path" : "Tests/STTextViewUIKitTests",
      "sources" : [
        "TextViewTests.swift"
      ],
      "target_dependencies" : [
        "STTextViewUIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "STTextViewUIKit",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewUIKit",
      "path" : "Sources/STTextViewUIKit",
      "product_dependencies" : [
        "STTextKitPlus",
        "CoreTextSwift"
      ],
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "Gutter/STGutterContainerView.swift",
        "Gutter/STGutterLineNumberCell.swift",
        "Gutter/STGutterMarker.swift",
        "Gutter/STGutterMarkerContainerView.swift",
        "Gutter/STGutterSeparatorView.swift",
        "Gutter/STGutterView.swift",
        "Logger.swift",
        "Overlays/STLineHighlightView.swift",
        "Overlays/STTextContainerView.swift",
        "Plugin/Plugin.swift",
        "Plugin/STPlugin.swift",
        "Plugin/STPluginContext.swift",
        "Plugin/STPluginEvents.swift",
        "STTextInputTokenizer.swift",
        "STTextLayoutFragment.swift",
        "STTextLayoutFragmentView.swift",
        "STTextLocation.swift",
        "STTextLocationRange.swift",
        "STTextSelectionRect.swift",
        "STTextView+Accessibility.swift",
        "STTextView+Gutter.swift",
        "STTextView+NSTextLayoutManagerDelegate.swift",
        "STTextView+NSTextViewportLayoutControllerDelegate.swift",
        "STTextView+Scrolling.swift",
        "STTextView+UIKeyInput.swift",
        "STTextView+UIResponderStandardEditActions.swift",
        "STTextView+UITextInput.swift",
        "STTextView+UITextInputTraits.swift",
        "STTextView+UITextInteractionDelegate.swift",
        "STTextView+Undo.swift",
        "STTextView.swift",
        "STTextViewDelegate.swift",
        "STTextViewDelegateProxy.swift",
        "UITextDirection+Conversion.swift"
      ],
      "target_dependencies" : [
        "STTextViewCommon",
        "STObjCLandShim"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewSwiftUIUIKit",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewSwiftUIUIKit",
      "path" : "Sources/STTextViewSwiftUIUIKit",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "TextView.swift",
        "TextViewModifier.swift"
      ],
      "target_dependencies" : [
        "STTextView",
        "STTextViewSwiftUICommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewSwiftUICommon",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewSwiftUICommon",
      "path" : "Sources/STTextViewSwiftUICommon",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "TextViewOptions.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewSwiftUIAppKit",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewSwiftUIAppKit",
      "path" : "Sources/STTextViewSwiftUIAppKit",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "TextView.swift",
        "TextViewModifier.swift"
      ],
      "target_dependencies" : [
        "STTextView",
        "STTextViewSwiftUICommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewSwiftUI",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewSwiftUI",
      "path" : "Sources/STTextViewSwiftUI",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "module.swift"
      ],
      "target_dependencies" : [
        "STTextViewSwiftUIAppKit",
        "STTextViewSwiftUIUIKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewCommon",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewCommon",
      "path" : "Sources/STTextViewCommon",
      "product_dependencies" : [
        "STTextKitPlus"
      ],
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "CoalescingUndoManager.swift",
        "Extensions/Geometric+Helpers.swift",
        "Extensions/NSAttributedString+Helpers.swift",
        "Extensions/NSParagraphStyle+Helpers.swift",
        "Extensions/NSRange+Helpers.swift",
        "Extensions/NSTextLayoutManager+Selection.swift",
        "STAttributedTextElement.swift",
        "STMarkedText.swift",
        "STTextContentStorage.swift",
        "STTextLayoutManager.swift",
        "STTextViewProtocol.swift",
        "Utilities/ApproximateEquality.swift",
        "Utilities/LineHeight.swift",
        "Utilities/PixelAlign.swift",
        "Utilities/STGutterCalculations.swift",
        "Utilities/STRulerInsets.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextViewAppKitTests",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewAppKitTests",
      "path" : "Tests/STTextViewAppKitTests",
      "sources" : [
        "ContentTests.swift",
        "GutterSnapshotTests.swift",
        "Helpers/NSEvent+Create.swift",
        "STTextViewSnapshotTests.swift",
        "SizeToFitTests.swift",
        "TextSelectionNavigationTests.swift",
        "TextViewTests.swift",
        "TypingAttributesTests.swift",
        "UndoTests.swift"
      ],
      "target_dependencies" : [
        "STTextViewAppKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "STTextViewAppKit",
      "module_type" : "SwiftTarget",
      "name" : "STTextViewAppKit",
      "path" : "Sources/STTextViewAppKit",
      "product_dependencies" : [
        "STTextKitPlus",
        "CoreTextSwift"
      ],
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "DragSelectedTextGestureRecognizer.swift",
        "Extensions/NSEdgeInsets+orientation.swift",
        "Extensions/NSResponder+debug.swift",
        "Extensions/NSTextContentManager+Helpers.swift",
        "Extensions/NSTextLayoutManager+Helpers.swift",
        "Extensions/NSTextLayoutManager+InsertionPoint.swift",
        "Extensions/NSView+Helpers.swift",
        "Extensions/NSView+Image.swift",
        "Gutter/STGutterContainerView.swift",
        "Gutter/STGutterLineNumberCell.swift",
        "Gutter/STGutterMarker.swift",
        "Gutter/STGutterMarkerContainerView.swift",
        "Gutter/STGutterSeparatorView.swift",
        "Gutter/STGutterView.swift",
        "Logger.swift",
        "Overlays/STContentView.swift",
        "Overlays/STContentViewportView.swift",
        "Overlays/STLineHighlightView.swift",
        "Overlays/STSelectionHighlightView.swift",
        "Overlays/STSelectionView.swift",
        "Plugin/Plugin.swift",
        "Plugin/STPlugin.swift",
        "Plugin/STPluginContext.swift",
        "Plugin/STPluginEvents.swift",
        "STCompletion/STCompletionItem.swift",
        "STCompletion/STCompletionViewController.swift",
        "STCompletion/STCompletionViewControllerDelegate.swift",
        "STCompletion/STCompletionViewControllerProtocol.swift",
        "STCompletion/Window/STCompletionWindow.swift",
        "STCompletion/Window/STCompletionWindowController.swift",
        "STInsertionPointIndicatorProtocol.swift",
        "STInsertionPointView.swift",
        "STTextAttachmentViewInteraction.swift",
        "STTextContainer.swift",
        "STTextFinderBarContainer.swift",
        "STTextFinderClient.swift",
        "STTextLayoutFragment.swift",
        "STTextLayoutFragmentView.swift",
        "STTextRenderView.swift",
        "STTextView+Accessibility.swift",
        "STTextView+Attachment.swift",
        "STTextView+Capitalization.swift",
        "STTextView+Complete.swift",
        "STTextView+CopyPaste.swift",
        "STTextView+Delete.swift",
        "STTextView+DragGestureRecognizer.swift",
        "STTextView+Find.swift",
        "STTextView+FontPanel.swift",
        "STTextView+Format.swift",
        "STTextView+Gutter.swift",
        "STTextView+Insert.swift",
        "STTextView+InsertionPoint.swift",
        "STTextView+Key.swift",
        "STTextView+Mouse.swift",
        "STTextView+NSColorChanging.swift",
        "STTextView+NSDraggingDestination.swift",
        "STTextView+NSDraggingSource.swift",
        "STTextView+NSServicesMenuRequestor.swift",
        "STTextView+NSTextCheckingClient.swift",
        "STTextView+NSTextInputClient.swift",
        "STTextView+NSTextLayoutManagerDelegate.swift",
        "STTextView+NSTextLayoutOrientationProvider.swift",
        "STTextView+NSTextViewportLayoutControllerDelegate.swift",
        "STTextView+NSUserInterfaceValidations.swift",
        "STTextView+Scrolling.swift",
        "STTextView+Select.swift",
        "STTextView+Speech.swift",
        "STTextView+Undo.swift",
        "STTextView+Yank.swift",
        "STTextView.swift",
        "STTextViewDelegate.swift",
        "STTextViewDelegateProxy.swift",
        "Utility/NSColor+TextInsertionPoint.swift",
        "YankingManager.swift"
      ],
      "target_dependencies" : [
        "STTextViewCommon",
        "STObjCLandShim"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STTextView",
      "module_type" : "SwiftTarget",
      "name" : "STTextView",
      "path" : "Sources/STTextView",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "module.swift"
      ],
      "target_dependencies" : [
        "STTextViewAppKit",
        "STTextViewUIKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "STObjCLandShim",
      "module_type" : "ClangTarget",
      "name" : "STObjCLandShim",
      "path" : "Sources/STObjCLandShim",
      "product_memberships" : [
        "STTextView"
      ],
      "sources" : [
        "STObjCLandShim.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.