Build Information
Successful build of ResizingTextView, reference 4.0.0 (e00c35
), with Swift 6.0 for macOS (SPM) on 7 Apr 2025 13:01:45 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mshibanami/ResizingTextView.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mshibanami/ResizingTextView
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at e00c35d Support tvOS
Cloned https://github.com/mshibanami/ResizingTextView.git
Revision (git rev-parse @):
e00c35d288218092715a06f40aa24ef942d6386a
SUCCESS checkout https://github.com/mshibanami/ResizingTextView.git at 4.0.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": "resizingtextview",
"name": "ResizingTextView",
"url": "https://github.com/mshibanami/ResizingTextView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ResizingTextView",
"dependencies": [
]
}
]
}
Fetching https://github.com/mshibanami/ResizingTextView.git
[4/396] Fetching resizingtextview
Fetched https://github.com/mshibanami/ResizingTextView.git from cache (0.64s)
Creating working copy for https://github.com/mshibanami/ResizingTextView.git
Working copy of https://github.com/mshibanami/ResizingTextView.git resolved at 4.0.0 (e00c35d)
warning: '.resolve-product-dependencies': dependency 'resizingtextview' 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/mshibanami/ResizingTextView.git
https://github.com/mshibanami/ResizingTextView.git
{
"dependencies" : [
],
"manifest_display_name" : "ResizingTextView",
"name" : "ResizingTextView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ResizingTextView",
"targets" : [
"ResizingTextView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResizingTextViewTests",
"module_type" : "SwiftTarget",
"name" : "ResizingTextViewTests",
"path" : "Tests/ResizingTextViewTests",
"sources" : [
"ResizingTextViewTests.swift"
],
"target_dependencies" : [
"ResizingTextView"
],
"type" : "test"
},
{
"c99name" : "ResizingTextView",
"module_type" : "SwiftTarget",
"name" : "ResizingTextView",
"path" : "Sources/ResizingTextView",
"product_memberships" : [
"ResizingTextView"
],
"sources" : [
"CrossPlatformAliases.swift",
"ResizingTextView.swift",
"TextView (AppKit).swift",
"TextView (UIKit).swift",
"View+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[3/8] Compiling ResizingTextView View+Extensions.swift
[4/8] Compiling ResizingTextView TextView (AppKit).swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextView (AppKit).swift:205:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
203 | // The `textDidChange()` delegate method is not called when the view is not focused AND the text is changed by undo/redo.
204 | // This code is a fallback for when it happens.
205 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
206 | guard let self,
| `- note: closure captures 'self' which is accessible to code in the current task
207 | let nsView,
208 | let window = await nsView.window,
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/TextView (AppKit).swift:213:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
211 | return
212 | }
213 | await updateTextView()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated instance method 'updateTextView()' risks causing data races between main actor-isolated and task-isolated uses
214 | }
215 | }
[5/8] Compiling ResizingTextView TextView (UIKit).swift
[6/8] Compiling ResizingTextView CrossPlatformAliases.swift
[7/8] Emitting module ResizingTextView
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:247:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | import SwiftUI
6 |
7 | @MainActor public struct ResizingTextView: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
8 | @Binding var text: String
9 | var placeholder: String?
:
245 | }
246 |
247 | public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
248 | var result = lhs.text == rhs.text
249 | && lhs.placeholder == rhs.placeholder
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
[8/8] Compiling ResizingTextView ResizingTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/ResizingTextView/ResizingTextView.swift:247:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | import SwiftUI
6 |
7 | @MainActor public struct ResizingTextView: View, Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
8 | @Binding var text: String
9 | var placeholder: String?
:
245 | }
246 |
247 | public static func == (lhs: ResizingTextView, rhs: ResizingTextView) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
248 | var result = lhs.text == rhs.text
249 | && lhs.placeholder == rhs.placeholder
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
Build complete! (12.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ResizingTextView",
"name" : "ResizingTextView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "ResizingTextView",
"targets" : [
"ResizingTextView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ResizingTextViewTests",
"module_type" : "SwiftTarget",
"name" : "ResizingTextViewTests",
"path" : "Tests/ResizingTextViewTests",
"sources" : [
"ResizingTextViewTests.swift"
],
"target_dependencies" : [
"ResizingTextView"
],
"type" : "test"
},
{
"c99name" : "ResizingTextView",
"module_type" : "SwiftTarget",
"name" : "ResizingTextView",
"path" : "Sources/ResizingTextView",
"product_memberships" : [
"ResizingTextView"
],
"sources" : [
"CrossPlatformAliases.swift",
"ResizingTextView.swift",
"TextView (AppKit).swift",
"TextView (UIKit).swift",
"View+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.