The Swift Package Index logo.Swift Package Index

Build Information

Successful build of GameCenterUI, reference main (06edd9), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 03:04:03 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/berikv/GameCenterUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/berikv/GameCenterUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 06edd9a Update readme
Cloned https://github.com/berikv/GameCenterUI.git
Revision (git rev-parse @):
06edd9a6e9a7a0d0000ee23deedf72b677c6bb1c
SUCCESS checkout https://github.com/berikv/GameCenterUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/berikv/GameCenterUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] GameCenterUI
[30 / 108]
[33 / 108]
[41 / 108]
[43 / 108]
[44 / 108]
[50 / 108]
[52 / 108]
[55 / 108]
[61 / 108]
[64 / 108]
[66 / 108]
[67 / 108]
[79 / 108]
[81 / 108]
[82 / 108]
[85 / 108]
[87 / 108]
[92 / 108]
[94 / 108]
[95 / 108]
[96 / 108]
[99 / 108] GameCenterUI
[105 / 108] GameCenterUI
Build complete! (11.34 sec)
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:124:29: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
106 |     var onAuthenticate: (() -> ())?
107 |
108 |     @Published var isAuthenticated = false
    |                    `- note: property declared here
109 |     @Published var authenticationError: Error?
110 |     @Published var authenticationView: GameCenterAuthenticationView?
    :
122 |
123 |                  // Skip when setting the same value again
124 |                  guard self.isAuthenticated != GKLocalPlayer.local.isAuthenticated
    |                             `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
125 |                  else { return }
126 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:127:23: warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
106 |     var onAuthenticate: (() -> ())?
107 |
108 |     @Published var isAuthenticated = false
    |                    `- note: mutation of this property is only permitted within the actor
109 |     @Published var authenticationError: Error?
110 |     @Published var authenticationView: GameCenterAuthenticationView?
    :
125 |                  else { return }
126 |
127 |                  self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
    |                       `- warning: main actor-isolated property 'isAuthenticated' can not be mutated from a Sendable closure
128 |                  self.authenticationError = nil
129 |                  self.authenticationView = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:128:23: warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
107 |
108 |     @Published var isAuthenticated = false
109 |     @Published var authenticationError: Error?
    |                    `- note: mutation of this property is only permitted within the actor
110 |     @Published var authenticationView: GameCenterAuthenticationView?
111 |
    :
126 |
127 |                  self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
128 |                  self.authenticationError = nil
    |                       `- warning: main actor-isolated property 'authenticationError' can not be mutated from a Sendable closure
129 |                  self.authenticationView = nil
130 |
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:129:23: warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
108 |     @Published var isAuthenticated = false
109 |     @Published var authenticationError: Error?
110 |     @Published var authenticationView: GameCenterAuthenticationView?
    |                    `- note: mutation of this property is only permitted within the actor
111 |
112 |     var isAuthenticatedObservation: NSKeyValueObservation?
    :
127 |                  self.isAuthenticated = GKLocalPlayer.local.isAuthenticated
128 |                  self.authenticationError = nil
129 |                  self.authenticationView = nil
    |                       `- warning: main actor-isolated property 'authenticationView' can not be mutated from a Sendable closure
130 |
131 |                  if self.isAuthenticated {
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:131:26: warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
106 |     var onAuthenticate: (() -> ())?
107 |
108 |     @Published var isAuthenticated = false
    |                    `- note: property declared here
109 |     @Published var authenticationError: Error?
110 |     @Published var authenticationView: GameCenterAuthenticationView?
    :
129 |                  self.authenticationView = nil
130 |
131 |                  if self.isAuthenticated {
    |                          `- warning: main actor-isolated property 'isAuthenticated' can not be referenced from a Sendable closure
132 |                      self.onAuthenticate?()
133 |                      self.onAuthenticate = nil
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:132:27: warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
104 |
105 |     var didTryAuthenticate = false
106 |     var onAuthenticate: (() -> ())?
    |         `- note: property declared here
107 |
108 |     @Published var isAuthenticated = false
    :
130 |
131 |                  if self.isAuthenticated {
132 |                      self.onAuthenticate?()
    |                           `- warning: main actor-isolated property 'onAuthenticate' can not be referenced from a Sendable closure
133 |                      self.onAuthenticate = nil
134 |                  }
/Users/admin/builder/spi-builder-workspace/Sources/GameCenterUI/GameCenterAuthentication.swift:133:27: warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
104 |
105 |     var didTryAuthenticate = false
106 |     var onAuthenticate: (() -> ())?
    |         `- note: mutation of this property is only permitted within the actor
107 |
108 |     @Published var isAuthenticated = false
    :
131 |                  if self.isAuthenticated {
132 |                      self.onAuthenticate?()
133 |                      self.onAuthenticate = nil
    |                           `- warning: main actor-isolated property 'onAuthenticate' can not be mutated from a Sendable closure
134 |                  }
135 |              })
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GameCenterUI",
  "name" : "GameCenterUI",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "GameCenterUI",
      "targets" : [
        "GameCenterUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GameCenterUITests",
      "module_type" : "SwiftTarget",
      "name" : "GameCenterUITests",
      "path" : "Tests/GameCenterUITests",
      "sources" : [
        "GameCenterTests.swift"
      ],
      "target_dependencies" : [
        "GameCenterUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GameCenterUI",
      "module_type" : "SwiftTarget",
      "name" : "GameCenterUI",
      "path" : "Sources/GameCenterUI",
      "product_memberships" : [
        "GameCenterUI"
      ],
      "sources" : [
        "GameCenter.swift",
        "GameCenterAuthentication.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.