The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of DeclarativeTextKit, reference 0.7.0 (57fb27), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 17:41:13 UTC.

Swift 6 data race errors: 15

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/DeclarativeTextKit.git
Reference: 0.7.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/DeclarativeTextKit
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at 57fb275 fold "contains insertion point at" into regular contains(_:)
Cloned https://github.com/CleanCocoa/DeclarativeTextKit.git
Revision (git rev-parse @):
57fb275b1fa66a79422230b16bbb24724afbd7b0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CleanCocoa/DeclarativeTextKit.git at 0.7.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "declarativetextkit",
      "name": "DeclarativeTextKit",
      "url": "https://github.com/CleanCocoa/DeclarativeTextKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DeclarativeTextKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CleanCocoa/DeclarativeTextKit.git
[1/1991] Fetching declarativetextkit
Fetched https://github.com/CleanCocoa/DeclarativeTextKit.git from cache (0.89s)
Creating working copy for https://github.com/CleanCocoa/DeclarativeTextKit.git
Working copy of https://github.com/CleanCocoa/DeclarativeTextKit.git resolved at 0.7.0 (57fb275)
warning: '.resolve-product-dependencies': dependency 'declarativetextkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleanCocoa/DeclarativeTextKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/50] Emitting module DeclarativeTextKit
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
[5/55] Compiling DeclarativeTextKit NSRange+notFound.swift
[6/55] Compiling DeclarativeTextKit NSRange+prefix.swift
[7/55] Compiling DeclarativeTextKit NSRange+suffix.swift
[8/55] Compiling DeclarativeTextKit NSString+locationUpToCharacter.swift
[9/55] Compiling DeclarativeTextKit SortedArray.swift
[10/55] Compiling DeclarativeTextKit NSRange+BufferRangeExpression.swift
[11/55] Compiling DeclarativeTextKit Select.swift
[12/55] Compiling DeclarativeTextKit SelectedRange+BufferRangeExpression.swift
[13/55] Compiling DeclarativeTextKit WordRange.swift
[14/55] Compiling DeclarativeTextKit NSRange+Order.swift
[15/55] Compiling DeclarativeTextKit ScopedBufferSlice.swift
[16/55] Compiling DeclarativeTextKit AffectedRange.swift
[17/55] Compiling DeclarativeTextKit Buffer+SelectRangeExpression.swift
[18/55] Compiling DeclarativeTextKit BufferRangeExpression.swift
[19/55] Compiling DeclarativeTextKit LineRange.swift
[20/55] Compiling DeclarativeTextKit NSRange+Resized.swift
[21/55] Compiling DeclarativeTextKit NSRange+Shifted.swift
[22/55] Compiling DeclarativeTextKit NSRange+Subtracting.swift
[23/55] Compiling DeclarativeTextKit NSRange+containsRange.swift
[24/55] Compiling DeclarativeTextKit NSRange+expandedToOther.swift
[25/55] Compiling DeclarativeTextKit Word.swift
[26/55] Compiling DeclarativeTextKit Modification.swift
[27/55] Compiling DeclarativeTextKit ModificationBuilder.swift
[28/55] Compiling DeclarativeTextKit ModificationSequence.swift
[29/55] Compiling DeclarativeTextKit Modifying.swift
[30/55] Compiling DeclarativeTextKit Insert+Modification.swift
[31/55] Compiling DeclarativeTextKit Insert.swift
[32/55] Compiling DeclarativeTextKit Insertable.swift
[33/55] Compiling DeclarativeTextKit Line.swift
[34/55] Compiling DeclarativeTextKit String+Insertable.swift
[35/55] Compiling DeclarativeTextKit ChangeInLength+Consume.swift
[36/55] Compiling DeclarativeTextKit ChangeInLength.swift
[37/55] Compiling DeclarativeTextKit Delete+Modification.swift
[38/55] Compiling DeclarativeTextKit Delete.swift
[39/55] Compiling DeclarativeTextKit Identity.swift
[40/55] Compiling DeclarativeTextKit MutableStringBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:13:34: warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     ) {
12 |         self.init(base) {
13 |             return base.textView.undoManager
   |                                  `- warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
AppKit.NSResponder:2:25: note: property declared here
1 | extension NSResponder {
2 |     @MainActor open var undoManager: UndoManager? { get }
  |                         `- note: property declared here
3 | }
[41/55] Compiling DeclarativeTextKit NSMutableString+BufferCompatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:13:34: warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     ) {
12 |         self.init(base) {
13 |             return base.textView.undoManager
   |                                  `- warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
AppKit.NSResponder:2:25: note: property declared here
1 | extension NSResponder {
2 |     @MainActor open var undoManager: UndoManager? { get }
  |                         `- note: property declared here
3 | }
[42/55] Compiling DeclarativeTextKit NSTextViewBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:13:34: warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     ) {
12 |         self.init(base) {
13 |             return base.textView.undoManager
   |                                  `- warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
AppKit.NSResponder:2:25: note: property declared here
1 | extension NSResponder {
2 |     @MainActor open var undoManager: UndoManager? { get }
  |                         `- note: property declared here
3 | }
[43/55] Compiling DeclarativeTextKit UTF16.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:13:34: warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     ) {
12 |         self.init(base) {
13 |             return base.textView.undoManager
   |                                  `- warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
AppKit.NSResponder:2:25: note: property declared here
1 | extension NSResponder {
2 |     @MainActor open var undoManager: UndoManager? { get }
  |                         `- note: property declared here
3 | }
[44/55] Compiling DeclarativeTextKit Undoable+NSTextViewBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:29:24: warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 27 |     @inlinable
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 30 |         set { textView.selectedRange = newValue }
 31 |     }
