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 GameKitUI, reference 0.5.1 (4e95f7), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:55:31 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/GameKitUI.swift.git
Reference: 0.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageRepository/GameKitUI.swift
 * tag               0.5.1      -> FETCH_HEAD
HEAD is now at 4e95f70 Merge pull request #19 from pawello2222/fix/update-package
Cloned https://github.com/SwiftPackageRepository/GameKitUI.swift.git
Revision (git rev-parse @):
4e95f70fb99281d74913b840e8c593f33675f46b
SUCCESS checkout https://github.com/SwiftPackageRepository/GameKitUI.swift.git at 0.5.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "gamekitui.swift",
      "name": "GameKitUI",
      "url": "https://github.com/SwiftPackageRepository/GameKitUI.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GameKitUI.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/SwiftPackageRepository/GameKitUI.swift.git
[1/784] Fetching gamekitui.swift
Fetched https://github.com/SwiftPackageRepository/GameKitUI.swift.git from cache (1.16s)
Creating working copy for https://github.com/SwiftPackageRepository/GameKitUI.swift.git
Working copy of https://github.com/SwiftPackageRepository/GameKitUI.swift.git resolved at 0.5.1 (4e95f70)
warning: '.resolve-product-dependencies': dependency 'gamekitui.swift' 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/SwiftPackageRepository/GameKitUI.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/30] Emitting module GameKitUI
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/OSLog.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 |     private static var subsystem = "de.webblazer.GameKitUI"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
31 |
32 |     /// Logs the game kit authentication
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:65:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | import SwiftUI
31 |
32 | public class TurnBasedMatchmakerViewController: NSViewController, GKTurnBasedMatchmakerViewControllerDelegate, GKMatchDelegate {
   |                                                                   `- note: add '@preconcurrency' to the 'GKTurnBasedMatchmakerViewControllerDelegate' conformance to defer isolation checking to run time
33 |
34 |     private let matchRequest: GKMatchRequest
   :
63 |     }
64 |
65 |     public func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewControllerWasCancelled' to make this instance method not isolated to the actor
66 |         viewController.dismiss(self)
67 |         self.canceled()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:3:10: note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 1 | public protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol {
 2 |     @available(macOS 10.8, *)
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
   |          `- note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:71:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 |     }
70 |
71 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFailWithError:)' to make this instance method not isolated to the actor
72 |         viewController.dismiss(self)
73 |         self.failed(error)
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:5:10: note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
   |          `- note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:77:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
75 |     }
76 |
77 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) {        viewController.dismiss(self)
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFind:)' to make this instance method not isolated to the actor
78 |         self.started(match)
79 |         viewController.remove()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:7:19: note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
   |                   `- note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "turnBasedMatchmakerViewController(_:didFind:)")
 9 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
[4/33] Compiling GameKitUI GKAuthenticationView+iOS.swift
[5/33] Compiling GameKitUI GKAuthenticationViewController+iOS.swift
[6/33] Compiling GameKitUI GKGameCenterView+iOS.swift
[7/33] Compiling GameKitUI Match.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/OSLog.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 |     private static var subsystem = "de.webblazer.GameKitUI"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
31 |
32 |     /// Logs the game kit authentication
[8/33] Compiling GameKitUI OSLog.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/OSLog.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 |     private static var subsystem = "de.webblazer.GameKitUI"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
31 |
32 |     /// Logs the game kit authentication
[9/33] Compiling GameKitUI GKAuthentication+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/OSLog.swift:30:24: warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | extension OSLog {
30 |     private static var subsystem = "de.webblazer.GameKitUI"
   |                        |- warning: static property 'subsystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'subsystem' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'subsystem' 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
31 |
32 |     /// Logs the game kit authentication
[10/33] Compiling GameKitUI GKInviteView+iOS.swift
[11/33] Compiling GameKitUI InviteViewController+iOS.swift
[12/33] Compiling GameKitUI LoadingViewController+iOS.swift
[13/33] Compiling GameKitUI GKAuthenticationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:45:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 43 |             queue: nil)
 44 |         { notification in
 45 |             self.invite.send(Invite.needsToAuthenticate)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:53:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 51 |             queue: nil)
 52 |         { notification in
 53 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |         }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:61:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 59 |             queue: nil)
 60 |         { notification in
 61 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |         }
 63 |         GKLocalPlayer.local.register(self)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:89:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 87 |         }
 88 |
 89 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 90 |         return matchmakerViewController
 91 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:100:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    :
 98 |         }
 99 |
