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 Fortify, reference main (999f26), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 11:38:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/johnno1962/Fortify.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/johnno1962/Fortify
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 999f264 Remove #filePath
Cloned https://github.com/johnno1962/Fortify.git
Revision (git rev-parse @):
999f2644ed80ecd67db3344c79bfe9f329f03ad5
SUCCESS checkout https://github.com/johnno1962/Fortify.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/johnno1962/Fortify.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/johnno1962/Popen.git
Fetching https://github.com/johnno1962/DLKit
Fetching https://github.com/johnno1962/StringIndex
[1/141] Fetching popen
[142/295] Fetching popen, stringindex
[260/694] Fetching popen, stringindex, dlkit
Fetching https://github.com/johnno1962/SwiftRegex5.git
Fetched https://github.com/johnno1962/StringIndex from cache (0.40s)
Fetched https://github.com/johnno1962/DLKit from cache (0.40s)
Fetched https://github.com/johnno1962/Popen.git from cache (0.40s)
[1/209] Fetching swiftregex5
Fetched https://github.com/johnno1962/SwiftRegex5.git from cache (0.29s)
Computing version for https://github.com/johnno1962/SwiftRegex5.git
Computed https://github.com/johnno1962/SwiftRegex5.git at 6.1.3 (1.33s)
Computing version for https://github.com/johnno1962/StringIndex
Computed https://github.com/johnno1962/StringIndex at 2.2.4 (0.72s)
Computing version for https://github.com/johnno1962/Popen.git
Computed https://github.com/johnno1962/Popen.git at 2.1.8 (0.47s)
Computing version for https://github.com/johnno1962/DLKit
Computed https://github.com/johnno1962/DLKit at 3.4.8 (0.49s)
Fetching https://github.com/johnno1962/fishhook
[1/169] Fetching fishhook
Fetched https://github.com/johnno1962/fishhook from cache (0.25s)
Computing version for https://github.com/johnno1962/fishhook
Computed https://github.com/johnno1962/fishhook at 1.2.1 (0.70s)
Creating working copy for https://github.com/johnno1962/DLKit
Working copy of https://github.com/johnno1962/DLKit resolved at 3.4.8
Creating working copy for https://github.com/johnno1962/StringIndex
Working copy of https://github.com/johnno1962/StringIndex resolved at 2.2.4
Creating working copy for https://github.com/johnno1962/SwiftRegex5.git
Working copy of https://github.com/johnno1962/SwiftRegex5.git resolved at 6.1.3
Creating working copy for https://github.com/johnno1962/fishhook
Working copy of https://github.com/johnno1962/fishhook resolved at 1.2.1
Creating working copy for https://github.com/johnno1962/Popen.git
Working copy of https://github.com/johnno1962/Popen.git resolved at 2.1.8
Building for debugging...
[0/10] Write sources
[5/10] Compiling DLKitC trie_dlops.mm
[6/10] Compiling DLKitC trie_dladdr.mm
[7/10] Compiling DLKitC DLKitC.c
[8/10] Compiling fishhook fishhook.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/30] Emitting module StringIndex
/host/spi-builder-workspace/.build/checkouts/StringIndex/Sources/StringIndex/OffsetIndex.swift:14:8: error: no such module 'Foundation'
 12 | //
 13 |
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | extension String {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/30] Emitting module SwiftRegex
/host/spi-builder-workspace/.build/checkouts/SwiftRegex5/Sources/SwiftRegex/TupleRegex.swift:14:8: error: no such module 'Foundation'
 12 |
 13 | #if DEBUG || !DEBUG_ONLY
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | /// Regex literal can be suffixed
[13/30] Compiling SwiftRegex TupleRegex.swift
/host/spi-builder-workspace/.build/checkouts/SwiftRegex5/Sources/SwiftRegex/TupleRegex.swift:14:8: error: no such module 'Foundation'
 12 |
 13 | #if DEBUG || !DEBUG_ONLY
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | /// Regex literal can be suffixed
[14/30] Compiling StringIndex Subscripts.swift
/host/spi-builder-workspace/.build/checkouts/StringIndex/Sources/StringIndex/OffsetIndex.swift:14:8: error: no such module 'Foundation'
 12 | //
 13 |
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | extension String {
[15/30] Compiling StringIndex OffsetIndex.swift
/host/spi-builder-workspace/.build/checkouts/StringIndex/Sources/StringIndex/OffsetIndex.swift:14:8: error: no such module 'Foundation'
 12 | //
 13 |
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | extension String {
/host/spi-builder-workspace/.build/checkouts/Popen/Sources/Popen/Fopen.swift:14:8: error: no such module 'Foundation'
 12 |
 13 | #if DEBUG || !DEBUG_ONLY
 14 | import Foundation
    |        `- error: no such module 'Foundation'
 15 |
 16 | open class Fopen: FILEStream, Sequence, IteratorProtocol {
BUILD FAILURE 6.2 wasm