AppKit.NSText:46:25: note: property declared here
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: property declared here
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:30:24: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 28 |     open var selectedRange: Buffer.Range {
 29 |         get { textView.selectedRange }
 30 |         set { textView.selectedRange = newValue }
    |                        `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 31 |     }
 32 |
AppKit.NSText:46:25: note: mutation of this property is only permitted within the actor
44 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
45 |     open var rulerVisible: Bool { get }
46 |     @MainActor open var selectedRange: NSRange { get set }
   |                         `- note: mutation of this property is only permitted within the actor
47 |     open func scrollRangeToVisible(_ range: NSRange)
48 |     open var font: NSFont? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:34:79: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 32 |
 33 |     @inlinable
 34 |     open var range: Buffer.Range { Buffer.Range(location: 0, length: textView.nsMutableString.length) }
    |                                                                               `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 35 |
 36 |     @inlinable
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:37:42: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 35 |
 36 |     @inlinable
 37 |     open var content: Content { textView.nsMutableString as Buffer.Content }
    |                                          `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 38 |
 39 |     /// Wraps `textView` as the target of all ``Buffer`` related actions.
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:47:18: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
    |                  `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 |         defer { textView.textStorage?.endEditing() }
 49 |         return try body()
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:48:26: warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 44 |     /// Wrap the execution of `body` in `beginEditing()`/`endEditing()` calls to group changes inside into a single `NSTextStorage.processEditing()` run.
 45 |     @inlinable
 46 |     open func wrapAsEditing<T>(_ body: () throws -> T) rethrows -> T {
    |               `- note: add '@MainActor' to make instance method 'wrapAsEditing' part of global actor 'MainActor'
 47 |         textView.textStorage?.beginEditing()
 48 |         defer { textView.textStorage?.endEditing() }
    |                          `- warning: main actor-isolated property 'textStorage' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 49 |         return try body()
 50 |     }
AppKit.NSTextView:14:41: note: property declared here
 12 |     open func invalidateTextContainerOrigin()
 13 |     unowned(unsafe) open var layoutManager: NSLayoutManager? { get }
 14 |     @MainActor unowned(unsafe) open var textStorage: NSTextStorage? { get }
    |                                         `- note: property declared here
 15 |     @available(macOS 12.0, *)
 16 |     weak open var textLayoutManager: NSTextLayoutManager? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:60:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 51 |
 52 |     @inlinable
 53 |     open func lineRange(for searchRange: Buffer.Range) throws -> Buffer.Range {
    |               `- note: add '@MainActor' to make instance method 'lineRange(for:)' part of global actor 'MainActor'
 54 |         guard contains(range: searchRange) else {
 55 |             throw BufferAccessFailure.outOfRange(
    :
 58 |             )
 59 |         }
 60 |         return textView.nsMutableString.lineRange(for: searchRange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 61 |     }
 62 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:72:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 62 |
 63 |     @inlinable
 64 |     open func content(in subrange: UTF16Range) throws -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'content(in:)' part of global actor 'MainActor'
 65 |         guard contains(range: subrange) else {
 66 |             throw BufferAccessFailure.outOfRange(
    :
 70 |         }
 71 |
 72 |         return textView.nsMutableString.unsafeContent(in: subrange)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 73 |     }
 74 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:78:25: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 74 |
 75 |     @inlinable
 76 |     open func unsafeCharacter(at location: Buffer.Location) -> Buffer.Content {
    |               `- note: add '@MainActor' to make instance method 'unsafeCharacter(at:)' part of global actor 'MainActor'
 77 |         // Raises an `NSExceptionName` of name `.rangeException` if `location` is out of bounds.
 78 |         return textView.nsMutableString.unsafeCharacter(at: location)
    |                         `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 79 |     }
 80 |
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:91:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
 89 |
 90 |         wrapAsEditing {
 91 |             textView.nsMutableString.insert(content, at: location)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 92 |         }
 93 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:105:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
103 |
104 |         wrapAsEditing {
105 |             textView.nsMutableString.deleteCharacters(in: deletedRange)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
106 |         }
107 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:118:22: warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
108 |
109 |     @inlinable
110 |     open func replace(range replacementRange: Buffer.Range, with content: Buffer.Content) throws {
    |               `- note: add '@MainActor' to make instance method 'replace(range:with:)' part of global actor 'MainActor'
111 |         guard contains(range: replacementRange) else {
112 |             throw BufferAccessFailure.outOfRange(requested: replacementRange, available: self.range)
    :
116 |         defer {
117 |             // Restore the recoverable part of the formerly selected range. By default, when the replaced range overlaps with the text view's selection, it removes the selection and switches to 0-length insertion point.
118 |             textView.setSelectedRange(selectedRange
    |                      `- warning: call to main actor-isolated instance method 'setSelectedRange' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
119 |                 .subtracting(replacementRange)
120 |                 .shifted(by: replacementRange.location <= selectedRange.location ? length(of: content) : 0))
AppKit.NSTextView:84:26: note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
82 |     @available(swift, obsoleted: 3, renamed: "isRulerVisible")
83 |     open var rulerVisible: Bool { get set }
84 |     @MainActor open func setSelectedRange(_ charRange: NSRange)
   |                          `- note: calls to instance method 'setSelectedRange' from outside of its actor context are implicitly asynchronous
85 |     @available(macOS 10.5, *)
86 |     open var allowedInputSourceLocales: [String]? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:124:22: warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
  7 |     /// `NSString` contents of the receiver avoiding Swift `String` bridging overhead.
  8 |     @usableFromInline @inline(__always)
  9 |     var nsMutableString: NSMutableString {
    |         `- note: property declared here
 10 |         guard let textStorage = self.textStorage else {
 11 |             preconditionFailure("NSTextView.textStorage expected to be non-nil")
    :
122 |
123 |         wrapAsEditing {
124 |             textView.nsMutableString.replaceCharacters(in: replacementRange, with: content)
    |                      `- warning: main actor-isolated property 'nsMutableString' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
125 |         }
126 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:130:24: warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
    |                        `- warning: call to main actor-isolated instance method 'shouldChangeText(in:replacementString:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
AppKit.NSTextView:39:15: note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
37 |     open var rangesForUserCharacterAttributeChange: [NSValue]? { get }
38 |     open var rangesForUserParagraphAttributeChange: [NSValue]? { get }
39 |     open func shouldChangeText(in affectedCharRange: NSRange, replacementString: String?) -> Bool
   |               `- note: calls to instance method 'shouldChangeText(in:replacementString:)' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/NSTextViewBuffer.swift:133:26: warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
127 |
128 |     @inlinable
129 |     open func modifying<T>(affectedRange: Buffer.Range, _ block: () -> T) throws -> T {
    |               `- note: add '@MainActor' to make instance method 'modifying(affectedRange:_:)' part of global actor 'MainActor'
130 |         guard textView.shouldChangeText(in: affectedRange, replacementString: nil) else {
131 |             throw BufferAccessFailure.modificationForbidden(in: affectedRange)
132 |         }
133 |         defer { textView.didChangeText() }
    |                          `- warning: call to main actor-isolated instance method 'didChangeText()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
134 |
135 |         return wrapAsEditing {
AppKit.NSTextView:42:15: note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
40 |     @available(swift, obsoleted: 3, renamed: "shouldChangeText(in:replacementString:)")
41 |     open func shouldChangeTextInRange(_ affectedCharRange: NSRange, replacementString: String?) -> Bool
42 |     open func didChangeText()
   |               `- note: calls to instance method 'didChangeText()' from outside of its actor context are implicitly asynchronous
43 |     open var rangeForUserTextChange: NSRange { get }
44 |     open var rangeForUserCharacterAttributeChange: NSRange { get }
/Users/admin/builder/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:13:34: warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
11 |     ) {
12 |         self.init(base) {
13 |             return base.textView.undoManager
   |                                  `- warning: main actor-isolated property 'undoManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
14 |         }
15 |     }
AppKit.NSResponder:2:25: note: property declared here
1 | extension NSResponder {
2 |     @MainActor open var undoManager: UndoManager? { get }
  |                         `- note: property declared here
3 | }
[45/55] Compiling DeclarativeTextKit Undoable.swift
[46/55] Compiling DeclarativeTextKit Debug.swift
[47/55] Compiling DeclarativeTextKit Expression.swift
[48/55] Compiling DeclarativeTextKit If.swift
[49/55] Compiling DeclarativeTextKit IfLet.swift
[50/55] Compiling DeclarativeTextKit Bool+inverted.swift
[51/55] Compiling DeclarativeTextKit Buffer+contains.swift
[52/55] Compiling DeclarativeTextKit Buffer+evaluate.swift
[53/55] Compiling DeclarativeTextKit Buffer+wordRange.swift
[54/55] Compiling DeclarativeTextKit Buffer.swift
[55/55] Compiling DeclarativeTextKit BufferAccessFailure.swift
[56/58] Emitting module DeclarativeTextKitTesting
[57/58] Compiling DeclarativeTextKitTesting MakeBufferWithSelectionFromString.swift
[58/58] Compiling DeclarativeTextKitTesting assertBufferState.swift
Build complete! (27.31s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DeclarativeTextKit",
  "name" : "DeclarativeTextKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "DeclarativeTextKit",
      "targets" : [
        "DeclarativeTextKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DeclarativeTextKitTesting",
      "targets" : [
        "DeclarativeTextKitTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeclarativeTextKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeclarativeTextKitTests",
      "path" : "Tests/DeclarativeTextKitTests",
      "sources" : [
        "AffectedRangeTests.swift",
        "AssertModification.swift",
        "BufferWordRangeTests.swift",
        "ConditionalTests.swift",
        "DeleteTests.swift",
        "Helpers.swift",
        "InsertTests.swift",
        "LoggingUndoManager.swift",
        "MakeBufferWithSelectionFromStringTests.swift",
        "ModifyingTests.swift",
        "MutableStringBufferTests.swift",
        "NSRange+ContainsTests.swift",
        "NSRange+OrderTests.swift",
        "NSRange+ResizedTests.swift",
        "NSRange+ShiftedTests.swift",
        "NSRange+SubtractingTests.swift",
        "NSTextViewBufferTests.swift",
        "ScopedBufferSliceTests.swift",
        "SelectTests.swift",
        "UndoableBufferTests.swift",
        "UseCaseTests.swift"
      ],
      "target_dependencies" : [
        "DeclarativeTextKit",
        "DeclarativeTextKitTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeclarativeTextKitTesting",
      "module_type" : "SwiftTarget",
      "name" : "DeclarativeTextKitTesting",
      "path" : "Sources/DeclarativeTextKitTesting",
      "product_memberships" : [
        "DeclarativeTextKitTesting"
      ],
      "sources" : [
        "MakeBufferWithSelectionFromString.swift",
        "assertBufferState.swift"
      ],
      "target_dependencies" : [
        "DeclarativeTextKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DeclarativeTextKit",
      "module_type" : "SwiftTarget",
      "name" : "DeclarativeTextKit",
      "path" : "Sources/DeclarativeTextKit",
      "product_memberships" : [
        "DeclarativeTextKit",
        "DeclarativeTextKitTesting"
      ],
      "sources" : [
        "Bool+inverted.swift",
        "Buffer/Buffer+contains.swift",
        "Buffer/Buffer+evaluate.swift",
        "Buffer/Buffer+wordRange.swift",
        "Buffer/Buffer.swift",
        "Buffer/BufferAccessFailure.swift",
        "Buffer/MutableStringBuffer.swift",
        "Buffer/NSMutableString+BufferCompatibility.swift",
        "Buffer/NSTextViewBuffer.swift",
        "Buffer/UTF16.swift",
        "Buffer/Undoable+NSTextViewBuffer.swift",
        "Buffer/Undoable.swift",
        "Expression/Debug.swift",
        "Expression/Expression.swift",
        "Expression/If.swift",
        "Expression/IfLet.swift",
        "Expression/Modification/ChangeInLength+Consume.swift",
        "Expression/Modification/ChangeInLength.swift",
        "Expression/Modification/Delete/Delete+Modification.swift",
        "Expression/Modification/Delete/Delete.swift",
        "Expression/Modification/Identity.swift",
        "Expression/Modification/Insert/Insert+Modification.swift",
        "Expression/Modification/Insert/Insert.swift",
        "Expression/Modification/Insert/Insertable.swift",
        "Expression/Modification/Insert/Line.swift",
        "Expression/Modification/Insert/String+Insertable.swift",
        "Expression/Modification/Insert/Word.swift",
        "Expression/Modification/Modification.swift",
        "Expression/Modification/ModificationBuilder.swift",
        "Expression/Modification/ModificationSequence.swift",
        "Expression/Modification/Modifying.swift",
        "Expression/Modification/ScopedBufferSlice.swift",
        "Expression/Select/AffectedRange.swift",
        "Expression/Select/Buffer+SelectRangeExpression.swift",
        "Expression/Select/BufferRangeExpression.swift",
        "Expression/Select/LineRange.swift",
        "Expression/Select/NSRange+BufferRangeExpression.swift",
        "Expression/Select/Select.swift",
        "Expression/Select/SelectedRange+BufferRangeExpression.swift",
        "Expression/Select/WordRange.swift",
        "NSRange+Order.swift",
        "NSRange+Resized.swift",
        "NSRange+Shifted.swift",
        "NSRange+Subtracting.swift",
        "NSRange+containsRange.swift",
        "NSRange+expandedToOther.swift",
        "NSRange+notFound.swift",
        "NSRange+prefix.swift",
        "NSRange+suffix.swift",
        "NSString+locationUpToCharacter.swift",
        "SortedArray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/cleancocoa/declarativetextkit/0.7.0
Repository:               CleanCocoa/DeclarativeTextKit
Swift version used:       6.0
Target:                   DeclarativeTextKit
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'DeclarativeTextKit'...
Finished extracting symbol information for 'DeclarativeTextKit'. (5.27s)
Building documentation for 'DeclarativeTextKit'...
warning: 'evaluate(in:)' doesn't exist at '/DeclarativeTextKit/Modification'
  --> Runtime.md:31:64-31:77
29 | ## What is 'Runtime'?
30 |
31 + In the example above, step (3), the call to any ``Modification/evaluate(in:)`` starts the evaluation, including buffer mutations. That's the 'runtime'.
32 |
33 | During evaluation or 'runtime', ``AffectedRange`` values will self-update to represent changes to the selection in a buffer.
warning: 'evaluate(in:)' doesn't exist at '/DeclarativeTextKit/Modification'
  --> Runtime.md:93:361-93:374
91 | That's why we don't support `if` in the Result Builder syntax: Because your expectations will not be met!
92 |
93 + Both conditions are checked at 'build time'. So if `fullRange.length == 0`, the Result Builder will insert the first block into the ``ModificationSequence``. But it won't insert the second block into the sequence, because as the second condition is evaluated,  `fullRange.length` is still `0`. It will only change to `12` during 'runtime', when ``Modification/evaluate(in:)`` is executed -- which is *after* the ``ModificationSequence`` has been assembled by the Result Builder.
94 |
95 | So your actual result
warning: 'evaluate(in:)' doesn't exist at '/DeclarativeTextKit/Modification'
   --> Runtime.md:103:83-103:96
101 | ## Solution: Evaluate Declarations Lazily
102 |
103 + Where possible, we can delay evaluation of Swift expressions until ``Modification/evaluate(in:)`` is run by wrapping values in closures, which are invisible thanks to `@autoclosure`.
104 |
105 | That's how a `Select(fullRange)` will always use the ``AffectedRange/value`` value that is available at 'runtime', not 'build time'.Finished building documentation for 'DeclarativeTextKit' (0.25s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/cleancocoa/declarativetextkit/0.7.0
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.69s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Emitting module SymbolKit
[12/57] Compiling SymbolKit Names.swift
[13/57] Compiling SymbolKit SPI.swift
[14/57] Compiling SymbolKit Snippet.swift
[15/57] Compiling SymbolKit Extension.swift
[16/57] Compiling SymbolKit Mixin+Equals.swift
[17/57] Compiling SymbolKit Mixin+Hash.swift
[18/57] Compiling SymbolKit Mixin.swift
[19/57] Compiling SymbolKit LineList.swift
[20/57] Compiling SymbolKit Position.swift
[21/57] Compiling SymbolKit Relationship.swift
[22/57] Compiling SymbolKit RelationshipKind.swift
[23/57] Compiling SymbolKit SourceOrigin.swift
[24/57] Compiling SymbolKit GenericConstraints.swift
[25/57] Compiling SymbolKit Swift.swift
[26/57] Compiling SymbolKit DeclarationFragments.swift
[27/57] Compiling SymbolKit Fragment.swift
[28/57] Compiling SymbolKit FragmentKind.swift
[29/57] Compiling SymbolKit FunctionParameter.swift
[30/57] Compiling SymbolKit FunctionSignature.swift
[31/57] Compiling SymbolKit GenericConstraint.swift
[32/57] Compiling SymbolKit GenericParameter.swift
[33/57] Compiling SymbolKit Generics.swift
[34/57] Compiling SymbolKit Namespace.swift
[35/57] Compiling SymbolKit SourceRange.swift
[36/57] Compiling SymbolKit Metadata.swift
[37/57] Compiling SymbolKit Module.swift
[38/57] Compiling SymbolKit OperatingSystem.swift
[39/57] Compiling SymbolKit Platform.swift
[40/57] Compiling SymbolKit Symbol.swift
[41/57] Compiling SymbolKit SymbolKind.swift
[42/57] Compiling SymbolKit SymbolGraph.swift
[43/57] Compiling SymbolKit GraphCollector.swift
[44/57] Compiling SymbolKit Identifier.swift
[45/57] Compiling SymbolKit KindIdentifier.swift
[46/57] Compiling SymbolKit Location.swift
[47/57] Compiling SymbolKit Mutability.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.33s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/48] Compiling DeclarativeTextKit ScopedBufferSlice.swift
[3/48] Compiling DeclarativeTextKit AffectedRange.swift
[4/48] Compiling DeclarativeTextKit Buffer+SelectRangeExpression.swift
[5/48] Compiling DeclarativeTextKit BufferRangeExpression.swift
[6/48] Compiling DeclarativeTextKit LineRange.swift
[7/53] Compiling DeclarativeTextKit NSRange+Resized.swift
[8/53] Compiling DeclarativeTextKit NSRange+Shifted.swift
[9/53] Compiling DeclarativeTextKit NSRange+Subtracting.swift
[10/53] Compiling DeclarativeTextKit NSRange+containsRange.swift
[11/53] Compiling DeclarativeTextKit NSRange+expandedToOther.swift
[12/53] Compiling DeclarativeTextKit Undoable.swift
[13/53] Compiling DeclarativeTextKit Debug.swift
[14/53] Compiling DeclarativeTextKit Expression.swift
[15/53] Compiling DeclarativeTextKit If.swift
[16/53] Compiling DeclarativeTextKit IfLet.swift
[17/53] Compiling DeclarativeTextKit Bool+inverted.swift
[18/53] Compiling DeclarativeTextKit Buffer+contains.swift
[19/53] Compiling DeclarativeTextKit Buffer+evaluate.swift
[20/53] Compiling DeclarativeTextKit Buffer+wordRange.swift
[21/53] Compiling DeclarativeTextKit Buffer.swift
[22/53] Compiling DeclarativeTextKit BufferAccessFailure.swift
[23/53] Compiling DeclarativeTextKit ChangeInLength+Consume.swift
[24/53] Compiling DeclarativeTextKit ChangeInLength.swift
[25/53] Compiling DeclarativeTextKit Delete+Modification.swift
[26/53] Compiling DeclarativeTextKit Delete.swift
[27/53] Compiling DeclarativeTextKit Identity.swift
[28/53] Compiling DeclarativeTextKit MutableStringBuffer.swift
[29/53] Compiling DeclarativeTextKit NSMutableString+BufferCompatibility.swift
[30/53] Compiling DeclarativeTextKit NSTextViewBuffer.swift
[31/53] Compiling DeclarativeTextKit UTF16.swift
[32/53] Compiling DeclarativeTextKit Undoable+NSTextViewBuffer.swift
[33/53] Compiling DeclarativeTextKit Insert+Modification.swift
[34/53] Compiling DeclarativeTextKit Insert.swift
[35/53] Compiling DeclarativeTextKit Insertable.swift
[36/53] Compiling DeclarativeTextKit Line.swift
[37/53] Compiling DeclarativeTextKit String+Insertable.swift
[38/53] Compiling DeclarativeTextKit Word.swift
[39/53] Compiling DeclarativeTextKit Modification.swift
[40/53] Compiling DeclarativeTextKit ModificationBuilder.swift
[41/53] Compiling DeclarativeTextKit ModificationSequence.swift
[42/53] Compiling DeclarativeTextKit Modifying.swift
[43/53] Emitting module DeclarativeTextKit
[44/53] Compiling DeclarativeTextKit NSRange+BufferRangeExpression.swift
[45/53] Compiling DeclarativeTextKit Select.swift
[46/53] Compiling DeclarativeTextKit SelectedRange+BufferRangeExpression.swift
[47/53] Compiling DeclarativeTextKit WordRange.swift
[48/53] Compiling DeclarativeTextKit NSRange+Order.swift
[49/53] Compiling DeclarativeTextKit NSRange+notFound.swift
[50/53] Compiling DeclarativeTextKit NSRange+prefix.swift
[51/53] Compiling DeclarativeTextKit NSRange+suffix.swift
[52/53] Compiling DeclarativeTextKit NSString+locationUpToCharacter.swift
[53/53] Compiling DeclarativeTextKit SortedArray.swift
Build of target: 'DeclarativeTextKit' complete! (1.40s)
     630
5	/Users/admin/builder/spi-builder-workspace/.docs/cleancocoa/declarativetextkit/0.7.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/cleancocoa/declarativetextkit/0.7.0
File count: 630
Doc size:   5.0MB
Preparing doc bundle ...
Uploading prod-cleancocoa-declarativetextkit-0.7.0-610b2054.zip to s3://spi-docs-inbox/prod-cleancocoa-declarativetextkit-0.7.0-610b2054.zip
Copying... [12%]
Copying... [24%]
Copying... [35%]
Copying... [41%]
Copying... [53%]
Copying... [65%]
Copying... [71%]
Copying... [83%]
Copying... [95%]
Copying... [100%]
Done.