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 swift-foundation, reference main (2d9e51), with Swift 5.10 for Linux on 12 Sep 2025 22:21:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/swift-foundation.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/swiftlang/swift-foundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2d9e510 Follow up for #1195: Remove an empty line (#1508)
Cloned https://github.com/swiftlang/swift-foundation.git
Revision (git rev-parse @):
2d9e5107e5bd615cd4c426ce68f4b7a2025819a4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftlang/swift-foundation.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/swiftlang/swift-foundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
Digest: sha256:f746aad7c5ec38b8c4300eda0f2f0c9a0b77dcddb8dbf0ff5a0c28d11b933b5b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-foundation-icu
[1/3859] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (11.37s)
Fetching https://github.com/swiftlang/swift-syntax
[1/71913] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.75s)
Fetching https://github.com/apple/swift-collections
[1/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (1.47s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (6df106d)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (2113033)
Building for debugging...
[0/524] Write sources
[4/524] Compiling _FoundationCShims platform_shims.c
[5/524] Compiling _SwiftSyntaxCShims PlatformMutex.c
[6/524] Compiling _FoundationCShims string_shims.c
[7/524] Write swift-version-24593BA9C3E375BF.txt
[7/524] Compiling _FoundationCShims uuid.c
[9/524] Compiling ustdio.cpp
[10/526] Compiling uscanf_p.cpp
[11/526] Compiling uscanf.cpp
[12/526] Compiling collationsettings.cpp
[13/526] Compiling csdetect.cpp
[14/526] Compiling collationtailoring.cpp
[15/526] Compiling ustream.cpp
[16/526] Compiling uprntf_p.cpp
[17/526] Compiling uprintf.cpp
[18/526] Compiling ufmt_cmn.cpp
[19/526] Compiling ztrans.cpp
[20/526] Compiling sscanf.cpp
[21/526] Compiling ucln_io.cpp
[22/526] Compiling wintzimpl.cpp
[23/526] Compiling ufile.cpp
[24/526] Compiling locbund.cpp
[25/526] Compiling winnmfmt.cpp
[25/526] Compiling windtfmt.cpp
[27/526] Compiling sprintf.cpp
[28/526] Compiling utmscale.cpp
[29/526] Compiling zrule.cpp
[30/526] Compiling vzone.cpp
[31/526] Compiling zonemeta.cpp
[32/526] Compiling utrans.cpp
[33/526] Compiling uspoof_impl.cpp
[34/526] Compiling utf8collationiterator.cpp
[35/526] Compiling vtzone.cpp
[36/526] Compiling utf16collationiterator.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/526] Emitting module TestSupport
/host/spi-builder-workspace/Tests/TestSupport/Utilities.swift:13:8: error: no such module 'Testing'
import Testing
       ^
[39/526] Compiling TestSupport Utilities.swift
/host/spi-builder-workspace/Tests/TestSupport/Utilities.swift:13:8: error: no such module 'Testing'
import Testing
       ^
error: fatalError
[39/526] Compiling uregex.cpp
[39/526] Compiling uregexc.cpp
[39/526] Compiling uregion.cpp
[39/526] Compiling uspoof.cpp
[39/526] Compiling usearch.cpp
[39/526] Compiling uspoof_conf.cpp
[39/526] Compiling uspoof_build.cpp
BUILD FAILURE 5.10 linux