Build Information
Successful build of DSFSecureTextField, reference master (5287ce), with Swift 6.1 for macOS (SPM) on 14 Aug 2026 07:36:07 UTC.
Swift 6 data race errors: 5
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFSecureTextField.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFSecureTextField
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5287cea Small updates to handle Xcode previews
Cloned https://github.com/dagronf/DSFSecureTextField.git
Revision (git rev-parse @):
5287cea1657dc65db32516fd1698f3e1b9fb974b
SUCCESS checkout https://github.com/dagronf/DSFSecureTextField.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dagronf/DSFSecureTextField.git
https://github.com/dagronf/DSFSecureTextField.git
{
"dependencies" : [
],
"manifest_display_name" : "DSFSecureTextField",
"name" : "DSFSecureTextField",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFSecureTextField",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFSecureTextFieldStatic",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFSecureTextFieldDynamic",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFSecureTextFieldTests",
"module_type" : "SwiftTarget",
"name" : "DSFSecureTextFieldTests",
"path" : "Tests/DSFSecureTextFieldTests",
"sources" : [
"DSFSecureTextFieldTests.swift"
],
"target_dependencies" : [
"DSFSecureTextField"
],
"type" : "test"
},
{
"c99name" : "DSFSecureTextField",
"module_type" : "SwiftTarget",
"name" : "DSFSecureTextField",
"path" : "Sources/DSFSecureTextField",
"product_memberships" : [
"DSFSecureTextField",
"DSFSecureTextFieldStatic",
"DSFSecureTextFieldDynamic"
],
"sources" : [
"DSFSecureTextField.swift",
"private/DSFPasswordButton.swift",
"private/DesignTime+PreviewBackport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/6] Write sources
[1/6] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling DSFSecureTextField DSFPasswordButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:164:13: warning: let 'offPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | // 32x32 icon for the 'off' state
164 | private let offPath__: NSBezierPath = {
| |- warning: let 'offPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'offPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | //// Bezier Drawing
166 | let textPath = NSBezierPath()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:254:13: warning: let 'offImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
252 | }()
253 |
254 | private let offImage__: NSImage = {
| |- warning: let 'offImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'offImage__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | let image = NSImage(size: NSSize(width: 32, height: 32), flipped: false) { rect in
256 | NSColor.black.setFill()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:267:13: warning: let 'onPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
265 |
266 | // 32x32 icon for the 'on' state
267 | private let onPath__: NSBezierPath = {
| |- warning: let 'onPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'onPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | let textPath = NSBezierPath()
269 | textPath.move(to: NSPoint(x: 15.96, y: 6.44))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:339:13: warning: let 'onImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
337 | }()
338 |
339 | private let onImage__: NSImage = {
| |- warning: let 'onImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'onImage__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 | let image = NSImage(size: NSSize(width: 32, height: 32), flipped: false) { rect in
341 | NSColor.black.setFill()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
[4/10] Emitting module DSFSecureTextField
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/DSFSecureTextField.swift:275:10: warning: main actor-isolated property 'userInterfaceLayoutDirection' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
270 |
271 | @usableFromInline internal let __rightPadding = 32.0
272 | @inlinable internal func __tweak(_ cell: NSTextFieldCell, _ rect: NSRect) -> NSRect {
| `- note: add '@MainActor' to make global function '__tweak' part of global actor 'MainActor'
273 | var newRect = rect
274 | newRect.size.width -= __rightPadding
275 | if cell.userInterfaceLayoutDirection == .rightToLeft { newRect.origin.x += __rightPadding }
| `- warning: main actor-isolated property 'userInterfaceLayoutDirection' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
276 | return newRect
277 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:197:42: note: property declared here
195 | /* Bi-directional User Interface. It specifies the general UI layout flow directions.
196 | */
197 | @property NSUserInterfaceLayoutDirection userInterfaceLayoutDirection API_AVAILABLE(macos(10.6));
| `- note: property declared here
198 |
199 | /* Returns a custom field editor for editing inside controlView. This is an override point for NSCell subclasses designed to work with its own custom field editor. This message is sent to the selected cell of controlView in -[NSWindow fieldEditor:forObject:]. Returning non-nil from this method indicates skipping the standard field editor querying processes including -windowWillReturnFieldEditor:toObject: delegation. The default NSCell implementation returns nil. The field editor returned from this method should have isFieldEditor == YES.
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:164:13: warning: let 'offPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | // 32x32 icon for the 'off' state
164 | private let offPath__: NSBezierPath = {
| |- warning: let 'offPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'offPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | //// Bezier Drawing
166 | let textPath = NSBezierPath()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:254:13: warning: let 'offImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
252 | }()
253 |
254 | private let offImage__: NSImage = {
| |- warning: let 'offImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'offImage__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | let image = NSImage(size: NSSize(width: 32, height: 32), flipped: false) { rect in
256 | NSColor.black.setFill()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:267:13: warning: let 'onPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
265 |
266 | // 32x32 icon for the 'on' state
267 | private let onPath__: NSBezierPath = {
| |- warning: let 'onPath__' is not concurrency-safe because non-'Sendable' type 'NSBezierPath' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'onPath__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | let textPath = NSBezierPath()
269 | textPath.move(to: NSPoint(x: 15.96, y: 6.44))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSBezierPath.h:44:12: note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
42 | };
43 |
44 | @interface NSBezierPath : NSObject <NSCopying, NSSecureCoding>
| `- note: class 'NSBezierPath' does not conform to the 'Sendable' protocol
45 |
46 | // Creating common paths.
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:339:13: warning: let 'onImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
337 | }()
338 |
339 | private let onImage__: NSImage = {
| |- warning: let 'onImage__' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'onImage__' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 | let image = NSImage(size: NSSize(width: 32, height: 32), flipped: false) { rect in
341 | NSColor.black.setFill()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImage.h:66:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
64 | __attribute__((objc_subclassing_restricted))
65 | #endif /* NSIMAGE_UNAVAILABLE_MACCATALYST */
66 | @interface NSImage : NSObject
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
67 |
68 | #pragma mark - Initialization
[5/10] Compiling DSFSecureTextField DSFSecureTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/DSFSecureTextField.swift:275:10: warning: main actor-isolated property 'userInterfaceLayoutDirection' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
270 |
271 | @usableFromInline internal let __rightPadding = 32.0
272 | @inlinable internal func __tweak(_ cell: NSTextFieldCell, _ rect: NSRect) -> NSRect {
| `- note: add '@MainActor' to make global function '__tweak' part of global actor 'MainActor'
273 | var newRect = rect
274 | newRect.size.width -= __rightPadding
275 | if cell.userInterfaceLayoutDirection == .rightToLeft { newRect.origin.x += __rightPadding }
| `- warning: main actor-isolated property 'userInterfaceLayoutDirection' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
276 | return newRect
277 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:197:42: note: property declared here
195 | /* Bi-directional User Interface. It specifies the general UI layout flow directions.
196 | */
197 | @property NSUserInterfaceLayoutDirection userInterfaceLayoutDirection API_AVAILABLE(macos(10.6));
| `- note: property declared here
198 |
199 | /* Returns a custom field editor for editing inside controlView. This is an override point for NSCell subclasses designed to work with its own custom field editor. This message is sent to the selected cell of controlView in -[NSWindow fieldEditor:forObject:]. Returning non-nil from this method indicates skipping the standard field editor querying processes including -windowWillReturnFieldEditor:toObject: delegation. The default NSCell implementation returns nil. The field editor returned from this method should have isFieldEditor == YES.
[6/10] Compiling DSFSecureTextField DesignTime+PreviewBackport.swift
[6/10] Write Objects.LinkFileList
[8/10] Archiving libDSFSecureTextFieldStatic.a
[9/10] Linking libDSFSecureTextFieldDynamic.dylib
Build complete! (7.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DSFSecureTextField",
"name" : "DSFSecureTextField",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFSecureTextField",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFSecureTextFieldStatic",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFSecureTextFieldDynamic",
"targets" : [
"DSFSecureTextField"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFSecureTextFieldTests",
"module_type" : "SwiftTarget",
"name" : "DSFSecureTextFieldTests",
"path" : "Tests/DSFSecureTextFieldTests",
"sources" : [
"DSFSecureTextFieldTests.swift"
],
"target_dependencies" : [
"DSFSecureTextField"
],
"type" : "test"
},
{
"c99name" : "DSFSecureTextField",
"module_type" : "SwiftTarget",
"name" : "DSFSecureTextField",
"path" : "Sources/DSFSecureTextField",
"product_memberships" : [
"DSFSecureTextField",
"DSFSecureTextFieldStatic",
"DSFSecureTextFieldDynamic"
],
"sources" : [
"DSFSecureTextField.swift",
"private/DSFPasswordButton.swift",
"private/DesignTime+PreviewBackport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.