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 llbuild2, reference main (00335e), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:52:50 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-llbuild2.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-llbuild2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 00335ec Merge pull request #222 from apple/eq
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
00335ec3782c167219bb65d1ad024095fc678977
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-llbuild2.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-distributed-tracing
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-tools-support-async.git
[1/775] Fetching swift-tools-support-async
[776/4611] Fetching swift-tools-support-async, swift-log
Fetched https://github.com/apple/swift-tools-support-async.git from cache (0.37s)
[422/3836] Fetching swift-log
[539/10691] Fetching swift-log, swift-tools-support-core
Fetching https://github.com/apple/swift-crypto.git
[1419/15684] Fetching swift-log, swift-tools-support-core, swift-distributed-tracing
[1949/66954] Fetching swift-log, swift-tools-support-core, swift-distributed-tracing, grpc-swift
[23376/82224] Fetching swift-log, swift-tools-support-core, swift-distributed-tracing, grpc-swift, swift-crypto
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.07s)
Fetching https://github.com/apple/swift-argument-parser.git
[20000/75369] Fetching swift-log, swift-distributed-tracing, grpc-swift, swift-crypto
[22193/114824] Fetching swift-log, swift-distributed-tracing, grpc-swift, swift-crypto, swift-protobuf
[35224/130204] Fetching swift-log, swift-distributed-tracing, grpc-swift, swift-crypto, swift-protobuf, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.87s)
[88480/114824] Fetching swift-log, swift-distributed-tracing, grpc-swift, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (4.58s)
[94820/99554] Fetching swift-log, swift-distributed-tracing, grpc-swift, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (5.15s)
Fetched https://github.com/apple/swift-distributed-tracing from cache (5.16s)
[90725/90725] Fetching grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (5.21s)
Fetched https://github.com/apple/swift-protobuf.git from cache (11.62s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.1 (12.18s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.33s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.91s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.14.1 (0.67s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.40s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (8.12s)
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.84s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.50s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4428] Fetching swift-system
[489/6225] Fetching swift-system, swift-atomics
[2765/22865] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.84s)
[4626/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
[4327/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.92s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.79s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.10s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2667] Fetching swift-nio-transport-services
[2/8609] Fetching swift-nio-transport-services, swift-nio-extras
[6768/20141] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[10917/35031] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.55s)
[8513/32364] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.63s)
[4176/26422] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.85s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.61s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (7.11s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.61s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (0.92s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
[1/1141] Fetching swift-http-structured-headers
[1142/2731] Fetching swift-http-structured-headers, swift-asn1
[1985/5157] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[5110/10142] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms
[5557/16326] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
[8937/22285] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.67s)
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.72s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.72s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.77s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.77s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.52s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (2.05s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.71s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.59s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.74s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.68s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.69s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.30s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.91s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.67s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.81s)
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-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-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
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.0.4
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/869] Write sources
[23/869] Copying PrivacyInfo.xcprivacy
[23/869] Write sources
[23/869] Copying PrivacyInfo.xcprivacy
[23/869] Write sources
[47/869] Compiling TSCclibc process.c
[48/869] Compiling TSCclibc strerror.c
[49/869] Compiling TSCclibc libc.c
[50/869] Compiling _AtomicsShims.c
[51/869] Compiling CNIOWindows shim.c
[52/869] Compiling CNIOWindows WSAStartup.c
[53/869] Write swift-version-24593BA9C3E375BF.txt
[54/869] Compiling CNIOWASI CNIOWASI.c
[55/869] Compiling CNIOLinux shim.c
[56/869] Compiling CNIODarwin shim.c
[57/869] Compiling CNIOLinux liburing_shims.c
[58/869] Compiling CNIOLLHTTP c_nio_http.c
[59/903] Compiling CNIOLLHTTP c_nio_api.c
[60/968] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/982] 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(
[62/993] Compiling CNIOLLHTTP c_nio_llhttp.c
[64/995] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/995] 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 |
[66/995] 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 |
[67/995] Emitting module Logging
[68/995] Emitting module _NIOBase64
[69/995] Emitting module _NIODataStructures
BUILD FAILURE 6.2 wasm