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 MachOKit, reference main (350b03), with Swift 6.2 for Wasm on 13 Dec 2025 19:52:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/MachOKit.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/p-x9/MachOKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 350b03c Merge pull request #256 from p-x9/feature/loadcommand-cmdsize
Cloned https://github.com/p-x9/MachOKit.git
Revision (git rev-parse @):
350b03ce663c2faabcab0f581d65db849e38a1ed
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/p-x9/MachOKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/p-x9/MachOKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
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
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:77:1: warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
75 | }
76 |
77 | extension SwiftSetting: CaseIterable {
   | |- warning: extension declares a conformance of imported type 'SwiftSetting' to imported protocol 'CaseIterable'; this will not behave correctly if the owners of 'PackageDescription' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
78 |     public static var allCases: [Self] {
79 |         [
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
[1/209] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.42s)
[1/17465] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.29s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.12.0 (4.03s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.83s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.52s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.52s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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/p-x9/swift-fileio.git
Working copy of https://github.com/p-x9/swift-fileio.git resolved at 0.12.0
Building for debugging...
[0/373] Write sources
[3/373] Compiling MachOKitC mach-o-linux.c
[4/373] Write swift-version-24593BA9C3E375BF.txt
[5/373] Write sources
[6/375] Compiling CCryptoBoringSSLShims shims.c
[7/375] Compiling fiat_p256_adx_sqr.S
[8/375] Compiling fiat_p256_adx_mul.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/375] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | public final class ConcatenatedMemoryMappedFile: MemoryMappedFileIOProtocol {
[10/375] Compiling fiat_curve25519_adx_square.S
[11/375] Compiling fiat_curve25519_adx_mul.S
[12/375] Compiling a_i2d_fp.cc
[13/375] Compiling md5-x86_64-linux.S
[14/375] Compiling md5-x86_64-apple.S
[15/375] Compiling md5-586-linux.S
[16/375] Compiling a_d2i_fp.cc
[17/375] Compiling md5-586-apple.S
[18/375] Compiling a_dup.cc
[19/375] Compiling a_bool.cc
[20/375] Compiling chacha20_poly1305_x86_64-linux.S
[21/375] Compiling chacha20_poly1305_armv8-win.S
[22/375] Compiling chacha20_poly1305_x86_64-apple.S
[23/375] Compiling chacha20_poly1305_armv8-linux.S
[24/375] Compiling chacha20_poly1305_armv8-apple.S
[25/375] Compiling chacha-x86_64-linux.S
[26/375] Compiling chacha-x86_64-apple.S
[27/375] Compiling a_int.cc
[29/375] Compiling FileIO ConcatenatedMemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/ConcatenatedMemoryMappedFile.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | public final class ConcatenatedMemoryMappedFile: MemoryMappedFileIOProtocol {
[29/375] Compiling chacha-x86-linux.S
[30/375] Compiling chacha-armv8-apple.S
[30/375] Compiling chacha-x86-apple.S
[30/375] Compiling chacha-armv4-linux.S
[30/375] Compiling chacha-armv8-linux.S
[30/375] Compiling a_gentm.cc
[30/375] Compiling chacha-armv8-win.S
[30/375] Compiling err_data.cc
BUILD FAILURE 6.2 wasm