The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MachOKit, reference 0.47.0 (25e56c), with Swift 6.2 for Wasm on 22 Mar 2026 13:19:53 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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lynnswap/MachOKit.git
Reference: 0.47.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/lynnswap/MachOKit
 * tag               0.47.0     -> FETCH_HEAD
HEAD is now at 25e56cb Merge pull request #267 from p-x9/feature/archive
Cloned https://github.com/lynnswap/MachOKit.git
Revision (git rev-parse @):
25e56cbb2865ef4d00ea4f15501f29f65c4ca189
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/lynnswap/MachOKit.git at 0.47.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/lynnswap/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/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/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:135: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
133 | }
134 |
135 | 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
136 |     public static var allCases: [Self] {
137 |         [
Fetching https://github.com/p-x9/ObjectArchiveKit.git
Fetching https://github.com/p-x9/swift-binary-parse-support.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/p-x9/swift-fileio.git
Fetching https://github.com/p-x9/swift-fileio-extra.git
[1/242] Fetching swift-binary-parse-support
[243/488] Fetching swift-binary-parse-support, swift-fileio
[300/536] Fetching swift-binary-parse-support, swift-fileio, swift-fileio-extra
[537/746] Fetching swift-binary-parse-support, swift-fileio, swift-fileio-extra, objectarchivekit
Fetched https://github.com/p-x9/swift-fileio-extra.git from cache (0.27s)
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.27s)
Fetched https://github.com/p-x9/swift-binary-parse-support.git from cache (0.27s)
[1/17246] Fetching swift-crypto
Fetched https://github.com/p-x9/ObjectArchiveKit.git from cache (1.90s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
Computing version for https://github.com/p-x9/swift-binary-parse-support.git
Computed https://github.com/p-x9/swift-binary-parse-support.git at 0.2.1 (2.27s)
Computing version for https://github.com/p-x9/ObjectArchiveKit.git
Computed https://github.com/p-x9/ObjectArchiveKit.git at 0.3.0 (0.41s)
Computing version for https://github.com/p-x9/swift-fileio-extra.git
Computed https://github.com/p-x9/swift-fileio-extra.git at 0.2.2 (0.37s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.13.0 (0.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (4.11s)
Fetching https://github.com/apple/swift-asn1.git
[1/1769] 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.6.0 (6.75s)
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/ObjectArchiveKit.git
Working copy of https://github.com/p-x9/ObjectArchiveKit.git resolved at 0.3.0
Creating working copy for https://github.com/p-x9/swift-binary-parse-support.git
Working copy of https://github.com/p-x9/swift-binary-parse-support.git resolved at 0.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.6.0
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.13.0
Creating working copy for https://github.com/p-x9/swift-fileio-extra.git
Working copy of https://github.com/p-x9/swift-fileio-extra.git resolved at 0.2.2
Building for debugging...
[0/378] Write sources
[7/378] Compiling ObjectArchiveKitC dummy.c
[8/378] Compiling MachOKitC mach-o-linux.c
[9/378] Compiling fiat_curve25519_adx_mul.S
[10/378] Compiling fiat_curve25519_adx_square.S
[11/378] Compiling fiat_p256_adx_sqr.S
[12/378] Compiling fiat_p256_adx_mul.S
[13/378] Compiling md5-x86_64-linux.S
[14/378] Compiling md5-586-apple.S
[15/378] Compiling md5-x86_64-apple.S
[16/378] Compiling md5-586-linux.S
[17/378] Compiling chacha20_poly1305_armv8-win.S
[18/378] Write swift-version-24593BA9C3E375BF.txt
[19/378] Compiling chacha20_poly1305_x86_64-apple.S
[20/378] Compiling chacha20_poly1305_x86_64-linux.S
[21/378] Compiling chacha20_poly1305_armv8-linux.S
[22/378] Compiling chacha20_poly1305_armv8-apple.S
[23/378] Compiling chacha-x86_64-linux.S
[24/378] Compiling chacha-x86_64-apple.S
[25/378] Compiling chacha-armv8-win.S
[26/378] Compiling chacha-x86-linux.S
[27/380] Compiling chacha-armv8-linux.S
[28/380] Compiling chacha-armv4-linux.S
[29/380] Compiling chacha-x86-apple.S
[30/380] Compiling aes128gcmsiv-x86_64-linux.S
[31/380] Compiling chacha-armv8-apple.S
[32/380] Compiling aes128gcmsiv-x86_64-apple.S
[33/380] Compiling x86_64-mont-linux.S
[34/380] Compiling x86_64-mont5-apple.S
[35/380] Compiling x86_64-mont5-linux.S
[36/380] Compiling x86_64-mont-apple.S
[37/380] Compiling x86-mont-linux.S
[38/380] Compiling x86-mont-apple.S
[39/380] Compiling vpaes-x86_64-apple.S
[40/380] Compiling vpaes-x86-linux.S
[41/380] Compiling vpaes-x86_64-linux.S
[42/380] Compiling vpaes-armv8-win.S
[43/380] Compiling vpaes-x86-apple.S
[44/380] Compiling vpaes-armv8-linux.S
[45/380] Compiling vpaes-armv7-linux.S
[46/380] Compiling vpaes-armv8-apple.S
[47/380] Compiling sha512-x86_64-linux.S
[47/380] Compiling CCryptoBoringSSLShims shims.c
[49/380] Compiling sha512-armv8-linux.S
[50/380] Compiling sha512-armv8-win.S
[51/380] Compiling sha512-x86_64-apple.S
[52/380] Compiling sha512-armv8-apple.S
[53/380] Compiling sha512-586-linux.S
[54/380] Compiling sha512-armv4-linux.S
[55/380] Compiling sha512-586-apple.S
[56/380] Compiling sha256-x86_64-linux.S
[57/380] Compiling sha256-x86_64-apple.S
[58/380] Compiling sha256-armv8-win.S
[59/380] Compiling sha256-armv8-linux.S
[60/380] Compiling sha256-586-linux.S
[61/380] Compiling sha256-armv8-apple.S
[62/380] Compiling sha256-armv4-linux.S
[63/380] Compiling sha256-586-apple.S
[64/380] Compiling sha1-x86_64-apple.S
[65/380] Compiling sha1-x86_64-linux.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/380] 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 | /// - Warning: Currently, the size of each file must be a multiple of the page size.
[67/380] Compiling sha1-armv8-linux.S
[68/380] Compiling sha1-armv8-apple.S
[69/380] Compiling sha1-armv8-win.S
[70/380] Compiling sha1-586-linux.S
[71/380] Compiling sha1-armv4-large-linux.S
[72/380] Compiling sha1-586-apple.S
[73/380] Compiling rsaz-avx2-linux.S
[74/380] Compiling rsaz-avx2-apple.S
[75/380] Compiling rdrand-x86_64-apple.S
[76/380] Compiling p256_beeu-x86_64-asm-linux.S
[77/380] Compiling rdrand-x86_64-linux.S
[78/380] Compiling p256_beeu-x86_64-asm-apple.S
[79/380] Compiling p256_beeu-armv8-asm-win.S
[80/380] Compiling p256-x86_64-asm-linux.S
[81/380] Compiling p256_beeu-armv8-asm-apple.S
[82/380] Compiling p256-x86_64-asm-apple.S
[83/380] Compiling p256_beeu-armv8-asm-linux.S
[84/380] Compiling p256-armv8-asm-win.S
[84/380] Compiling p256-armv8-asm-linux.S
[86/380] Compiling p256-armv8-asm-apple.S
[87/380] Compiling ghashv8-armv8-linux.S
[88/380] Compiling ghashv8-armv8-apple.S
[89/380] Compiling ghashv8-armv7-linux.S
[90/380] Compiling ghash-x86_64-linux.S
[91/380] Compiling ghash-x86-linux.S
[92/380] Compiling ghashv8-armv8-win.S
[93/380] Compiling ghash-x86_64-apple.S
[94/380] Compiling ghash-ssse3-x86_64-linux.S
[95/380] Compiling ghash-x86-apple.S
[96/380] Compiling err_data.cc
[97/380] Compiling ghash-ssse3-x86-apple.S
[98/380] Compiling ghash-neon-armv8-win.S
[99/380] Compiling ghash-neon-armv8-linux.S
[99/380] Compiling ghash-ssse3-x86_64-apple.S
[101/380] Compiling ghash-ssse3-x86-linux.S
[102/380] Compiling ghash-neon-armv8-apple.S
[103/380] Compiling co-586-apple.S
[104/380] Compiling co-586-linux.S
[105/380] Compiling ghash-armv4-linux.S
[106/380] Compiling bn-armv8-win.S
[107/380] Compiling bsaes-armv7-linux.S
[108/380] Compiling bn-armv8-linux.S
[109/380] Compiling bn-armv8-apple.S
[110/380] Compiling bn-586-linux.S
[111/380] Compiling armv8-mont-linux.S
[111/380] Compiling bn-586-apple.S
[113/380] Compiling armv8-mont-apple.S
[114/380] Compiling armv8-mont-win.S
[115/380] Compiling aesv8-gcm-armv8-win.S
[116/380] Compiling aesv8-armv8-linux.S
[117/380] Compiling armv4-mont-linux.S
[118/380] Compiling aesv8-gcm-armv8-linux.S
[119/380] Compiling aesv8-armv8-apple.S
[120/380] Compiling aesv8-gcm-armv8-apple.S
[121/380] Compiling aesv8-armv8-win.S
[122/380] Compiling aesv8-armv7-linux.S
[123/380] Compiling aesni-x86-linux.S
[124/380] Compiling aesni-x86-apple.S
[125/380] Compiling aesni-x86_64-apple.S
[126/380] Compiling aesni-x86_64-linux.S
[127/380] Compiling aes-gcm-avx512-x86_64-linux.S
[128/380] Compiling aesni-gcm-x86_64-linux.S
[129/380] Compiling aesni-gcm-x86_64-apple.S
[130/380] Compiling aes-gcm-avx2-x86_64-linux.S
[131/380] Compiling aes-gcm-avx512-x86_64-apple.S
[132/380] Compiling aes-gcm-avx2-x86_64-apple.S
[134/380] 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 | /// - Warning: Currently, the size of each file must be a multiple of the page size.
[134/380] Compiling x_x509a.cc
[134/380] Compiling x_x509.cc
[134/380] Compiling x_req.cc
[134/380] Compiling x_sig.cc
[134/380] Compiling xwing.cc
[134/380] Compiling x_pubkey.cc
[134/380] Compiling x_spki.cc
BUILD FAILURE 6.2 wasm