Build Information
Failed to build swift-tools-support-core, reference main (f9b401
), with Swift 6.1 for Wasm on 11 Jun 2025 11:15:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-tools-support-core.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-tools-support-core
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f9b4010 Fix the build on iOS due to missing availability annotations
Cloned https://github.com/swiftlang/swift-tools-support-core.git
Revision (git rev-parse @):
f9b401016b70c6b8409e5c97e74d97513d1a8d02
SUCCESS checkout https://github.com/swiftlang/swift-tools-support-core.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-tools-support-core.git
https://github.com/swiftlang/swift-tools-support-core.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-tools-support-core",
"name" : "swift-tools-support-core",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "TSCBasic",
"targets" : [
"TSCBasic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolsSupport",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"dynamic"
]
}
},
{
"name" : "SwiftToolsSupport-auto",
"targets" : [
"TSCBasic",
"TSCUtility"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TSCTestSupport",
"targets" : [
"TSCTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.c",
"process.c",
"strerror.c"
],
"type" : "library"
},
{
"c99name" : "TSCUtilityTests",
"module_type" : "SwiftTarget",
"name" : "TSCUtilityTests",
"path" : "Tests/TSCUtilityTests",
"sources" : [
"ArchiverTests.swift",
"ArgumentParserTests.swift",
"BitstreamTests.swift",
"CollectionTests.swift",
"ContextTests.swift",
"DiagnosticsUtilityTests.swift",
"HexTests.swift",
"InterruptHandlerTests.swift",
"JSONMessageStreamingParserTests.swift",
"NetrcTests.swift",
"PkgConfigParserTests.swift",
"PlatformTests.swift",
"PolymorphicCodableTests.swift",
"ProgressAnimationTests.swift",
"SendableTests.swift",
"SerializedDiagnosticsTests.swift",
"SimplePersistenceTests.swift",
"StringConversionTests.swift",
"StringTests.swift",
"TracingTests.swift",
"TripleTests.swift",
"VersionTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCUtility",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCUtility",
"module_type" : "SwiftTarget",
"name" : "TSCUtility",
"path" : "Sources/TSCUtility",
"product_memberships" : [
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Archiver.swift",
"ArgumentParser.swift",
"ArgumentParserShellCompletion.swift",
"Array+Extensions.swift",
"Bits.swift",
"Bitstream.swift",
"BitstreamReader.swift",
"BitstreamWriter.swift",
"BuildFlags.swift",
"CollectionExtensions.swift",
"Context.swift",
"Diagnostics.swift",
"FSWatch.swift",
"FloatingPointExtensions.swift",
"Git.swift",
"Hex.swift",
"IndexStore.swift",
"InterruptHandler.swift",
"JSONMessageStreamingParser.swift",
"Netrc.swift",
"OSLog.swift",
"OrderedZip.swift",
"PkgConfig.swift",
"Platform.swift",
"PolymorphicCodable.swift",
"ProgressAnimation.swift",
"SerializedDiagnostics.swift",
"SimplePersistence.swift",
"StringExtensions.swift",
"StringMangling.swift",
"Tracing.swift",
"Triple.swift",
"URL.swift",
"Verbosity.swift",
"Version.swift",
"Versioning.swift",
"dlopen.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCclibc"
],
"type" : "library"
},
{
"c99name" : "TSCTestSupportTests",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupportTests",
"path" : "Tests/TSCTestSupportTests",
"sources" : [
"TestSupportTests.swift"
],
"target_dependencies" : [
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCTestSupport",
"module_type" : "SwiftTarget",
"name" : "TSCTestSupport",
"path" : "Sources/TSCTestSupport",
"product_memberships" : [
"TSCTestSupport"
],
"sources" : [
"AssertMatch.swift",
"DiagnosticsEngine.swift",
"FileSystemExtensions.swift",
"JSONExtensions.swift",
"Product.swift",
"PseudoTerminal.swift",
"XCTAssertHelpers.swift",
"XCTestCasePerf.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCUtility"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "TSCBasicTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicTests",
"path" : "Tests/TSCBasicTests",
"sources" : [
"AwaitTests.swift",
"Base64URLTests.swift",
"ByteStringTests.swift",
"CStringArrayTests.swift",
"CacheableSequenceTests.swift",
"CollectionAlgorithmsTests.swift",
"CollectionExtensionsTests.swift",
"ConditionTests.swift",
"DeltaAlgorithmTests.swift",
"DiagnosticsEngineTests.swift",
"DictionaryExtensionsTests.swift",
"DictionaryLiteralExtensionsTests.swift",
"EditDistanceTests.swift",
"FileSystemTests.swift",
"GraphAlgorithmsTests.swift",
"JSONMapperTests.swift",
"JSONTests.swift",
"KeyedPairTests.swift",
"LazyCacheTests.swift",
"LockTests.swift",
"ObjectIdentifierProtocolTests.swift",
"OrderedDictionaryTests.swift",
"OrderedSetTests.swift",
"POSIXTests.swift",
"PathShimTests.swift",
"PathTests.swift",
"ProcessEnvTests.swift",
"ProcessSetTests.swift",
"ProcessTests.swift",
"RegExTests.swift",
"ResultTests.swift",
"SHA256Tests.swift",
"SendableTests.swift",
"SortedArrayTests.swift",
"StringConversionsTests.swift",
"SynchronizedQueueTests.swift",
"TemporaryFileTests.swift",
"TerminalControllerTests.swift",
"ThreadTests.swift",
"TupleTests.swift",
"WritableByteStreamTests.swift",
"miscTests.swift"
],
"target_dependencies" : [
"TSCTestSupport",
"TSCclibc"
],
"type" : "test"
},
{
"c99name" : "TSCBasicPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "TSCBasicPerformanceTests",
"path" : "Tests/TSCBasicPerformanceTests",
"sources" : [
"ByteStringPerfTests.swift",
"PathPerfTests.swift",
"SHA256PerfTests.swift",
"SortedArrayPerfTests.swift",
"StringConversionsPerfTests.swift",
"SynchronizedQueuePerfTests.swift",
"WritableByteStreamPerfTests.swift"
],
"target_dependencies" : [
"TSCBasic",
"TSCTestSupport"
],
"type" : "test"
},
{
"c99name" : "TSCBasic",
"module_type" : "SwiftTarget",
"name" : "TSCBasic",
"path" : "Sources/TSCBasic",
"product_memberships" : [
"TSCBasic",
"SwiftToolsSupport",
"SwiftToolsSupport-auto",
"TSCTestSupport"
],
"sources" : [
"Await.swift",
"Base64URL.swift",
"ByteString.swift",
"CStringArray.swift",
"CacheableSequence.swift",
"Closable.swift",
"CodableResult.swift",
"CollectionAlgorithms.swift",
"CollectionExtensions.swift",
"Condition.swift",
"DeltaAlgorithm.swift",
"DiagnosticsEngine.swift",
"DictionaryExtensions.swift",
"DictionaryLiteralExtensions.swift",
"EditDistance.swift",
"FileInfo.swift",
"FileSystem.swift",
"GraphAlgorithms.swift",
"HashAlgorithms.swift",
"JSON.swift",
"JSONMapper.swift",
"KeyedPair.swift",
"LazyCache.swift",
"Lock.swift",
"OSLog.swift",
"ObjectIdentifierProtocol.swift",
"OrderedDictionary.swift",
"OrderedSet.swift",
"Path.swift",
"PathShims.swift",
"Process/Process.swift",
"Process/ProcessEnv.swift",
"Process/ProcessSet.swift",
"RegEx.swift",
"Result.swift",
"SortedArray.swift",
"StringConversions.swift",
"SynchronizedQueue.swift",
"TemporaryFile.swift",
"TerminalController.swift",
"Thread.swift",
"Tuple.swift",
"WritableByteStream.swift",
"misc.swift"
],
"target_dependencies" : [
"TSCLibc",
"TSCclibc"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/13] Write sources
[4/13] Compiling TSCclibc strerror.c
In file included from /host/spi-builder-workspace/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
3 | #include <spawn.h>
| ^~~~~~~~~
1 error generated.
[5/13] Compiling TSCclibc process.c
[5/13] Compiling TSCclibc libc.c
[5/13] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/8] Compiling TSCclibc libc.c
In file included from /host/spi-builder-workspace/Sources/TSCclibc/process.c:15:
/host/spi-builder-workspace/Sources/TSCclibc/include/process.h:3:10: fatal error: 'spawn.h' file not found
3 | #include <spawn.h>
| ^~~~~~~~~
1 error generated.
[1/8] Compiling TSCclibc process.c
[1/8] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm