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

Failed to build DeckOfPlayingCards, reference 4.0.0 (0ba86c), with Swift 5.10 for Linux on 20 Aug 2025 02:11:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/example-package-deckofplayingcards.git
Reference: 4.0.0
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/swiftlang/example-package-deckofplayingcards
 * tag               4.0.0      -> FETCH_HEAD
HEAD is now at 0ba86cd Update to use Swift6 version of playingcard
Cloned https://github.com/swiftlang/example-package-deckofplayingcards.git
Revision (git rev-parse @):
0ba86cd5f2f5a0b8bd8902b5a17ccfccfd6b4748
SUCCESS checkout https://github.com/swiftlang/example-package-deckofplayingcards.git at 4.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swiftlang/example-package-deckofplayingcards.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
2ec76a50fe7c: Pulling fs layer
031194576cad: Pulling fs layer
f49f3db6a794: Pulling fs layer
099074009041: Pulling fs layer
78230974c035: Pulling fs layer
b59409d03be0: Pulling fs layer
daa733e9baed: Pulling fs layer
920bf1f33b19: Pulling fs layer
78230974c035: Waiting
099074009041: Waiting
b59409d03be0: Waiting
daa733e9baed: Waiting
920bf1f33b19: Waiting
2ec76a50fe7c: Verifying Checksum
2ec76a50fe7c: Download complete
78230974c035: Verifying Checksum
78230974c035: Download complete
b59409d03be0: Download complete
daa733e9baed: Verifying Checksum
daa733e9baed: Download complete
2ec76a50fe7c: Pull complete
031194576cad: Verifying Checksum
031194576cad: Download complete
920bf1f33b19: Verifying Checksum
920bf1f33b19: Download complete
f49f3db6a794: Verifying Checksum
f49f3db6a794: Download complete
031194576cad: Pull complete
f49f3db6a794: Pull complete
099074009041: Pull complete
78230974c035: Pull complete
b59409d03be0: Pull complete
daa733e9baed: Pull complete
920bf1f33b19: Pull complete
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.0.0 but the installed version is 5.10.0
BUILD FAILURE 5.10 linux