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 Sourceful, reference 0.4.0 (77317c), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:19:06 UTC.

Swift 6 data race errors: 1

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/Sourceful.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/Sourceful
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 77317c0 Merge pull request #17 from NathanFallet/patch-2
Cloned https://github.com/twostraws/Sourceful.git
Revision (git rev-parse @):
77317c0043dc0330e2baf02c43d415bc7cc8a784
SUCCESS checkout https://github.com/twostraws/Sourceful.git at 0.4.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": "sourceful",
      "name": "Sourceful",
      "url": "https://github.com/twostraws/Sourceful.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Sourceful",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/twostraws/Sourceful.git
[1/326] Fetching sourceful
Fetched https://github.com/twostraws/Sourceful.git from cache (0.65s)
Creating working copy for https://github.com/twostraws/Sourceful.git
Working copy of https://github.com/twostraws/Sourceful.git resolved at 0.4.0 (77317c0)
warning: '.resolve-product-dependencies': dependency 'sourceful' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/twostraws/Sourceful.git
https://github.com/twostraws/Sourceful.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sourceful",
  "name" : "Sourceful",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Sourceful",
      "targets" : [
        "Sourceful"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SourcefulTests",
      "module_type" : "SwiftTarget",
      "name" : "SourcefulTests",
      "path" : "Tests/SourcefulTests",
      "sources" : [
        "SourcefulTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Sourceful"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sourceful",
      "module_type" : "SwiftTarget",
      "name" : "Sourceful",
      "path" : "Sources/Sourceful",
      "product_memberships" : [
        "Sourceful"
      ],
      "sources" : [
        "ASTVisualizer.swift",
        "Languages/JavaLexer.swift",
        "Languages/JavaScriptLexer.swift",
        "Languages/OCamlLexer.swift",
        "Languages/Python3Lexer.swift",
        "Languages/SwiftLexer.swift",
        "Model/Lexer.swift",
        "Model/Paragraph.swift",
        "Model/RegexLexer.swift",
        "Model/SyntaxColorTheme.swift",
        "Model/Token.swift",
        "SourceCodeRegexLexer.swift",
        "SourceCodeTheme.swift",
        "SourceCodeToken.swift",
        "SwiftUI/SourceCodeTextEditor.swift",
        "Themes/DefaultSourceCodeTheme.swift",
        "Util/NSMutableAttributedString+Tokens.swift",
        "Util/NSTextView+UIKit.swift",
        "Util/String+Range.swift",
        "Util/Types.swift",
        "View/InnerTextView.swift",
        "View/LineNumberLayoutManager.swift",
        "View/Paragraphs.swift",
        "View/SyntaxTextView+TextViewDelegate.swift",
        "View/SyntaxTextView.swift",
        "View/SyntaxTextViewLayoutManager.swift",
        "View/TextViewWrapperView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/28] Compiling Sourceful LineNumberLayoutManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:52:53: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    |                                                     `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |
 54 | 	var paragraphs = [Paragraph]()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:57:12: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 55 | 	var i = 0
 56 |
 57 | 	(textView.text as NSString).enumerateSubstrings(in: range, options: [.byParagraphs]) { (paragraphContent, paragraphRange, enclosingRange, stop) in
    |            `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |
 59 | 		i += 1
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:61:23: warning: call to main actor-isolated instance method 'paragraphRectForRange(range:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 17 | extension TextView {
 18 |
 19 | 	func paragraphRectForRange(range: NSRange) -> CGRect {
    |       |- note: calls to instance method 'paragraphRectForRange(range:)' from outside of its actor context are implicitly asynchronous
    |       `- note: main actor isolation inferred from inheritance from class 'NSText'
 20 |
 21 | 		var nsRange = range
    :
 59 | 		i += 1
 60 |
 61 | 		let rect = textView.paragraphRectForRange(range: paragraphRange)
    |                       `- warning: call to main actor-isolated instance method 'paragraphRectForRange(range:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 62 |
 63 | 		let paragraph = Paragraph(rect: rect, number: i)
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:68:14: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 66 | 	}
 67 |
 68 | 	if textView.text.isEmpty || textView.text.hasSuffix("\n") {
    |              `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 69 |
 70 | 		var rect: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:68:39: warning: main actor-isolated property 'text' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 66 | 	}
 67 |
 68 | 	if textView.text.isEmpty || textView.text.hasSuffix("\n") {
    |                                       `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 69 |
 70 | 		var rect: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:73:31: warning: main actor-isolated property 'textContainerInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 71 |
 72 | 		#if os(macOS)
 73 | 			let gutterWidth = textView.textContainerInset.width
    |                               `- warning: main actor-isolated property 'textContainerInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 74 | 		#else
 75 | 			let gutterWidth = textView.textContainerInset.left
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: property declared here
101 |
102 | // The textContainerInset determines the padding that the view provides around the container.  The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount.  This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
    |                  `- note: property declared here
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size.  textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:104:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | 			var p = p
104 | 			p.rect.origin.y = textView.bounds.height - p.rect.height - p.rect.origin.y
    |                               `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | 			return p
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:62: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:50: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                                                  `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
 47 | @property (readonly) NSSize contentSize;
 48 | @property (nullable, strong) __kindof NSView *documentView;
 49 | @property (strong) NSClipView *contentView;
    |                                `- note: property declared here
 50 | @property (nullable, strong) NSCursor *documentCursor;
 51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:29: warning: main actor-isolated property 'enclosingScrollView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                             `- warning: main actor-isolated property 'enclosingScrollView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:289:54: note: property declared here
287 | @property BOOL postsBoundsChangedNotifications;
288 |
289 | @property (nullable, readonly, strong) NSScrollView *enclosingScrollView;
    |                                                      `- note: property declared here
290 |
291 | - (nullable NSMenu *)menuForEvent:(NSEvent *)event;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:148:29: warning: main actor-isolated property 'theme' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 | }
145 |
146 | func drawLineNumbers(_ paragraphs: [Paragraph], in rect: CGRect, for textView: InnerTextView) {
    |      `- note: add '@MainActor' to make global function 'drawLineNumbers(_:in:for:)' part of global actor 'MainActor'
147 |
148 | 	guard let style = textView.theme?.lineNumbersStyle else {
    |                             `- warning: main actor-isolated property 'theme' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | 		return
150 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:26:6: note: property declared here
 24 | 	weak var innerDelegate: InnerTextViewDelegate?
 25 |
 26 | 	var theme: SyntaxColorTheme?
    |      `- note: property declared here
 27 |
 28 | 	var cachedParagraphs: [Paragraph]?
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:162:30: warning: main actor-isolated property 'gutterWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 | }
145 |
146 | func drawLineNumbers(_ paragraphs: [Paragraph], in rect: CGRect, for textView: InnerTextView) {
    |      `- note: add '@MainActor' to make global function 'drawLineNumbers(_:in:for:)' part of global actor 'MainActor'
147 |
148 | 	guard let style = textView.theme?.lineNumbersStyle else {
    :
160 | 		var drawRect = paragraph.rect
161 |
162 | 		let gutterWidth = textView.gutterWidth
    |                              `- warning: main actor-isolated property 'gutterWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 |
164 | 		let drawSize = attr.size()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:126:6: note: property declared here
124 | 	#endif
125 |
126 | 	var gutterWidth: CGFloat {
    |      `- note: property declared here
127 | 		set {
128 |
[4/28] Compiling Sourceful Paragraphs.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:52:53: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    |                                                     `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 53 |
 54 | 	var paragraphs = [Paragraph]()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:57:12: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 55 | 	var i = 0
 56 |
 57 | 	(textView.text as NSString).enumerateSubstrings(in: range, options: [.byParagraphs]) { (paragraphContent, paragraphRange, enclosingRange, stop) in
    |            `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |
 59 | 		i += 1
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:61:23: warning: call to main actor-isolated instance method 'paragraphRectForRange(range:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 17 | extension TextView {
 18 |
 19 | 	func paragraphRectForRange(range: NSRange) -> CGRect {
    |       |- note: calls to instance method 'paragraphRectForRange(range:)' from outside of its actor context are implicitly asynchronous
    |       `- note: main actor isolation inferred from inheritance from class 'NSText'
 20 |
 21 | 		var nsRange = range
    :
 59 | 		i += 1
 60 |
 61 | 		let rect = textView.paragraphRectForRange(range: paragraphRange)
    |                       `- warning: call to main actor-isolated instance method 'paragraphRectForRange(range:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 62 |
 63 | 		let paragraph = Paragraph(rect: rect, number: i)
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:68:14: warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 66 | 	}
 67 |
 68 | 	if textView.text.isEmpty || textView.text.hasSuffix("\n") {
    |              `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 69 |
 70 | 		var rect: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:68:39: warning: main actor-isolated property 'text' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 66 | 	}
 67 |
 68 | 	if textView.text.isEmpty || textView.text.hasSuffix("\n") {
    |                                       `- warning: main actor-isolated property 'text' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
 69 |
 70 | 		var rect: CGRect
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/Util/NSTextView+UIKit.swift:15:6: note: property declared here
13 | extension NSTextView {
14 |
15 | 	var text: String! {
   |      `- note: property declared here
16 | 		get {
17 | 			return string
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:73:31: warning: main actor-isolated property 'textContainerInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 48 | }
 49 |
 50 | func generateParagraphs(for textView: InnerTextView, flipRects: Bool = false) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'generateParagraphs(for:flipRects:)' part of global actor 'MainActor'
 51 |
 52 | 	let range = NSRange(location: 0, length: (textView.text as NSString).length)
    :
 71 |
 72 | 		#if os(macOS)
 73 | 			let gutterWidth = textView.textContainerInset.width
    |                               `- warning: main actor-isolated property 'textContainerInset' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 74 | 		#else
 75 | 			let gutterWidth = textView.textContainerInset.left
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSTextView.h:103:18: note: property declared here
101 |
102 | // The textContainerInset determines the padding that the view provides around the container.  The container's origin will be inset by this amount from the bounds point {0,0} and padding will be left to the right and below the container of the same amount.  This inset affects the view sizing in response to new layout and is used by the rectangular text containers when they track the view's frame dimensions.
103 | @property NSSize textContainerInset;
    |                  `- note: property declared here
104 |
105 | // The container's origin in the view is determined from the current usage of the container, the container inset, and the view size.  textContainerOrigin returns this point.
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:104:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | 			var p = p
104 | 			p.rect.origin.y = textView.bounds.height - p.rect.height - p.rect.origin.y
    |                               `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
105 |
106 | 			return p
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:62: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                                                              `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
    |                  `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:50: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                                                  `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSScrollView.h:49:32: note: property declared here
 47 | @property (readonly) NSSize contentSize;
 48 | @property (nullable, strong) __kindof NSView *documentView;
 49 | @property (strong) NSClipView *contentView;
    |                                `- note: property declared here
 50 | @property (nullable, strong) NSCursor *documentCursor;
 51 | @property NSBorderType borderType;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:120:29: warning: main actor-isolated property 'enclosingScrollView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func offsetParagraphs(_ paragraphs: [Paragraph], for textView: InnerTextView, yOffset: CGFloat = 0) -> [Paragraph] {
    |      `- note: add '@MainActor' to make global function 'offsetParagraphs(_:for:yOffset:)' part of global actor 'MainActor'
115 |
116 | 	var paragraphs = paragraphs
    :
118 | 	#if os(macOS)
119 |
120 | 		if let yOffset = textView.enclosingScrollView?.contentView.bounds.origin.y {
    |                             `- warning: main actor-isolated property 'enclosingScrollView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |
122 | 			paragraphs = paragraphs.map { (p) -> Paragraph in
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:289:54: note: property declared here
287 | @property BOOL postsBoundsChangedNotifications;
288 |
289 | @property (nullable, readonly, strong) NSScrollView *enclosingScrollView;
    |                                                      `- note: property declared here
290 |
291 | - (nullable NSMenu *)menuForEvent:(NSEvent *)event;
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:148:29: warning: main actor-isolated property 'theme' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 | }
145 |
146 | func drawLineNumbers(_ paragraphs: [Paragraph], in rect: CGRect, for textView: InnerTextView) {
    |      `- note: add '@MainActor' to make global function 'drawLineNumbers(_:in:for:)' part of global actor 'MainActor'
147 |
148 | 	guard let style = textView.theme?.lineNumbersStyle else {
    |                             `- warning: main actor-isolated property 'theme' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
149 | 		return
150 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:26:6: note: property declared here
 24 | 	weak var innerDelegate: InnerTextViewDelegate?
 25 |
 26 | 	var theme: SyntaxColorTheme?
    |      `- note: property declared here
 27 |
 28 | 	var cachedParagraphs: [Paragraph]?
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/Paragraphs.swift:162:30: warning: main actor-isolated property 'gutterWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 | }
145 |
146 | func drawLineNumbers(_ paragraphs: [Paragraph], in rect: CGRect, for textView: InnerTextView) {
    |      `- note: add '@MainActor' to make global function 'drawLineNumbers(_:in:for:)' part of global actor 'MainActor'
147 |
148 | 	guard let style = textView.theme?.lineNumbersStyle else {
    :
160 | 		var drawRect = paragraph.rect
161 |
162 | 		let gutterWidth = textView.gutterWidth
    |                              `- warning: main actor-isolated property 'gutterWidth' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
163 |
164 | 		let drawSize = attr.size()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:126:6: note: property declared here
124 | 	#endif
125 |
126 | 	var gutterWidth: CGFloat {
    |      `- note: property declared here
127 | 		set {
128 |
[5/28] Compiling Sourceful SyntaxTextView+TextViewDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView+TextViewDelegate.swift:19:7: warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
 15 | #endif
 16 |
 17 | extension SyntaxTextView: InnerTextViewDelegate {
    |                           `- note: add '@preconcurrency' to the 'InnerTextViewDelegate' conformance to defer isolation checking to run time
 18 |
 19 | 	func didUpdateCursorFloatingState() {
    |       |- warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
    |       `- note: add 'nonisolated' to 'didUpdateCursorFloatingState()' to make this instance method not isolated to the actor
 20 |
 21 | 		selectionDidChange()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:19:7: note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 17 |
 18 | protocol InnerTextViewDelegate: class {
 19 | 	func didUpdateCursorFloatingState()
    |       `- note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 20 | }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView.swift:18:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | public protocol SyntaxTextViewDelegate: class {
    |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 |
 20 |     func didChangeText(_ syntaxTextView: SyntaxTextView)
[6/28] Compiling Sourceful SyntaxTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView+TextViewDelegate.swift:19:7: warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
 15 | #endif
 16 |
 17 | extension SyntaxTextView: InnerTextViewDelegate {
    |                           `- note: add '@preconcurrency' to the 'InnerTextViewDelegate' conformance to defer isolation checking to run time
 18 |
 19 | 	func didUpdateCursorFloatingState() {
    |       |- warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
    |       `- note: add 'nonisolated' to 'didUpdateCursorFloatingState()' to make this instance method not isolated to the actor
 20 |
 21 | 		selectionDidChange()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:19:7: note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 17 |
 18 | protocol InnerTextViewDelegate: class {
 19 | 	func didUpdateCursorFloatingState()
    |       `- note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 20 | }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView.swift:18:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | public protocol SyntaxTextViewDelegate: class {
    |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 |
 20 |     func didChangeText(_ syntaxTextView: SyntaxTextView)
[7/28] Compiling Sourceful DefaultSourceCodeTheme.swift
[8/28] Compiling Sourceful NSMutableAttributedString+Tokens.swift
[9/28] Compiling Sourceful NSTextView+UIKit.swift
[10/28] Compiling Sourceful SyntaxColorTheme.swift
[11/28] Compiling Sourceful Token.swift
[12/28] Compiling Sourceful SourceCodeRegexLexer.swift
[13/28] Compiling Sourceful String+Range.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:18:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | protocol InnerTextViewDelegate: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 | 	func didUpdateCursorFloatingState()
 20 | }
[14/28] Compiling Sourceful Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:18:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | protocol InnerTextViewDelegate: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 | 	func didUpdateCursorFloatingState()
 20 | }
[15/28] Compiling Sourceful InnerTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:18:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | protocol InnerTextViewDelegate: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 | 	func didUpdateCursorFloatingState()
 20 | }
[16/28] Compiling Sourceful ASTVisualizer.swift
[17/28] Compiling Sourceful JavaLexer.swift
[18/28] Compiling Sourceful JavaScriptLexer.swift
[19/28] Compiling Sourceful Lexer.swift
[20/28] Compiling Sourceful Paragraph.swift
[21/28] Compiling Sourceful RegexLexer.swift
[22/28] Compiling Sourceful OCamlLexer.swift
[23/28] Compiling Sourceful Python3Lexer.swift
[24/28] Compiling Sourceful SwiftLexer.swift
[25/28] Emitting module Sourceful
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:18:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | protocol InnerTextViewDelegate: class {
    |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 | 	func didUpdateCursorFloatingState()
 20 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView+TextViewDelegate.swift:19:7: warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
 15 | #endif
 16 |
 17 | extension SyntaxTextView: InnerTextViewDelegate {
    |                           `- note: add '@preconcurrency' to the 'InnerTextViewDelegate' conformance to defer isolation checking to run time
 18 |
 19 | 	func didUpdateCursorFloatingState() {
    |       |- warning: main actor-isolated instance method 'didUpdateCursorFloatingState()' cannot be used to satisfy nonisolated requirement from protocol 'InnerTextViewDelegate'; this is an error in the Swift 6 language mode
    |       `- note: add 'nonisolated' to 'didUpdateCursorFloatingState()' to make this instance method not isolated to the actor
 20 |
 21 | 		selectionDidChange()
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/InnerTextView.swift:19:7: note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 17 |
 18 | protocol InnerTextViewDelegate: class {
 19 | 	func didUpdateCursorFloatingState()
    |       `- note: mark the protocol requirement 'didUpdateCursorFloatingState()' 'async' to allow actor-isolated conformances
 20 | }
 21 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/View/SyntaxTextView.swift:18:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 16 | #endif
 17 |
 18 | public protocol SyntaxTextViewDelegate: class {
    |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 19 |
 20 |     func didChangeText(_ syntaxTextView: SyntaxTextView)
[26/28] Compiling Sourceful SourceCodeTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:134:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
131 |         }
132 |
133 |         public func lexerForSource(_ source: String) -> Lexer {
    |                     `- note: add '@MainActor' to make instance method 'lexerForSource' part of global actor 'MainActor'
134 |             parent.custom.lexerForSource(source)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 |         }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:143:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
135 |         }
136 |
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'didChangeText' part of global actor 'MainActor'
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    :
141 |
142 |             // allow the client to decide on thread
143 |             parent.custom.didChangeText(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |         }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:147:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
144 |         }
145 |
146 |         public func textViewDidBeginEditing(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'textViewDidBeginEditing' part of global actor 'MainActor'
147 |             parent.custom.textViewDidBeginEditing(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
148 |         }
149 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:139:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
140 |             }
141 |
[27/28] Compiling Sourceful SourceCodeToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:134:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
131 |         }
132 |
133 |         public func lexerForSource(_ source: String) -> Lexer {
    |                     `- note: add '@MainActor' to make instance method 'lexerForSource' part of global actor 'MainActor'
134 |             parent.custom.lexerForSource(source)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 |         }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:143:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
135 |         }
136 |
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'didChangeText' part of global actor 'MainActor'
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    :
141 |
142 |             // allow the client to decide on thread
143 |             parent.custom.didChangeText(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |         }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:147:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
144 |         }
145 |
146 |         public func textViewDidBeginEditing(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'textViewDidBeginEditing' part of global actor 'MainActor'
147 |             parent.custom.textViewDidBeginEditing(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
148 |         }
149 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:139:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
140 |             }
141 |
[28/28] Compiling Sourceful SourceCodeTextEditor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:134:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
131 |         }
132 |
133 |         public func lexerForSource(_ source: String) -> Lexer {
    |                     `- note: add '@MainActor' to make instance method 'lexerForSource' part of global actor 'MainActor'
134 |             parent.custom.lexerForSource(source)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 |         }
136 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:143:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
135 |         }
136 |
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'didChangeText' part of global actor 'MainActor'
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    :
141 |
142 |             // allow the client to decide on thread
143 |             parent.custom.didChangeText(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
144 |         }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:147:20: warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 58 |     @Binding private var text: String
 59 |     private var shouldBecomeFirstResponder: Bool
 60 |     private var custom: Customization
    |                 `- note: property declared here
 61 |
 62 |     public init(
    :
144 |         }
145 |
146 |         public func textViewDidBeginEditing(_ syntaxTextView: SyntaxTextView) {
    |                     `- note: add '@MainActor' to make instance method 'textViewDidBeginEditing' part of global actor 'MainActor'
147 |             parent.custom.textViewDidBeginEditing(parent)
    |                    `- warning: main actor-isolated property 'custom' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
148 |         }
149 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Sourceful/SwiftUI/SourceCodeTextEditor.swift:139:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
137 |         public func didChangeText(_ syntaxTextView: SyntaxTextView) {
138 |             DispatchQueue.main.async {
139 |                 self.parent.text = syntaxTextView.text
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
140 |             }
141 |
[29/30] Compiling Sourceful SyntaxTextViewLayoutManager.swift
[30/30] Compiling Sourceful TextViewWrapperView.swift
Build complete! (9.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sourceful",
  "name" : "Sourceful",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Sourceful",
      "targets" : [
        "Sourceful"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SourcefulTests",
      "module_type" : "SwiftTarget",
      "name" : "SourcefulTests",
      "path" : "Tests/SourcefulTests",
      "sources" : [
        "SourcefulTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Sourceful"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sourceful",
      "module_type" : "SwiftTarget",
      "name" : "Sourceful",
      "path" : "Sources/Sourceful",
      "product_memberships" : [
        "Sourceful"
      ],
      "sources" : [
        "ASTVisualizer.swift",
        "Languages/JavaLexer.swift",
        "Languages/JavaScriptLexer.swift",
        "Languages/OCamlLexer.swift",
        "Languages/Python3Lexer.swift",
        "Languages/SwiftLexer.swift",
        "Model/Lexer.swift",
        "Model/Paragraph.swift",
        "Model/RegexLexer.swift",
        "Model/SyntaxColorTheme.swift",
        "Model/Token.swift",
        "SourceCodeRegexLexer.swift",
        "SourceCodeTheme.swift",
        "SourceCodeToken.swift",
        "SwiftUI/SourceCodeTextEditor.swift",
        "Themes/DefaultSourceCodeTheme.swift",
        "Util/NSMutableAttributedString+Tokens.swift",
        "Util/NSTextView+UIKit.swift",
        "Util/String+Range.swift",
        "Util/Types.swift",
        "View/InnerTextView.swift",
        "View/LineNumberLayoutManager.swift",
        "View/Paragraphs.swift",
        "View/SyntaxTextView+TextViewDelegate.swift",
        "View/SyntaxTextView.swift",
        "View/SyntaxTextViewLayoutManager.swift",
        "View/TextViewWrapperView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.