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.0 for macOS (SPM) on 20 Feb 2025 20:20:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "gamecontrollerkit",
      "name": "GameControllerKit",
      "url": "https://github.com/0xWDG/GameControllerKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GameControllerKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/0xWDG/GameControllerKit.git
[1/898] Fetching gamecontrollerkit
Fetched https://github.com/0xWDG/GameControllerKit.git from cache (1.01s)
Creating working copy for https://github.com/0xWDG/GameControllerKit.git
Working copy of https://github.com/0xWDG/GameControllerKit.git resolved at main (17ed83f)
warning: '.resolve-product-dependencies': dependency 'gamecontrollerkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/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.2.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-5BDAB9E9C0126B9D.txt
[3/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 |         }
[4/9] Compiling GameControllerKit GCKMovePosition.swift
[5/9] Compiling GameControllerKit GCKControllerType.swift
[6/9] Compiling GameControllerKit GCKAction.swift
[7/9] Emitting module GameControllerKit
[8/9] Compiling GameControllerKit GCKControllerView.swift
[9/9] Compiling GameControllerKit GCKController.swift
Build complete! (12.18s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/0xwdg/gamecontrollerkit/main
Repository:               0xWDG/GameControllerKit
Swift version used:       6.0
Target:                   GameControllerKit
Extracting symbol information for 'GameControllerKit'...
Finished extracting symbol information for 'GameControllerKit'. (4.87s)
Building documentation for 'GameControllerKit'...
warning: 'GCController' doesn't exist at '/GameControllerKit/GCKController'
  --> Sources/GameControllerKit/GCKController.swift:17:30-17:42
15 | /// Represents the names of buttons available on a standard game controller.
16 | ///
17 + /// This is a typealias to ``GCController``.
18 | public typealias GCKController = GCController
19 |
warning: 'Logger' doesn't exist at '/GameControllerKit/GameControllerKit/init(logger:)'
  --> Sources/GameControllerKit/GameControllerKit.swift:67:38-67:44
65 |     /// It sets up notification observers for when game controllers connect or disconnect.
66 |     ///
67 +     /// - Parameter logger: Custom ``Logger`` instance. (optional)
68 |     public init(logger: Logger? = nil) {
69 |         NotificationCenter.default.addObserver(Finished building documentation for 'GameControllerKit' (0.73s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/main
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2050] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.26s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3310] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.19s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.55s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-5BDAB9E9C0126B9D.txt
[6/53] Compiling Snippets SnippetParser.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets Snippet.swift
[9/53] Emitting module SymbolKit
[10/57] Compiling SymbolKit SemanticVersion.swift
[11/57] Compiling SymbolKit AccessControl.swift
[12/57] Compiling SymbolKit Availability.swift
[13/57] Compiling SymbolKit AvailabilityItem.swift
[14/57] Compiling SymbolKit Domain.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Compiling SymbolKit GenericConstraint.swift
[20/57] Compiling SymbolKit GenericParameter.swift
[21/57] Compiling SymbolKit Generics.swift
[22/57] Compiling SymbolKit Namespace.swift
[23/57] Compiling SymbolKit SourceRange.swift
[24/57] Compiling SymbolKit Metadata.swift
[25/57] Compiling SymbolKit Module.swift
[26/57] Compiling SymbolKit OperatingSystem.swift
[27/57] Compiling SymbolKit Platform.swift
[28/57] Compiling SymbolKit Mixin+Equals.swift
[29/57] Compiling SymbolKit Mixin+Hash.swift
[30/57] Compiling SymbolKit Mixin.swift
[31/57] Compiling SymbolKit LineList.swift
[32/57] Compiling SymbolKit Position.swift
[33/57] Compiling SymbolKit Relationship.swift
[34/57] Compiling SymbolKit RelationshipKind.swift
[35/57] Compiling SymbolKit SourceOrigin.swift
[36/57] Compiling SymbolKit GenericConstraints.swift
[37/57] Compiling SymbolKit Swift.swift
[38/57] Compiling SymbolKit Names.swift
[39/57] Compiling SymbolKit SPI.swift
[40/57] Compiling SymbolKit Snippet.swift
[41/57] Compiling SymbolKit Extension.swift
[42/57] Compiling SymbolKit Symbol.swift
[43/57] Compiling SymbolKit SymbolKind.swift
[44/57] Compiling SymbolKit SymbolGraph.swift
[45/57] Compiling SymbolKit GraphCollector.swift
[46/57] Compiling SymbolKit DeclarationFragments.swift
[47/57] Compiling SymbolKit Fragment.swift
[48/57] Compiling SymbolKit FragmentKind.swift
[49/57] Compiling SymbolKit FunctionParameter.swift
[50/57] Compiling SymbolKit FunctionSignature.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.70s)
Building for debugging...
[0/1] Write swift-version-5BDAB9E9C0126B9D.txt
[2/8] Compiling GameControllerKit GCKMovePosition.swift
[3/8] Compiling GameControllerKit GCKController.swift
[4/8] Compiling GameControllerKit GCKControllerType.swift
[5/8] Compiling GameControllerKit GameControllerKit.swift
[6/8] Compiling GameControllerKit GCKAction.swift
[7/8] Emitting module GameControllerKit
[8/8] Compiling GameControllerKit GCKControllerView.swift
Build of target: 'GameControllerKit' complete! (1.06s)
    1654
13	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/gamecontrollerkit/main
File count: 1654
Doc size:   13.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-gamecontrollerkit-main-0d6e43e4.zip to s3://spi-docs-inbox/prod-0xwdg-gamecontrollerkit-main-0d6e43e4.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [43%]
Copying... [51%]
Copying... [61%]
Copying... [72%]
Copying... [82%]
Copying... [90%]
Copying... [100%]
Done.