Build Information
Successful build of TextViewPlus, reference main (43f792
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 01:31:33 UTC.
Swift 6 data race errors: 0
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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/TextViewPlus.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/TextViewPlus
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 43f7923 Merge pull request #3 from kaunteya/char-modification
Cloned https://github.com/ChimeHQ/TextViewPlus.git
Revision (git rev-parse @):
43f79236f140426d297936a15f2e2feba61442bb
SUCCESS checkout https://github.com/ChimeHQ/TextViewPlus.git at main
Fetching https://github.com/ChimeHQ/Rearrange
[1/532] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.85s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (3.23s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.6.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": "textviewplus",
"name": "TextViewPlus",
"url": "https://github.com/ChimeHQ/TextViewPlus.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TextViewPlus",
"dependencies": [
{
"identity": "rearrange",
"name": "Rearrange",
"url": "https://github.com/ChimeHQ/Rearrange",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rearrange",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ChimeHQ/TextViewPlus.git
[3/272] Fetching textviewplus
Fetched https://github.com/ChimeHQ/TextViewPlus.git from cache (0.76s)
Fetching https://github.com/ChimeHQ/Rearrange from cache
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.47s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (0.63s)
Creating working copy for https://github.com/ChimeHQ/TextViewPlus.git
Working copy of https://github.com/ChimeHQ/TextViewPlus.git resolved at main (43f7923)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.8.1
warning: '.resolve-product-dependencies': dependency 'textviewplus' is not used by any target
Found 1 product dependencies
- Rearrange
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChimeHQ/TextViewPlus.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/15] Compiling Rearrange UITextRange+Convenience.swift
[6/15] Compiling Rearrange RangeMutation.swift
[7/15] Emitting module Rearrange
[8/15] Compiling Rearrange IndexSet+NSRange.swift
[9/15] Compiling Rearrange NSRange+Shift.swift
[10/15] Compiling Rearrange NSRange+ApplyMutation.swift
[11/15] Compiling Rearrange NSRange+Convenience.swift
[12/15] Compiling Rearrange String+NSRange.swift
[13/15] Compiling Rearrange NSTextRange+NSRange.swift
[14/15] Compiling BaseTextView BaseTextView.swift
[15/15] Emitting module BaseTextView
[16/25] Compiling TextViewPlus NSTextView+Style.swift
[17/25] Compiling TextViewPlus NSTextView+Workarounds.swift
[18/26] Compiling TextViewPlus NSTextView+Ranges.swift
[19/26] Compiling TextViewPlus NSTextView+Geometry.swift
[20/26] Compiling TextViewPlus NSTextView+Selection.swift
[21/26] Compiling TextViewPlus NSTextView+Bounding.swift
[22/26] Compiling TextViewPlus NSTextView+Behavior.swift
[23/26] Compiling TextViewPlus NSTextView+AttributedString.swift
/Users/admin/builder/spi-builder-workspace/Sources/TextViewPlus/NSTextView+AttributedString.swift:48:60: warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |
47 | manager.registerUndo(withTarget: self, handler: { (view) in
48 | view.replaceString(in: inverseRange, with: usableReplacementString)
| `- warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a `@Sendable` closure; this is an error in the Swift 6 language mode
49 | })
50 | }
Foundation.NSAttributedString:2:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
3 | open var string: String { get }
4 | open func attributes(at location: Int, effectiveRange range: NSRangePointer?) -> [NSAttributedString.Key : Any]
/Users/admin/builder/spi-builder-workspace/Sources/TextViewPlus/NSTextView+AttributedString.swift:48:22: warning: call to main actor-isolated instance method 'replaceString(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | /// Undoable replacement of attributed string in specified range
39 | func replaceString(in range: NSRange, with attributedString: NSAttributedString) {
| `- note: calls to instance method 'replaceString(in:with:)' from outside of its actor context are implicitly asynchronous
40 | if let manager = undoManager {
41 | let originalString = safeAttributedSubstring(forProposedRange: range, actualRange: nil)
:
46 |
47 | manager.registerUndo(withTarget: self, handler: { (view) in
48 | view.replaceString(in: inverseRange, with: usableReplacementString)
| `- warning: call to main actor-isolated instance method 'replaceString(in:with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
49 | })
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/TextViewPlus/NSTextView+AttributedString.swift:72:22: warning: call to main actor-isolated instance method 'deleteString(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
70 |
71 | manager.registerUndo(withTarget: self, handler: { view in
72 | view.deleteString(in: inverseRange)
| `- warning: call to main actor-isolated instance method 'deleteString(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | })
74 | }
:
88 |
89 | /// Undoable deletion of string in specified range
90 | func deleteString(in range: NSRange) {
| `- note: calls to instance method 'deleteString(in:)' from outside of its actor context are implicitly asynchronous
91 | if let manager = undoManager {
92 | let originalString = safeAttributedSubstring(forProposedRange: range, actualRange: nil)
/Users/admin/builder/spi-builder-workspace/Sources/TextViewPlus/NSTextView+AttributedString.swift:96:35: warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 |
95 | manager.registerUndo(withTarget: self, handler: { view in
96 | view.insertString(usableReplacementString, at: range.location)
| `- warning: capture of 'usableReplacementString' with non-sendable type 'NSAttributedString' in a `@Sendable` closure; this is an error in the Swift 6 language mode
97 | })
98 | }
Foundation.NSAttributedString:2:12: note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.0, *)
2 | open class NSAttributedString : NSObject, NSCopying, NSMutableCopying, NSSecureCoding {
| `- note: class 'NSAttributedString' does not conform to the 'Sendable' protocol
3 | open var string: String { get }
4 | open func attributes(at location: Int, effectiveRange range: NSRangePointer?) -> [NSAttributedString.Key : Any]
/Users/admin/builder/spi-builder-workspace/Sources/TextViewPlus/NSTextView+AttributedString.swift:96:22: warning: call to main actor-isolated instance method 'insertString(_:at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 |
65 | /// Undoable insertion of attributed string at specified location
66 | func insertString(_ attributedString: NSAttributedString, at location: Int) {
| `- note: calls to instance method 'insertString(_:at:)' from outside of its actor context are implicitly asynchronous
67 | if let manager = undoManager {
68 | let inverseLength = attributedString.length
:
94 |
95 | manager.registerUndo(withTarget: self, handler: { view in
96 | view.insertString(usableReplacementString, at: range.location)
| `- warning: call to main actor-isolated instance method 'insertString(_:at:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | })
98 | }
[24/26] Emitting module TextViewPlus
[25/26] Compiling TextViewPlus NSLayoutManager+Geometry.swift
[26/26] Compiling TextViewPlus ParagraphRenderingAttributeTextLayoutFragment.swift
Build complete! (18.25s)
warning: 'rearrange': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Rearrange.xcconfig
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "rearrange",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ChimeHQ/Rearrange"
}
],
"manifest_display_name" : "TextViewPlus",
"name" : "TextViewPlus",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "TextViewPlus",
"targets" : [
"TextViewPlus"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BaseTextView",
"targets" : [
"BaseTextView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TextViewPlusTests",
"module_type" : "SwiftTarget",
"name" : "TextViewPlusTests",
"path" : "Tests/TextViewPlusTests",
"sources" : [
"TestableTextView.swift",
"TextViewPlusTests.swift"
],
"target_dependencies" : [
"TextViewPlus"
],
"type" : "test"
},
{
"c99name" : "TextViewPlus",
"module_type" : "SwiftTarget",
"name" : "TextViewPlus",
"path" : "Sources/TextViewPlus",
"product_dependencies" : [
"Rearrange"
],
"product_memberships" : [
"TextViewPlus"
],
"sources" : [
"NSLayoutManager+Geometry.swift",
"NSTextView+AttributedString.swift",
"NSTextView+Behavior.swift",
"NSTextView+Bounding.swift",
"NSTextView+Geometry.swift",
"NSTextView+Ranges.swift",
"NSTextView+Selection.swift",
"NSTextView+Style.swift",
"NSTextView+Workarounds.swift",
"ParagraphRenderingAttributeTextLayoutFragment.swift"
],
"type" : "library"
},
{
"c99name" : "BaseTextViewTests",
"module_type" : "SwiftTarget",
"name" : "BaseTextViewTests",
"path" : "Tests/BaseTextViewTests",
"sources" : [
"BaseTextViewTests.swift"
],
"target_dependencies" : [
"BaseTextView"
],
"type" : "test"
},
{
"c99name" : "BaseTextView",
"module_type" : "SwiftTarget",
"name" : "BaseTextView",
"path" : "Sources/BaseTextView",
"product_memberships" : [
"BaseTextView"
],
"sources" : [
"BaseTextView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.