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 FengNiao, reference 0.10.0 (55bc00), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 23:25:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/onevcat/fengniao.git
Reference: 0.10.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/onevcat/fengniao
 * tag               0.10.0     -> FETCH_HEAD
HEAD is now at 55bc009 Bump version number
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
55bc009d2675077b57dd89c1b382d5d38faba6c1
SUCCESS checkout https://github.com/onevcat/fengniao.git at 0.10.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/onevcat/fengniao.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/benoit-pereira-da-silva/CommandLine.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1411] Fetching pathkit
[30/2094] Fetching pathkit, commandline
[1195/3115] Fetching pathkit, commandline, spectre
[1258/4311] Fetching pathkit, commandline, spectre, rainbow
Fetched https://github.com/benoit-pereira-da-silva/CommandLine.git from cache (0.42s)
Fetched https://github.com/kylef/Spectre.git from cache (0.42s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.42s)
Fetched https://github.com/kylef/PathKit.git from cache (0.42s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.23s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.57s)
Computing version for https://github.com/benoit-pereira-da-silva/CommandLine.git
Computed https://github.com/benoit-pereira-da-silva/CommandLine.git at 4.0.9 (0.68s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/benoit-pereira-da-silva/CommandLine.git
Working copy of https://github.com/benoit-pereira-da-silva/CommandLine.git resolved at 4.0.9
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version-24593BA9C3E375BF.txt
[7/30] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[8/30] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[9/31] Compiling CommandLineKit StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/CommandLine.swift:18:8: error: no such module 'Foundation'
 16 |  */
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | let shortOptionPrefix = "-"
[10/31] Compiling CommandLineKit Option.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/CommandLine.swift:18:8: error: no such module 'Foundation'
 16 |  */
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | let shortOptionPrefix = "-"
[11/31] Compiling Rainbow XcodeColorsSupport.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[12/31] Compiling CommandLineKit CommandLine.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/CommandLine.swift:18:8: error: no such module 'Foundation'
 16 |  */
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | let shortOptionPrefix = "-"
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/31] Emitting module CommandLineKit
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/CommandLine.swift:18:8: error: no such module 'Foundation'
 16 |  */
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | let shortOptionPrefix = "-"
[14/31] Compiling Rainbow BackgroundColor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[15/31] Compiling Rainbow CodesParser.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/31] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | //  THE SOFTWARE.
26 |
27 | import Foundation
   |        `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/31] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
BUILD FAILURE 6.2 wasm