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 container, reference main (243115), with Swift 6.2 (beta) for Wasm on 12 Sep 2025 21:04:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/container.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/container
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2431155 Use containerization 0.7.1. (#606)
Cloned https://github.com/apple/container.git
Revision (git rev-parse @):
243115504e0236b9795c9406e7cc262149d20c86
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/container.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/container.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Bouke/DNS.git
Fetching https://github.com/orlandos-nl/DNSClient.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/containerization.git
[1/2094] Fetching swift-docc-plugin
[211/3438] Fetching swift-docc-plugin, dnsclient
[1555/4346] Fetching swift-docc-plugin, dnsclient, dns
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (0.33s)
[2521/3002] Fetching swift-docc-plugin, dns
Fetching https://github.com/apple/swift-protobuf.git
[3003/7131] Fetching swift-docc-plugin, dns, containerization
[3416/21390] Fetching swift-docc-plugin, dns, containerization, async-http-client
[21391/99470] Fetching swift-docc-plugin, dns, containerization, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (0.93s)
Fetching https://github.com/grpc/grpc-swift.git
[13378/85211] Fetching swift-docc-plugin, dns, containerization, swift-nio
[45392/136508] Fetching swift-docc-plugin, dns, containerization, swift-nio, grpc-swift
[68245/176686] Fetching swift-docc-plugin, dns, containerization, swift-nio, grpc-swift, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (2.79s)
[123381/125389] Fetching swift-docc-plugin, dns, containerization, swift-nio, swift-protobuf
Fetching https://github.com/apple/swift-crypto.git
[125390/142299] Fetching swift-docc-plugin, dns, containerization, swift-nio, swift-protobuf, swift-crypto
Fetched https://github.com/Bouke/DNS.git from cache (6.78s)
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (6.78s)
Fetched https://github.com/apple/containerization.git from cache (6.78s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-nio.git from cache (6.92s)
Fetched https://github.com/apple/swift-crypto.git from cache (3.32s)
[1/15957] Fetching swift-argument-parser
[321/19860] Fetching swift-argument-parser, swift-log
[6823/37320] Fetching swift-argument-parser, swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
[20322/33417] Fetching swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.05s)
[8556/17460] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.07s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.52s)
Computing version for https://github.com/apple/containerization.git
Computed https://github.com/apple/containerization.git at 0.7.1 (9.49s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.46s)
Computing version for https://github.com/Bouke/DNS.git
Computed https://github.com/Bouke/DNS.git at 1.2.0 (3.05s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (3.00s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2718] Fetching swift-nio-transport-services
[2719/8845] Fetching swift-nio-transport-services, swift-nio-extras
[2965/10659] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics
[9406/22320] Fetching swift-nio-transport-services, swift-nio-extras, swift-atomics, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.48s)
[10300/19602] Fetching swift-nio-extras, swift-atomics, swift-nio-http2
[10301/34677] Fetching swift-nio-extras, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.51s)
[5346/28550] Fetching swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.27s)
[15141/16889] Fetching swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (1.93s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.62s)
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-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.38s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.47s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.85s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.5.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.43s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.54s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.61s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1176] Fetching swift-http-structured-headers
[684/2805] Fetching swift-http-structured-headers, swift-asn1
[2806/5275] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[2807/11260] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms
[2832/16651] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-async-algorithms
[4308/23234] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.34s)
[8203/21605] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-algorithms, swift-async-algorithms, swift-certificates
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.43s)
[18082/19135] Fetching swift-http-structured-headers, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.51s)
[1/923] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.59s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.59s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.60s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.28s)
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.07s)
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.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.44s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.42s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.94s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.63s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (0.55s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.37s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (0.48s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3509] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.94s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.25s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (1.24s)
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.29.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/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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.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.1.0
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.5.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.28.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.25.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.38.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-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.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.4.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.6.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.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.5
Creating working copy for https://github.com/Bouke/DNS.git
Working copy of https://github.com/Bouke/DNS.git resolved at 1.2.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.6.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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.86.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-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/containerization.git
Working copy of https://github.com/apple/containerization.git resolved at 0.7.1
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.4.0
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-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.43s)
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
[4/4] Compiling plugin GRPCSwiftPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
Building for debugging...
[6/957] Write sources
[47/957] Compiling CVersion Version.c
[48/957] Write sources
[49/957] Compiling _NumericsShims _NumericsShims.c
[50/957] Write sources
[53/957] Compiling chacha20_poly1305_x86_64-apple.S
[54/957] Write sources
[55/957] Copying PrivacyInfo.xcprivacy
[56/957] Write sources
[78/957] Compiling md5-x86_64-apple.S
[79/957] Compiling md5-586-linux.S
[79/957] Compiling aes128gcmsiv-x86_64-linux.S
[81/957] Compiling _AtomicsShims.c
[82/957] Write swift-version-24593BA9C3E375BF.txt
[83/957] Compiling CShim exec_command.c
[83/957] Compiling CSystem shims.c
[85/957] Compiling CNIOWindows shim.c
In file included from /host/spi-builder-workspace/.build/checkouts/containerization/Sources/CShim/vsock.c:17:
/host/spi-builder-workspace/.build/checkouts/containerization/Sources/CShim/include/vsock.h:28:14: fatal error: 'linux/vm_sockets.h' file not found
   28 |     #include <linux/vm_sockets.h>
      |              ^~~~~~~~~~~~~~~~~~~~
1 error generated.
[86/957] Compiling CShim vsock.c
[86/957] Compiling CNIOWindows WSAStartup.c
[86/957] Compiling a_strnid.cc
[86/957] Compiling CNIOWASI CNIOWASI.c
[86/957] Compiling t_crl.cc
BUILD FAILURE 6.2 wasm