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 (fc1f26), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 00:42:20 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: 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 fc1f264 Merge pull request #236 from p-x9/feature/string-at-offset
Cloned https://github.com/p-x9/MachOKit.git
Revision (git rev-parse @):
fc1f2646220b3ce9db2e415b6b8848f5a89ed865
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-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/p-x9/swift-fileio.git
Fetching https://github.com/apple/swift-crypto.git
[1/209] Fetching swift-fileio
Fetched https://github.com/p-x9/swift-fileio.git from cache (0.31s)
[1/16856] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.27s)
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.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (3.63s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.32s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.88s)
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
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.0
Building for debugging...
[0/374] Write sources
[4/374] Compiling MachOKitC mach-o-linux.c
[5/374] Write swift-version-24593BA9C3E375BF.txt
[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 fiat_curve25519_adx_mul.S
[10/374] Compiling fiat_curve25519_adx_square.S
[11/374] Compiling md5-x86_64-linux.S
[12/374] Compiling md5-586-linux.S
[13/374] Compiling md5-586-apple.S
[14/374] Compiling chacha20_poly1305_x86_64-linux.S
[15/376] Compiling chacha20_poly1305_x86_64-apple.S
[16/381] Compiling chacha20_poly1305_armv8-apple.S
[17/381] Compiling chacha20_poly1305_armv8-linux.S
[18/381] Compiling chacha20_poly1305_armv8-win.S
[19/381] Compiling chacha-x86_64-linux.S
[20/381] Compiling chacha-armv8-win.S
[21/381] Compiling chacha-x86_64-apple.S
[22/381] Compiling chacha-x86-apple.S
[23/381] Compiling chacha-x86-linux.S
[24/381] Compiling chacha-armv8-linux.S
[25/381] Compiling aes128gcmsiv-x86_64-linux.S
[26/381] Compiling CCryptoBoringSSLShims shims.c
[27/381] Compiling chacha-armv8-apple.S
[28/381] Compiling chacha-armv4-linux.S
[29/381] Compiling x86_64-mont5-linux.S
[30/381] Compiling aes128gcmsiv-x86_64-apple.S
[31/381] Compiling x86_64-mont5-apple.S
[32/381] Compiling x86_64-mont-apple.S
[33/381] Compiling x86_64-mont-linux.S
[34/381] Compiling vpaes-x86_64-linux.S
[35/381] Compiling x86-mont-apple.S
[36/381] Compiling x86-mont-linux.S
[37/381] Compiling vpaes-x86_64-apple.S
[38/381] Compiling vpaes-x86-linux.S
[39/381] Compiling vpaes-x86-apple.S
[40/381] Compiling vpaes-armv8-win.S
[41/381] Compiling vpaes-armv8-linux.S
[42/381] Compiling vpaes-armv8-apple.S
[43/381] Compiling vpaes-armv7-linux.S
[44/381] Compiling sha512-x86_64-linux.S
[45/381] Compiling sha512-armv8-win.S
[46/381] Compiling sha512-x86_64-apple.S
[47/381] Compiling sha512-armv8-linux.S
[48/381] Compiling sha512-armv8-apple.S
[49/381] Compiling sha512-armv4-linux.S
[50/381] Compiling sha512-586-linux.S
[51/381] Compiling sha256-x86_64-linux.S
[52/381] Compiling sha512-586-apple.S
[53/381] Compiling sha256-armv8-linux.S
[54/381] Compiling a_bool.cc
[54/381] Compiling sha256-armv8-win.S
[56/381] Compiling err_data.cc
[57/381] Compiling sha256-armv8-apple.S
[58/381] Compiling sha256-x86_64-apple.S
[59/381] Compiling sha256-586-linux.S
[60/381] Compiling sha256-armv4-linux.S
[61/381] Compiling sha1-x86_64-linux.S
[62/381] Compiling sha1-armv8-win.S
[63/381] Compiling sha256-586-apple.S
[64/381] Compiling sha1-x86_64-apple.S
[65/381] Compiling sha1-armv8-linux.S
[66/381] Compiling sha1-armv8-apple.S
[67/381] Compiling sha1-armv4-large-linux.S
[68/381] Compiling rsaz-avx2-linux.S
[69/381] Compiling rdrand-x86_64-apple.S
[70/381] Compiling sha1-586-linux.S
[71/381] Compiling rsaz-avx2-apple.S
[72/381] Compiling sha1-586-apple.S
[73/381] Compiling rdrand-x86_64-linux.S
[74/381] Compiling p256_beeu-x86_64-asm-linux.S
[75/381] Compiling p256_beeu-x86_64-asm-apple.S
[76/381] Compiling p256_beeu-armv8-asm-win.S
[77/381] Compiling p256_beeu-armv8-asm-linux.S
[78/381] Compiling p256-x86_64-asm-linux.S
[79/381] Compiling p256_beeu-armv8-asm-apple.S
[80/381] Compiling p256-armv8-asm-win.S
[81/381] Compiling p256-x86_64-asm-apple.S
[82/381] Compiling p256-armv8-asm-linux.S
[83/381] Compiling p256-armv8-asm-apple.S
[84/381] Compiling ghashv8-armv7-linux.S
[85/381] Compiling ghashv8-armv8-win.S
[86/381] Compiling ghashv8-armv8-linux.S
[87/381] Compiling ghashv8-armv8-apple.S
[87/381] Compiling ghash-x86_64-linux.S
[89/381] Compiling ghash-x86_64-apple.S
[90/381] Compiling ghash-x86-linux.S
[91/381] Compiling ghash-ssse3-x86_64-linux.S
[92/381] Compiling ghash-ssse3-x86_64-apple.S
[93/381] Compiling ghash-x86-apple.S
[94/381] Compiling ghash-ssse3-x86-linux.S
[94/381] Compiling ghash-neon-armv8-win.S
[96/381] Compiling ghash-ssse3-x86-apple.S
[97/381] Compiling ghash-neon-armv8-linux.S
[98/381] Compiling co-586-linux.S
[99/381] Compiling ghash-armv4-linux.S
[100/381] Compiling co-586-apple.S
[101/381] Compiling bn-armv8-win.S
[102/381] Compiling ghash-neon-armv8-apple.S
[102/381] Compiling bsaes-armv7-linux.S
[104/381] Compiling bn-armv8-linux.S
[105/381] Compiling bn-armv8-apple.S
[106/381] Compiling bn-586-linux.S
[107/381] Compiling bn-586-apple.S
[108/381] Compiling armv8-mont-linux.S
[109/381] Compiling armv8-mont-win.S
[110/381] Compiling armv8-mont-apple.S
[111/381] Compiling armv4-mont-linux.S
[112/381] Compiling aesv8-gcm-armv8-linux.S
[113/381] Compiling aesv8-gcm-armv8-win.S
[114/381] Compiling aesv8-armv8-win.S
[115/381] Compiling aesv8-gcm-armv8-apple.S
[116/381] Compiling aesv8-armv8-linux.S
[117/381] Compiling aesv8-armv7-linux.S
[118/381] Compiling aesni-x86_64-linux.S
[119/381] Compiling aesv8-armv8-apple.S
[120/381] Compiling aesni-x86_64-apple.S
[121/381] Compiling aesni-gcm-x86_64-linux.S
[122/381] Compiling aesni-x86-linux.S
[123/381] Compiling aesni-x86-apple.S
[124/381] Compiling aes-gcm-avx512-x86_64-linux.S
[125/381] Compiling aes-gcm-avx2-x86_64-linux.S
[126/381] Compiling aesni-gcm-x86_64-apple.S
[127/381] Compiling aes-gcm-avx512-x86_64-apple.S
[128/381] Compiling aes-gcm-avx2-x86_64-apple.S
[129/381] Compiling xwing.cc
[130/381] Compiling x_req.cc
[131/381] Compiling x_val.cc
[132/381] Compiling x_x509.cc
[133/381] Compiling x_spki.cc
[134/381] Compiling x_x509a.cc
[135/381] Compiling x_sig.cc
[136/381] Compiling x_pubkey.cc
[137/381] Compiling x_exten.cc
[138/381] Compiling x_attrib.cc
[139/381] Compiling x_name.cc
[140/381] Compiling x_all.cc
[141/381] Compiling x_crl.cc
[142/381] Compiling x_algor.cc
[143/381] Compiling x509spki.cc
[144/381] Compiling x509rset.cc
[145/381] Compiling x509_vpm.cc
[146/381] Compiling x509cset.cc
[147/381] Compiling x509name.cc
[148/381] Compiling x509_v3.cc
[149/381] Compiling x509_vfy.cc
[151/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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[153/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 {
[154/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 {
[155/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 {
[155/381] Compiling x509_txt.cc
[156/381] Compiling x509_trs.cc
[157/381] Compiling x509_req.cc
[159/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 {
[160/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 {
[160/381] Compiling x509_def.cc
[160/381] Compiling x509_ext.cc
[160/381] Compiling x509_lu.cc
[160/381] Compiling x509_d2.cc
[160/381] Compiling x509_set.cc
[160/381] Compiling x509_obj.cc
[160/381] Compiling x509_cmp.cc
BUILD FAILURE 6.2 wasm