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-tools-support-async, reference 0.14.1 (8fcd85), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 23:09:52 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.14.1
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.14.1     -> FETCH_HEAD
HEAD is now at 8fcd85d Merge pull request #57 from weissi/jw-musl-compat
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 @):
8fcd85de84e3d4748053c5d563de3c5ea584d190
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.14.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-tools-support-async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-nio.git
[1/6857] Fetching swift-tools-support-core
[6858/83196] Fetching swift-tools-support-core, swift-nio
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.12s)
[3817/76339] Fetching swift-nio
[19850/115794] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (15.95s)
Fetched https://github.com/apple/swift-nio.git from cache (15.98s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (16.84s)
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 (1.02s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.53s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
[19/18437] Fetching swift-collections, swift-atomics
[1440/22873] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.28s)
Fetched https://github.com/apple/swift-atomics.git from cache (2.28s)
Fetched https://github.com/apple/swift-collections.git from cache (2.34s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.19s)
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.30.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/39] Write sources
[9/39] Compiling TSCclibc process.c
[10/39] Compiling CBLAKE3 blake3_avx512.c
[11/39] Write sources
[14/39] Copying PrivacyInfo.xcprivacy
[15/39] Write sources
[23/39] Compiling CBLAKE3 blake3_sse41.c
[24/39] Compiling _AtomicsShims.c
[25/39] Compiling CBLAKE3 blake3_avx2.c
[26/39] Compiling TSCclibc strerror.c
[27/39] Compiling CNIOWindows shim.c
[28/39] Compiling TSCclibc libc.c
[29/39] Compiling CNIOWindows WSAStartup.c
[30/39] Compiling CNIOWASI CNIOWASI.c
[30/39] Write sources
[32/39] Compiling CNIOLinux liburing_shims.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling CNIODarwin shim.c
[35/39] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[37/144] Emitting module SwiftProtobuf
/host/spi-builder-workspace/.build/checkouts/swift-protobuf/Sources/SwiftProtobuf/AnyMessageStorage.swift:16:8: error: no such module 'Foundation'
 14 | // -----------------------------------------------------------------------------
 15 |
 16 | import Foundation
    |        `- error: no such module 'Foundation'
 17 |
 18 | private func serializeAnyJSON(
[37/155] Compiling c-atomics.c
[38/173] Compiling c-nioatomics.c
[40/179] Compiling Atomics AtomicStorage.swift
[41/179] Compiling Atomics AtomicValue.swift
[42/181] Compiling TSCLibc libc.swift
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/181] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
 19 | @_exported import Android
 20 | #else
 21 | @_exported import Darwin.C
    |                   `- error: no such module 'Darwin.C'
 22 | #endif
 23 |
[43/181] Compiling CBLAKE3 blake3.c
BUILD FAILURE 6.2 wasm