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 MongoKitten, reference 7.11.0 (cab8d2), with Swift 6.2 for Wasm on 26 Nov 2025 13:23:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orlandos-nl/MongoKitten.git
Reference: 7.11.0
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/orlandos-nl/MongoKitten
 * tag               7.11.0     -> FETCH_HEAD
HEAD is now at cab8d2a Update Span tracing availability on macOS (#369)
Cloned https://github.com/orlandos-nl/MongoKitten.git
Revision (git rev-parse @):
cab8d2a80cd64c3861f81306d098c29cb3c0d6d7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orlandos-nl/MongoKitten.git at 7.11.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/orlandos-nl/MongoKitten.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/apple/swift-nio-ssl.git
[1/15288] Fetching swift-nio-ssl
Fetching https://github.com/orlandos-nl/BSON.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/orlandos-nl/DNSClient.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.28s)
Fetching https://github.com/apple/swift-metrics.git
[1/1527] Fetching dnsclient
[490/7531] Fetching dnsclient, bson
[7532/9351] Fetching dnsclient, bson, swift-atomics
[7551/11838] Fetching dnsclient, bson, swift-atomics, swift-metrics
[7778/17404] Fetching dnsclient, bson, swift-atomics, swift-metrics, swift-distributed-tracing
[16166/97925] Fetching dnsclient, bson, swift-atomics, swift-metrics, swift-distributed-tracing, swift-nio
Fetched https://github.com/apple/swift-metrics.git from cache (0.61s)
[16528/95438] Fetching dnsclient, bson, swift-atomics, swift-distributed-tracing, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.89s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.91s)
Fetched https://github.com/orlandos-nl/DNSClient.git from cache (0.92s)
[10836/86525] Fetching bson, swift-nio
[13252/91600] Fetching bson, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.71s)
[26940/86525] Fetching bson, swift-nio
Fetched https://github.com/orlandos-nl/BSON.git from cache (8.36s)
Fetched https://github.com/apple/swift-nio.git from cache (8.50s)
Computing version for https://github.com/orlandos-nl/DNSClient.git
Computed https://github.com/orlandos-nl/DNSClient.git at 2.5.0 (12.97s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.37s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.78s)
Computing version for https://github.com/orlandos-nl/BSON.git
Computed https://github.com/orlandos-nl/BSON.git at 8.2.0 (0.35s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.49s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.23s)
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.59s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.90.1 (0.86s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/5182] Fetching swift-system
[3992/23496] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
[7692/18314] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.39s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (1.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.64s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.38s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (0.40s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.51s)
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.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/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/orlandos-nl/BSON.git
Working copy of https://github.com/orlandos-nl/BSON.git resolved at 8.2.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/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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.90.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.3.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.26.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.36.0
Building for debugging...
[0/440] Write sources
[26/440] Compiling CNIOLinux shim.c
[27/440] Compiling CNIOWindows shim.c
[28/440] Compiling _CWASI _CWASI.c
[28/440] Compiling CNIOWindows WSAStartup.c
[28/440] Compiling _AtomicsShims.c
[31/440] Compiling CNIOWASI CNIOWASI.c
[31/440] Compiling CNIOPosix event_loop_id.c
[33/440] Compiling CNIOLinux liburing_shims.c
[34/440] Compiling CNIODarwin shim.c
[35/440] Compiling fiat_curve25519_adx_square.S
[36/440] Compiling fiat_curve25519_adx_mul.S
[36/440] Compiling fiat_p256_adx_sqr.S
[36/440] Compiling fiat_p256_adx_mul.S
[39/440] Write swift-version-24593BA9C3E375BF.txt
[40/440] Compiling CNIOBoringSSLShims shims.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[42/442] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[43/442] Compiling _NIODataStructures Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
 25 | @preconcurrency import Bionic
 26 | #else
 27 | #error("The Heap module was unable to identify your C library.")
    |        `- error: The Heap module was unable to identify your C library.
 28 | #endif
 29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 |             return "<empty heap>"
169 |         }
170 |         let descriptions = self.storage.map { String(describing: $0) }
    |                                               `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 |         let maxLen: Int = descriptions.map { $0.count }.max()!  // storage checked non-empty above
172 |         let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
  |        `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 |             func height(index: Int) -> Int {
208 |                 Int(log2(Double(index + 1)))
    |                     `- error: cannot find 'log2' in scope
209 |             }
210 |             let myHeight = height(index: index)
[43/442] Compiling tls_record.cc
[43/442] Compiling tls_method.cc
[43/442] Compiling tls13_both.cc
[43/442] Compiling tls13_server.cc
[43/442] Compiling t1_enc.cc
[43/442] Compiling tls13_enc.cc
[43/442] Compiling tls13_client.cc
BUILD FAILURE 6.2 wasm