The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of GameControllerKit, reference main (17ed83), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:37:31 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/GameControllerKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/GameControllerKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 17ed83f Update README.md
Cloned https://github.com/0xWDG/GameControllerKit.git
Revision (git rev-parse @):
17ed83f222be0deb1dc2d969029b1028e8f72496
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/GameControllerKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/0xWDG/GameControllerKit.git
https://github.com/0xWDG/GameControllerKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GameControllerKit",
  "name" : "GameControllerKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "GameControllerKit",
      "targets" : [
        "GameControllerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GameControllerKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GameControllerKitTests",
      "path" : "Tests/GameControllerKitTests",
      "sources" : [
        "GameControllerKitTests.swift"
      ],
      "target_dependencies" : [
        "GameControllerKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GameControllerKit",
      "module_type" : "SwiftTarget",
      "name" : "GameControllerKit",
      "path" : "Sources/GameControllerKit",
      "product_memberships" : [
        "GameControllerKit"
      ],
      "sources" : [
        "GCKAction.swift",
        "GCKController.swift",
        "GCKControllerType.swift",
        "GCKControllerView.swift",
        "GCKMovePosition.swift",
        "GameControllerKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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/9] Compiling GameControllerKit GCKControllerType.swift
[4/9] Compiling GameControllerKit GameControllerKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameControllerKit/GameControllerKit.swift:73:20: warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 71 |             object: nil,
 72 |             queue: .main,
 73 |             using: controllerDidConnect
    |                    `- warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 74 |         )
 75 |
/Users/admin/builder/spi-builder-workspace/Sources/GameControllerKit/GameControllerKit.swift:80:20: warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 78 |             object: nil,
 79 |             queue: .main,
 80 |             using: controllerDidDisconnect
    |                    `- warning: converting non-sendable function value to '@Sendable (Notification) -> Void' may introduce data races
 81 |         )
 82 |
/Users/admin/builder/spi-builder-workspace/Sources/GameControllerKit/GameControllerKit.swift:121:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
119 |         for counter in 0...10 {
120 |             DispatchQueue.main.asyncAfter(deadline: .now() + (Double(counter)/0.99)) {
121 |                 self.set(color: .GCKRandom)
    |                 |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
122 |             }
123 |         }
[5/9] Compiling GameControllerKit GCKMovePosition.swift
[6/9] Compiling GameControllerKit GCKAction.swift
[7/9] Compiling GameControllerKit GCKControllerView.swift
[8/9] Emitting module GameControllerKit
[9/9] Compiling GameControllerKit GCKController.swift
Build complete! (7.96s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "GameControllerKit",
  "name" : "GameControllerKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "GameControllerKit",
      "targets" : [
        "GameControllerKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GameControllerKitTests",
      "module_type" : "SwiftTarget",
      "name" : "GameControllerKitTests",
      "path" : "Tests/GameControllerKitTests",
      "sources" : [
        "GameControllerKitTests.swift"
      ],
      "target_dependencies" : [
        "GameControllerKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GameControllerKit",
      "module_type" : "SwiftTarget",
      "name" : "GameControllerKit",
      "path" : "Sources/GameControllerKit",
      "product_memberships" : [
        "GameControllerKit"
      ],
      "sources" : [
        "GCKAction.swift",
        "GCKController.swift",
        "GCKControllerType.swift",
        "GCKControllerView.swift",
        "GCKMovePosition.swift",
        "GameControllerKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.