Build Information
Successful build of DSFComboButton with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFComboButton.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFComboButton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 675b8c1 Update macOS minimum version to 10.13, Swift to 5.4
Cloned https://github.com/dagronf/DSFComboButton.git
Revision (git rev-parse @):
675b8c13e0db5a759a6b757b09f7e18768830f29
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/dagronf/DSFComboButton.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/dagronf/DSFComboButton.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/10] Compiling DSFComboButton DelayedMenuButton.swift
[4/10] Compiling DSFComboButton DSFComboButton+private.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFComboButton/private/DSFComboButton+private.swift:214:13: warning: let '__ArrowImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 | // The arrow image
214 | private let __ArrowImage: NSImage = {
| |- warning: let '__ArrowImage' 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: annotate '__ArrowImage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | let image = NSImage(
216 | size: CGSize(width: 7, height: 5),
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
[5/10] Compiling DSFComboButton DSFComboButton.swift
[6/10] Emitting module DSFComboButton
/Users/admin/builder/spi-builder-workspace/Sources/DSFComboButton/private/DSFComboButton+private.swift:214:13: warning: let '__ArrowImage' is not concurrency-safe because non-'Sendable' type 'NSImage' may have shared mutable state; this is an error in the Swift 6 language mode
212 |
213 | // The arrow image
214 | private let __ArrowImage: NSImage = {
| |- warning: let '__ArrowImage' 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: annotate '__ArrowImage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 | let image = NSImage(
216 | size: CGSize(width: 7, height: 5),
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
[6/10] Write Objects.LinkFileList
[8/10] Archiving libDSFComboButton-static.a
[9/10] Linking libDSFComboButton-shared.dylib
Build complete! (26.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DSFComboButton",
"name" : "DSFComboButton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFComboButton",
"targets" : [
"DSFComboButton"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFComboButton-static",
"targets" : [
"DSFComboButton"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFComboButton-shared",
"targets" : [
"DSFComboButton"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFComboButtonTests",
"module_type" : "SwiftTarget",
"name" : "DSFComboButtonTests",
"path" : "Tests/DSFComboButtonTests",
"sources" : [
"DSFComboButtonTests.swift"
],
"target_dependencies" : [
"DSFComboButton"
],
"type" : "test"
},
{
"c99name" : "DSFComboButton",
"module_type" : "SwiftTarget",
"name" : "DSFComboButton",
"path" : "Sources/DSFComboButton",
"product_memberships" : [
"DSFComboButton",
"DSFComboButton-static",
"DSFComboButton-shared"
],
"sources" : [
"DSFComboButton.swift",
"private/DSFComboButton+private.swift",
"private/DelayedMenuButton.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.