Build Information
Failed to build llbuild2, reference 1.0.0-beta1.5 (00335e
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 18:32:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 1.0.0-beta1.5
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
* tag 1.0.0-beta1.5 -> FETCH_HEAD
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 1.0.0-beta1.5
========================================
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-4609320-3":/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-tools-support-async.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-distributed-tracing
[1/775] Fetching swift-tools-support-async
[776/5768] Fetching swift-tools-support-async, swift-distributed-tracing
[2224/9604] Fetching swift-tools-support-async, swift-distributed-tracing, swift-log
[6148/16459] Fetching swift-tools-support-async, swift-distributed-tracing, swift-log, swift-tools-support-core
[8299/67729] Fetching swift-tools-support-async, swift-distributed-tracing, swift-log, swift-tools-support-core, grpc-swift
Fetched https://github.com/apple/swift-distributed-tracing from cache (1.39s)
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.43s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/15270] Fetching swift-crypto
Fetched https://github.com/apple/swift-tools-support-async.git from cache (1.98s)
[2903/30650] Fetching swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.09s)
[10231/15270] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.77s)
[1/39455] Fetching swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (12.69s)
Fetched https://github.com/grpc/grpc-swift.git from cache (12.74s)
Fetched https://github.com/apple/swift-protobuf.git from cache (12.78s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.1 (13.38s)
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.27s)
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.74s)
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.56s)
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.98s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (5.74s)
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.63s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.79s)
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.36s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.78s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[1798/6225] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.41s)
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.62s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (0.68s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[375/8609] Fetching swift-nio-transport-services, swift-nio-extras
[8610/20141] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11148/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.38s)
[8778/32364] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.38s)
[2985/26422] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.08s)
[13699/14890] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.70s)
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 (2.23s)
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.57s)
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.76s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
[1/1141] Fetching swift-http-structured-headers
[926/2731] Fetching swift-http-structured-headers, swift-asn1
[1922/5157] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[2470/10142] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms
[6310/16326] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates
[10222/22285] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-async-algorithms, swift-certificates, swift-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.36s)
[10903/18269] Fetching swift-http-structured-headers, swift-async-algorithms, swift-certificates, swift-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.48s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.51s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.52s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.52s)
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.25s)
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.02s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.60s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.63s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.04s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.42s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.36s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.39s)
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.13s)
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.51s)
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.39s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.41s)
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-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-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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-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-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-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-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-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/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-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-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-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-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-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-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-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-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-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-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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/869] Write sources
[20/869] Compiling armv4-mont-linux.S
[21/869] Write sources
[23/869] Compiling sha256-586-apple.S
[23/869] Write sources
[26/869] Compiling _AtomicsShims.c
[27/869] Compiling TSCclibc strerror.c
[28/869] Compiling TSCclibc process.c
[29/869] Write sources
[30/869] Copying PrivacyInfo.xcprivacy
[32/869] Write sources
[49/869] Compiling TSCclibc libc.c
[50/869] Compiling CNIOWindows shim.c
[51/869] Compiling CNIOWindows WSAStartup.c
[52/869] Compiling CNIOWASI CNIOWASI.c
[53/869] Compiling CNIOLinux shim.c
[54/869] Compiling CNIOLinux liburing_shims.c
[55/869] Compiling CNIOLLHTTP c_nio_http.c
[56/869] Write swift-version-24593BA9C3E375BF.txt
[57/869] Compiling CNIOLLHTTP c_nio_api.c
[58/869] Compiling rc4.cc
[59/869] Compiling trusty.cc
[60/869] Compiling urandom.cc
[61/869] Compiling windows.cc
[62/869] Compiling CNIODarwin shim.c
[63/875] Compiling fd.cc
[65/982] Emitting module ServiceContextModule
[65/982] Compiling CNIOLLHTTP c_nio_llhttp.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/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(
[68/993] Emitting module InternalCollectionsUtilities
[68/994] Compiling CNIOBoringSSLShims shims.c
[69/994] Compiling fiat_p256_adx_sqr.S
[70/994] Compiling fiat_p256_adx_mul.S
[71/994] Compiling fiat_curve25519_adx_square.S
[72/994] Compiling fiat_curve25519_adx_mul.S
[74/994] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[75/994] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[76/994] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[77/994] Compiling InternalCollectionsUtilities Debugging.swift
[78/994] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[79/994] Compiling InternalCollectionsUtilities UInt+reversed.swift
[80/994] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[81/994] Compiling InternalCollectionsUtilities Integer rank.swift
[82/994] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/994] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/994] 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 |
[85/994] 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 |
[86/994] Emitting module Logging
[87/994] Compiling Logging Locks.swift
[88/994] Compiling InternalCollectionsUtilities Descriptions.swift
[89/994] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[90/994] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[91/994] Compiling InternalCollectionsUtilities _SortedCollection.swift
[92/994] Compiling SwiftProtobuf Message+JSONAdditions.swift
/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(
[93/994] Compiling SwiftProtobuf Message+JSONAdditions_Data.swift
/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(
[94/994] Compiling SwiftProtobuf Message+JSONArrayAdditions.swift
/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(
[95/994] Compiling SwiftProtobuf Message+JSONArrayAdditions_Data.swift
/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(
[96/994] Compiling SwiftProtobuf Message+TextFormatAdditions.swift
/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(
[97/994] Compiling SwiftProtobuf Message.swift
/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(
[98/994] Compiling SwiftProtobuf MessageExtension.swift
/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(
[99/994] Compiling SwiftProtobuf NameMap.swift
/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(
[100/994] Compiling SwiftProtobuf PathDecoder.swift
/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(
[101/994] Compiling SwiftProtobuf PathVisitor.swift
/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(
[102/994] Compiling SwiftProtobuf ProtoNameProviding.swift
/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(
[103/994] Compiling SwiftProtobuf ProtobufAPIVersionCheck.swift
/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(
[104/994] Emitting module _NIODataStructures
[104/994] Compiling tls_record.cc
[105/994] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm