The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build GameControllerKit, reference 0.0.4 (eadf41), with Swift 5.8 for Linux on 2 Sep 2024 20:40:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.52.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xWDG/GameControllerKit.git
Reference: 0.0.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $PWD
https://github.com/0xWDG/GameControllerKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:c076d3ae857ca95da27bda0293ef81759bb7add70e4768513ac0cd43f6640c27
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/7] Emitting module GameControllerKit
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[2/7] Compiling GameControllerKit GCKControllerView.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[3/7] Compiling GameControllerKit GCKMovePosition.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[4/7] Compiling GameControllerKit GCKControllerType.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[5/7] Compiling GameControllerKit GameControllerKit.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[6/7] Compiling GameControllerKit GCKController.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
[7/7] Compiling GameControllerKit GCKAction.swift
/host/spi-builder-workspace/Sources/GameControllerKit/GCKAction.swift:176:15: error: consecutive statements on a line must be separated by ';'
        return switch self {
              ^
              ;
/host/spi-builder-workspace/Sources/GameControllerKit/GCKAction.swift:189:15: error: consecutive statements on a line must be separated by ';'
        return switch self {
              ^
              ;
/host/spi-builder-workspace/Sources/GameControllerKit/GCKAction.swift:209:15: error: consecutive statements on a line must be separated by ';'
        return switch self {
              ^
              ;
/host/spi-builder-workspace/Sources/GameControllerKit/GCKController.swift:13:8: error: no such module 'GameController'
import GameController
       ^
BUILD FAILURE 5.8 linux