100 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
101 |         return matchmakerViewController
102 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
GameKit.GKMatchmakerViewController:11:12: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 12.0, *)
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
   |            `- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
12 |     @MainActor public init?(invite: GKInvite)
13 |     @available(macOS 10.8, *)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:118:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
116 |         }
117 |
118 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
119 |         return matchmakerViewController
120 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | extension GKMatchManager: GKMatchmakerViewControllerDelegate {
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFind:)' part of global actor 'MainActor'
174 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
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/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 |     }
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewControllerWasCancelled' part of global actor 'MainActor'
181 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFailWithError:)' part of global actor 'MainActor'
189 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'request' to main actor-isolated initializer 'init(matchRequest:)' risks causing data races between main actor-isolated and task-isolated uses
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
174 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
181 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
189 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[14/33] Compiling GameKitUI GKMatchManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:45:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 43 |             queue: nil)
 44 |         { notification in
 45 |             self.invite.send(Invite.needsToAuthenticate)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:53:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 51 |             queue: nil)
 52 |         { notification in
 53 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |         }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:61:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 59 |             queue: nil)
 60 |         { notification in
 61 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |         }
 63 |         GKLocalPlayer.local.register(self)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:89:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 87 |         }
 88 |
 89 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 90 |         return matchmakerViewController
 91 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:100:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    :
 98 |         }
 99 |
100 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
101 |         return matchmakerViewController
102 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
GameKit.GKMatchmakerViewController:11:12: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 12.0, *)
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
   |            `- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
12 |     @MainActor public init?(invite: GKInvite)
13 |     @available(macOS 10.8, *)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:118:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
116 |         }
117 |
118 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
119 |         return matchmakerViewController
120 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | extension GKMatchManager: GKMatchmakerViewControllerDelegate {
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFind:)' part of global actor 'MainActor'
174 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
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/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 |     }
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewControllerWasCancelled' part of global actor 'MainActor'
181 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFailWithError:)' part of global actor 'MainActor'
189 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'request' to main actor-isolated initializer 'init(matchRequest:)' risks causing data races between main actor-isolated and task-isolated uses
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
174 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
181 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
189 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[15/33] Compiling GameKitUI Invite.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:45:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 43 |             queue: nil)
 44 |         { notification in
 45 |             self.invite.send(Invite.needsToAuthenticate)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 46 |         }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:53:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 51 |             queue: nil)
 52 |         { notification in
 53 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 54 |         }
 55 |
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:61:13: warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    :
 59 |             queue: nil)
 60 |         { notification in
 61 |             self.localPlayer.send(GKLocalPlayer.local)
    |             `- warning: capture of 'self' with non-sendable type 'GKMatchManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 62 |         }
 63 |         GKLocalPlayer.local.register(self)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:89:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 72 |     private var started: (GKMatch) -> Void = { _ in }
 73 |
 74 |     internal func createInvite(invite: GKInvite,
    |                   `- note: add '@MainActor' to make instance method 'createInvite(invite:canceled:failed:started:)' part of global actor 'MainActor'
 75 |                                  canceled: @escaping () -> Void,
 76 |                                  failed: @escaping (Error) -> Void,
    :
 87 |         }
 88 |
 89 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 90 |         return matchmakerViewController
 91 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(invite:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
GameKit.GKMatchmakerViewController:12:23: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
12 |     @MainActor public init?(invite: GKInvite)
   |                       `- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
13 |     @available(macOS 10.8, *)
14 |     open func addPlayers(to match: GKMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:100:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
 91 |     }
 92 |
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(invite:)' part of global actor 'MainActor'
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    :
 98 |         }
 99 |
100 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
101 |         return matchmakerViewController
102 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              `- warning: call to main actor-isolated initializer 'init(matchRequest:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
GameKit.GKMatchmakerViewController:11:12: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 12.0, *)
10 |     open var canStartWithMinimumPlayers: Bool { get set }
11 |     public init?(matchRequest request: GKMatchRequest)
   |            `- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
12 |     @MainActor public init?(invite: GKInvite)
13 |     @available(macOS 10.8, *)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:118:34: warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |     }
103 |
104 |     internal func createMatchmaker(request: GKMatchRequest,
    |                   `- note: add '@MainActor' to make instance method 'createMatchmaker(request:canceled:failed:started:)' part of global actor 'MainActor'
