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 XMTPiOS, reference 4.2.3 (e1e8bc), with Swift 6.2 (beta) for Wasm on 27 Jun 2025 03:39:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/xmtp/xmtp-ios.git
Reference: 4.2.3
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/xmtp/xmtp-ios
 * tag               4.2.3      -> FETCH_HEAD
HEAD is now at e1e8bce bump the version (#526)
Cloned https://github.com/xmtp/xmtp-ios.git
Revision (git rev-parse @):
e1e8bcec12f6a1e9da3c739a1a2162f1c2637b73
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/xmtp/xmtp-ios.git at 4.2.3
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xmtp/xmtp-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/bufbuild/connect-swift
Fetching https://github.com/xmtp/libxmtp-swift.git
Fetching https://github.com/tesseract-one/CSecp256k1.swift.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/102] Fetching csecp256k1.swift
[103/13056] Fetching csecp256k1.swift, cryptoswift
[233/15138] Fetching csecp256k1.swift, cryptoswift, swift-docc-plugin
[2167/23751] Fetching csecp256k1.swift, cryptoswift, swift-docc-plugin, connect-swift
[3066/25686] Fetching csecp256k1.swift, cryptoswift, swift-docc-plugin, connect-swift, libxmtp-swift
Fetched https://github.com/bufbuild/connect-swift from cache (0.67s)
[5869/17073] Fetching csecp256k1.swift, cryptoswift, swift-docc-plugin, libxmtp-swift
Fetched https://github.com/tesseract-one/CSecp256k1.swift.git from cache (9.10s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (9.11s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (9.15s)
Fetched https://github.com/xmtp/libxmtp-swift.git from cache (9.43s)
Computing version for https://github.com/xmtp/libxmtp-swift.git
Computed https://github.com/xmtp/libxmtp-swift.git at 4.2.5 (9.96s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.52s)
Computing version for https://github.com/bufbuild/connect-swift
Computed https://github.com/bufbuild/connect-swift at 1.0.0 (2.54s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/11533] Fetching swift-nio-http2
[2539/87872] Fetching swift-nio-http2, swift-nio
[3418/102768] Fetching swift-nio-http2, swift-nio, swift-nio-ssl
[57395/142194] Fetching swift-nio-http2, swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git from cache (9.28s)
Fetched https://github.com/apple/swift-nio.git from cache (9.47s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (12.04s)
Fetched https://github.com/apple/swift-protobuf.git from cache (12.15s)
Computing version for https://github.com/tesseract-one/CSecp256k1.swift.git
Computed https://github.com/tesseract-one/CSecp256k1.swift.git at 0.2.0 (12.85s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3417] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.50s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.14s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.30.0 (0.51s)
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.91s)
Fetching https://github.com/apple/swift-atomics.git
[1/1797] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.98s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[2530/21151] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.97s)
Fetched https://github.com/apple/swift-collections.git from cache (2.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.48s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.44s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.06s)
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.99s)
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-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/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/tesseract-one/CSecp256k1.swift.git
Working copy of https://github.com/tesseract-one/CSecp256k1.swift.git resolved at 0.2.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
Creating working copy for https://github.com/xmtp/libxmtp-swift.git
Working copy of https://github.com/xmtp/libxmtp-swift.git resolved at 4.2.5
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.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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/bufbuild/connect-swift
Working copy of https://github.com/bufbuild/connect-swift resolved at 1.0.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.30.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.5.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
Downloading binary artifact https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip
[16384/145304315] Downloading https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip
Downloaded https://github.com/xmtp/libxmtp/releases/download/swift-bindings-1.2.5.dc3e8c8/LibXMTPSwiftFFI.zip (17.22s)
warning: 'libxmtp-swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/libxmtp-swift/Sources/LibXMTP/libxmtp-version.txt
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[3/13] Write sources
[3/13] Copying PrivacyInfo.xcprivacy
[4/13] Write sources
[6/13] Copying PrivacyInfo.xcprivacy
[6/13] Write sources
[11/13] Compiling secp256k1.c
[11/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/199] Emitting module LibXMTP
/host/spi-builder-workspace/.build/checkouts/libxmtp-swift/Sources/LibXMTP/xmtpv3.swift:5:8: error: no such module 'Foundation'
    3 |
    4 | // swiftlint:disable all
    5 | import Foundation
      |        `- error: no such module 'Foundation'
    6 |
    7 | // Depending on the consumer's build setup, the low-level FFI code
[15/199] Compiling LibXMTP xmtpv3.swift
/host/spi-builder-workspace/.build/checkouts/libxmtp-swift/Sources/LibXMTP/xmtpv3.swift:5:8: error: no such module 'Foundation'
    3 |
    4 | // swiftlint:disable all
    5 | import Foundation
      |        `- error: no such module 'Foundation'
    6 |
    7 | // Depending on the consumer's build setup, the low-level FFI code
BUILD FAILURE 6.2 wasm