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 0.0.5 (d37d32), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 17:25:33 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/GameControllerKit.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/GameControllerKit
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at d37d327 Swiftlint fixes
Cloned https://github.com/0xWDG/GameControllerKit.git
Revision (git rev-parse @):
d37d3277551072145d028c105f3a17d0b1b2153e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/GameControllerKit.git at 0.0.5
========================================
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/895] Fetching gamecontrollerkit
Fetched https://github.com/0xWDG/GameControllerKit.git from cache (1.04s)
Creating working copy for https://github.com/0xWDG/GameControllerKit.git
Working copy of https://github.com/0xWDG/GameControllerKit.git resolved at 0.0.5 (d37d327)
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
{
  "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.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling GameControllerKit GCKMovePosition.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 GCKController.swift
[6/9] Compiling GameControllerKit GCKAction.swift
[7/9] Emitting module GameControllerKit
[8/9] Compiling GameControllerKit GCKControllerView.swift
[9/9] Compiling GameControllerKit GCKControllerType.swift
Build complete! (13.71s)
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/0.0.5
Repository:               0xWDG/GameControllerKit
Swift version used:       6.0
Target:                   GameControllerKit
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'GameControllerKit'...
Finished extracting symbol information for 'GameControllerKit'. (5.48s)
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.54s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/0.0.5
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.32s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3187] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.57s)
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--7754E27361AE5C74.txt
[6/53] Compiling Snippets Snippet.swift
[7/53] Emitting module Snippets
[8/53] Compiling Snippets SnippetParser.swift
[9/53] Compiling SymbolKit Mixin+Equals.swift
[10/53] Compiling SymbolKit Mixin+Hash.swift
[11/53] Compiling SymbolKit Mixin.swift
[12/53] Compiling SymbolKit LineList.swift
[13/53] Compiling SymbolKit Position.swift
[14/57] Compiling SymbolKit Relationship.swift
[15/57] Compiling SymbolKit RelationshipKind.swift
[16/57] Compiling SymbolKit SourceOrigin.swift
[17/57] Compiling SymbolKit GenericConstraints.swift
[18/57] Compiling SymbolKit Swift.swift
[19/57] Emitting module SymbolKit
[20/57] Compiling SymbolKit DeclarationFragments.swift
[21/57] Compiling SymbolKit Fragment.swift
[22/57] Compiling SymbolKit FragmentKind.swift
[23/57] Compiling SymbolKit FunctionParameter.swift
[24/57] Compiling SymbolKit FunctionSignature.swift
[25/57] Compiling SymbolKit SemanticVersion.swift
[26/57] Compiling SymbolKit AccessControl.swift
[27/57] Compiling SymbolKit Availability.swift
[28/57] Compiling SymbolKit AvailabilityItem.swift
[29/57] Compiling SymbolKit Domain.swift
[30/57] Compiling SymbolKit SourceRange.swift
[31/57] Compiling SymbolKit Metadata.swift
[32/57] Compiling SymbolKit Module.swift
[33/57] Compiling SymbolKit OperatingSystem.swift
[34/57] Compiling SymbolKit Platform.swift
[35/57] Compiling SymbolKit Identifier.swift
[36/57] Compiling SymbolKit KindIdentifier.swift
[37/57] Compiling SymbolKit Location.swift
[38/57] Compiling SymbolKit Mutability.swift
[39/57] Compiling SymbolKit GenericConstraint.swift
[40/57] Compiling SymbolKit GenericParameter.swift
[41/57] Compiling SymbolKit Generics.swift
[42/57] Compiling SymbolKit Namespace.swift
[43/57] Compiling SymbolKit Names.swift
[44/57] Compiling SymbolKit SPI.swift
[45/57] Compiling SymbolKit Snippet.swift
[46/57] Compiling SymbolKit Extension.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.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 URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.17s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/8] Compiling GameControllerKit GameControllerKit.swift
[3/8] Compiling GameControllerKit GCKControllerType.swift
[4/8] Compiling GameControllerKit GCKController.swift
[5/8] Compiling GameControllerKit GCKMovePosition.swift
[6/8] Emitting module GameControllerKit
[7/8] Compiling GameControllerKit GCKAction.swift
[8/8] Compiling GameControllerKit GCKControllerView.swift
Build of target: 'GameControllerKit' complete! (1.21s)
    1660
13	/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/0.0.5
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/gamecontrollerkit/0.0.5
File count: 1660
Doc size:   13.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-gamecontrollerkit-0.0.5-9b6c22b4.zip to s3://spi-docs-inbox/prod-0xwdg-gamecontrollerkit-0.0.5-9b6c22b4.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [42%]
Copying... [50%]
Copying... [61%]
Copying... [71%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.