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 SSAppUpdater, reference 1.6.0 (d6cac5), with Swift 6.0 for macOS (SPM) on 16 Oct 2024 14:28:31 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SimformSolutionsPvtLtd/SSAppUpdater
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at d6cac5c Merge pull request #42 from SimformSolutionsPvtLtd/develop
Cloned https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git
Revision (git rev-parse @):
d6cac5c1e47d168fface70955444cce4ab3cae89
SUCCESS checkout https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git at 1.6.0
========================================
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": "ssappupdater",
      "name": "SSAppUpdater",
      "url": "https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SSAppUpdater",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git
[1/541] Fetching ssappupdater
Fetched https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git from cache (3.79s)
Creating working copy for https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git
Working copy of https://github.com/SimformSolutionsPvtLtd/SSAppUpdater.git resolved at 1.6.0 (d6cac5c)
warning: '.resolve-product-dependencies': dependency 'ssappupdater' 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/SimformSolutionsPvtLtd/SSAppUpdater.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--4A847ED0836F2485.txt
[4/20] Compiling SSAppUpdater LookUpResponseModel.swift
[5/20] Compiling SSAppUpdater SSVersionInfo.swift
[6/21] Compiling SSAppUpdater resource_bundle_accessor.swift
[7/21] Emitting module SSAppUpdater
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/SSAppUpdater.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | public class SSAppUpdater {
    |              `- note: class 'SSAppUpdater' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Variables
 13 |
 14 |     /// A shared instance of `SSAppUpdater` for singleton access.
 15 |     public static let shared = SSAppUpdater()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 16 |
 17 |     /// An instance of `PerformVersionCheck` used for checking app versions.
[8/21] Compiling SSAppUpdater String.swift
[9/21] Compiling SSAppUpdater UserDefaults.swift
[10/21] Compiling SSAppUpdater Bundle.swift
[11/21] Compiling SSAppUpdater Date.swift
[12/21] Compiling SSAppUpdater SSNetworkManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSNetworkManager.swift:33:13: warning: capture of 'self' with non-sendable type 'SSNetworkManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import Network
10 |
11 | class SSNetworkManager {
   |       `- note: class 'SSNetworkManager' does not conform to the 'Sendable' protocol
12 |     // MARK: - Variables
13 |     private let monitor = NWPathMonitor()
   :
31 |     private func startMonitoring() {
32 |         monitor.pathUpdateHandler = { [weak self] path in
33 |             self?.isConnected = (path.status == .satisfied)
   |             `- warning: capture of 'self' with non-sendable type 'SSNetworkManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 |         }
35 |
[13/21] Compiling SSAppUpdater SSScriptOrCommandExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSNetworkManager.swift:33:13: warning: capture of 'self' with non-sendable type 'SSNetworkManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import Network
10 |
11 | class SSNetworkManager {
   |       `- note: class 'SSNetworkManager' does not conform to the 'Sendable' protocol
12 |     // MARK: - Variables
13 |     private let monitor = NWPathMonitor()
   :
31 |     private func startMonitoring() {
32 |         monitor.pathUpdateHandler = { [weak self] path in
33 |             self?.isConnected = (path.status == .satisfied)
   |             `- warning: capture of 'self' with non-sendable type 'SSNetworkManager?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
34 |         }
35 |
[14/21] Compiling SSAppUpdater SSAppUpdater.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/SSAppUpdater.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | public class SSAppUpdater {
    |              `- note: class 'SSAppUpdater' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Variables
 13 |
 14 |     /// A shared instance of `SSAppUpdater` for singleton access.
 15 |     public static let shared = SSAppUpdater()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 16 |
 17 |     /// An instance of `PerformVersionCheck` used for checking app versions.
[15/21] Compiling SSAppUpdater PerformVersionCheck.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/SSAppUpdater.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | public class SSAppUpdater {
    |              `- note: class 'SSAppUpdater' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Variables
 13 |
 14 |     /// A shared instance of `SSAppUpdater` for singleton access.
 15 |     public static let shared = SSAppUpdater()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 16 |
 17 |     /// An instance of `PerformVersionCheck` used for checking app versions.
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:37:17: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
    :
 35 |             #endif
 36 |             DispatchQueue.main.async {
 37 |                 self.getVersionCheck()
    |                 `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:135:29: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
    :
133 |                     if SSAppUpdater.shared.isForceUpdate {
134 |                         DispatchQueue.main.async {
135 |                             self.displayForceAlert(versionInfo: versionInfo)
    |                             `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
136 |                         }
137 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:135:65: warning: capture of 'versionInfo' with non-sendable type 'SSVersionInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
133 |                     if SSAppUpdater.shared.isForceUpdate {
134 |                         DispatchQueue.main.async {
135 |                             self.displayForceAlert(versionInfo: versionInfo)
    |                                                                 `- warning: capture of 'versionInfo' with non-sendable type 'SSVersionInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
136 |                         }
137 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Models/SSVersionInfo.swift:12:15: note: consider making struct 'SSVersionInfo' conform to the 'Sendable' protocol
10 |
11 | /// Provide App details of the app store version
12 | public struct SSVersionInfo {
   |               `- note: consider making struct 'SSVersionInfo' conform to the 'Sendable' protocol
13 |
14 |     /// checks that App update avialble or not. if it is true then new App Version is available on the App Store.
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:139:29: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
    :
137 |                     } else {
138 |                         DispatchQueue.main.async {
139 |                             self.displayOptionalUpdateAlert(versionInfo: versionInfo)
    |                             `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 |                         }
141 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:139:74: warning: capture of 'versionInfo' with non-sendable type 'SSVersionInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
137 |                     } else {
138 |                         DispatchQueue.main.async {
139 |                             self.displayOptionalUpdateAlert(versionInfo: versionInfo)
    |                                                                          `- warning: capture of 'versionInfo' with non-sendable type 'SSVersionInfo' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 |                         }
141 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Models/SSVersionInfo.swift:12:15: note: consider making struct 'SSVersionInfo' conform to the 'Sendable' protocol
10 |
11 | /// Provide App details of the app store version
12 | public struct SSVersionInfo {
   |               `- note: consider making struct 'SSVersionInfo' conform to the 'Sendable' protocol
13 |
14 |     /// checks that App update avialble or not. if it is true then new App Version is available on the App Store.
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:284:44: warning: call to main actor-isolated instance method 'goToAppStoreApplication()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
282 |         #else
283 |         if SSAppUpdater.shared.redirectToAppStore {
284 |             AppStoreView(trackId: trackId).goToAppStoreApplication()
    |                                            `- warning: call to main actor-isolated instance method 'goToAppStoreApplication()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
285 |         } else {
286 |             guard let mainWindow = NSApplication.shared.windows.first else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/AppStoreView.swift:55:10: note: calls to instance method 'goToAppStoreApplication()' from outside of its actor context are implicitly asynchronous
53 |     }
54 |
55 |     func goToAppStoreApplication() {
   |          `- note: calls to instance method 'goToAppStoreApplication()' from outside of its actor context are implicitly asynchronous
56 |         if let appStoreURL = URL(string: "\(AppStoreViewConstants.baseAppStroreUrl)\(trackId)") {
57 |             NSWorkspace.shared.open(appStoreURL)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:286:57: warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
284 |             AppStoreView(trackId: trackId).goToAppStoreApplication()
285 |         } else {
286 |             guard let mainWindow = NSApplication.shared.windows.first else { return }
    |                                                         `- warning: main actor-isolated property 'windows' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
287 |             if let screen = mainWindow.screen ?? NSScreen.main {
288 |                 mainWindow.setFrame(screen.visibleFrame, display: true)
AppKit.NSApplication:69:25: note: property declared here
 67 |     open func enumerateWindowsWithOptions(_ options: NSApplication.WindowListOptions = [], usingBlock block: (NSWindow, UnsafeMutablePointer<ObjCBool>) -> Void)
 68 |     open func preventWindowOrdering()
 69 |     @MainActor open var windows: [NSWindow] { get }
    |                         `- note: property declared here
 70 |     open func setWindowsNeedUpdate(_ needUpdate: Bool)
 71 |     open func updateWindows()
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:286:50: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
284 |             AppStoreView(trackId: trackId).goToAppStoreApplication()
285 |         } else {
286 |             guard let mainWindow = NSApplication.shared.windows.first else { return }
    |                                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
287 |             if let screen = mainWindow.screen ?? NSScreen.main {
288 |                 mainWindow.setFrame(screen.visibleFrame, display: true)
AppKit.NSApplication:2:20: note: class property declared here
  1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
  2 |     open class var shared: NSApplication { get }
    |                    `- note: class property declared here
  3 |     @available(swift, obsoleted: 3, renamed: "shared")
  4 |     open class var sharedApplication: NSApplication { get }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:287:40: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
285 |         } else {
286 |             guard let mainWindow = NSApplication.shared.windows.first else { return }
287 |             if let screen = mainWindow.screen ?? NSScreen.main {
    |                                        `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
288 |                 mainWindow.setFrame(screen.visibleFrame, display: true)
289 |             }
AppKit.NSWindow:249:25: note: property declared here
 247 |     open func setDynamicDepthLimit(_ flag: Bool)
 248 |     open var hasDynamicDepthLimit: Bool { get }
 249 |     @MainActor open var screen: NSScreen? { get }
     |                         `- note: property declared here
 250 |     open var deepestScreen: NSScreen? { get }
 251 |     open var hasShadow: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:288:28: warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
286 |             guard let mainWindow = NSApplication.shared.windows.first else { return }
287 |             if let screen = mainWindow.screen ?? NSScreen.main {
288 |                 mainWindow.setFrame(screen.visibleFrame, display: true)
    |                            `- warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
289 |             }
290 |             let containerView = VStack(alignment: .leading) {
AppKit.NSWindow:69:26: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
  67 |     @available(swift, obsoleted: 3, renamed: "constrainFrameRect(_:to:)")
  68 |     open func constrainFrameRect(_ frameRect: NSRect, toScreen screen: NSScreen?) -> NSRect
  69 |     @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)
     |                          `- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
  70 |     open func setContentSize(_ size: NSSize)
  71 |     open func setFrameOrigin(_ point: NSPoint)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:294:43: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
292 |                 AppStoreView(trackId: Int(trackId))
293 |                     .frame(
294 |                         width: mainWindow.frame.size.width,
    |                                           `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
295 |                         height: mainWindow.frame.size.height
296 |                     )
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:295:44: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
293 |                     .frame(
294 |                         width: mainWindow.frame.size.width,
295 |                         height: mainWindow.frame.size.height
    |                                            `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
296 |                     )
297 |             }
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:298:34: warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
296 |                     )
297 |             }
298 |             let viewController = NSHostingController(rootView: containerView)
    |                                  `- warning: call to main actor-isolated initializer 'init(rootView:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
299 |             mainWindow.contentViewController?.presentAsSheet(viewController)
300 |         }
SwiftUI.NSHostingController:7:39: note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 5 | @available(visionOS, unavailable)
 6 | @MainActor @preconcurrency open class NSHostingController<Content> : NSViewController where Content : View {
 7 |     @MainActor @preconcurrency public init(rootView: Content)
   |                                       `- note: calls to initializer 'init(rootView:)' from outside of its actor context are implicitly asynchronous
 8 |     @MainActor @preconcurrency public init?(coder: NSCoder, rootView: Content)
 9 |     @MainActor @preconcurrency required dynamic public init?(coder: NSCoder)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:299:47: warning: call to main actor-isolated instance method 'presentAsSheet' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
297 |             }
298 |             let viewController = NSHostingController(rootView: containerView)
299 |             mainWindow.contentViewController?.presentAsSheet(viewController)
    |                                               `- warning: call to main actor-isolated instance method 'presentAsSheet' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
300 |         }
301 |         #endif
AppKit.NSViewController:3:26: note: calls to instance method 'presentAsSheet' from outside of its actor context are implicitly asynchronous
 1 | extension NSViewController {
 2 |     @available(macOS 10.10, *)
 3 |     @MainActor open func presentAsSheet(_ viewController: NSViewController)
   |                          `- note: calls to instance method 'presentAsSheet' from outside of its actor context are implicitly asynchronous
 4 |     @available(macOS 10.10, *)
 5 |     @available(swift, obsoleted: 4.2, renamed: "presentAsSheet(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:299:24: warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
247 |             - trackId: The unique identifier of the app on the App Store or Mac App Store.
248 |      */
249 |     private func launchAppUpdate(trackId: Int) {
    |                  `- note: add '@MainActor' to make instance method 'launchAppUpdate(trackId:)' part of global actor 'MainActor'
250 |         if networkManager.isConnected {
251 |         #if os(iOS)
    :
297 |             }
298 |             let viewController = NSHostingController(rootView: containerView)
299 |             mainWindow.contentViewController?.presentAsSheet(viewController)
    |                        `- warning: main actor-isolated property 'contentViewController' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
300 |         }
301 |         #endif
AppKit.NSWindow:360:14: note: property declared here
 358 |     open var titlebarSeparatorStyle: NSTitlebarSeparatorStyle { get set }
 359 |     @available(macOS 10.10, *)
 360 |     open var contentViewController: NSViewController? { get set }
     |              `- note: property declared here
 361 |     @available(macOS 10.10, *)
 362 |     public convenience init(contentViewController: NSViewController)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:337:23: warning: main actor-isolated static property 'plain' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
320 |             - mainWindow: The main window instance from which the sheet modal is presented.
321 |     */
322 |     func updateButton(for mainWindow: NSWindow) -> some View {
    |          `- note: add '@MainActor' to make instance method 'updateButton(for:)' part of global actor 'MainActor'
323 |         Button(action: {
324 |
    :
335 |         })
336 |         .padding([.leading, .top], 15)
337 |         .buttonStyle(.plain)
    |                       `- warning: main actor-isolated static property 'plain' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
338 |     }
339 |     #endif
SwiftUI.PrimitiveButtonStyle:3:50: note: static property declared here
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | extension PrimitiveButtonStyle where Self == PlainButtonStyle {
3 |     @MainActor @preconcurrency public static var plain: PlainButtonStyle { get }
  |                                                  `- note: static property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:37:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 35 |             #endif
 36 |             DispatchQueue.main.async {
 37 |                 self.getVersionCheck()
    |                 |- 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
 38 |             }
 39 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:135:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
133 |                     if SSAppUpdater.shared.isForceUpdate {
134 |                         DispatchQueue.main.async {
135 |                             self.displayForceAlert(versionInfo: versionInfo)
    |                             |- 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
136 |                         }
137 |                     } else {
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:139:29: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
137 |                     } else {
138 |                         DispatchQueue.main.async {
139 |                             self.displayOptionalUpdateAlert(versionInfo: versionInfo)
    |                             |- 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
140 |                         }
141 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:298:34: warning: sending 'containerView' risks causing data races; this is an error in the Swift 6 language mode
296 |                     )
297 |             }
298 |             let viewController = NSHostingController(rootView: containerView)
    |                                  |- warning: sending 'containerView' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: sending task-isolated 'containerView' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
299 |             mainWindow.contentViewController?.presentAsSheet(viewController)
300 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:329:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
327 |             }
328 |             if SSAppUpdater.shared.isForceUpdate {
329 |                 self.getVersionCheck()
    |                 |- 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
330 |             }
331 |         }, label: {
[16/21] Compiling SSAppUpdater SSAppUpdaterEnums.swift
[17/21] Compiling SSAppUpdater SSEnumration.swift
[18/21] Compiling SSAppUpdater SSAPIManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:46:17: warning: capture of 'completion' with non-sendable type '(LookUpResponseModel?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                 guard let data = data else { throw SSVersionError.invalidResponse }
 45 |                 let responseModel = try JSONDecoder().decode(LookUpResponseModel.self, from: data)
 46 |                 completion(responseModel, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(LookUpResponseModel?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |             } catch {
 48 |                 completion(nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:76:17: warning: capture of 'completion' with non-sendable type '(Result<String, CustomError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |         let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
 75 |             if let error {
 76 |                 completion(.failure(.other(error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<String, CustomError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |                 return
 78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:101:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
 99 |             rootViewController.present(alert, animated: true, completion: nil)
100 |         #else
101 |             let alert = NSAlert()
    |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
AppKit.NSAlert:33:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
31 |     open func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
32 |     open var window: NSWindow { get }
33 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:102:19: warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
100 |         #else
101 |             let alert = NSAlert()
102 |             alert.messageText = title
    |                   `- warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
AppKit.NSAlert:5:14: note: mutation of this property is only permitted within the actor
 3 |     @available(*, unavailable, renamed: "init(error:)", message: "Not available in Swift")
 4 |     open class func alertWithError(_ error: any Error) -> NSAlert
 5 |     open var messageText: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:103:19: warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
101 |             let alert = NSAlert()
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
    |                   `- warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
104 |             alert.alertStyle = .informational
105 |             alert.addButton(withTitle: primaryButtonTitle)
AppKit.NSAlert:6:14: note: mutation of this property is only permitted within the actor
 4 |     open class func alertWithError(_ error: any Error) -> NSAlert
 5 |     open var messageText: String { get set }
 6 |     open var informativeText: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:104:19: warning: main actor-isolated property 'alertStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
    |                   `- warning: main actor-isolated property 'alertStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
105 |             alert.addButton(withTitle: primaryButtonTitle)
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
AppKit.NSAlert:12:14: note: mutation of this property is only permitted within the actor
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
11 |     open var buttons: [NSButton] { get }
12 |     open var alertStyle: NSAlert.Style { get set }
   |              `- note: mutation of this property is only permitted within the actor
13 |     open var showsHelp: Bool { get set }
14 |     open var helpAnchor: NSHelpManager.AnchorName? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:105:19: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
105 |             alert.addButton(withTitle: primaryButtonTitle)
    |                   `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
107 |                 alert.icon = iconImage
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:107:23: warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
105 |             alert.addButton(withTitle: primaryButtonTitle)
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
107 |                 alert.icon = iconImage
    |                       `- warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
108 |             }
109 |             if let secondaryButtonTitle {
AppKit.NSAlert:7:14: note: mutation of this property is only permitted within the actor
 5 |     open var messageText: String { get set }
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
   |              `- note: mutation of this property is only permitted within the actor
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:110:23: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
108 |             }
109 |             if let secondaryButtonTitle {
110 |                 alert.addButton(withTitle: secondaryButtonTitle)
    |                       `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 |             }
112 |
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:114:23: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
112 |
113 |             if let cancelButtonTitle {
114 |                 alert.addButton(withTitle: cancelButtonTitle)
    |                       `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |             }
116 |
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:117:57: warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
115 |             }
116 |
117 |             guard let mainWindow = NSApplication.shared.keyWindow else {
    |                                                         `- warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
AppKit.NSApplication:13:30: note: property declared here
 11 |     open func windowWithWindowNumber(_ windowNum: Int) -> NSWindow?
 12 |     weak open var mainWindow: NSWindow? { get }
 13 |     @MainActor weak open var keyWindow: NSWindow? { get }
    |                              `- note: property declared here
 14 |     open var isActive: Bool { get }
 15 |     @available(swift, obsoleted: 3, renamed: "isActive")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:117:50: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
115 |             }
116 |
117 |             guard let mainWindow = NSApplication.shared.keyWindow else {
    |                                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
AppKit.NSApplication:2:20: note: class property declared here
  1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
  2 |     open class var shared: NSApplication { get }
    |                    `- note: class property declared here
  3 |     @available(swift, obsoleted: 3, renamed: "shared")
  4 |     open class var sharedApplication: NSApplication { get }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:120:19: warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
118 |                 return
119 |             }
120 |             alert.beginSheetModal(for: mainWindow) { (response) in
    |                   `- warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 |                 if response == .alertFirstButtonReturn, let primaryButtonAction {
122 |                     primaryButtonAction()
AppKit.NSAlert:26:26: note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
24 |     open var suppressionButton: NSButton? { get }
25 |     @available(macOS 10.9, *)
26 |     @MainActor open func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
   |                          `- note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
27 |     @available(macOS 10.9, *)
28 |     open func beginSheetModal(for sheetWindow: NSWindow) async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:128:30: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 |                     cancelButtonAction()
127 |                 }
128 |                 alert.window.close()
    |                              `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |             }
130 |         #endif
AppKit.NSWindow:95:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  93 |     weak open var firstResponder: NSResponder? { get }
  94 |     open var resizeFlags: NSEvent.ModifierFlags { get }
  95 |     @MainActor open func close()
     |                          `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  96 |     open var isReleasedWhenClosed: Bool { get set }
  97 |     @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:128:23: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 |                     cancelButtonAction()
127 |                 }
128 |                 alert.window.close()
    |                       `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 |             }
130 |         #endif
AppKit.NSAlert:32:14: note: property declared here
30 |     @available(swift, obsoleted: 3, renamed: "beginSheetModal(for:completionHandler:)")
31 |     open func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
32 |     open var window: NSWindow { get }
   |              `- note: property declared here
33 |     @MainActor public init()
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:120:19: warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
120 |             alert.beginSheetModal(for: mainWindow) { (response) in
    |                   `- warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
121 |                 if response == .alertFirstButtonReturn, let primaryButtonAction {
122 |                     primaryButtonAction()
[19/21] Compiling SSAppUpdater SSAlertManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:46:17: warning: capture of 'completion' with non-sendable type '(LookUpResponseModel?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |                 guard let data = data else { throw SSVersionError.invalidResponse }
 45 |                 let responseModel = try JSONDecoder().decode(LookUpResponseModel.self, from: data)
 46 |                 completion(responseModel, nil)
    |                 |- warning: capture of 'completion' with non-sendable type '(LookUpResponseModel?, (any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 47 |             } catch {
 48 |                 completion(nil, error)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:76:17: warning: capture of 'completion' with non-sendable type '(Result<String, CustomError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 74 |         let task = URLSession.shared.dataTask(with: url) { (data, response, error) in
 75 |             if let error {
 76 |                 completion(.failure(.other(error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<String, CustomError>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 77 |                 return
 78 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:101:25: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
 99 |             rootViewController.present(alert, animated: true, completion: nil)
100 |         #else
101 |             let alert = NSAlert()
    |                         `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
AppKit.NSAlert:33:23: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
31 |     open func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
32 |     open var window: NSWindow { get }
33 |     @MainActor public init()
   |                       `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:102:19: warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
100 |         #else
101 |             let alert = NSAlert()
102 |             alert.messageText = title
    |                   `- warning: main actor-isolated property 'messageText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
AppKit.NSAlert:5:14: note: mutation of this property is only permitted within the actor
 3 |     @available(*, unavailable, renamed: "init(error:)", message: "Not available in Swift")
 4 |     open class func alertWithError(_ error: any Error) -> NSAlert
 5 |     open var messageText: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:103:19: warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
101 |             let alert = NSAlert()
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
    |                   `- warning: main actor-isolated property 'informativeText' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
104 |             alert.alertStyle = .informational
105 |             alert.addButton(withTitle: primaryButtonTitle)
AppKit.NSAlert:6:14: note: mutation of this property is only permitted within the actor
 4 |     open class func alertWithError(_ error: any Error) -> NSAlert
 5 |     open var messageText: String { get set }
 6 |     open var informativeText: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:104:19: warning: main actor-isolated property 'alertStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
102 |             alert.messageText = title
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
    |                   `- warning: main actor-isolated property 'alertStyle' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
105 |             alert.addButton(withTitle: primaryButtonTitle)
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
AppKit.NSAlert:12:14: note: mutation of this property is only permitted within the actor
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
11 |     open var buttons: [NSButton] { get }
12 |     open var alertStyle: NSAlert.Style { get set }
   |              `- note: mutation of this property is only permitted within the actor
13 |     open var showsHelp: Bool { get set }
14 |     open var helpAnchor: NSHelpManager.AnchorName? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:105:19: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
103 |             alert.informativeText = subTitle
104 |             alert.alertStyle = .informational
105 |             alert.addButton(withTitle: primaryButtonTitle)
    |                   `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
107 |                 alert.icon = iconImage
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:107:23: warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
105 |             alert.addButton(withTitle: primaryButtonTitle)
106 |             if let iconImage = NSImage(systemSymbolName: alertIcon, accessibilityDescription: nil) {
107 |                 alert.icon = iconImage
    |                       `- warning: main actor-isolated property 'icon' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
108 |             }
109 |             if let secondaryButtonTitle {
AppKit.NSAlert:7:14: note: mutation of this property is only permitted within the actor
 5 |     open var messageText: String { get set }
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
   |              `- note: mutation of this property is only permitted within the actor
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:110:23: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
108 |             }
109 |             if let secondaryButtonTitle {
110 |                 alert.addButton(withTitle: secondaryButtonTitle)
    |                       `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
111 |             }
112 |
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:114:23: warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
112 |
113 |             if let cancelButtonTitle {
114 |                 alert.addButton(withTitle: cancelButtonTitle)
    |                       `- warning: call to main actor-isolated instance method 'addButton(withTitle:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
115 |             }
116 |
AppKit.NSAlert:8:26: note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 6 |     open var informativeText: String { get set }
 7 |     open var icon: NSImage! { get set }
 8 |     @MainActor open func addButton(withTitle title: String) -> NSButton
   |                          `- note: calls to instance method 'addButton(withTitle:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(swift, obsoleted: 3, renamed: "addButton(withTitle:)")
10 |     open func addButtonWithTitle(_ title: String) -> NSButton
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:117:57: warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
115 |             }
116 |
117 |             guard let mainWindow = NSApplication.shared.keyWindow else {
    |                                                         `- warning: main actor-isolated property 'keyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
AppKit.NSApplication:13:30: note: property declared here
 11 |     open func windowWithWindowNumber(_ windowNum: Int) -> NSWindow?
 12 |     weak open var mainWindow: NSWindow? { get }
 13 |     @MainActor weak open var keyWindow: NSWindow? { get }
    |                              `- note: property declared here
 14 |     open var isActive: Bool { get }
 15 |     @available(swift, obsoleted: 3, renamed: "isActive")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:117:50: warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
115 |             }
116 |
117 |             guard let mainWindow = NSApplication.shared.keyWindow else {
    |                                                  `- warning: main actor-isolated class property 'shared' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
AppKit.NSApplication:2:20: note: class property declared here
  1 | @MainActor open class NSApplication : NSResponder, NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElementProtocol, NSAccessibilityProtocol {
  2 |     open class var shared: NSApplication { get }
    |                    `- note: class property declared here
  3 |     @available(swift, obsoleted: 3, renamed: "shared")
  4 |     open class var sharedApplication: NSApplication { get }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:120:19: warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 41 |      - **macOS**: Uses `NSAlert` to present the alert. The `alertIcon` is displayed (if valid) and buttons are created for each action.
 42 |     */
 43 |     func showAlert(
    |          `- note: add '@MainActor' to make instance method 'showAlert(alertIcon:title:subTitle:primaryButtonTitle:primaryButtonAction:secondaryButtonTitle:secondaryButtonAction:cancelButtonTitle:cancelButtonAction:)' part of global actor 'MainActor'
 44 |         alertIcon: String,
 45 |         title: String,
    :
118 |                 return
119 |             }
120 |             alert.beginSheetModal(for: mainWindow) { (response) in
    |                   `- warning: call to main actor-isolated instance method 'beginSheetModal(for:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
121 |                 if response == .alertFirstButtonReturn, let primaryButtonAction {
122 |                     primaryButtonAction()
AppKit.NSAlert:26:26: note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
24 |     open var suppressionButton: NSButton? { get }
25 |     @available(macOS 10.9, *)
26 |     @MainActor open func beginSheetModal(for sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
   |                          `- note: calls to instance method 'beginSheetModal(for:completionHandler:)' from outside of its actor context are implicitly asynchronous
27 |     @available(macOS 10.9, *)
28 |     open func beginSheetModal(for sheetWindow: NSWindow) async -> NSApplication.ModalResponse
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:128:30: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
126 |                     cancelButtonAction()
127 |                 }
128 |                 alert.window.close()
    |                              `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |             }
130 |         #endif
AppKit.NSWindow:95:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  93 |     weak open var firstResponder: NSResponder? { get }
  94 |     open var resizeFlags: NSEvent.ModifierFlags { get }
  95 |     @MainActor open func close()
     |                          `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  96 |     open var isReleasedWhenClosed: Bool { get set }
  97 |     @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:128:23: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
126 |                     cancelButtonAction()
127 |                 }
128 |                 alert.window.close()
    |                       `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
129 |             }
130 |         #endif
AppKit.NSAlert:32:14: note: property declared here
30 |     @available(swift, obsoleted: 3, renamed: "beginSheetModal(for:completionHandler:)")
31 |     open func beginSheetModalForWindow(_ sheetWindow: NSWindow, completionHandler handler: ((NSApplication.ModalResponse) -> Void)? = nil)
32 |     open var window: NSWindow { get }
   |              `- note: property declared here
33 |     @MainActor public init()
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:120:19: warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
118 |                 return
119 |             }
120 |             alert.beginSheetModal(for: mainWindow) { (response) in
    |                   `- warning: sending task-isolated value of type '(NSApplication.ModalResponse) -> Void' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
121 |                 if response == .alertFirstButtonReturn, let primaryButtonAction {
122 |                     primaryButtonAction()
[20/21] Compiling SSAppUpdater AppStoreView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/AppStoreView.swift:51:28: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | extension AppStoreView {
49 |     class Coordinator: NSObject, SKStoreProductViewControllerDelegate {
50 |         func productViewControllerDidFinish(_ viewController: SKStoreProductViewController) {
   |              `- note: add '@MainActor' to make instance method 'productViewControllerDidFinish' part of global actor 'MainActor'
51 |             viewController.dismiss(nil)
   |                            `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |         }
53 |     }
AppKit.NSViewController:13:36: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
11 |     open func dismissViewController(_ viewController: NSViewController)
12 |     @available(macOS 10.10, *)
13 |     @IBAction @MainActor open func dismiss(_ sender: Any?)
   |                                    `- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
14 |     @available(macOS 10.10, *)
15 |     @available(swift, obsoleted: 3, renamed: "dismiss(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/SSAppUpdater.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | public class SSAppUpdater {
    |              `- note: class 'SSAppUpdater' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Variables
 13 |
 14 |     /// A shared instance of `SSAppUpdater` for singleton access.
 15 |     public static let shared = SSAppUpdater()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 16 |
 17 |     /// An instance of `PerformVersionCheck` used for checking app versions.
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:166:17: warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |         let task = session.downloadTask(with: url) { (tempLocalURL, response, error) in
165 |             if error != nil {
166 |                 completion(false)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
167 |                 return
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:226:32: warning: capture of 'appleScript' with non-sendable type 'NSAppleScript' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |         DispatchQueue.global(qos: .background).async {
225 |             var error: NSDictionary?
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
    |                                `- warning: capture of 'appleScript' with non-sendable type 'NSAppleScript' in a `@Sendable` closure; this is an error in the Swift 6 language mode
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
Foundation.NSAppleScript:1:12: note: class 'NSAppleScript' does not conform to the 'Sendable' protocol
 1 | open class NSAppleScript : NSObject, NSCopying {
   |            `- note: class 'NSAppleScript' does not conform to the 'Sendable' protocol
 2 |     public init?(contentsOf url: URL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
 3 |     @available(swift, obsoleted: 3, renamed: "init(contentsOf:error:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:233:25: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
231 |                     if let result = scriptResult.stringValue {
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
    |                         `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 |
235 |                         // Quit & relaunch .app file
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: capture of 'error' with non-sendable type 'NSDictionary?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
    |                                `- warning: capture of 'error' with non-sendable type 'NSDictionary?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:231:37: warning: capture of 'scriptResult' with non-sendable type 'NSAppleEventDescriptor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
231 |                     if let result = scriptResult.stringValue {
    |                                     `- warning: capture of 'scriptResult' with non-sendable type 'NSAppleEventDescriptor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
Foundation.NSAppleEventDescriptor:1:12: note: class 'NSAppleEventDescriptor' does not conform to the 'Sendable' protocol
  1 | open class NSAppleEventDescriptor : NSObject, NSCopying, NSSecureCoding {
    |            `- note: class 'NSAppleEventDescriptor' does not conform to the 'Sendable' protocol
  2 |     open class func null() -> NSAppleEventDescriptor
  3 |     @available(swift, obsoleted: 3, renamed: "null()")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:233:25: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
231 |                     if let result = scriptResult.stringValue {
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
    |                         `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 |
235 |                         // Quit & relaunch .app file
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
    |                                `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in an isolated closure; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in an isolated closure; this is an error in the Swift 6 language mode
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     |- 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
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: sending 'error' risks causing data races; this is an error in the Swift 6 language mode
225 |             var error: NSDictionary?
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
    |                                      `- note: access can happen concurrently
228 |                 if let error = error {
    |                                |- warning: sending 'error' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: 'error' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
229 |                     print(error)
230 |                 } else {
[21/21] Compiling SSAppUpdater PerformVersionCheck + ManualAppUpdater.swift
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/AppStoreView.swift:51:28: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | extension AppStoreView {
49 |     class Coordinator: NSObject, SKStoreProductViewControllerDelegate {
50 |         func productViewControllerDidFinish(_ viewController: SKStoreProductViewController) {
   |              `- note: add '@MainActor' to make instance method 'productViewControllerDidFinish' part of global actor 'MainActor'
51 |             viewController.dismiss(nil)
   |                            `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |         }
53 |     }
AppKit.NSViewController:13:36: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
11 |     open func dismissViewController(_ viewController: NSViewController)
12 |     @available(macOS 10.10, *)
13 |     @IBAction @MainActor open func dismiss(_ sender: Any?)
   |                                    `- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
14 |     @available(macOS 10.10, *)
15 |     @available(swift, obsoleted: 3, renamed: "dismiss(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAPIManager.swift:27:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
 14 | }
 15 |
 16 | internal class SSAPIManager {
    |                `- note: class 'SSAPIManager' does not conform to the 'Sendable' protocol
 17 |
 18 |     /// Constants used for the iTunes Lookup API request.
    :
 25 |
 26 |     // MARK: - Variable Declaration
 27 |     static let shared = SSAPIManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAPIManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 28 |
 29 |     // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Helper/SSAlertManager.swift:12:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import StoreKit
  9 |
 10 | internal class SSAlertManager {
    |                `- note: class 'SSAlertManager' does not conform to the 'Sendable' protocol
 11 |     // MARK: - Variables
 12 |     static let shared = SSAlertManager()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAlertManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'shared' 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
 13 | }
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/SSAppUpdater.swift:15:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
  9 | import Foundation
 10 |
 11 | public class SSAppUpdater {
    |              `- note: class 'SSAppUpdater' does not conform to the 'Sendable' protocol
 12 |     // MARK: - Variables
 13 |
 14 |     /// A shared instance of `SSAppUpdater` for singleton access.
 15 |     public static let shared = SSAppUpdater()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SSAppUpdater' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'shared' 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
 16 |
 17 |     /// An instance of `PerformVersionCheck` used for checking app versions.
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:166:17: warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
164 |         let task = session.downloadTask(with: url) { (tempLocalURL, response, error) in
165 |             if error != nil {
166 |                 completion(false)
    |                 |- warning: capture of 'completion' with non-sendable type '(Bool) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
167 |                 return
168 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:226:32: warning: capture of 'appleScript' with non-sendable type 'NSAppleScript' in a `@Sendable` closure; this is an error in the Swift 6 language mode
224 |         DispatchQueue.global(qos: .background).async {
225 |             var error: NSDictionary?
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
    |                                `- warning: capture of 'appleScript' with non-sendable type 'NSAppleScript' in a `@Sendable` closure; this is an error in the Swift 6 language mode
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
Foundation.NSAppleScript:1:12: note: class 'NSAppleScript' does not conform to the 'Sendable' protocol
 1 | open class NSAppleScript : NSObject, NSCopying {
   |            `- note: class 'NSAppleScript' does not conform to the 'Sendable' protocol
 2 |     public init?(contentsOf url: URL, error errorInfo: AutoreleasingUnsafeMutablePointer<NSDictionary?>?)
 3 |     @available(swift, obsoleted: 3, renamed: "init(contentsOf:error:)")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:233:25: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
231 |                     if let result = scriptResult.stringValue {
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
    |                         `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 |
235 |                         // Quit & relaunch .app file
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: capture of 'error' with non-sendable type 'NSDictionary?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
    |                                `- warning: capture of 'error' with non-sendable type 'NSDictionary?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:231:37: warning: capture of 'scriptResult' with non-sendable type 'NSAppleEventDescriptor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
231 |                     if let result = scriptResult.stringValue {
    |                                     `- warning: capture of 'scriptResult' with non-sendable type 'NSAppleEventDescriptor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
Foundation.NSAppleEventDescriptor:1:12: note: class 'NSAppleEventDescriptor' does not conform to the 'Sendable' protocol
  1 | open class NSAppleEventDescriptor : NSObject, NSCopying, NSSecureCoding {
    |            `- note: class 'NSAppleEventDescriptor' does not conform to the 'Sendable' protocol
  2 |     open class func null() -> NSAppleEventDescriptor
  3 |     @available(swift, obsoleted: 3, renamed: "null()")
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:233:25: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
231 |                     if let result = scriptResult.stringValue {
232 |                         print(result)
233 |                         self.deleteFile(at: self.latestBuildFileURL(url: url))
    |                         `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
234 |
235 |                         // Quit & relaunch .app file
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
228 |                 if let error = error {
    |                                `- warning: reference to captured var 'error' in concurrently-executing code; this is an error in the Swift 6 language mode
229 |                     print(error)
230 |                 } else {
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in a `@Sendable` closure; this is an error in the Swift 6 language mode
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in an isolated closure; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     `- warning: capture of 'self' with non-sendable type 'PerformVersionCheck' in an isolated closure; this is an error in the Swift 6 language mode
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck.swift:13:16: note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 11 | import Combine
 12 |
 13 | internal class PerformVersionCheck: NSObject, SKStoreProductViewControllerDelegate {
    |                `- note: class 'PerformVersionCheck' does not conform to the 'Sendable' protocol
 14 |
 15 |     // MARK: - Variables
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:261:21: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
259 |                 primaryButtonTitle: PerformVersionCheckConstants.update,
260 |                 primaryButtonAction: {
261 |                     self.replaceAndRelaunchWithLatestBuild(url: url)
    |                     |- 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
262 |                 },
263 |                 secondaryButtonTitle: SSAppUpdater.shared.skipVersionAllow ? PerformVersionCheckConstants.skipThisVersion : nil,
/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift:228:32: warning: sending 'error' risks causing data races; this is an error in the Swift 6 language mode
225 |             var error: NSDictionary?
226 |             let scriptResult = appleScript.executeAndReturnError(&error)
227 |             DispatchQueue.main.async {
    |                                      `- note: access can happen concurrently
228 |                 if let error = error {
    |                                |- warning: sending 'error' risks causing data races; this is an error in the Swift 6 language mode
    |                                `- note: 'error' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
229 |                     print(error)
230 |                 } else {
Build complete! (16.43s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SSAppUpdater",
  "name" : "SSAppUpdater",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "SSAppUpdater",
      "targets" : [
        "SSAppUpdater"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SSAppUpdater",
      "module_type" : "SwiftTarget",
      "name" : "SSAppUpdater",
      "path" : "Sources/SSAppUpdater",
      "product_memberships" : [
        "SSAppUpdater"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SSAppUpdater/Resource/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Extension/Bundle.swift",
        "Extension/Date.swift",
        "Extension/String.swift",
        "Extension/UserDefaults.swift",
        "Helper/SSAPIManager.swift",
        "Helper/SSAlertManager.swift",
        "Helper/SSAppUpdaterEnums.swift",
        "Helper/SSEnumration.swift",
        "Helper/SSNetworkManager.swift",
        "Helper/SSScriptOrCommandExecutor.swift",
        "Models/LookUpResponseModel.swift",
        "Models/SSVersionInfo.swift",
        "PerformVersionCheck/AppStoreView.swift",
        "PerformVersionCheck/PerformVersionCheck + ManualAppUpdater.swift",
        "PerformVersionCheck/PerformVersionCheck.swift",
        "SSAppUpdater.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.