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.35.1 (d0b543), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 16:33:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/p-x9/MachOKit.git
Reference: 0.35.1
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.35.1     -> FETCH_HEAD
HEAD is now at d0b543a Merge pull request #219 from p-x9/fix/char-tuple-comparison
Cloned https://github.com/p-x9/MachOKit.git
Revision (git rev-parse @):
d0b543aa795d83539691b80959b0adb152b072e7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/p-x9/MachOKit.git at 0.35.1
========================================
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-1":/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
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/163] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.33s)
[1/15433] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.62s)
Computing version for https://github.com/p-x9/swift-fileio.git
Computed https://github.com/p-x9/swift-fileio.git at 0.9.0 (3.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (4.98s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.41s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
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.9.0
Building for debugging...
[0/366] Write sources
[4/366] Compiling MachOKitC mach-o-linux.c
[5/366] Compiling fiat_p256_adx_sqr.S
[6/366] Compiling fiat_p256_adx_mul.S
[7/366] Compiling fiat_curve25519_adx_mul.S
[8/366] Compiling fiat_curve25519_adx_square.S
[9/366] Compiling md5-x86_64-apple.S
[10/366] Compiling md5-x86_64-linux.S
[11/366] Compiling md5-586-linux.S
[12/366] Compiling md5-586-apple.S
[13/366] Compiling chacha20_poly1305_x86_64-linux.S
[14/366] Compiling CCryptoBoringSSLShims shims.c
[15/366] Compiling chacha20_poly1305_x86_64-apple.S
[16/366] Compiling chacha20_poly1305_armv8-win.S
[17/366] Compiling chacha20_poly1305_armv8-linux.S
[18/366] Compiling chacha20_poly1305_armv8-apple.S
[19/366] Compiling chacha-x86_64-linux.S
[20/366] Compiling chacha-x86_64-apple.S
[21/366] Compiling chacha-x86-linux.S
[22/366] Compiling chacha-x86-apple.S
[23/366] Compiling chacha-armv8-win.S
[24/366] Compiling a_bitstr.cc
[25/366] Compiling a_d2i_fp.cc
[26/366] Compiling a_gentm.cc
[27/366] Compiling chacha-armv8-linux.S
[28/366] Compiling chacha-armv8-apple.S
[29/366] Compiling aes128gcmsiv-x86_64-apple.S
[30/366] Compiling chacha-armv4-linux.S
[31/366] Compiling x86_64-mont5-apple.S
[32/366] Compiling aes128gcmsiv-x86_64-linux.S
[33/366] Compiling x86_64-mont5-linux.S
[34/366] Compiling err_data.cc
[35/366] Write swift-version-24593BA9C3E375BF.txt
[36/366] Compiling a_bool.cc
[37/366] Compiling x86_64-mont-linux.S
[38/366] Compiling x86-mont-linux.S
[39/366] Compiling x86-mont-apple.S
[40/366] Compiling x86_64-mont-apple.S
[40/366] Compiling vpaes-x86-linux.S
[42/366] Compiling vpaes-x86_64-linux.S
[43/366] Compiling vpaes-x86_64-apple.S
[44/366] Compiling vpaes-x86-apple.S
[45/367] Compiling vpaes-armv8-linux.S
[46/370] Compiling vpaes-armv8-apple.S
[47/370] Compiling vpaes-armv8-win.S
[48/370] Compiling vpaes-armv7-linux.S
[49/370] Compiling sha512-x86_64-linux.S
[50/370] Compiling sha512-armv8-win.S
[51/370] Compiling sha512-x86_64-apple.S
[52/370] Compiling sha512-armv8-linux.S
[53/370] Compiling sha512-armv4-linux.S
[54/370] Compiling sha512-586-linux.S
[55/370] Compiling sha256-x86_64-linux.S
[56/370] Compiling sha256-x86_64-apple.S
[57/370] Compiling sha512-armv8-apple.S
[58/370] Compiling sha512-586-apple.S
[59/370] Compiling sha256-armv8-win.S
[60/370] Compiling sha1-x86_64-linux.S
[61/370] Compiling sha256-armv8-apple.S
[62/370] Compiling sha256-armv8-linux.S
[63/370] Compiling sha256-armv4-linux.S
[64/370] Compiling sha1-x86_64-apple.S
[65/370] Compiling sha256-586-apple.S
[66/370] Compiling sha256-586-linux.S
[67/370] Compiling sha1-armv8-linux.S
[68/370] Compiling sha1-armv8-win.S
[69/370] Compiling sha1-armv4-large-linux.S
[70/370] Compiling sha1-armv8-apple.S
[71/370] Compiling rsaz-avx2-linux.S
[72/370] Compiling sha1-586-linux.S
[73/370] Compiling sha1-586-apple.S
[74/370] Compiling rsaz-avx2-apple.S
[75/370] Compiling rdrand-x86_64-apple.S
[76/370] Compiling p256_beeu-x86_64-asm-linux.S
[77/370] Compiling rdrand-x86_64-linux.S
[78/370] Compiling p256_beeu-armv8-asm-win.S
[79/370] Compiling p256_beeu-x86_64-asm-apple.S
[80/370] Compiling p256_beeu-armv8-asm-linux.S
[81/370] Compiling p256_beeu-armv8-asm-apple.S
[82/370] Compiling p256-x86_64-asm-apple.S
[83/370] Compiling p256-x86_64-asm-linux.S
[84/370] Compiling p256-armv8-asm-win.S
[85/370] Compiling p256-armv8-asm-apple.S
[86/370] Compiling p256-armv8-asm-linux.S
[87/370] Compiling ghashv8-armv8-win.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[89/370] Emitting module FileIO
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/FileIO.swift:4:8: error: no such module 'Foundation'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import Foundation
    |        `- error: no such module 'Foundation'
  5 |
  6 | public enum FileIOError: Error {
[89/370] Compiling ghashv8-armv8-linux.S
[90/370] Compiling ghashv8-armv8-apple.S
[91/370] Compiling ghashv8-armv7-linux.S
[92/370] Compiling ghash-x86_64-linux.S
[93/370] Compiling ghash-x86-linux.S
[93/370] Compiling ghash-x86_64-apple.S
[95/370] Compiling ghash-x86-apple.S
[96/370] Compiling ghash-ssse3-x86_64-linux.S
[97/370] Compiling ghash-ssse3-x86-linux.S
[98/370] Compiling ghash-ssse3-x86_64-apple.S
[99/370] Compiling ghash-neon-armv8-apple.S
[100/370] Compiling ghash-neon-armv8-win.S
[101/370] Compiling ghash-neon-armv8-linux.S
[102/370] Compiling ghash-ssse3-x86-apple.S
[103/370] Compiling ghash-armv4-linux.S
[104/370] Compiling co-586-linux.S
[105/370] Compiling co-586-apple.S
[106/370] Compiling bn-armv8-apple.S
[107/370] Compiling bsaes-armv7-linux.S
[108/370] Compiling bn-armv8-win.S
[109/370] Compiling bn-armv8-linux.S
[110/370] Compiling bn-586-linux.S
[111/370] Compiling bn-586-apple.S
[112/370] Compiling armv8-mont-linux.S
[113/370] Compiling armv8-mont-win.S
[114/370] Compiling armv4-mont-linux.S
[115/370] Compiling aesv8-gcm-armv8-win.S
[116/370] Compiling armv8-mont-apple.S
[117/370] Compiling aesv8-gcm-armv8-linux.S
[118/370] Compiling aesv8-gcm-armv8-apple.S
[119/370] Compiling aesni-x86_64-linux.S
[120/370] Compiling aesv8-armv8-linux.S
[121/370] Compiling aesv8-armv8-win.S
[122/370] Compiling aesv8-armv8-apple.S
[123/370] Compiling aesv8-armv7-linux.S
[124/370] Compiling aesni-x86_64-apple.S
[125/370] Compiling aesni-x86-linux.S
[126/370] Compiling aesni-x86-apple.S
[127/370] Compiling aesni-gcm-x86_64-linux.S
[128/370] Compiling aes-gcm-avx10-x86_64-linux.S
[129/370] Compiling aesni-gcm-x86_64-apple.S
[130/370] Compiling aes-gcm-avx10-x86_64-apple.S
[131/370] Compiling x_req.cc
[132/370] Compiling x_x509.cc
[133/370] Compiling x_x509a.cc
[134/370] Compiling x_sig.cc
[135/370] Compiling x_pubkey.cc
[136/370] Compiling x_spki.cc
[137/370] Compiling x_val.cc
[138/370] Compiling x_name.cc
[139/370] Compiling x_algor.cc
[140/370] Compiling x_attrib.cc
[141/370] Compiling x_exten.cc
[142/370] Compiling x_crl.cc
[143/370] Compiling x_all.cc
[144/370] Compiling x509spki.cc
[145/370] Compiling x509_vfy.cc
[146/370] Compiling x509rset.cc
[147/370] Compiling x509name.cc
[148/370] Compiling x509_v3.cc
[149/370] Compiling x509_txt.cc
[150/370] Compiling x509_vpm.cc
[151/370] Compiling x509cset.cc
[152/370] Compiling x509_req.cc
[153/370] Compiling x509_trs.cc
[154/370] Compiling x509_ext.cc
[155/370] Compiling x509_lu.cc
[156/370] Compiling x509_set.cc
[157/370] Compiling x509_def.cc
[158/370] Compiling x509_obj.cc
[159/370] Compiling x509_d2.cc
[160/370] Compiling v3_utl.cc
[162/370] Compiling FileIO StreamedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/FileIO.swift:4:8: error: no such module 'Foundation'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import Foundation
    |        `- error: no such module 'Foundation'
  5 |
  6 | public enum FileIOError: Error {
[162/370] Compiling x509_cmp.cc
[163/370] Compiling v3_pmaps.cc
[164/370] Compiling x509_att.cc
[165/370] Compiling v3_prn.cc
[166/370] Compiling x509.cc
[167/370] Compiling v3_skey.cc
[168/370] Compiling v3_ocsp.cc
[169/370] Compiling v3_purp.cc
[171/370] Compiling FileIO FileIO.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/FileIO.swift:4:8: error: no such module 'Foundation'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import Foundation
    |        `- error: no such module 'Foundation'
  5 |
  6 | public enum FileIOError: Error {
[172/370] Compiling FileIO MemoryMappedFile.swift
/host/spi-builder-workspace/.build/checkouts/swift-fileio/Sources/FileIO/FileIO.swift:4:8: error: no such module 'Foundation'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import Foundation
    |        `- error: no such module 'Foundation'
  5 |
  6 | public enum FileIOError: Error {
[172/370] Compiling v3_genn.cc
[172/370] Compiling v3_info.cc
[172/370] Compiling v3_ia5.cc
[172/370] Compiling v3_lib.cc
[172/370] Compiling v3_int.cc
[172/370] Compiling v3_pcons.cc
[172/370] Compiling v3_ncons.cc
BUILD FAILURE 6.2 wasm