Build Information
Failed to build swift-tools-support-async, reference 0.18.0 (a2d732), with Swift 6.1 for Wasm on 10 Mar 2026 04:24:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.18.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/apple/swift-tools-support-async
* tag 0.18.0 -> FETCH_HEAD
HEAD is now at a2d732c Merge pull request #63 from zg/musl-support-dirent64
Submodule path 'ThirdParty/BLAKE3': checked out '2f6f56f3477321c9e4742f1c863e45f2cfcbfb5e'
Submodule 'ThirdParty/BLAKE3' (https://github.com/BLAKE3-team/BLAKE3.git) registered for path 'ThirdParty/BLAKE3'
Cloning into '/host/spi-builder-workspace/ThirdParty/BLAKE3'...
Cloned https://github.com/apple/swift-tools-support-async.git
Revision (git rev-parse @):
a2d732c5000cde28c80a7569e5f17b178fd5006a
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.18.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-tools-support-async.git
https://github.com/apple/swift-tools-support-async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.68.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.28.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.8",
"upper_bound" : "0.8.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
}
],
"manifest_display_name" : "swift-tools-support-async",
"name" : "swift-tools-support-async",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftToolsSupportAsync",
"targets" : [
"TSFFutures",
"TSFUtility",
"TSFAsyncProcess"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftToolsSupportCAS",
"targets" : [
"TSFCAS",
"TSFCASFileTree",
"TSFCASUtilities"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TSFUtility",
"module_type" : "SwiftTarget",
"name" : "TSFUtility",
"path" : "Sources/TSFUtility",
"product_dependencies" : [
"NIO",
"NIOConcurrencyHelpers",
"NIOFoundationCompat"
],
"product_memberships" : [
"SwiftToolsSupportAsync",
"SwiftToolsSupportCAS"
],
"sources" : [
"ByteBuffer.swift",
"FastData.swift",
"FutureFileSystem.swift",
"Serializable.swift"
],
"target_dependencies" : [
"TSFFutures"
],
"type" : "library"
},
{
"c99name" : "TSFProcessSpawnSync",
"module_type" : "SwiftTarget",
"name" : "TSFProcessSpawnSync",
"path" : "Sources/ProcessSpawnSync",
"product_dependencies" : [
"Atomics",
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"SwiftToolsSupportAsync"
],
"sources" : [
"ProcessSpawner.swift"
],
"target_dependencies" : [
"TSFCProcessSpawnSync"
],
"type" : "library"
},
{
"c99name" : "TSFFuturesTests",
"module_type" : "SwiftTarget",
"name" : "TSFFuturesTests",
"path" : "Tests/TSFFuturesTests",
"sources" : [
"BatchingFutureOperationQueue.swift",
"CancellableFutureTests.swift",
"CancellablePromiseTests.swift",
"CancellerTests.swift",
"EventualResultsCacheTests.swift",
"FutureDeduplicatorTests.swift",
"FutureOperationQueueTests.swift",
"OrderManagerTests.swift"
],
"target_dependencies" : [
"TSFFutures"
],
"type" : "test"
},
{
"c99name" : "TSFFutures",
"module_type" : "SwiftTarget",
"name" : "TSFFutures",
"path" : "Sources/TSFFutures",
"product_dependencies" : [
"NIO",
"NIOFoundationCompat",
"SwiftToolsSupport-auto"
],
"product_memberships" : [
"SwiftToolsSupportAsync",
"SwiftToolsSupportCAS"
],
"sources" : [
"BatchingFutureOperationQueue.swift",
"CancellableFuture.swift",
"CancellablePromise.swift",
"Canceller.swift",
"EventualResultsCache.swift",
"FutureDeduplicator.swift",
"FutureOperationQueue.swift",
"Futures.swift",
"OperationQueue+Extensions.swift",
"OrderManager.swift"
],
"type" : "library"
},
{
"c99name" : "TSFCProcessSpawnSync",
"module_type" : "ClangTarget",
"name" : "TSFCProcessSpawnSync",
"path" : "Sources/CProcessSpawnSync",
"product_memberships" : [
"SwiftToolsSupportAsync"
],
"sources" : [
"spawner.c"
],
"type" : "library"
},
{
"c99name" : "TSFCASUtilitiesTests",
"module_type" : "SwiftTarget",
"name" : "TSFCASUtilitiesTests",
"path" : "Tests/TSFCASUtilitiesTests",
"sources" : [
"BufferedStreamWriterTests.swift",
"LinkedListStreamTests.swift"
],
"target_dependencies" : [
"TSFCASUtilities"
],
"type" : "test"
},
{
"c99name" : "TSFCASUtilities",
"module_type" : "SwiftTarget",
"name" : "TSFCASUtilities",
"path" : "Sources/TSFCASUtilities",
"product_memberships" : [
"SwiftToolsSupportCAS"
],
"sources" : [
"BufferedStreamWriter.swift",
"LinkedListStream.swift",
"StreamReader.swift"
],
"target_dependencies" : [
"TSFCAS",
"TSFCASFileTree"
],
"type" : "library"
},
{
"c99name" : "TSFCASTests",
"module_type" : "SwiftTarget",
"name" : "TSFCASTests",
"path" : "Tests/TSFCASTests",
"sources" : [
"DataIDTests.swift",
"FileBackedCASDatabaseTests.swift",
"InMemoryCASDatabaseTests.swift"
],
"target_dependencies" : [
"TSFCAS"
],
"type" : "test"
},
{
"c99name" : "TSFCASFileTreeTests",
"module_type" : "SwiftTarget",
"name" : "TSFCASFileTreeTests",
"path" : "Tests/TSFCASFileTreeTests",
"sources" : [
"CASBlobTests.swift",
"FileTreeImportExportTests.swift",
"FileTreeTests.swift"
],
"target_dependencies" : [
"TSFCASFileTree"
],
"type" : "test"
},
{
"c99name" : "TSFCASFileTree",
"module_type" : "SwiftTarget",
"name" : "TSFCASFileTree",
"path" : "Sources/TSFCASFileTree",
"product_memberships" : [
"SwiftToolsSupportCAS"
],
"sources" : [
"BinarySearch.swift",
"CASBlob.swift",
"CASFSClient.swift",
"CASFSNode.swift",
"ConcurrentFileTreeWalker.swift",
"Context.swift",
"DeclFileTree.swift",
"DirectoryEntry.swift",
"Errors.swift",
"FileInfo.swift",
"FileTree.swift",
"FileTreeExport.swift",
"FileTreeImport.swift",
"FilesystemObject.swift",
"Generated/CASFileTreeProtocol/file_tree.pb.swift",
"Internal/ConcurrentFilesystemScanner.swift",
"Internal/FileSegmenter.swift",
"Internal/FileTreeParser.swift",
"TSCCASFileSystem.swift"
],
"target_dependencies" : [
"TSFCAS"
],
"type" : "library"
},
{
"c99name" : "TSFCAS",
"module_type" : "SwiftTarget",
"name" : "TSFCAS",
"path" : "Sources/TSFCAS",
"product_dependencies" : [
"SwiftProtobuf"
],
"product_memberships" : [
"SwiftToolsSupportCAS"
],
"sources" : [
"DataID.swift",
"Database.swift",
"DatabaseSpec.swift",
"Generated/CASProtocol/cas_object.pb.swift",
"Generated/CASProtocol/data_id.pb.swift",
"Implementations/Blake3DataID.swift",
"Implementations/FileBackedCASDatabase.swift",
"Implementations/InMemoryCASDatabase.swift",
"Object.swift"
],
"target_dependencies" : [
"TSFFutures",
"TSFUtility",
"CBLAKE3"
],
"type" : "library"
},
{
"c99name" : "TSFAsyncProcessTests",
"module_type" : "SwiftTarget",
"name" : "TSFAsyncProcessTests",
"path" : "Tests/AsyncProcessTests",
"product_dependencies" : [
"Atomics",
"AsyncAlgorithms",
"NIO",
"NIOConcurrencyHelpers",
"Logging",
"_NIOFileSystem"
],
"sources" : [
"AsyncByteBufferLineSequenceTests.swift",
"Helpers+LogRecorderHandler.swift",
"IntegrationTests.swift"
],
"target_dependencies" : [
"TSFAsyncProcess"
],
"type" : "test"
},
{
"c99name" : "TSFAsyncProcess",
"module_type" : "SwiftTarget",
"name" : "TSFAsyncProcess",
"path" : "Sources/AsyncProcess",
"product_dependencies" : [
"Atomics",
"AsyncAlgorithms",
"Logging",
"NIO",
"DequeModule",
"SystemPackage"
],
"product_memberships" : [
"SwiftToolsSupportAsync"
],
"sources" : [
"ChunkSequence.swift",
"EOFSequence.swift",
"FileContentStream.swift",
"NIOAsyncPipeWriter.swift",
"ProcessExecutor+Convenience.swift",
"ProcessExecutor.swift",
"ProcessExit.swift",
"StructuredConcurrencyHelpers.swift"
],
"target_dependencies" : [
"TSFProcessSpawnSync"
],
"type" : "library"
},
{
"c99name" : "CBLAKE3",
"module_type" : "ClangTarget",
"name" : "CBLAKE3",
"path" : "Sources/CBLAKE3",
"product_memberships" : [
"SwiftToolsSupportCAS"
],
"sources" : [
"blake3.c",
"blake3_avx2.c",
"blake3_avx512.c",
"blake3_sse41.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/42909] Fetching swift-protobuf
[2/49078] Fetching swift-protobuf, swift-log
[1295/71303] Fetching swift-protobuf, swift-log, swift-collections
[3782/78489] Fetching swift-protobuf, swift-log, swift-collections, swift-tools-support-core
[12472/84090] Fetching swift-protobuf, swift-log, swift-collections, swift-tools-support-core, swift-system
[23869/166822] Fetching swift-protobuf, swift-log, swift-collections, swift-tools-support-core, swift-system, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
Fetching https://github.com/apple/swift-atomics.git
[19684/160653] Fetching swift-protobuf, swift-collections, swift-tools-support-core, swift-system, swift-nio
[26298/162473] Fetching swift-protobuf, swift-collections, swift-tools-support-core, swift-system, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.59s)
[49933/160653] Fetching swift-protobuf, swift-collections, swift-tools-support-core, swift-system, swift-nio
Fetching https://github.com/apple/swift-async-algorithms.git
[80167/166877] Fetching swift-protobuf, swift-collections, swift-tools-support-core, swift-system, swift-nio, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.74s)
[86893/160653] Fetching swift-protobuf, swift-collections, swift-tools-support-core, swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (9.97s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (9.98s)
Fetched https://github.com/apple/swift-collections.git from cache (10.01s)
Fetched https://github.com/apple/swift-protobuf.git from cache (10.09s)
Fetched https://github.com/apple/swift-nio.git from cache (10.13s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.88s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.90s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.93s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.0 (1.16s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.84s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.35.1 (0.83s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.55s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.95.0 (1.05s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.95.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/50] Write sources
[10/50] Compiling CBLAKE3 blake3_avx2.c
[11/50] Compiling CBLAKE3 blake3_sse41.c
[12/50] Compiling CBLAKE3 blake3_avx512.c
[12/50] Write sources
[12/50] Copying PrivacyInfo.xcprivacy
[12/50] Write sources
[30/50] Compiling TSCclibc process.c
[31/50] Compiling _AtomicsShims.c
[31/50] Compiling TSCclibc strerror.c
[32/50] Compiling TSCclibc libc.c
[34/50] Compiling CSystem shims.c
[35/50] Compiling CNIOWindows WSAStartup.c
[36/50] Compiling CNIOWASI CNIOWASI.c
[37/50] Compiling CNIOWindows shim.c
[38/50] Compiling CNIOOpenBSD shim.c
[38/50] Compiling CNIOPosix event_loop_id.c
[40/50] Compiling CNIOLinux shim.c
[41/50] Write sources
[43/50] Compiling CNIOLinux liburing_shims.c
[44/50] Compiling CNIODarwin shim.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[45/50] Compiling TSFCProcessSpawnSync spawner.c
[45/50] Write swift-version-24593BA9C3E375BF.txt
[45/50] Compiling c-atomics.c
[45/50] Compiling c-nioatomics.c
[45/50] Compiling CBLAKE3 blake3.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:18:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:25:10: fatal error: 'pthread.h' file not found
25 | #include <pthread.h>
| ^~~~~~~~~~~
2 errors generated.
[1/6] Compiling TSFCProcessSpawnSync spawner.c
[1/6] Compiling CBLAKE3 blake3.c
[1/6] Compiling c-nioatomics.c
[1/6] Compiling c-atomics.c
[1/6] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm