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 0.4.1 (4ac18b), with Swift 6.2 (beta) for Wasm on 28 Aug 2025 08:57:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: 0.4.1
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
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 4ac18b5 Test fixes for 0.4.1 release. (#550)
Cloned https://github.com/apple/container.git
Revision (git rev-parse @):
4ac18b54f376b03ce24448abdd86a4a3371bad43
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/container.git at 0.4.1
========================================
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-1":/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/apple/swift-nio.git
Fetching https://github.com/orlandos-nl/DNSClient.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/Bouke/DNS.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/apple/containerization.git
[1/908] Fetching dns
[101/2052] Fetching dns, dnsclient
[1323/4146] Fetching dns, dnsclient, swift-docc-plugin
[3205/8155] Fetching dns, dnsclient, swift-docc-plugin, containerization
[3267/22274] Fetching dns, dnsclient, swift-docc-plugin, containerization, async-http-client
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.55s)
[6986/20180] Fetching dns, dnsclient, containerization, async-http-client
Fetching https://github.com/apple/swift-protobuf.git
[14276/97893] Fetching dns, dnsclient, containerization, async-http-client, swift-nio
Fetched https://github.com/apple/containerization.git from cache (0.86s)
Fetching https://github.com/grpc/grpc-swift.git
[20057/93884] Fetching dns, dnsclient, async-http-client, swift-nio
[33269/145181] Fetching dns, dnsclient, async-http-client, swift-nio, grpc-swift
Fetched https://github.com/Bouke/DNS.git from cache (1.32s)
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (1.32s)
[34061/143129] Fetching async-http-client, swift-nio, grpc-swift
Fetched https://github.com/swift-server/async-http-client.git from cache (1.33s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.git
[20455/129010] Fetching swift-nio, grpc-swift
Fetching https://github.com/apple/swift-argument-parser.git
[51978/145293] Fetching swift-nio, grpc-swift, swift-crypto
[54371/162658] Fetching swift-nio, grpc-swift, swift-crypto, swift-collections
[59008/178347] Fetching swift-nio, grpc-swift, swift-crypto, swift-collections, swift-argument-parser
[62207/218493] Fetching swift-nio, grpc-swift, swift-crypto, swift-collections, swift-argument-parser, swift-protobuf
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.83s)
[106641/202804] Fetching swift-nio, grpc-swift, swift-crypto, swift-collections, swift-protobuf
Fetching https://github.com/apple/swift-log.git
[139584/206701] Fetching swift-nio, grpc-swift, swift-crypto, swift-collections, swift-protobuf, swift-log
Fetched https://github.com/apple/swift-collections.git from cache (2.82s)
[137451/189336] Fetching swift-nio, grpc-swift, swift-crypto, swift-protobuf, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.99s)
[134445/185439] Fetching swift-nio, grpc-swift, swift-crypto, swift-protobuf
Fetched https://github.com/grpc/grpc-swift.git from cache (4.78s)
[124106/134142] Fetching swift-nio, swift-crypto, swift-protobuf
Fetched https://github.com/apple/swift-crypto.git from cache (4.73s)
[111838/117859] Fetching swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-nio.git from cache (11.10s)
Fetched https://github.com/apple/swift-protobuf.git from cache (12.11s)
Computing version for https://github.com/apple/containerization.git
Computed https://github.com/apple/containerization.git at 0.6.2 (13.29s)
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.40s)
Computing version for https://github.com/Bouke/DNS.git
Computed https://github.com/Bouke/DNS.git at 1.2.0 (2.86s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (3.12s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2698] Fetching swift-nio-transport-services
[2699/4506] Fetching swift-nio-transport-services, swift-atomics
[3206/10633] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras
[3480/22294] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-http2
[5159/37369] Fetching swift-nio-transport-services, swift-atomics, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.72s)
[9533/31242] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (2.06s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.06s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.08s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.87s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.41s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.41s)
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.41s)
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.53s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.4.4 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.84s)
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.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.51s)
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.72s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1176] Fetching swift-http-structured-headers
[131/3609] Fetching swift-http-structured-headers, swift-service-lifecycle
[1434/5238] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1
[1620/11698] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-certificates
[1872/17666] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-certificates, swift-algorithms
[6301/22799] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-certificates, swift-algorithms, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.37s)
[11269/21623] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-algorithms, swift-async-algorithms
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.46s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.55s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.62s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.62s)
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.35s)
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.17s)
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.45s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.46s)
Fetching https://github.com/apple/swift-numerics.git
[1/6342] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.95s)
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.42s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.12.0 (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.93s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.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.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (1.14s)
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.44s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3479] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.96s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.51s)
Creating working copy for https://github.com/orlandos-nl/DNSClient.git
Working copy of https://github.com/orlandos-nl/DNSClient.git resolved at 2.4.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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.38.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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.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.26.1
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-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.12.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.4.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.29.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-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/Bouke/DNS.git
Working copy of https://github.com/Bouke/DNS.git resolved at 1.2.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/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/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-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-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-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-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/containerization.git
Working copy of https://github.com/apple/containerization.git resolved at 0.6.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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/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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1369/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 (1.70s)
[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
[48/957] Compiling aesv8-gcm-armv8-win.S
[48/957] Write sources
[50/957] Compiling armv4-mont-linux.S
[50/957] Write sources
[54/957] Compiling _NumericsShims _NumericsShims.c
[54/957] Write sources
[54/957] Copying PrivacyInfo.xcprivacy
[54/957] Write sources
[79/957] Compiling sha512-x86_64-apple.S
[80/957] Compiling aes128gcmsiv-x86_64-apple.S
[81/957] Compiling aesv8-gcm-armv8-linux.S
[82/957] Compiling CSystem shims.c
[83/957] Compiling _AtomicsShims.c
[84/957] Compiling sha512-armv8-win.S
[85/957] Write swift-version-24593BA9C3E375BF.txt
[86/957] Compiling CVersion Version.c
[87/957] Compiling CShim exec_command.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.
[88/957] Compiling CNIOWindows shim.c
[89/957] Compiling CShim vsock.c
[89/957] Compiling CNIOWindows WSAStartup.c
[89/957] Compiling CNIOLLHTTP c_nio_llhttp.c
[89/957] Compiling CNIOWASI CNIOWASI.c
[89/957] Compiling CNIOPosix event_loop_id.c
[89/957] Compiling CNIOLinux liburing_shims.c
[89/957] Compiling CNIOLinux shim.c
[90/961] Compiling _NIODataStructures PriorityQueue.swift
[91/961] Compiling _NIODataStructures _TinyArray.swift
[92/961] Emitting module _NIODataStructures
BUILD FAILURE 6.2 wasm