105 |                                  canceled: @escaping () -> Void,
106 |                                  failed: @escaping (Error) -> Void,
    :
116 |         }
117 |
118 |         matchmakerViewController.matchmakerDelegate = self
    |                                  `- warning: main actor-isolated property 'matchmakerDelegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
119 |         return matchmakerViewController
120 |     }
GameKit.GKMatchmakerViewController:3:19: note: mutation of this property is only permitted within the actor
 1 | @available(macOS 10.8, *)
 2 | @MainActor open class GKMatchmakerViewController : NSViewController, GKViewController {
 3 |     weak open var matchmakerDelegate: (any GKMatchmakerViewControllerDelegate)? { get set }
   |                   `- note: mutation of this property is only permitted within the actor
 4 |     open var matchRequest: GKMatchRequest { get }
 5 |     open var isHosted: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | extension GKMatchManager: GKMatchmakerViewControllerDelegate {
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFind:)' part of global actor 'MainActor'
174 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
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/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 |     }
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewControllerWasCancelled' part of global actor 'MainActor'
181 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |     }
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
    |                 `- note: add '@MainActor' to make instance method 'matchmakerViewController(_:didFailWithError:)' part of global actor 'MainActor'
189 |         viewController.dismiss(self)
    |                        `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
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/GameKitUI/Shared/Manager/GKMatchManager.swift:83:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 81 |
 82 |         guard GKLocalPlayer.local.isAuthenticated,
 83 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 84 |             GKMatchmaker.shared().cancel()
 85 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:95:46: warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
 93 |     internal func createMatchmaker(invite: GKInvite) -> GKMatchmakerViewController? {
 94 |         guard GKLocalPlayer.local.isAuthenticated,
 95 |               let matchmakerViewController = GKMatchmakerViewController(invite: invite) else {
    |                                              |- warning: sending 'invite' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'invite' to main actor-isolated initializer 'init(invite:)' risks causing data races between main actor-isolated and task-isolated uses
 96 |             GKMatchmaker.shared().cancel()
 97 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:112:46: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
110 |         self.started = started
111 |         guard GKLocalPlayer.local.isAuthenticated,
112 |               let matchmakerViewController = GKMatchmakerViewController(matchRequest: request) else {
    |                                              |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
    |                                              `- note: sending task-isolated 'request' to main actor-isolated initializer 'init(matchRequest:)' risks causing data races between main actor-isolated and task-isolated uses
113 |             GKMatchmaker.shared().cancel()
114 |             canceled()
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:174:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
172 |
173 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) {
174 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
175 |         os_log("Matchmaking successful!", log: OSLog.matchmaking, type: .info)
176 |         self.match.send(Match(gkMatch: match))
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:181:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
179 |
180 |     public func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) {
181 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
182 |         os_log("Matchmaking cancelled!", log: OSLog.matchmaking, type: .error)
183 |         self.invite.send(Invite.zero)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:189:24: warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
187 |
188 |     public func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) {
189 |         viewController.dismiss(self)
    |                        `- warning: sending task-isolated value of type 'GKMatchManager' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[16/33] Compiling GameKitUI GKTurnBasedMatchmakerView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:65:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | import SwiftUI
31 |
32 | public class TurnBasedMatchmakerViewController: NSViewController, GKTurnBasedMatchmakerViewControllerDelegate, GKMatchDelegate {
   |                                                                   `- note: add '@preconcurrency' to the 'GKTurnBasedMatchmakerViewControllerDelegate' conformance to defer isolation checking to run time
33 |
34 |     private let matchRequest: GKMatchRequest
   :
63 |     }
64 |
65 |     public func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewControllerWasCancelled' to make this instance method not isolated to the actor
66 |         viewController.dismiss(self)
67 |         self.canceled()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:3:10: note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 1 | public protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol {
 2 |     @available(macOS 10.8, *)
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
   |          `- note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:71:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 |     }
70 |
71 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFailWithError:)' to make this instance method not isolated to the actor
72 |         viewController.dismiss(self)
73 |         self.failed(error)
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:5:10: note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
   |          `- note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:77:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
75 |     }
76 |
77 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) {        viewController.dismiss(self)
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFind:)' to make this instance method not isolated to the actor
78 |         self.started(match)
79 |         viewController.remove()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:7:19: note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
   |                   `- note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "turnBasedMatchmakerViewController(_:didFind:)")
 9 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
[17/33] Compiling GameKitUI TurnBasedMatchmakerViewController+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:65:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | import SwiftUI
31 |
32 | public class TurnBasedMatchmakerViewController: NSViewController, GKTurnBasedMatchmakerViewControllerDelegate, GKMatchDelegate {
   |                                                                   `- note: add '@preconcurrency' to the 'GKTurnBasedMatchmakerViewControllerDelegate' conformance to defer isolation checking to run time
33 |
34 |     private let matchRequest: GKMatchRequest
   :
63 |     }
64 |
65 |     public func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewControllerWasCancelled' to make this instance method not isolated to the actor
66 |         viewController.dismiss(self)
67 |         self.canceled()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:3:10: note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 1 | public protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol {
 2 |     @available(macOS 10.8, *)
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
   |          `- note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:71:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 |     }
70 |
71 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFailWithError:)' to make this instance method not isolated to the actor
72 |         viewController.dismiss(self)
73 |         self.failed(error)
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:5:10: note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
   |          `- note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:77:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
75 |     }
76 |
77 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) {        viewController.dismiss(self)
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFind:)' to make this instance method not isolated to the actor
78 |         self.started(match)
79 |         viewController.remove()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:7:19: note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
   |                   `- note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "turnBasedMatchmakerViewController(_:didFind:)")
 9 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
