The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of DSFAppearanceManager, reference 3.6.2 (fd459c), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 16:35:02 UTC.

Swift 6 data race errors: 2

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFAppearanceManager.git
Reference: 3.6.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFAppearanceManager
 * tag               3.6.2      -> FETCH_HEAD
HEAD is now at fd459c8 Added privacy manifest
Cloned https://github.com/dagronf/DSFAppearanceManager.git
Revision (git rev-parse @):
fd459c8060d46d17b780a80ac43db83b444e2e13
SUCCESS checkout https://github.com/dagronf/DSFAppearanceManager.git at 3.6.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dagronf/DSFAppearanceManager.git
https://github.com/dagronf/DSFAppearanceManager.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFAppearanceManager",
  "name" : "DSFAppearanceManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "DSFAppearanceManager",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFAppearanceManager-static",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFAppearanceManager-shared",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFAppearanceManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFAppearanceManagerTests",
      "path" : "Tests/DSFAppearanceManagerTests",
      "sources" : [
        "DSFAppearanceManagerTests.swift"
      ],
      "target_dependencies" : [
        "DSFAppearanceManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFAppearanceManager",
      "module_type" : "SwiftTarget",
      "name" : "DSFAppearanceManager",
      "path" : "Sources/DSFAppearanceManager",
      "product_memberships" : [
        "DSFAppearanceManager",
        "DSFAppearanceManager-static",
        "DSFAppearanceManager-shared"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFAppearanceCache.swift",
        "DSFAppearanceManager+ChangeDetector.swift",
        "DSFAppearanceManager+Hardware.swift",
        "DSFAppearanceManager.swift",
        "NSView+Appearance.swift",
        "NSWindow+Appearance.swift",
        "private/AutoplayAnimatedImages.swift",
        "private/DSFAppearanceManager+Listeners.swift",
        "private/util/DSFDebounce.swift",
        "private/util/DSFSimpleLock.swift",
        "private/util/NSAppearance+extensions.swift",
        "private/weak/WeakBag.swift",
        "private/weak/WeakBox.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/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[2/7] Write swift-version-2F0A5646E1D333AE.txt
[4/21] Compiling DSFAppearanceManager WeakBox.swift
[5/22] Compiling DSFAppearanceManager resource_bundle_accessor.swift
[6/22] Compiling DSFAppearanceManager WeakBag.swift
[7/22] Compiling DSFAppearanceManager NSAppearance+extensions.swift
[8/22] Compiling DSFAppearanceManager DSFSimpleLock.swift
[9/22] Compiling DSFAppearanceManager DSFDebounce.swift
[10/22] Compiling DSFAppearanceManager AutoplayAnimatedImages.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:180:11: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
173 |
174 | 	// Adds an entry to the notification center to receive notifications that passed to the provided block.
175 | 	func addObserver(queue: OperationQueue? = nil, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
    |                                                       `- note: parameter 'block' is implicitly non-sendable
176 | 		return NotificationCenter.default.addObserver(
177 | 			forName: DSFAppearanceManager.AppearanceChangedNotification,
178 | 			object: self,
179 | 			queue: queue,
180 | 			using: block
    |           `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
181 | 		)
182 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:129:4: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
127 | 		// Make sure that these occur on the main queue
128 | 		DispatchQueue.main.async { [weak self] in
129 | 			self?.update(change: change)
    |    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |    `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
130 | 		}
131 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:129:25: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
127 | 		// Make sure that these occur on the main queue
128 | 		DispatchQueue.main.async { [weak self] in
129 | 			self?.update(change: change)
    |                         |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'change' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
130 | 		}
131 | 	}
[11/22] Compiling DSFAppearanceManager DSFAppearanceManager+Listeners.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:180:11: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
173 |
174 | 	// Adds an entry to the notification center to receive notifications that passed to the provided block.
175 | 	func addObserver(queue: OperationQueue? = nil, using block: @escaping (Notification) -> Void) -> NSObjectProtocol {
    |                                                       `- note: parameter 'block' is implicitly non-sendable
176 | 		return NotificationCenter.default.addObserver(
177 | 			forName: DSFAppearanceManager.AppearanceChangedNotification,
178 | 			object: self,
179 | 			queue: queue,
180 | 			using: block
    |           `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
181 | 		)
182 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:129:4: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
127 | 		// Make sure that these occur on the main queue
128 | 		DispatchQueue.main.async { [weak self] in
129 | 			self?.update(change: change)
    |    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |    `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
130 | 		}
131 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/private/DSFAppearanceManager+Listeners.swift:129:25: warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
127 | 		// Make sure that these occur on the main queue
128 | 		DispatchQueue.main.async { [weak self] in
129 | 			self?.update(change: change)
    |                         |- warning: sending 'change' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'change' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
130 | 		}
131 | 	}
[12/22] Compiling DSFAppearanceManager NSView+Appearance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:28: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | /// Perform the supplied block using the effective appearance of the window, or the application if the window is nil
39 | public func UsingEffectiveAppearance(
   |             `- note: add '@MainActor' to make global function 'UsingEffectiveAppearance(ofWindow:perform:)' part of global actor 'MainActor'
40 | 	ofWindow window: NSWindow? = nil,
41 | 	perform block: () -> Void
   :
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                            `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 |  */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
   |                                            `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:72: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                                                                        `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:65: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                                                                 `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
[13/22] Compiling DSFAppearanceManager NSWindow+Appearance.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:28: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
37 |
38 | /// Perform the supplied block using the effective appearance of the window, or the application if the window is nil
39 | public func UsingEffectiveAppearance(
   |             `- note: add '@MainActor' to make global function 'UsingEffectiveAppearance(ofWindow:perform:)' part of global actor 'MainActor'
40 | 	ofWindow window: NSWindow? = nil,
41 | 	perform block: () -> Void
   :
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                            `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSAppearance.h:90:44: note: property declared here
88 | /* This returns the appearance that would be used when drawing the receiver, taking inherited appearances into account.
89 |  */
90 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.9));
   |                                            `- note: property declared here
91 |
92 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:72: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                                                                        `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/NSWindow+Appearance.swift:47:65: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
45 | 	if #available(macOS 10.14, *) {
46 | 		// Adopt the color of the window we're attached tom or if the window is nil the application appearance
47 | 		let appearance = window?.effectiveAppearance ?? NSApplication.shared.effectiveAppearance
   |                                                                 `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
48 | 		appearance.usingAsDrawingAppearance {
49 | 			block()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:193:61: note: class property declared here
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
    |                                                             `- note: class property declared here
194 | @property (nullable, weak) id<NSApplicationDelegate> delegate;
195 |
[14/22] Compiling DSFAppearanceManager DSFAppearanceManager+Hardware.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:143:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | /// }
 52 | ///
 53 | @objc public final class DSFAppearanceManager: NSObject {
    |                          `- note: class 'DSFAppearanceManager' does not conform to the 'Sendable' protocol
 54 | 	/// The notification sent when a change occurs in the theme.
 55 | 	///
    :
141 |
142 | 	// A shared appearance manager
143 | 	@objc public static let shared = DSFAppearanceManager()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | 	// The distributed notification center to listen to for some of the notification types
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:125:32: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
123 | 		   autoplayAnimatedImages: \(Self.AutoplayAnimatedImages)
124 | 		   usingHardwareColor: \(Self.IsUsingSimulatedHardwareColor)
125 | 		   simulatedHardwareColor: \(Self.SimulatedHardwareColor)
    |                                |    |- note: use 'String(describing:)' to silence this warning
    |                                |    `- note: provide a default value to avoid this warning
    |                                `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
126 | 		"""
127 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:196:15: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
194 | 			// initializer of a class with a global static initialization (ie. before the app is ready).
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
    |               `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
198 | 			}
/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/DSFAppearanceManager/DSFAppearanceManager.swift:197:18: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
    |                  `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 | 			}
199 | 		}
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:197:12: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
    |            `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 | 			}
199 | 		}
/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/22] Compiling DSFAppearanceManager DSFAppearanceManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:143:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | /// }
 52 | ///
 53 | @objc public final class DSFAppearanceManager: NSObject {
    |                          `- note: class 'DSFAppearanceManager' does not conform to the 'Sendable' protocol
 54 | 	/// The notification sent when a change occurs in the theme.
 55 | 	///
    :
141 |
142 | 	// A shared appearance manager
143 | 	@objc public static let shared = DSFAppearanceManager()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | 	// The distributed notification center to listen to for some of the notification types
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:125:32: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
123 | 		   autoplayAnimatedImages: \(Self.AutoplayAnimatedImages)
124 | 		   usingHardwareColor: \(Self.IsUsingSimulatedHardwareColor)
125 | 		   simulatedHardwareColor: \(Self.SimulatedHardwareColor)
    |                                |    |- note: use 'String(describing:)' to silence this warning
    |                                |    `- note: provide a default value to avoid this warning
    |                                `- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
126 | 		"""
127 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:196:15: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
194 | 			// initializer of a class with a global static initialization (ie. before the app is ready).
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
    |               `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
198 | 			}
/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/DSFAppearanceManager/DSFAppearanceManager.swift:197:18: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
    |                  `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 | 			}
199 | 		}
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:342:44: note: property declared here
340 | #pragma clang diagnostic ignored "-Wavailability"
341 | @property (nullable, strong) NSAppearance *appearance API_AVAILABLE(macos(10.14));
342 | @property (readonly, strong) NSAppearance *effectiveAppearance API_AVAILABLE(macos(10.14));
    |                                            `- note: property declared here
343 | #pragma clang diagnostic pop
344 | @end
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:197:12: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
195 | 			// We need to check that NSApp exists before calling it, falling back to a default value if it doesn't
196 | 			if let _ = NSApp {
197 | 				return NSApp.effectiveAppearance.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua
    |            `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 | 			}
199 | 		}
/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;
[16/22] Compiling DSFAppearanceManager DSFAppearanceCache.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:86:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
 77 | /// ```
 78 | ///
 79 | @objc public class DSFAppearanceCache: NSObject {
    |                    `- note: class 'DSFAppearanceCache' does not conform to the 'Sendable' protocol
 80 |
 81 | 	/// The notification sent when a change occurs in the appearance.
    :
 84 |
 85 | 	/// A shared appearance cache
 86 | 	@objc public static let shared = DSFAppearanceCache()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |
 88 | 	/// Is the system mode dark?
[17/22] Compiling DSFAppearanceManager DSFAppearanceManager+ChangeDetector.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:86:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
 77 | /// ```
 78 | ///
 79 | @objc public class DSFAppearanceCache: NSObject {
    |                    `- note: class 'DSFAppearanceCache' does not conform to the 'Sendable' protocol
 80 |
 81 | 	/// The notification sent when a change occurs in the appearance.
    :
 84 |
 85 | 	/// A shared appearance cache
 86 | 	@objc public static let shared = DSFAppearanceCache()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |
 88 | 	/// Is the system mode dark?
[18/22] Emitting module DSFAppearanceManager
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceCache.swift:86:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
 77 | /// ```
 78 | ///
 79 | @objc public class DSFAppearanceCache: NSObject {
    |                    `- note: class 'DSFAppearanceCache' does not conform to the 'Sendable' protocol
 80 |
 81 | 	/// The notification sent when a change occurs in the appearance.
    :
 84 |
 85 | 	/// A shared appearance cache
 86 | 	@objc public static let shared = DSFAppearanceCache()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceCache' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 87 |
 88 | 	/// Is the system mode dark?
/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/DSFAppearanceManager.swift:143:26: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
 51 | /// }
 52 | ///
 53 | @objc public final class DSFAppearanceManager: NSObject {
    |                          `- note: class 'DSFAppearanceManager' does not conform to the 'Sendable' protocol
 54 | 	/// The notification sent when a change occurs in the theme.
 55 | 	///
    :
141 |
142 | 	// A shared appearance manager
143 | 	@objc public static let shared = DSFAppearanceManager()
    |                          |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DSFAppearanceManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                          |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                          `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 |
145 | 	// The distributed notification center to listen to for some of the notification types
[18/22] Write Objects.LinkFileList
[20/22] Archiving libDSFAppearanceManager-static.a
[21/22] Linking libDSFAppearanceManager-shared.dylib
Build complete! (7.86s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DSFAppearanceManager",
  "name" : "DSFAppearanceManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.11"
    }
  ],
  "products" : [
    {
      "name" : "DSFAppearanceManager",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DSFAppearanceManager-static",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "DSFAppearanceManager-shared",
      "targets" : [
        "DSFAppearanceManager"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DSFAppearanceManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "DSFAppearanceManagerTests",
      "path" : "Tests/DSFAppearanceManagerTests",
      "sources" : [
        "DSFAppearanceManagerTests.swift"
      ],
      "target_dependencies" : [
        "DSFAppearanceManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DSFAppearanceManager",
      "module_type" : "SwiftTarget",
      "name" : "DSFAppearanceManager",
      "path" : "Sources/DSFAppearanceManager",
      "product_memberships" : [
        "DSFAppearanceManager",
        "DSFAppearanceManager-static",
        "DSFAppearanceManager-shared"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/DSFAppearanceManager/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DSFAppearanceCache.swift",
        "DSFAppearanceManager+ChangeDetector.swift",
        "DSFAppearanceManager+Hardware.swift",
        "DSFAppearanceManager.swift",
        "NSView+Appearance.swift",
        "NSWindow+Appearance.swift",
        "private/AutoplayAnimatedImages.swift",
        "private/DSFAppearanceManager+Listeners.swift",
        "private/util/DSFDebounce.swift",
        "private/util/DSFSimpleLock.swift",
        "private/util/NSAppearance+extensions.swift",
        "private/weak/WeakBag.swift",
        "private/weak/WeakBox.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.