Build Information
Successful build of DSFDockTile, reference main (74fe54
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 14:29:13 UTC.
Swift 6 data race errors: 17
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFDockTile.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFDockTile
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 74fe541 Added commit action
Cloned https://github.com/dagronf/DSFDockTile.git
Revision (git rev-parse @):
74fe5412bf42d9bfd461598178fe2902b32edf99
SUCCESS checkout https://github.com/dagronf/DSFDockTile.git at main
Fetching https://github.com/dagronf/DSFImageFlipbook
[1/42] Fetching dsfimageflipbook
Fetched https://github.com/dagronf/DSFImageFlipbook from cache (0.59s)
Computing version for https://github.com/dagronf/DSFImageFlipbook
Computed https://github.com/dagronf/DSFImageFlipbook at 1.0.1 (1.16s)
Creating working copy for https://github.com/dagronf/DSFImageFlipbook
Working copy of https://github.com/dagronf/DSFImageFlipbook resolved at 1.0.1
========================================
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": "dsfdocktile",
"name": "DSFDockTile",
"url": "https://github.com/dagronf/DSFDockTile.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFDockTile",
"dependencies": [
{
"identity": "dsfimageflipbook",
"name": "DSFImageFlipbook",
"url": "https://github.com/dagronf/DSFImageFlipbook",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFImageFlipbook",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/dagronf/DSFDockTile.git
[6/283] Fetching dsfdocktile
Fetched https://github.com/dagronf/DSFDockTile.git from cache (1.20s)
Fetching https://github.com/dagronf/DSFImageFlipbook from cache
Fetched https://github.com/dagronf/DSFImageFlipbook from cache (0.47s)
Computing version for https://github.com/dagronf/DSFImageFlipbook
Computed https://github.com/dagronf/DSFImageFlipbook at 1.0.1 (0.52s)
Creating working copy for https://github.com/dagronf/DSFImageFlipbook
Working copy of https://github.com/dagronf/DSFImageFlipbook resolved at 1.0.1
Creating working copy for https://github.com/dagronf/DSFDockTile.git
Working copy of https://github.com/dagronf/DSFDockTile.git resolved at main (74fe541)
warning: '.resolve-product-dependencies': dependency 'dsfdocktile' is not used by any target
Found 1 product dependencies
- DSFImageFlipbook
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dagronf/DSFDockTile.git
https://github.com/dagronf/DSFDockTile.git
{
"dependencies" : [
{
"identity" : "dsfimageflipbook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFImageFlipbook"
}
],
"manifest_display_name" : "DSFDockTile",
"name" : "DSFDockTile",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFDockTile",
"targets" : [
"DSFDockTile"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFDockTileTests",
"module_type" : "SwiftTarget",
"name" : "DSFDockTileTests",
"path" : "Tests/DSFDockTileTests",
"sources" : [
"DSFDockTileTests.swift"
],
"target_dependencies" : [
"DSFDockTile"
],
"type" : "test"
},
{
"c99name" : "DSFDockTile",
"module_type" : "SwiftTarget",
"name" : "DSFDockTile",
"path" : "Sources/DSFDockTile",
"product_dependencies" : [
"DSFImageFlipbook"
],
"product_memberships" : [
"DSFDockTile"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DSFDockTile+Animation.swift",
"DSFDockTile+Attention.swift",
"DSFDockTile+ConstantImage.swift",
"DSFDockTile+Core.swift",
"DSFDockTile+Image.swift",
"DSFDockTile+SwiftUI.swift",
"DSFDockTile+ViewController.swift",
"DSFDockTile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
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/4] Write sources
[2/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/6] Compiling DSFImageFlipbook DSFImageFlipbook.swift
[6/6] Emitting module DSFImageFlipbook
[7/16] Compiling DSFDockTile DSFDockTile+Core.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:44:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | internal init(dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
45 | self.dockTile = dockTile
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:54:24: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
52 | public class AppIconType: Core {
53 |
54 | public override init(dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
55 | super.init(dockTile: dockTile)
56 | }
[8/16] Compiling DSFDockTile DSFDockTile+ViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ViewController.swift:42:51: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
40 | /// - viewController: The viewController handling the view being displayed in the dock tile. This parameter is weakly held by this object, so it's important to make sure you hold onto this view controller outside the instance
41 | /// - dockTile: The docktile to update. By default, updates the application docktile.
42 | public init(_ viewController: NSViewController, dockTile: NSDockTile = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
43 | self.viewController = viewController
44 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ViewController.swift:57:31: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |
47 | // Set view as docktile
48 | public func display() {
| `- note: add '@MainActor' to make instance method 'display()' part of global actor 'MainActor'
49 | precondition(Thread.isMainThread)
50 |
:
55 |
56 | // Make sure the docktile is showing our view
57 | if tile.contentView !== vc.view {
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
58 | tile.contentView = vc.view
59 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ViewController.swift:58:27: warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
46 |
47 | // Set view as docktile
48 | public func display() {
| `- note: add '@MainActor' to make instance method 'display()' part of global actor 'MainActor'
49 | precondition(Thread.isMainThread)
50 |
:
56 | // Make sure the docktile is showing our view
57 | if tile.contentView !== vc.view {
58 | tile.contentView = vc.view
| `- warning: main actor-isolated property 'view' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: property declared here
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: property declared here
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
[9/16] Compiling DSFDockTile DSFDockTile.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:32:20: warning: static property 'AppIcon' is not concurrency-safe because non-'Sendable' type 'DSFDockTile.AppIconType' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public class DSFDockTile {
31 | /// A docktile that represents the current application's icon
32 | public static let AppIcon = DSFDockTile.AppIconType()
| |- warning: static property 'AppIcon' is not concurrency-safe because non-'Sendable' type 'DSFDockTile.AppIconType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'AppIcon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Set the badge label to be displayed on the application's docktile
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:52:15: note: class 'AppIconType' does not conform to the 'Sendable' protocol
50 | extension DSFDockTile {
51 | /// A docktile object that displays the default docktile content.
52 | public class AppIconType: Core {
| `- note: class 'AppIconType' does not conform to the 'Sendable' protocol
53 |
54 | public override init(dockTile: NSDockTile? = NSApp?.dockTile) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:54:24: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
52 | public class AppIconType: Core {
53 |
54 | public override init(dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
55 | super.init(dockTile: dockTile)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:45:64: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Set the badge label to be displayed on a provided docktile
45 | @inlinable public static func setBadgeLabel(_ label: String?, dockTile: NSDockTile? = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
46 | dockTile?.badgeLabel = label
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:37:10: warning: main actor-isolated property 'dockTile' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | public static var badgeLabel: String? {
36 | get {
37 | NSApp.dockTile.badgeLabel
| `- warning: main actor-isolated property 'dockTile' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | set {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:300:42: note: property declared here
298 |
299 |
300 | @property (readonly, strong) NSDockTile *dockTile API_AVAILABLE(macos(10.5));
| `- note: property declared here
301 |
302 | - (void)reportException:(NSException *)exception;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:37:4: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
35 | public static var badgeLabel: String? {
36 | get {
37 | NSApp.dockTile.badgeLabel
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | set {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:40:10: warning: main actor-isolated property 'dockTile' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | set {
40 | NSApp.dockTile.badgeLabel = newValue
| `- warning: main actor-isolated property 'dockTile' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:300:42: note: mutation of this property is only permitted within the actor
298 |
299 |
300 | @property (readonly, strong) NSDockTile *dockTile API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
301 |
302 | - (void)reportException:(NSException *)exception;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:40:4: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
38 | }
39 | set {
40 | NSApp.dockTile.badgeLabel = newValue
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:50:9: warning: main actor-isolated property 'dockTile' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func reset() {
| `- note: add '@MainActor' to make instance method 'reset()' part of global actor 'MainActor'
50 | NSApp.dockTile.contentView = nil
| `- warning: main actor-isolated property 'dockTile' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
51 | }
52 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:300:42: note: mutation of this property is only permitted within the actor
298 |
299 |
300 | @property (readonly, strong) NSDockTile *dockTile API_AVAILABLE(macos(10.5));
| `- note: mutation of this property is only permitted within the actor
301 |
302 | - (void)reportException:(NSException *)exception;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:50:3: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func reset() {
| `- note: add '@MainActor' to make instance method 'reset()' part of global actor 'MainActor'
50 | NSApp.dockTile.contentView = nil
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
51 | }
52 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[10/16] Compiling DSFDockTile resource_bundle_accessor.swift
[11/16] Emitting module DSFDockTile
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Animation.swift:52:7: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 | /// - dockTile: The docktile to update
51 | public init(_ flipbook: DSFImageFlipbook,
52 | dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 | self.flipbook = flipbook
54 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Animation.swift:63:4: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
61 | public init?(
62 | animatedImageData: Data,
63 | dockTile: NSDockTile? = NSApp?.dockTile)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
64 | {
65 | let fb = DSFImageFlipbook()
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:46:10: warning: call to main actor-isolated instance method 'cancelUserAttentionRequest' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Cancels a previous user attention request.
45 | @inlinable public func cancel() {
| `- note: add '@MainActor' to make instance method 'cancel()' part of global actor 'MainActor'
46 | NSApp.cancelUserAttentionRequest(self.identifier)
| `- warning: call to main actor-isolated instance method 'cancelUserAttentionRequest' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 | }
AppKit.NSApplication.cancelUserAttentionRequest:2:22: note: calls to instance method 'cancelUserAttentionRequest' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func cancelUserAttentionRequest(_ request: Int)}
| |- note: calls to instance method 'cancelUserAttentionRequest' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:46:4: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Cancels a previous user attention request.
45 | @inlinable public func cancel() {
| `- note: add '@MainActor' to make instance method 'cancel()' part of global actor 'MainActor'
46 | NSApp.cancelUserAttentionRequest(self.identifier)
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:58:30: warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest)
56 | @discardableResult
57 | @inlinable static func requestCriticalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestCriticalAttention()' part of global actor 'MainActor'
58 | return UserAttention(NSApp.requestUserAttention(.criticalRequest))
| `- warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSApplication.requestUserAttention:2:22: note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func requestUserAttention(_ requestType: NSApplication.RequestUserAttentionType) -> Int}
| |- note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:58:24: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest)
56 | @discardableResult
57 | @inlinable static func requestCriticalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestCriticalAttention()' part of global actor 'MainActor'
58 | return UserAttention(NSApp.requestUserAttention(.criticalRequest))
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:67:30: warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest)
65 | @discardableResult
66 | @inlinable static func requestInformationalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestInformationalAttention()' part of global actor 'MainActor'
67 | return UserAttention(NSApp.requestUserAttention(.informationalRequest))
| `- warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
AppKit.NSApplication.requestUserAttention:2:22: note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func requestUserAttention(_ requestType: NSApplication.RequestUserAttentionType) -> Int}
| |- note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:67:24: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest)
65 | @discardableResult
66 | @inlinable static func requestInformationalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestInformationalAttention()' part of global actor 'MainActor'
67 | return UserAttention(NSApp.requestUserAttention(.informationalRequest))
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ConstantImage.swift:39:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | // A lazy imageview to use when displaying images
39 | private let _imageDisplayView: NSImageView = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
40 | let v = NSImageView()
41 | v.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ConstantImage.swift:50:33: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
48 | /// - image: The image to initially display when creating this instance
49 | /// - dockTile: The docktile to update. By default, updates the application docktile.
50 | public init(_ image: NSImage, dockTile: NSDockTile = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
51 | self.image = image
52 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:44:17: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
42 | }
43 |
44 | internal init(dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
45 | self.dockTile = dockTile
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:54:24: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
52 | public class AppIconType: Core {
53 |
54 | public override init(dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
55 | super.init(dockTile: dockTile)
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Image.swift:38:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
36 |
37 | // A lazy imageview to use when displaying images
38 | private let _imageDisplayView: NSImageView = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
39 | let v = NSImageView()
40 | v.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Image.swift:49:40: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
47 | /// - image: (optional) The image to initially display when creating this instance
48 | /// - dockTile: The docktile to update. By default, updates the application docktile.
49 | public init(_ image: NSImage? = nil, dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 | self.image = image
51 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ViewController.swift:42:51: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
40 | /// - viewController: The viewController handling the view being displayed in the dock tile. This parameter is weakly held by this object, so it's important to make sure you hold onto this view controller outside the instance
41 | /// - dockTile: The docktile to update. By default, updates the application docktile.
42 | public init(_ viewController: NSViewController, dockTile: NSDockTile = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
43 | self.viewController = viewController
44 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:32:20: warning: static property 'AppIcon' is not concurrency-safe because non-'Sendable' type 'DSFDockTile.AppIconType' may have shared mutable state; this is an error in the Swift 6 language mode
30 | public class DSFDockTile {
31 | /// A docktile that represents the current application's icon
32 | public static let AppIcon = DSFDockTile.AppIconType()
| |- warning: static property 'AppIcon' is not concurrency-safe because non-'Sendable' type 'DSFDockTile.AppIconType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'AppIcon' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Set the badge label to be displayed on the application's docktile
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Core.swift:52:15: note: class 'AppIconType' does not conform to the 'Sendable' protocol
50 | extension DSFDockTile {
51 | /// A docktile object that displays the default docktile content.
52 | public class AppIconType: Core {
| `- note: class 'AppIconType' does not conform to the 'Sendable' protocol
53 |
54 | public override init(dockTile: NSDockTile? = NSApp?.dockTile) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile.swift:45:64: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Set the badge label to be displayed on a provided docktile
45 | @inlinable public static func setBadgeLabel(_ label: String?, dockTile: NSDockTile? = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
46 | dockTile?.badgeLabel = label
47 | }
[12/16] Compiling DSFDockTile DSFDockTile+Image.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Image.swift:38:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
36 |
37 | // A lazy imageview to use when displaying images
38 | private let _imageDisplayView: NSImageView = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
39 | let v = NSImageView()
40 | v.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Image.swift:49:40: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
47 | /// - image: (optional) The image to initially display when creating this instance
48 | /// - dockTile: The docktile to update. By default, updates the application docktile.
49 | public init(_ image: NSImage? = nil, dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 | self.image = image
51 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Image.swift:84:14: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | /// Set image as docktile
72 | /// - Parameter nsImage: The image to display in the docktile
73 | public func display(_ nsImage: NSImage) {
| `- note: add '@MainActor' to make instance method 'display' part of global actor 'MainActor'
74 | self.image = nsImage
75 | precondition(Thread.isMainThread)
:
82 |
83 | // Update the image view with the new image
84 | imageView.image = nsImage
| `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
85 |
86 | // If we aren't already being displayed, then make sure to update the content view
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
41 |
42 | @property (nullable, strong) NSImage *image;
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @property (getter=isEditable) BOOL editable;
[13/16] Compiling DSFDockTile DSFDockTile+Animation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Animation.swift:52:7: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
50 | /// - dockTile: The docktile to update
51 | public init(_ flipbook: DSFImageFlipbook,
52 | dockTile: NSDockTile? = NSApp?.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
53 | self.flipbook = flipbook
54 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Animation.swift:63:4: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
61 | public init?(
62 | animatedImageData: Data,
63 | dockTile: NSDockTile? = NSApp?.dockTile)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
64 | {
65 | let fb = DSFImageFlipbook()
[14/16] Compiling DSFDockTile DSFDockTile+Attention.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:46:10: warning: call to main actor-isolated instance method 'cancelUserAttentionRequest' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Cancels a previous user attention request.
45 | @inlinable public func cancel() {
| `- note: add '@MainActor' to make instance method 'cancel()' part of global actor 'MainActor'
46 | NSApp.cancelUserAttentionRequest(self.identifier)
| `- warning: call to main actor-isolated instance method 'cancelUserAttentionRequest' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 | }
AppKit.NSApplication.cancelUserAttentionRequest:2:22: note: calls to instance method 'cancelUserAttentionRequest' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func cancelUserAttentionRequest(_ request: Int)}
| |- note: calls to instance method 'cancelUserAttentionRequest' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:46:4: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
43 |
44 | /// Cancels a previous user attention request.
45 | @inlinable public func cancel() {
| `- note: add '@MainActor' to make instance method 'cancel()' part of global actor 'MainActor'
46 | NSApp.cancelUserAttentionRequest(self.identifier)
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:58:30: warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest)
56 | @discardableResult
57 | @inlinable static func requestCriticalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestCriticalAttention()' part of global actor 'MainActor'
58 | return UserAttention(NSApp.requestUserAttention(.criticalRequest))
| `- warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSApplication.requestUserAttention:2:22: note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func requestUserAttention(_ requestType: NSApplication.RequestUserAttentionType) -> Int}
| |- note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:58:24: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/criticalrequest)
56 | @discardableResult
57 | @inlinable static func requestCriticalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestCriticalAttention()' part of global actor 'MainActor'
58 | return UserAttention(NSApp.requestUserAttention(.criticalRequest))
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:67:30: warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest)
65 | @discardableResult
66 | @inlinable static func requestInformationalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestInformationalAttention()' part of global actor 'MainActor'
67 | return UserAttention(NSApp.requestUserAttention(.informationalRequest))
| `- warning: call to main actor-isolated instance method 'requestUserAttention' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
AppKit.NSApplication.requestUserAttention:2:22: note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
1 | class NSApplication {
2 | @MainActor open func requestUserAttention(_ requestType: NSApplication.RequestUserAttentionType) -> Int}
| |- note: calls to instance method 'requestUserAttention' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+Attention.swift:67:24: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
64 | /// See:- [https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest](https://developer.apple.com/documentation/appkit/nsapplication/requestuserattentiontype/informationalrequest)
65 | @discardableResult
66 | @inlinable static func requestInformationalAttention() -> DSFDockTileUserAttentionCancellation {
| `- note: add '@MainActor' to make static method 'requestInformationalAttention()' part of global actor 'MainActor'
67 | return UserAttention(NSApp.requestUserAttention(.informationalRequest))
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
68 | }
69 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[15/16] Compiling DSFDockTile DSFDockTile+SwiftUI.swift
[16/16] Compiling DSFDockTile DSFDockTile+ConstantImage.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ConstantImage.swift:39:15: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | // A lazy imageview to use when displaying images
39 | private let _imageDisplayView: NSImageView = {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
40 | let v = NSImageView()
41 | v.wantsLayer = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ConstantImage.swift:50:33: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
48 | /// - image: The image to initially display when creating this instance
49 | /// - dockTile: The docktile to update. By default, updates the application docktile.
50 | public init(_ image: NSImage, dockTile: NSDockTile = NSApp.dockTile) {
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
51 | self.image = image
52 | super.init(dockTile: dockTile)
/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/DSFDockTile+ConstantImage.swift:55:27: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | // Set the image
55 | self._imageDisplayView.image = image
| `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
56 | }
57 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSImageView.h:42:39: note: mutation of this property is only permitted within the actor
40 | + (instancetype)imageViewWithImage:(NSImage *)image API_AVAILABLE(macos(10.12));
41 |
42 | @property (nullable, strong) NSImage *image;
| `- note: mutation of this property is only permitted within the actor
43 |
44 | @property (getter=isEditable) BOOL editable;
Build complete! (11.79s)
Build complete.
{
"dependencies" : [
{
"identity" : "dsfimageflipbook",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/dagronf/DSFImageFlipbook"
}
],
"manifest_display_name" : "DSFDockTile",
"name" : "DSFDockTile",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFDockTile",
"targets" : [
"DSFDockTile"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFDockTileTests",
"module_type" : "SwiftTarget",
"name" : "DSFDockTileTests",
"path" : "Tests/DSFDockTileTests",
"sources" : [
"DSFDockTileTests.swift"
],
"target_dependencies" : [
"DSFDockTile"
],
"type" : "test"
},
{
"c99name" : "DSFDockTile",
"module_type" : "SwiftTarget",
"name" : "DSFDockTile",
"path" : "Sources/DSFDockTile",
"product_dependencies" : [
"DSFImageFlipbook"
],
"product_memberships" : [
"DSFDockTile"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFDockTile/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"DSFDockTile+Animation.swift",
"DSFDockTile+Attention.swift",
"DSFDockTile+ConstantImage.swift",
"DSFDockTile+Core.swift",
"DSFDockTile+Image.swift",
"DSFDockTile+SwiftUI.swift",
"DSFDockTile+ViewController.swift",
"DSFDockTile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.