[18/33] Compiling GameKitUI TurnBasedMatchmakerViewController+tvOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:65:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | import SwiftUI
31 |
32 | public class TurnBasedMatchmakerViewController: NSViewController, GKTurnBasedMatchmakerViewControllerDelegate, GKMatchDelegate {
   |                                                                   `- note: add '@preconcurrency' to the 'GKTurnBasedMatchmakerViewControllerDelegate' conformance to defer isolation checking to run time
33 |
34 |     private let matchRequest: GKMatchRequest
   :
63 |     }
64 |
65 |     public func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewControllerWasCancelled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewControllerWasCancelled' to make this instance method not isolated to the actor
66 |         viewController.dismiss(self)
67 |         self.canceled()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:3:10: note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 1 | public protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol {
 2 |     @available(macOS 10.8, *)
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
   |          `- note: 'turnBasedMatchmakerViewControllerWasCancelled' declared here
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:71:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 |     }
70 |
71 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) {
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFailWithError:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFailWithError:)' to make this instance method not isolated to the actor
72 |         viewController.dismiss(self)
73 |         self.failed(error)
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:5:10: note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 3 |     func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController)
 4 |     @available(macOS 10.8, *)
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
   |          `- note: 'turnBasedMatchmakerViewController(_:didFailWithError:)' declared here
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift:77:17: warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
75 |     }
76 |
77 |     public func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) {        viewController.dismiss(self)
   |                 |- warning: main actor-isolated instance method 'turnBasedMatchmakerViewController(_:didFind:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'turnBasedMatchmakerViewController(_:didFind:)' to make this instance method not isolated to the actor
78 |         self.started(match)
79 |         viewController.remove()
GameKit.GKTurnBasedMatchmakerViewControllerDelegate:7:19: note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 5 |     func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: any Error)
 6 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
 7 |     optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch)
   |                   `- note: 'turnBasedMatchmakerViewController(_:didFind:)' declared here
 8 |     @available(swift, obsoleted: 3, renamed: "turnBasedMatchmakerViewController(_:didFind:)")
 9 |     @available(macOS, introduced: 10.8, deprecated: 10.11)
