Build Information
Failed to build containerization, reference main (df125a), with Swift 6.2 for Wasm on 1 May 2026 00:28:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/containerization.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/containerization
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at df125a2 Prevent recursion attacks in EXT4Formatter.unlink (#415)
Cloned https://github.com/apple/containerization.git
Revision (git rev-parse @):
df125a23008db2ed28db437f79315b536b0b7331
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/containerization.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apple/containerization.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2287] Fetching swift-docc-plugin
[230/7888] Fetching swift-docc-plugin, swift-system
[399/23328] Fetching swift-docc-plugin, swift-system, swift-nio-ssl
[2025/39077] Fetching swift-docc-plugin, swift-system, swift-nio-ssl, async-http-client
[6838/123154] Fetching swift-docc-plugin, swift-system, swift-nio-ssl, async-http-client, zstd
[15340/206384] Fetching swift-docc-plugin, swift-system, swift-nio-ssl, async-http-client, zstd, swift-nio
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.66s)
[25025/204097] Fetching swift-system, swift-nio-ssl, async-http-client, zstd, swift-nio
Fetching https://github.com/apple/swift-protobuf.git
[41299/251858] Fetching swift-system, swift-nio-ssl, async-http-client, zstd, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-system.git from cache (22.71s)
Fetched https://github.com/swift-server/async-http-client.git from cache (22.78s)
Fetching https://github.com/grpc/grpc-swift-protobuf.git
Fetching https://github.com/grpc/grpc-swift-nio-transport.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (22.85s)
Fetching https://github.com/grpc/grpc-swift-2.git
[1/2493] Fetching grpc-swift-protobuf
Fetched https://github.com/facebook/zstd.git from cache (23.30s)
Fetching https://github.com/apple/swift-crypto.git
[2245/32591] Fetching grpc-swift-protobuf, grpc-swift-2
Fetched https://github.com/apple/swift-nio.git from cache (23.40s)
Fetching https://github.com/apple/swift-collections.git
[2495/38386] Fetching grpc-swift-protobuf, grpc-swift-2, grpc-swift-nio-transport
Fetched https://github.com/grpc/grpc-swift-protobuf.git from cache (0.88s)
[2573/35893] Fetching grpc-swift-2, grpc-swift-nio-transport
Fetching https://github.com/apple/swift-argument-parser.git
[12117/59773] Fetching grpc-swift-2, grpc-swift-nio-transport, swift-collections
[13498/77230] Fetching grpc-swift-2, grpc-swift-nio-transport, swift-collections, swift-crypto
[15644/94787] Fetching grpc-swift-2, grpc-swift-nio-transport, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/grpc/grpc-swift-nio-transport.git from cache (1.75s)
[11452/88992] Fetching grpc-swift-2, swift-collections, swift-crypto, swift-argument-parser
Fetching https://github.com/apple/swift-log.git
[34679/95801] Fetching grpc-swift-2, swift-collections, swift-crypto, swift-argument-parser, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.36s)
[52855/88992] Fetching grpc-swift-2, swift-collections, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.23s)
Fetched https://github.com/apple/swift-protobuf.git from cache (26.36s)
Fetched https://github.com/apple/swift-collections.git from cache (5.35s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.48s)
Fetched https://github.com/grpc/grpc-swift-2.git from cache (5.96s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (31.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.69s)
Computing version for https://github.com/grpc/grpc-swift-2.git
Computed https://github.com/grpc/grpc-swift-2.git at 2.4.0 (0.83s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.86s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.47s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.37.0 (1.01s)
Computing version for https://github.com/grpc/grpc-swift-protobuf.git
Computed https://github.com/grpc/grpc-swift-protobuf.git at 2.3.0 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.50s)
Computing version for https://github.com/grpc/grpc-swift-nio-transport.git
Computed https://github.com/grpc/grpc-swift-nio-transport.git at 2.7.0 (0.56s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1813] Fetching swift-asn1
[1615/4660] Fetching swift-asn1, swift-nio-transport-services
[3523/11926] Fetching swift-asn1, swift-nio-transport-services, swift-certificates
[4642/18444] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-extras
[11714/30552] Fetching swift-asn1, swift-nio-transport-services, swift-certificates, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
[18158/28739] Fetching swift-nio-transport-services, swift-certificates, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.46s)
[15650/25892] Fetching swift-certificates, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.66s)
[10172/19374] Fetching swift-certificates, swift-nio-http2
Fetched https://github.com/apple/swift-certificates.git from cache (1.35s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.36s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (1.76s)
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.38s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.1 (0.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.84s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.85s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3708] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.18s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.95s)
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-http-types.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-async-algorithms.git
[1/1242] Fetching swift-http-structured-headers
[374/3993] Fetching swift-http-structured-headers, swift-service-lifecycle
[3994/5036] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[5037/11094] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.84s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.84s)
[3830/7101] Fetching swift-http-types, swift-algorithms
[6981/13346] Fetching swift-http-types, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (1.37s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.37s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.38s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.33s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.24s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.85s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.63s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.17s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.58s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.83s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.75s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.33.1 (0.69s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-service-context.git
[1/1287] Fetching swift-service-context
[1288/4539] Fetching swift-service-context, swift-configuration
[1354/10333] Fetching swift-service-context, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git from cache (1.84s)
Fetched https://github.com/apple/swift-configuration.git from cache (3.30s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.30s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (3.86s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.1 (0.90s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.0 (0.72s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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.34.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.0
Creating working copy for https://github.com/grpc/grpc-swift-nio-transport.git
Working copy of https://github.com/grpc/grpc-swift-nio-transport.git resolved at 2.7.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.37.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.7.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-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.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
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.7.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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.43.0
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.3.0
Creating working copy for https://github.com/grpc/grpc-swift-protobuf.git
Working copy of https://github.com/grpc/grpc-swift-protobuf.git resolved at 2.3.0
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.11.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.99.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.37.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.1.3
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.1
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.5.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.12.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.33.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.4.1
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/grpc/grpc-swift-2.git
Working copy of https://github.com/grpc/grpc-swift-2.git resolved at 2.4.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.7.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin generate-grpc-code-from-protos
[5/5] Compiling plugin GRPCProtobufGenerator
[6/6] Compiling plugin GenerateManual
[7/7] Compiling plugin GenerateDoccReference
Building for debugging...
[7/979] Write sources
[9/979] Compiling CShim capability.c
[10/979] Compiling CShim openat2.c
[11/979] Compiling CShim prctl.c
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:20:12: error: call to undeclared function 'CMSG_FIRSTHDR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
20 | return CMSG_FIRSTHDR(msg);
| ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:20:12: note: did you mean 'CZ_CMSG_FIRSTHDR'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:19:17: note: 'CZ_CMSG_FIRSTHDR' declared here
19 | struct cmsghdr* CZ_CMSG_FIRSTHDR(struct msghdr *msg) {
| ^
20 | return CMSG_FIRSTHDR(msg);
| ~~~~~~~~~~~~~
| CZ_CMSG_FIRSTHDR
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:20:12: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct cmsghdr *' [-Wint-conversion]
20 | return CMSG_FIRSTHDR(msg);
| ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:24:12: error: call to undeclared function 'CMSG_DATA'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
24 | return CMSG_DATA(cmsg);
| ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:24:12: note: did you mean 'CZ_CMSG_DATA'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:23:7: note: 'CZ_CMSG_DATA' declared here
23 | void* CZ_CMSG_DATA(struct cmsghdr *cmsg) {
| ^
24 | return CMSG_DATA(cmsg);
| ~~~~~~~~~
| CZ_CMSG_DATA
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:24:12: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'void *' [-Wint-conversion]
24 | return CMSG_DATA(cmsg);
| ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:28:12: error: call to undeclared function 'CMSG_SPACE'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
28 | return CMSG_SPACE(length);
| ^
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:28:12: note: did you mean 'CZ_CMSG_SPACE'?
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:27:8: note: 'CZ_CMSG_SPACE' declared here
27 | size_t CZ_CMSG_SPACE(size_t length) {
| ^
28 | return CMSG_SPACE(length);
| ~~~~~~~~~~
| CZ_CMSG_SPACE
/host/spi-builder-workspace/Sources/CShim/socket_helpers.c:32:12: error: call to undeclared function 'CMSG_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
32 | return CMSG_LEN(length);
| ^
6 errors generated.
[12/979] Compiling CShim socket_helpers.c
[12/979] Compiling zstd_decompress_block.c
[12/979] Compiling fastcover.c
[12/979] Compiling divsufsort.c
[12/979] Compiling cover.c
[12/979] Compiling zdict.c
[12/979] Compiling CShim exec_command.c
[12/979] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm