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 0.43.0 (350b03), with Swift 6.2 for Wasm on 13 Dec 2025 19:50:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: 0.43.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/p-x9/MachOKit
 * tag               0.43.0     -> FETCH_HEAD
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 0.43.0
========================================
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-4606859-3":/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/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/209] Fetching swift-fileio
[210/17674] Fetching swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (2.16s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.22s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.12.0 (2.62s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (3.18s)
Fetching https://github.com/apple/swift-asn1.git
[1/1667] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.29s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (3.03s)
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
[4/373] Compiling fiat_curve25519_adx_square.S
[4/373] Compiling fiat_p256_adx_sqr.S
[6/373] Compiling MachOKitC mach-o-linux.c
[7/373] Compiling fiat_p256_adx_mul.S
[8/373] Compiling md5-x86_64-apple.S
[9/373] Compiling fiat_curve25519_adx_mul.S
[10/373] Compiling md5-x86_64-linux.S
[11/373] Compiling md5-586-linux.S
[12/373] Compiling md5-586-apple.S
[13/373] Compiling chacha20_poly1305_x86_64-apple.S
[14/373] Compiling chacha20_poly1305_x86_64-linux.S
[15/373] Compiling chacha20_poly1305_armv8-win.S
[16/373] Compiling chacha20_poly1305_armv8-linux.S
[17/373] Compiling chacha20_poly1305_armv8-apple.S
[18/373] Compiling chacha-x86_64-linux.S
[19/373] Compiling chacha-x86_64-apple.S
[20/373] Compiling chacha-armv8-win.S
[21/373] Compiling chacha-x86-apple.S
[22/373] Compiling chacha-x86-linux.S
[23/373] Compiling chacha-armv8-linux.S
[24/373] Compiling chacha-armv8-apple.S
[25/373] Compiling CCryptoBoringSSLShims shims.c
[26/373] Compiling chacha-armv4-linux.S
[27/373] Compiling aes128gcmsiv-x86_64-linux.S
[28/373] Compiling aes128gcmsiv-x86_64-apple.S
[29/373] Compiling x86_64-mont5-linux.S
[30/373] Compiling x86_64-mont5-apple.S
[31/373] Compiling x86_64-mont-linux.S
[32/373] Compiling x86_64-mont-apple.S
[33/373] Compiling x86-mont-linux.S
[34/373] Compiling x86-mont-apple.S
[35/373] Compiling vpaes-x86_64-apple.S
[36/373] Compiling vpaes-x86_64-linux.S
[37/373] Compiling vpaes-x86-linux.S
[38/373] Compiling vpaes-x86-apple.S
[39/373] Compiling vpaes-armv8-win.S
[40/373] Compiling vpaes-armv8-linux.S
[41/373] Compiling vpaes-armv8-apple.S
[42/373] Compiling sha512-x86_64-linux.S
[43/373] Compiling vpaes-armv7-linux.S
[44/373] Compiling sha512-x86_64-apple.S
[45/373] Compiling sha512-armv8-win.S
[46/373] Compiling sha512-armv8-apple.S
[47/373] Compiling sha512-armv8-linux.S
[48/373] Compiling sha512-armv4-linux.S
[49/373] Compiling sha256-x86_64-linux.S
[50/373] Compiling sha512-586-apple.S
[51/373] Compiling sha512-586-linux.S
[52/373] Compiling sha256-armv8-linux.S
[53/373] Compiling sha256-armv8-win.S
[54/373] Compiling sha256-x86_64-apple.S
[55/373] Compiling err_data.cc
[55/373] Compiling aes.cc
[57/373] Compiling sha256-armv8-apple.S
[58/373] Compiling sha256-586-linux.S
[59/373] Compiling sha256-armv4-linux.S
[60/373] Compiling sha256-586-apple.S
[61/373] Compiling sha1-x86_64-apple.S
[62/373] Compiling sha1-armv8-win.S
[63/373] Compiling sha1-x86_64-linux.S
[64/373] Compiling sha1-armv8-linux.S
[65/373] Compiling sha1-armv8-apple.S
[66/373] Compiling sha1-586-linux.S
[67/373] Compiling sha1-armv4-large-linux.S
[68/373] Compiling rsaz-avx2-linux.S
[69/373] Compiling sha1-586-apple.S
[70/373] Compiling rdrand-x86_64-linux.S
[71/373] Compiling rsaz-avx2-apple.S
[72/373] Compiling p256_beeu-x86_64-asm-linux.S
[73/373] Compiling rdrand-x86_64-apple.S
[74/373] Compiling p256_beeu-x86_64-asm-apple.S
[75/373] Compiling p256_beeu-armv8-asm-win.S
[76/373] Compiling p256_beeu-armv8-asm-linux.S
[77/373] Compiling p256-x86_64-asm-linux.S
[78/373] Compiling p256-x86_64-asm-apple.S
[79/373] Compiling p256-armv8-asm-linux.S
[80/373] Compiling p256_beeu-armv8-asm-apple.S
[81/373] Compiling p256-armv8-asm-win.S
[82/373] Compiling ghashv8-armv8-linux.S
[83/373] Compiling ghashv8-armv8-win.S
[84/373] Compiling p256-armv8-asm-apple.S
[85/373] Compiling ghashv8-armv8-apple.S
[86/373] Compiling ghashv8-armv7-linux.S
[87/373] Compiling ghash-x86-linux.S
[88/373] Compiling ghash-x86_64-linux.S
[89/373] Compiling ghash-x86_64-apple.S
[90/373] Compiling ghash-x86-apple.S
[91/373] Compiling ghash-ssse3-x86_64-apple.S
[92/373] Compiling ghash-ssse3-x86-linux.S
[93/373] Compiling ghash-ssse3-x86_64-linux.S
[94/373] Compiling ghash-ssse3-x86-apple.S
[95/373] Compiling ghash-neon-armv8-apple.S
[96/373] Compiling ghash-armv4-linux.S
[97/373] Compiling ghash-neon-armv8-linux.S
[98/373] Compiling ghash-neon-armv8-win.S
[99/373] Compiling co-586-linux.S
[100/373] Compiling co-586-apple.S
[101/373] Compiling bn-armv8-linux.S
[102/373] Compiling bn-armv8-apple.S
[103/373] Compiling bsaes-armv7-linux.S
[104/373] Compiling bn-armv8-win.S
[105/373] Compiling bn-586-apple.S
[106/373] Compiling bn-586-linux.S
[107/373] Compiling armv8-mont-linux.S
[108/373] Compiling armv8-mont-win.S
[109/373] Compiling armv8-mont-apple.S
[110/373] Compiling aesv8-gcm-armv8-win.S
[111/373] Write swift-version-24593BA9C3E375BF.txt
[112/373] Compiling aesv8-gcm-armv8-linux.S
[113/373] Compiling a_bitstr.cc
[114/373] Compiling aesv8-gcm-armv8-apple.S
[115/373] Compiling armv4-mont-linux.S
[116/373] Compiling aesv8-armv8-apple.S
[117/373] Compiling aesv8-armv8-win.S
[118/373] Compiling aesni-x86_64-apple.S
[119/373] Compiling aesv8-armv8-linux.S
[119/373] Compiling aesv8-armv7-linux.S
[121/373] Compiling aesni-x86_64-linux.S
[122/373] Compiling aesni-x86-linux.S
[123/373] Compiling aesni-x86-apple.S
[124/373] Compiling aes-gcm-avx512-x86_64-linux.S
[125/374] Compiling aesni-gcm-x86_64-apple.S
[126/374] Compiling aesni-gcm-x86_64-linux.S
[127/375] Compiling aes-gcm-avx2-x86_64-apple.S
[128/375] Compiling aes-gcm-avx2-x86_64-linux.S
[129/375] Compiling aes-gcm-avx512-x86_64-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[131/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 {
[131/375] Compiling xwing.cc
[133/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 {
[133/375] Compiling x_name.cc
[133/375] Compiling x_spki.cc
[133/375] Compiling x_req.cc
[133/375] Compiling x_pubkey.cc
[133/375] Compiling x_x509a.cc
[133/375] Compiling x_sig.cc
[133/375] Compiling x_x509.cc
BUILD FAILURE 6.2 wasm