[19/33] Compiling GameKitUI GKMatchmakerView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[20/33] Compiling GameKitUI MatchmakerViewController+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[21/33] Compiling GameKitUI NSViewController+Child.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[22/33] Compiling GameKitUI TurnBasedMatchmakerViewController+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
[23/33] Compiling GameKitUI UIViewController+Child.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
[24/33] Compiling GameKitUI GKAuthentication+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
[25/33] Compiling GameKitUI GKAuthenticationView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/GKGameCenterView+macOS.swift:63:34: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func gameCenterViewControllerDidFinish(_ gameCenterViewController: GKGameCenterViewController) {
   |                 `- note: add '@MainActor' to make instance method 'gameCenterViewControllerDidFinish' part of global actor 'MainActor'
63 |         gameCenterViewController.dismiss(gameCenterViewController)
   |                                  `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 |     }
65 | }
AppKit.NSViewController:8:26: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 6 |     open func presentViewController(_ viewController: NSViewController, animator: any NSViewControllerPresentationAnimator)
 7 |     @available(macOS 10.10, *)
 8 |     @MainActor open func dismiss(_ viewController: NSViewController)
   |                          `- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 10.10, *)
10 |     @available(swift, obsoleted: 4.2, renamed: "dismiss(_:)")
[26/33] Compiling GameKitUI GKAuthenticationViewController+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/GKGameCenterView+macOS.swift:63:34: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func gameCenterViewControllerDidFinish(_ gameCenterViewController: GKGameCenterViewController) {
   |                 `- note: add '@MainActor' to make instance method 'gameCenterViewControllerDidFinish' part of global actor 'MainActor'
63 |         gameCenterViewController.dismiss(gameCenterViewController)
   |                                  `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 |     }
65 | }
AppKit.NSViewController:8:26: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 6 |     open func presentViewController(_ viewController: NSViewController, animator: any NSViewControllerPresentationAnimator)
 7 |     @available(macOS 10.10, *)
 8 |     @MainActor open func dismiss(_ viewController: NSViewController)
   |                          `- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 10.10, *)
