Build Information
Successful build of Omnibar, reference master (187bc8
), with Swift 6.0 for macOS (SPM) on 6 Jan 2025 13:21:46 UTC.
Swift 6 data race errors: 0
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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/Omnibar.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/Omnibar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 187bc89 expose whole OmnibarContentChange.string including the appendix
Cloned https://github.com/CleanCocoa/Omnibar.git
Revision (git rev-parse @):
187bc89eb196382d5bcdf1e5017dc033c331582c
SUCCESS checkout https://github.com/CleanCocoa/Omnibar.git at master
========================================
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": "omnibar",
"name": "Omnibar",
"url": "https://github.com/CleanCocoa/Omnibar.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Omnibar",
"dependencies": [
]
}
]
}
Fetching https://github.com/CleanCocoa/Omnibar.git
[1/2422] Fetching omnibar
Fetched https://github.com/CleanCocoa/Omnibar.git from cache (1.19s)
Creating working copy for https://github.com/CleanCocoa/Omnibar.git
Working copy of https://github.com/CleanCocoa/Omnibar.git resolved at master (187bc89)
warning: '.resolve-product-dependencies': dependency 'omnibar' 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/Omnibar.git
https://github.com/CleanCocoa/Omnibar.git
{
"dependencies" : [
],
"manifest_display_name" : "Omnibar",
"name" : "Omnibar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Omnibar",
"targets" : [
"Omnibar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OmnibarTests",
"module_type" : "SwiftTarget",
"name" : "OmnibarTests",
"path" : "Tests/OmnibarTests",
"sources" : [
"ChangeMethodTests.swift",
"NSRange+EquatableTests.swift",
"OmnibarContentChangeTests.swift",
"OmnibarContentTests.swift",
"OmnibarTests.swift",
"TextFieldTextChangeTests.swift",
"TextReplacementTests.swift"
],
"target_dependencies" : [
"Omnibar"
],
"type" : "test"
},
{
"c99name" : "Omnibar",
"module_type" : "SwiftTarget",
"name" : "Omnibar",
"path" : "Sources/Omnibar",
"product_memberships" : [
"Omnibar"
],
"sources" : [
"ChangeMethod.swift",
"MoveFromOmnibar.swift",
"NSControl+TextReplaceable.swift",
"NSView+constrainToSuperviewBounds.swift",
"Omnibar.swift",
"OmnibarContent.swift",
"OmnibarContentChange.swift",
"OmnibarContentChangeDelegate.swift",
"OmnibarTextFieldCell.swift",
"String+prefixRange.swift",
"String+removingSubrange.swift",
"TextFieldTextChange.swift",
"TextReplacement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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/15] Compiling Omnibar String+removingSubrange.swift
[4/15] Compiling Omnibar TextFieldTextChange.swift
[5/16] Compiling Omnibar TextReplacement.swift
[6/16] Compiling Omnibar OmnibarContentChange.swift
[7/16] Emitting module Omnibar
[8/16] Compiling Omnibar String+prefixRange.swift
[9/16] Compiling Omnibar OmnibarTextFieldCell.swift
[10/16] Compiling Omnibar OmnibarContentChangeDelegate.swift
[11/16] Compiling Omnibar NSControl+TextReplaceable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:9:38: warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
9 | guard let fieldEditor = self.currentEditor() as? NSTextView else {
| `- warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | self.stringValue = replacement.text
11 | return
AppKit.NSControl:2:26: note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
1 | extension NSControl {
2 | @MainActor open func currentEditor() -> NSText?
| `- note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
3 | open func abortEditing() -> Bool
4 | open func validateEditing()
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:10:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
9 | guard let fieldEditor = self.currentEditor() as? NSTextView else {
10 | self.stringValue = replacement.text
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
11 | return
12 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:16:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
:
14 | // Set `NSText.string` directly instead to *not* handle this as if the user typed the text.
15 | // (Usually, you will want to perform a change by bracketing it in `shouldChangeText(in:replacementString:)` before, `didChangeText()` after the replacement, and perform the change on `NSTextStorage` directly.)
16 | fieldEditor.string = replacement.text
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
17 | fieldEditor.selectedRange = replacement.selectedRange
18 | }
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:17:21: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
:
15 | // (Usually, you will want to perform a change by bracketing it in `shouldChangeText(in:replacementString:)` before, `didChangeText()` after the replacement, and perform the change on `NSTextStorage` directly.)
16 | fieldEditor.string = replacement.text
17 | fieldEditor.selectedRange = replacement.selectedRange
| `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSText:46:14: 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 | 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 }
[12/16] Compiling Omnibar NSView+constrainToSuperviewBounds.swift
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:9:38: warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
9 | guard let fieldEditor = self.currentEditor() as? NSTextView else {
| `- warning: call to main actor-isolated instance method 'currentEditor()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
10 | self.stringValue = replacement.text
11 | return
AppKit.NSControl:2:26: note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
1 | extension NSControl {
2 | @MainActor open func currentEditor() -> NSText?
| `- note: calls to instance method 'currentEditor()' from outside of its actor context are implicitly asynchronous
3 | open func abortEditing() -> Bool
4 | open func validateEditing()
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:10:18: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
9 | guard let fieldEditor = self.currentEditor() as? NSTextView else {
10 | self.stringValue = replacement.text
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
11 | return
12 | }
AppKit.NSControl:24:25: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | @MainActor open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:16:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
:
14 | // Set `NSText.string` directly instead to *not* handle this as if the user typed the text.
15 | // (Usually, you will want to perform a change by bracketing it in `shouldChangeText(in:replacementString:)` before, `didChangeText()` after the replacement, and perform the change on `NSTextStorage` directly.)
16 | fieldEditor.string = replacement.text
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
17 | fieldEditor.selectedRange = replacement.selectedRange
18 | }
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/NSControl+TextReplaceable.swift:17:21: warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
4 |
5 | extension TextReplaceable where Self: NSControl {
6 | func replaceText(replacement: TextReplacement) {
| `- note: add '@MainActor' to make instance method 'replaceText(replacement:)' part of global actor 'MainActor'
7 | // Do not set `stringValue` in an active editing session because that "aborts all editing before setting the value." (See docs.)
8 | // Note that `currentEditor()` returns `NSText` for legacy reasons, but: "The field editor is a single NSTextView object that is shared among all the controls in a window for light text-editing needs."
:
15 | // (Usually, you will want to perform a change by bracketing it in `shouldChangeText(in:replacementString:)` before, `didChangeText()` after the replacement, and perform the change on `NSTextStorage` directly.)
16 | fieldEditor.string = replacement.text
17 | fieldEditor.selectedRange = replacement.selectedRange
| `- warning: main actor-isolated property 'selectedRange' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSText:46:14: 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 | 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 }
[13/16] Compiling Omnibar ChangeMethod.swift
[14/16] Compiling Omnibar MoveFromOmnibar.swift
[15/16] Compiling Omnibar Omnibar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/Omnibar.swift:113:9: warning: cannot access property 'controlTextChangeSubscription' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
111 |
112 | deinit {
113 | if let subscription = controlTextChangeSubscription {
| `- warning: cannot access property 'controlTextChangeSubscription' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
114 | NotificationCenter.default.removeObserver(subscription)
115 | }
[16/16] Compiling Omnibar OmnibarContent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Omnibar/Omnibar.swift:113:9: warning: cannot access property 'controlTextChangeSubscription' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
111 |
112 | deinit {
113 | if let subscription = controlTextChangeSubscription {
| `- warning: cannot access property 'controlTextChangeSubscription' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
114 | NotificationCenter.default.removeObserver(subscription)
115 | }
Build complete! (13.50s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Omnibar",
"name" : "Omnibar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Omnibar",
"targets" : [
"Omnibar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OmnibarTests",
"module_type" : "SwiftTarget",
"name" : "OmnibarTests",
"path" : "Tests/OmnibarTests",
"sources" : [
"ChangeMethodTests.swift",
"NSRange+EquatableTests.swift",
"OmnibarContentChangeTests.swift",
"OmnibarContentTests.swift",
"OmnibarTests.swift",
"TextFieldTextChangeTests.swift",
"TextReplacementTests.swift"
],
"target_dependencies" : [
"Omnibar"
],
"type" : "test"
},
{
"c99name" : "Omnibar",
"module_type" : "SwiftTarget",
"name" : "Omnibar",
"path" : "Sources/Omnibar",
"product_memberships" : [
"Omnibar"
],
"sources" : [
"ChangeMethod.swift",
"MoveFromOmnibar.swift",
"NSControl+TextReplaceable.swift",
"NSView+constrainToSuperviewBounds.swift",
"Omnibar.swift",
"OmnibarContent.swift",
"OmnibarContentChange.swift",
"OmnibarContentChangeDelegate.swift",
"OmnibarTextFieldCell.swift",
"String+prefixRange.swift",
"String+removingSubrange.swift",
"TextFieldTextChange.swift",
"TextReplacement.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.