Build Information
Successful build of DSFSecureTextField, reference master (b82c3e
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 11:04:15 UTC.
Swift 6 data race errors: 1
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/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 b82c3e3 Added missing control size (Bug #1)
Cloned https://github.com/dagronf/DSFSecureTextField.git
Revision (git rev-parse @):
b82c3e3908bc42549fc9b08135a9d0d7696c048e
SUCCESS checkout https://github.com/dagronf/DSFSecureTextField.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": "dsfsecuretextfield",
"name": "DSFSecureTextField",
"url": "https://github.com/dagronf/DSFSecureTextField.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFSecureTextField",
"dependencies": [
]
}
]
}
Fetching https://github.com/dagronf/DSFSecureTextField.git
[1/122] Fetching dsfsecuretextfield
Fetched https://github.com/dagronf/DSFSecureTextField.git from cache (0.82s)
Creating working copy for https://github.com/dagronf/DSFSecureTextField.git
Working copy of https://github.com/dagronf/DSFSecureTextField.git resolved at master (b82c3e3)
warning: '.resolve-product-dependencies': dependency 'dsfsecuretextfield' 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/dagronf/DSFSecureTextField.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/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling DSFSecureTextField DSFSecureTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/DSFSecureTextField.swift:226: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
221 |
222 | @usableFromInline internal let __rightPadding = 32.0
223 | @inlinable internal func __tweak(_ cell: NSTextFieldCell, _ rect: NSRect) -> NSRect {
| `- note: add '@MainActor' to make global function '__tweak' part of global actor 'MainActor'
224 | var newRect = rect
225 | newRect.size.width -= __rightPadding
226 | 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
227 | return newRect
228 | }
AppKit.NSCell:133:25: note: property declared here
131 | open var truncatesLastVisibleLine: Bool { get set }
132 | @available(macOS 10.6, *)
133 | @MainActor open var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }
| `- note: property declared here
134 | @available(macOS 10.6, *)
135 | open func fieldEditor(for controlView: NSView) -> NSTextView?
[4/9] Compiling DSFSecureTextField DSFPasswordButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/private/DSFPasswordButton.swift:54:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 | override func awakeFromNib() {
53 | super.awakeFromNib()
54 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | }
56 |
:
64 | }
65 |
66 | private func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
67 | self.translatesAutoresizingMaskIntoConstraints = false
68 | self.setContentCompressionResistancePriority(.defaultLow, for: .horizontal)
[5/9] Emitting module DSFSecureTextField
/Users/admin/builder/spi-builder-workspace/Sources/DSFSecureTextField/DSFSecureTextField.swift:226: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
221 |
222 | @usableFromInline internal let __rightPadding = 32.0
223 | @inlinable internal func __tweak(_ cell: NSTextFieldCell, _ rect: NSRect) -> NSRect {
| `- note: add '@MainActor' to make global function '__tweak' part of global actor 'MainActor'
224 | var newRect = rect
225 | newRect.size.width -= __rightPadding
226 | 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
227 | return newRect
228 | }
AppKit.NSCell:133:25: note: property declared here
131 | open var truncatesLastVisibleLine: Bool { get set }
132 | @available(macOS 10.6, *)
133 | @MainActor open var userInterfaceLayoutDirection: NSUserInterfaceLayoutDirection { get set }
| `- note: property declared here
134 | @available(macOS 10.6, *)
135 | open func fieldEditor(for controlView: NSView) -> NSTextView?
[5/9] Write Objects.LinkFileList
[7/9] Archiving libDSFSecureTextFieldStatic.a
[8/9] Linking libDSFSecureTextFieldDynamic.dylib
Build complete! (10.48s)
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"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.