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 main (8fcd85), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 23:10:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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/apple/swift-tools-support-async
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-1":/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-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.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 (0.52s)
[3817/76339] Fetching swift-nio
[42751/115794] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (10.69s)
Fetched https://github.com/apple/swift-nio.git from cache (10.74s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (11.59s)
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-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.47s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/16640] Fetching swift-collections
[667/18437] Fetching swift-collections, swift-atomics
[1755/22873] Fetching swift-collections, swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.97s)
[8763/21076] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (2.06s)
Fetched https://github.com/apple/swift-collections.git from cache (2.12s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.93s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.75s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.18s)
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-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-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
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/39] Write sources
[8/39] Compiling CBLAKE3 blake3_avx2.c
[9/39] Compiling CBLAKE3 blake3_avx512.c
[9/39] Write sources
[9/39] Copying PrivacyInfo.xcprivacy
[9/39] Write sources
[23/39] Compiling _AtomicsShims.c
[24/39] Compiling CNIOWindows shim.c
[25/39] Compiling TSCclibc libc.c
[26/39] Write swift-version-24593BA9C3E375BF.txt
[27/39] Compiling CBLAKE3 blake3_sse41.c
[28/39] Compiling TSCclibc process.c
[29/39] Compiling TSCclibc strerror.c
[30/39] Compiling CNIOWindows WSAStartup.c
[31/39] Compiling CNIOWASI CNIOWASI.c
[32/39] Compiling CNIOLinux shim.c
[33/39] Compiling CNIOLinux liburing_shims.c
[34/39] Compiling CNIODarwin shim.c
[36/144] Emitting module _NIODataStructures
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-nioatomics.c
[37/155] Write sources
[39/173] Compiling c-atomics.c
[40/179] Compiling CBLAKE3 blake3.c
[42/179] Compiling Atomics AtomicBool.swift
[43/179] Compiling Atomics AtomicInteger.swift
[44/180] Emitting module InternalCollectionsUtilities
[45/180] Compiling Atomics OptionalRawRepresentable.swift
[46/180] Compiling Atomics RawRepresentable.swift
[47/180] 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)
[48/180] 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 |
[49/180] Compiling Atomics Primitives.native.swift
[50/180] Compiling Atomics AtomicMemoryOrderings.swift
[52/180] Compiling Atomics DoubleWord.swift
[54/182] Compiling Atomics AtomicStorage.swift
[56/182] Compiling Atomics AtomicValue.swift
[57/182] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/182] Compiling Atomics AtomicOptionalWrappable.swift
[60/182] Compiling Atomics AtomicReference.swift
[61/182] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm