Build Information
Successful build of DSFComboButton, reference main (675b8c
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:17:46 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 -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.58.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/dagronf/DSFComboButton.git at main
========================================
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": "dsfcombobutton",
"name": "DSFComboButton",
"url": "https://github.com/dagronf/DSFComboButton.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFComboButton",
"dependencies": [
]
}
]
}
Fetching https://github.com/dagronf/DSFComboButton.git
[1/167] Fetching dsfcombobutton
Fetched https://github.com/dagronf/DSFComboButton.git from cache (0.72s)
Creating working copy for https://github.com/dagronf/DSFComboButton.git
Working copy of https://github.com/dagronf/DSFComboButton.git resolved at main (675b8c1)
warning: '.resolve-product-dependencies': dependency 'dsfcombobutton' 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/DSFComboButton.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 -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--7754E27361AE5C74.txt
[3/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")
[4/10] Compiling DSFComboButton DSFComboButton.swift
[5/10] Compiling DSFComboButton DelayedMenuButton.swift
[6/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")
/Users/admin/builder/spi-builder-workspace/Sources/DSFComboButton/private/DSFComboButton+private.swift:164: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
31 |
32 | extension DSFComboButton {
33 | func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
34 | self.wantsLayer = true
35 | self.layer!.masksToBounds = false
:
162 | public extension DSFComboButton {
163 | override func prepareForInterfaceBuilder() {
164 | 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
165 | self.rebuild()
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFComboButton/private/DSFComboButton+private.swift:165:8: warning: call to main actor-isolated instance method 'rebuild()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | func rebuild() {
| `- note: calls to instance method 'rebuild()' from outside of its actor context are implicitly asynchronous
44 | self.segmented = nil
45 | self.unified = nil
:
163 | override func prepareForInterfaceBuilder() {
164 | self.setup()
165 | self.rebuild()
| `- warning: call to main actor-isolated instance method 'rebuild()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
166 | }
167 |
[6/10] Write Objects.LinkFileList
[8/10] Archiving libDSFComboButton-static.a
[9/10] Linking libDSFComboButton-shared.dylib
Build complete! (10.43s)
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.