Build Information
Successful build of GameControllerKit, reference 0.0.4 (eadf41
), with Swift 6.0 for macOS (SPM) on 8 Nov 2024 18:13:05 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
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/GameControllerKit.git
Reference: 0.0.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0xWDG/GameControllerKit
* tag 0.0.4 -> FETCH_HEAD
HEAD is now at eadf419 Add support for custom logger
Cloned https://github.com/0xWDG/GameControllerKit.git
Revision (git rev-parse @):
eadf41948fa0a497e20644a61e7aff28abd7e8dd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/0xWDG/GameControllerKit.git at 0.0.4
========================================
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/885] Fetching gamecontrollerkit
Fetched https://github.com/0xWDG/GameControllerKit.git from cache (1.16s)
Creating working copy for https://github.com/0xWDG/GameControllerKit.git
Working copy of https://github.com/0xWDG/GameControllerKit.git resolved at 0.0.4 (eadf419)
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
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Emitting module GameControllerKit
[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: capture of 'self' with non-sendable type 'GameControllerKit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
21 | /// connect to game controllers, read input from them, and control their
22 | /// lights and haptics.
23 | public class GameControllerKit: ObservableObject {
| `- note: class 'GameControllerKit' does not conform to the 'Sendable' protocol
24 | /// Event Handler
25 | public typealias GCKEventHandler = (_ action: GCKAction, _ pressed: Bool, _ controller: GCKController) -> Void
:
119 | for counter in 0...10 {
120 | DispatchQueue.main.asyncAfter(deadline: .now() + (Double(counter)/0.99)) {
121 | self.set(color: .GCKRandom)
| `- warning: capture of 'self' with non-sendable type 'GameControllerKit' in a `@Sendable` closure; this is an error in the Swift 6 language mode
122 | }
123 | }
/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 GCKMovePosition.swift
[7/9] Compiling GameControllerKit GCKControllerView.swift
[8/9] Compiling GameControllerKit GCKControllerType.swift
[9/9] Compiling GameControllerKit GCKAction.swift
Build complete! (14.20s)
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.4
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.77s)
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.55s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/0.0.4
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.82s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] 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.70s)
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
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
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SourceRange.swift
[7/53] Compiling SymbolKit Metadata.swift
[8/53] Compiling SymbolKit Module.swift
[9/53] Compiling SymbolKit OperatingSystem.swift
[10/53] Compiling SymbolKit Platform.swift
[11/57] Compiling Snippets SnippetParser.swift
[12/57] Compiling Snippets Snippet.swift
[13/57] Emitting module Snippets
[14/57] Compiling SymbolKit Mixin+Equals.swift
[15/57] Compiling SymbolKit Mixin+Hash.swift
[16/57] Compiling SymbolKit Mixin.swift
[17/57] Compiling SymbolKit LineList.swift
[18/57] Compiling SymbolKit Position.swift
[19/57] Compiling SymbolKit Symbol.swift
[20/57] Compiling SymbolKit SymbolKind.swift
[21/57] Compiling SymbolKit SymbolGraph.swift
[22/57] Compiling SymbolKit GraphCollector.swift
[23/57] Compiling SymbolKit Names.swift
[24/57] Compiling SymbolKit SPI.swift
[25/57] Compiling SymbolKit Snippet.swift
[26/57] Compiling SymbolKit Extension.swift
[27/57] Emitting module SymbolKit
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Compiling SymbolKit DeclarationFragments.swift
[34/57] Compiling SymbolKit Fragment.swift
[35/57] Compiling SymbolKit FragmentKind.swift
[36/57] Compiling SymbolKit FunctionParameter.swift
[37/57] Compiling SymbolKit FunctionSignature.swift
[38/57] Compiling SymbolKit GenericConstraint.swift
[39/57] Compiling SymbolKit GenericParameter.swift
[40/57] Compiling SymbolKit Generics.swift
[41/57] Compiling SymbolKit Namespace.swift
[42/57] Compiling SymbolKit Relationship.swift
[43/57] Compiling SymbolKit RelationshipKind.swift
[44/57] Compiling SymbolKit SourceOrigin.swift
[45/57] Compiling SymbolKit GenericConstraints.swift
[46/57] Compiling SymbolKit Swift.swift
[47/57] Compiling SymbolKit Identifier.swift
[48/57] Compiling SymbolKit KindIdentifier.swift
[49/57] Compiling SymbolKit Location.swift
[50/57] Compiling SymbolKit Mutability.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] 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.59s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/8] Compiling GameControllerKit GCKMovePosition.swift
[3/8] Compiling GameControllerKit GameControllerKit.swift
[4/8] Compiling GameControllerKit GCKController.swift
[5/8] Emitting module GameControllerKit
[6/8] Compiling GameControllerKit GCKControllerType.swift
[7/8] Compiling GameControllerKit GCKAction.swift
[8/8] Compiling GameControllerKit GCKControllerView.swift
Build of target: 'GameControllerKit' complete! (1.27s)
1660
13 /Users/admin/builder/spi-builder-workspace/.docs/0xwdg/gamecontrollerkit/0.0.4
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/0xwdg/gamecontrollerkit/0.0.4
File count: 1660
Doc size: 13.0MB
Preparing doc bundle ...
Uploading prod-0xwdg-gamecontrollerkit-0.0.4-db5d6943.zip to s3://spi-docs-inbox/prod-0xwdg-gamecontrollerkit-0.0.4-db5d6943.zip
Copying... [11%]
Copying... [21%]
Copying... [32%]
Copying... [42%]
Copying... [50%]
Copying... [61%]
Copying... [71%]
Copying... [82%]
Copying... [92%]
Copying... [100%]
Done.