The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GameKitUI, reference main (c45b93), with Swift 6.1 for macOS (SPM) on 26 Feb 2026 18:43:29 UTC.

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftPackageRepository/GameKitUI.swift.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/SwiftPackageRepository/GameKitUI.swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c45b93d Merge pull request #21 from javawag/main
Cloned https://github.com/SwiftPackageRepository/GameKitUI.swift.git
Revision (git rev-parse @):
c45b93d6b20642e63c5ff2ec5ee19e3d28bc27e1
SUCCESS checkout https://github.com/SwiftPackageRepository/GameKitUI.swift.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SwiftPackageRepository/GameKitUI.swift.git
https://github.com/SwiftPackageRepository/GameKitUI.swift.git
{
  "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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/30] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     private override init() {
[4/30] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     private override init() {
[5/30] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 |     private override init() {
[6/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: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 |     /// Logs the game kit authentication
[7/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: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- 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 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: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- 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 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 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
 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
 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
 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
 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
 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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:46:1: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 44 |
 45 | /// Initialize with a matchmaking request, allowing the user to send invites and/or start matchmaking
 46 | - (nullable id)initWithMatchRequest:(GKMatchRequest *)request;
    | |- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[10/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 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
 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
 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
 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
 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
 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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:46:1: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 44 |
 45 | /// Initialize with a matchmaking request, allowing the user to send invites and/or start matchmaking
 46 | - (nullable id)initWithMatchRequest:(GKMatchRequest *)request;
    | |- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[11/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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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
 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
 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
 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
 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
 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
 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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:49:1: note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
 49 | - (nullable id)initWithInvite:(GKInvite *)invite;
    | |- note: calls to initializer 'init(invite:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 50 |
 51 | /// Add additional players (not currently connected) to an existing peer-to-peer match.
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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()
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:46:1: note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
 44 |
 45 | /// Initialize with a matchmaking request, allowing the user to send invites and/or start matchmaking
 46 | - (nullable id)initWithMatchRequest:(GKMatchRequest *)request;
    | |- note: calls to initializer 'init(matchRequest:)' from outside of its actor context are implicitly asynchronous
    | `- note: main actor isolation inferred from inheritance from class 'NSViewController'
 47 |
 48 | /// Initialize with an accepted invite, allowing the user to see the status of other invited players and get notified when the game starts
/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 |     }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/GameKit.framework/Headers/GKMatchmakerViewController.h:34:81: note: mutation of this property is only permitted within the actor
 32 | @interface GKMatchmakerViewController : NSViewController <GKViewController>
 33 | #endif
 34 | @property(nonatomic, nullable, weak) id<GKMatchmakerViewControllerDelegate>     matchmakerDelegate;
    |                                                                                 `- note: mutation of this property is only permitted within the actor
 35 | @property(nonatomic, readonly, strong) GKMatchRequest                   *matchRequest;
 36 | /// set to YES to receive hosted (eg. not peer-to-peer) match results. Will cause the controller to return an array of players instead of a match.
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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.dismiss:3:34: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @IBAction @MainActor open func dismiss(_ sender: Any?)}
  |                                  |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                                  `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
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 value of non-Sendable type 'GKMatchManager' 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 value of non-Sendable type 'GKMatchManager' risks causing data races; this is an error in the Swift 6 language mode
    |                        `- note: sending task-isolated value of non-Sendable type 'GKMatchManager' to main actor-isolated instance method 'dismiss' risks causing races in between task-isolated and main actor-isolated uses
190 |         os_log("Matchmaking failed: %{public}@", log: OSLog.matchmaking, type: .error, error.localizedDescription)
191 |         self.invite.send(Invite.zero)
[12/33] 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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: add '@MainActor' to make static property 'subsystem' part of global actor 'MainActor'
   |                        `- 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: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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)
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
[13/33] Compiling GameKitUI GKAuthenticationView+iOS.swift
[14/33] Compiling GameKitUI GKAuthenticationViewController+iOS.swift
[15/33] Compiling GameKitUI GKGameCenterView+iOS.swift
[16/33] Compiling GameKitUI GKInviteView+iOS.swift
[17/33] Compiling GameKitUI InviteViewController+iOS.swift
[18/33] Compiling GameKitUI LoadingViewController+iOS.swift
[19/33] Compiling GameKitUI GKAuthenticationView+macOS.swift
/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.dismiss:3:24: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func dismiss(_ viewController: NSViewController)}
  |                        |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[20/33] Compiling GameKitUI GKAuthenticationViewController+macOS.swift
/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.dismiss:3:24: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func dismiss(_ viewController: NSViewController)}
  |                        |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[21/33] Compiling GameKitUI GKGameCenterView+macOS.swift
/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.dismiss:3:24: note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
1 | class NSViewController {
2 | @available(macOS 10.10, *)
3 |   @MainActor open func dismiss(_ viewController: NSViewController)}
  |                        |- note: calls to instance method 'dismiss' from outside of its actor context are implicitly asynchronous
  |                        `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
[22/33] Compiling GameKitUI GKInviteView+macOS.swift
[23/33] Compiling GameKitUI InviteViewController+macOS.swift
[24/33] Compiling GameKitUI LoadingViewController+macOS.swift
[25/33] Compiling GameKitUI GKMatchmakerView+macOS.swift
[26/33] Compiling GameKitUI MatchmakerViewController+macOS.swift
[27/33] Compiling GameKitUI NSViewController+Child.swift
[28/33] Compiling GameKitUI GKMatchmakerView+iOS.swift
[29/33] Compiling GameKitUI MatchmakerViewController+iOS.swift
[30/33] Compiling GameKitUI GKTurnBasedMatchmakerView+iOS.swift
[31/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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)
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
[32/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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)
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
[33/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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)
/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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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 requirement from protocol 'GKTurnBasedMatchmakerViewControllerDelegate'; 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()
Build complete! (10.44s)
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.