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.38.0 (954f8a), with Swift 6.2 (beta) for Wasm on 18 Aug 2025 19:45:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/MachOKit.git
Reference: 0.38.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.38.0     -> FETCH_HEAD
HEAD is now at 954f8ad Merge pull request #233 from p-x9/feature/export-symbol-func-variant
Cloned https://github.com/p-x9/MachOKit.git
Revision (git rev-parse @):
954f8ad0b5abb8ebcacb36238765559cde10caa2
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/p-x9/MachOKit.git at 0.38.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-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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
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
[210/16485] Fetching swift-fileio, swift-crypto
Fetched https://github.com/p-x9/swift-fileio.git from cache (1.92s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.96s)
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.32s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (3.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.27s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.78s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.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.12.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Building for debugging...
[0/374] Write sources
[4/374] Compiling MachOKitC mach-o-linux.c
[5/374] Compiling fiat_curve25519_adx_square.S
[6/374] Compiling fiat_p256_adx_sqr.S
[7/374] Compiling fiat_p256_adx_mul.S
[8/374] Compiling md5-x86_64-apple.S
[9/374] Compiling md5-x86_64-linux.S
[10/374] Compiling fiat_curve25519_adx_mul.S
[11/374] Write swift-version-24593BA9C3E375BF.txt
[12/374] Compiling md5-586-linux.S
[13/374] Compiling md5-586-apple.S
[14/374] Compiling chacha20_poly1305_x86_64-linux.S
[15/374] Compiling chacha20_poly1305_x86_64-apple.S
[16/374] Compiling chacha20_poly1305_armv8-win.S
[17/374] Compiling chacha20_poly1305_armv8-linux.S
[18/381] Compiling chacha20_poly1305_armv8-apple.S
[19/381] Compiling chacha-x86_64-linux.S
[20/381] Compiling chacha-x86-apple.S
[21/381] Compiling chacha-x86-linux.S
[22/381] Compiling chacha-x86_64-apple.S
[23/381] Compiling chacha-armv8-win.S
[24/381] Compiling chacha-armv8-linux.S
[25/381] Compiling chacha-armv8-apple.S
[26/381] Compiling aes128gcmsiv-x86_64-linux.S
[27/381] Compiling chacha-armv4-linux.S
[28/381] Compiling x86_64-mont5-linux.S
[29/381] Compiling aes128gcmsiv-x86_64-apple.S
[30/381] Compiling x86_64-mont-linux.S
[31/381] Compiling x86_64-mont5-apple.S
[32/381] Compiling x86-mont-apple.S
[33/381] Compiling x86-mont-linux.S
[34/381] Compiling vpaes-x86_64-linux.S
[35/381] Compiling x86_64-mont-apple.S
[36/381] Compiling vpaes-x86_64-apple.S
[37/381] Compiling CCryptoBoringSSLShims shims.c
[38/381] Compiling vpaes-x86-apple.S
[39/381] Compiling vpaes-x86-linux.S
[40/381] Compiling vpaes-armv8-linux.S
[41/381] Compiling vpaes-armv7-linux.S
[42/381] Compiling vpaes-armv8-win.S
[43/381] Compiling vpaes-armv8-apple.S
[44/381] Compiling sha512-armv8-win.S
[45/381] Compiling sha512-x86_64-apple.S
[46/381] Compiling sha512-x86_64-linux.S
[47/381] Compiling sha512-armv8-linux.S
[48/381] Compiling sha512-armv4-linux.S
[49/381] Compiling sha256-x86_64-linux.S
[50/381] Compiling sha512-armv8-apple.S
[51/381] Compiling sha512-586-linux.S
[52/381] Compiling sha512-586-apple.S
[53/381] Compiling sha256-x86_64-apple.S
[54/381] Compiling sha256-armv8-win.S
[55/381] Compiling sha256-armv8-apple.S
[56/381] Compiling sha256-586-linux.S
[57/381] Compiling sha256-armv8-linux.S
[58/381] Compiling sha256-armv4-linux.S
[59/381] Compiling sha256-586-apple.S
[60/381] Compiling sha1-x86_64-apple.S
[61/381] Compiling sha1-x86_64-linux.S
[62/381] Compiling sha1-armv8-win.S
[63/381] Compiling sha1-armv8-linux.S
[64/381] Compiling sha1-586-linux.S
[65/381] Compiling sha1-armv8-apple.S
[66/381] Compiling sha1-586-apple.S
[67/381] Compiling sha1-armv4-large-linux.S
[68/381] Compiling rsaz-avx2-linux.S
[69/381] Compiling rsaz-avx2-apple.S
[70/381] Compiling rdrand-x86_64-linux.S
[71/381] Compiling p256_beeu-x86_64-asm-linux.S
[72/381] Compiling p256_beeu-armv8-asm-win.S
[73/381] Compiling rdrand-x86_64-apple.S
[74/381] Compiling p256_beeu-x86_64-asm-apple.S
[75/381] Compiling err_data.cc
[76/381] Compiling p256_beeu-armv8-asm-apple.S
[77/381] Compiling p256_beeu-armv8-asm-linux.S
[78/381] Compiling p256-x86_64-asm-apple.S
[79/381] Compiling p256-armv8-asm-win.S
[80/381] Compiling p256-x86_64-asm-linux.S
[81/381] Compiling p256-armv8-asm-linux.S
[82/381] Compiling p256-armv8-asm-apple.S
[83/381] Compiling ghashv8-armv8-win.S
[84/381] Compiling ghashv8-armv8-apple.S
[85/381] Compiling ghashv8-armv7-linux.S
[86/381] Compiling ghashv8-armv8-linux.S
[87/381] Compiling ghash-x86-linux.S
[88/381] Compiling ghash-x86_64-linux.S
[89/381] Compiling ghash-x86_64-apple.S
[90/381] Compiling ghash-x86-apple.S
[91/381] Compiling ghash-ssse3-x86_64-linux.S
[92/381] Compiling ghash-ssse3-x86-apple.S
[93/381] Compiling ghash-ssse3-x86_64-apple.S
[94/381] Compiling ghash-ssse3-x86-linux.S
[95/381] Compiling ghash-neon-armv8-linux.S
[96/381] Compiling ghash-neon-armv8-win.S
[97/381] Compiling ghash-armv4-linux.S
[98/381] Compiling bn-armv8-win.S
[99/381] Compiling ghash-neon-armv8-apple.S
[100/381] Compiling co-586-apple.S
[101/381] Compiling co-586-linux.S
[102/381] Compiling bsaes-armv7-linux.S
[103/381] Compiling bn-armv8-linux.S
[104/381] Compiling bn-armv8-apple.S
[105/381] Compiling armv8-mont-win.S
[106/381] Compiling bn-586-apple.S
[107/381] Compiling bn-586-linux.S
[108/381] Compiling armv8-mont-apple.S
[109/381] Compiling armv8-mont-linux.S
[110/381] Compiling armv4-mont-linux.S
[110/381] Compiling aesv8-gcm-armv8-win.S
[112/381] Compiling aesv8-gcm-armv8-linux.S
[113/381] Compiling aesv8-armv8-win.S
[114/381] Compiling aesv8-gcm-armv8-apple.S
[115/381] Compiling aesv8-armv8-linux.S
[116/381] Compiling aesv8-armv7-linux.S
[117/381] Compiling aesv8-armv8-apple.S
[118/381] Compiling aesni-x86_64-apple.S
[119/381] Compiling aesni-x86_64-linux.S
[120/381] Compiling aesni-x86-apple.S
[121/381] Compiling aesni-x86-linux.S
[122/381] Compiling aesni-gcm-x86_64-apple.S
[123/381] Compiling aesni-gcm-x86_64-linux.S
[124/381] Compiling aes-gcm-avx512-x86_64-linux.S
[125/381] Compiling aes-gcm-avx2-x86_64-linux.S
[126/381] Compiling aes-gcm-avx512-x86_64-apple.S
[127/381] Compiling aes-gcm-avx2-x86_64-apple.S
[128/381] Compiling xwing.cc
[129/381] Compiling x_x509.cc
[130/381] Compiling x_x509a.cc
[131/381] Compiling x_sig.cc
[132/381] Compiling x_val.cc
[133/381] Compiling x_req.cc
[134/381] Compiling x_spki.cc
[135/381] Compiling x_pubkey.cc
[136/381] Compiling x_crl.cc
[137/381] Compiling x_attrib.cc
[138/381] Compiling x_name.cc
[139/381] Compiling x_exten.cc
[140/381] Compiling x_algor.cc
[141/381] Compiling x_all.cc
[142/381] Compiling x509spki.cc
[143/381] Compiling x509rset.cc
[144/381] Compiling x509name.cc
[145/381] Compiling x509cset.cc
[146/381] Compiling x509_vpm.cc
[147/381] Compiling x509_v3.cc
[148/381] Compiling x509_vfy.cc
[150/381] Compiling FileIO FileIO.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 {
[150/381] Compiling x509_txt.cc
[152/381] Compiling FileIO MemoryMappedFile.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 {
[153/381] Compiling FileIO ConcatenatedStreamedFile.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[154/381] 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 {
[155/381] 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 {
[155/381] Compiling x509_trs.cc
[156/381] Compiling x509_lu.cc
[157/381] Compiling x509_set.cc
[158/381] Compiling x509_req.cc
[159/381] Compiling x509_obj.cc
[160/381] Compiling x509_ext.cc
[162/381] Compiling FileIO system.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 {
[163/381] Compiling FileIO StreamedFile.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 {
[163/381] Compiling v3_utl.cc
[163/381] Compiling x509_cmp.cc
[163/381] Compiling x509.cc
[163/381] Compiling x509_att.cc
[163/381] Compiling x509_d2.cc
[163/381] Compiling v3_skey.cc
[163/381] Compiling x509_def.cc
BUILD FAILURE 6.2 wasm