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 TemplatePackage, reference main (d9feda), with Swift 5.10 for Linux on 17 Oct 2024 13:34:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.55.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/SwiftPackageTemplate.git
Reference: main
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/StanfordBDHG/SwiftPackageTemplate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d9fedae Upgrade to Swift 6 toolchain (#19)
Cloned https://github.com/StanfordBDHG/SwiftPackageTemplate.git
Revision (git rev-parse @):
d9fedaeb4a52971a45245afe23d811509929a03b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/SwiftPackageTemplate.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/StanfordBDHG/SwiftPackageTemplate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
Digest: sha256:5bb17dbcfcf8548eee753b07845b2378de013b2470bb445b58120b16b16ecc2b
Status: Image is up to date 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