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 (19e397), with Swift 5.10 for Linux on 12 Dec 2025 23:42:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.68.0
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 19e3979 JSONEncoder: fixed _asDirectArrayEncodable function (#1593)
Cloned https://github.com/swiftlang/swift-foundation.git
Revision (git rev-parse @):
19e39796863c1176f6c809b50c0abe05e82cb0cf
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-0":/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:73539c841f3cdff52dfe27f764568c4ffdfc37abd2887016f87f36c2e56aa8ab
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/4621] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu from cache (18.24s)
Fetching https://github.com/swiftlang/swift-syntax
[1/73112] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (9.93s)
Fetching https://github.com/apple/swift-collections
[1/18387] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.13s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (1.04s)
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 (8868b4a)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (ca0480b)
Building for debugging...
[0/539] Write sources
[6/539] Compiling _FoundationCShims platform_shims.c
[7/539] Compiling _SwiftSyntaxCShims PlatformMutex.c
[8/539] Compiling _FoundationCShims string_shims.c
[9/539] Compiling _FoundationCShims uuid.c
[10/539] Write swift-version-24593BA9C3E375BF.txt
[11/539] Compiling uprintf.cpp
[12/539] Compiling ufmt_cmn.cpp
[13/539] Compiling ustdio.cpp
[14/541] Compiling ustream.cpp
[15/541] Compiling uscanf.cpp
[16/541] Compiling uprntf_p.cpp
[17/541] Compiling uscanf_p.cpp
[18/541] Compiling ufile.cpp
[19/541] Compiling zrule.cpp
[20/541] Compiling wintzimpl.cpp
[21/541] Compiling ztrans.cpp
[22/541] Compiling winnmfmt.cpp
[23/541] Compiling windtfmt.cpp
[24/541] Compiling sscanf.cpp
[25/541] Compiling ucln_io.cpp
[26/541] Compiling locbund.cpp
[27/541] Compiling utmscale.cpp
[28/541] Compiling sprintf.cpp
[29/541] Compiling vzone.cpp
[30/541] Compiling zonemeta.cpp
[31/541] Compiling utrans.cpp
[32/541] Compiling vtzone.cpp
[33/541] Compiling uspoof_impl.cpp
[34/541] Compiling uspoof.cpp
[35/541] Compiling utf16collationiterator.cpp
[36/541] Compiling utf8collationiterator.cpp
[37/541] Compiling uspoof_conf.cpp
[38/541] Compiling uspoof_build.cpp
[39/541] Compiling uregion.cpp
[40/541] Compiling uregexc.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/541] Emitting module TestSupport
/host/spi-builder-workspace/Tests/TestSupport/Utilities.swift:13:8: error: no such module 'Testing'
import Testing
       ^
[43/541] Compiling TestSupport Utilities.swift
/host/spi-builder-workspace/Tests/TestSupport/Utilities.swift:13:8: error: no such module 'Testing'
import Testing
       ^
error: fatalError
[43/541] Compiling units_router.cpp
[43/541] Compiling uregex.cpp
[43/541] Compiling upluralrules.cpp
[43/541] Compiling unum.cpp
[43/541] Compiling usearch.cpp
[43/541] Compiling unumsys.cpp
[43/541] Compiling uplrule.cpp
BUILD FAILURE 5.10 linux