10 |     @available(swift, obsoleted: 4.2, renamed: "dismiss(_:)")
[27/33] Compiling GameKitUI GKGameCenterView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/Authentication/GKAuthentication+macOS.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' may have shared mutable state; this is an error in the Swift 6 language mode
31 | import GameKit
32 |
33 | public final class GKAuthentication: NSObject, GKLocalPlayerListener {
   |                    `- note: class 'GKAuthentication' does not conform to the 'Sendable' protocol
34 |
35 |     public static let shared = GKAuthentication()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKAuthentication' 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
36 |
37 |     private override init() {
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/macOS/GKGameCenterView+macOS.swift:63:34: warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 |     }
61 |
62 |     public func gameCenterViewControllerDidFinish(_ gameCenterViewController: GKGameCenterViewController) {
   |                 `- note: add '@MainActor' to make instance method 'gameCenterViewControllerDidFinish' part of global actor 'MainActor'
63 |         gameCenterViewController.dismiss(gameCenterViewController)
   |                                  `- warning: call to main actor-isolated instance method 'dismiss' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 |     }
65 | }
AppKit.NSViewController:8:26: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 6 |     open func presentViewController(_ viewController: NSViewController, animator: any NSViewControllerPresentationAnimator)
 7 |     @available(macOS 10.10, *)
 8 |     @MainActor open func dismiss(_ viewController: NSViewController)
   |                          `- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
 9 |     @available(macOS 10.10, *)
10 |     @available(swift, obsoleted: 4.2, renamed: "dismiss(_:)")
[28/33] Compiling GameKitUI GKInviteView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[29/33] Compiling GameKitUI InviteViewController+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[30/33] Compiling GameKitUI LoadingViewController+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameKitUI/Shared/Manager/GKMatchManager.swift:35:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' may have shared mutable state; this is an error in the Swift 6 language mode
 31 | import SwiftUI
 32 |
 33 | public final class GKMatchManager: NSObject {
    |                    `- note: class 'GKMatchManager' does not conform to the 'Sendable' protocol
 34 |
 35 |     public static let shared = GKMatchManager()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'GKMatchManager' 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
 36 |
 37 |     private override init() {
[31/33] Compiling GameKitUI GKMatchmakerView+iOS.swift
[32/33] Compiling GameKitUI MatchmakerViewController+iOS.swift
[33/33] Compiling GameKitUI GKTurnBasedMatchmakerView+iOS.swift
Build complete! (20.69s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GameKitUI",
  "name" : "GameKitUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "GameKitUI",
      "targets" : [
        "GameKitUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GameKitUITests",
      "module_type" : "SwiftTarget",
      "name" : "GameKitUITests",
      "path" : "Tests/GameKitUITests",
      "sources" : [
        "GameKitUITests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "GameKitUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GameKitUI",
      "module_type" : "SwiftTarget",
      "name" : "GameKitUI",
      "path" : "Sources/GameKitUI",
      "product_memberships" : [
        "GameKitUI"
      ],
      "sources" : [
        "Shared/Authentication/GKAuthenticationError.swift",
        "Shared/Manager/GKMatchManager.swift",
        "Shared/Manager/Invite.swift",
        "Shared/Manager/Match.swift",
        "Shared/OSLog.swift",
        "iOS/Authentication/GKAuthentication+iOS.swift",
        "iOS/Authentication/GKAuthenticationView+iOS.swift",
        "iOS/Authentication/GKAuthenticationViewController+iOS.swift",
        "iOS/GKGameCenterView+iOS.swift",
        "iOS/Invite/GKInviteView+iOS.swift",
        "iOS/Invite/InviteViewController+iOS.swift",
        "iOS/LoadingViewController+iOS.swift",
        "iOS/Matchmaker/GKMatchmakerView+iOS.swift",
        "iOS/Matchmaker/MatchmakerViewController+iOS.swift",
        "iOS/TurnBasedMatchmaker/GKTurnBasedMatchmakerView+iOS.swift",
        "iOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+iOS.swift",
        "iOS/UIViewController+Child.swift",
        "macOS/Authentication/GKAuthentication+macOS.swift",
        "macOS/Authentication/GKAuthenticationView+macOS.swift",
        "macOS/Authentication/GKAuthenticationViewController+macOS.swift",
        "macOS/GKGameCenterView+macOS.swift",
        "macOS/Invite/GKInviteView+macOS.swift",
        "macOS/Invite/InviteViewController+macOS.swift",
        "macOS/LoadingViewController+macOS.swift",
        "macOS/Matchmaker/GKMatchmakerView+macOS.swift",
        "macOS/Matchmaker/MatchmakerViewController+macOS.swift",
        "macOS/NSViewController+Child.swift",
        "macOS/TurnBasedMatchmaker/GKTurnBasedMatchmakerView+macOS.swift",
        "macOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+macOS.swift",
        "tvOS/TurnBasedMatchmaker/TurnBasedMatchmakerViewController+tvOS.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.