Build Information
Failed to build BetterXC, reference 0.9.3 (3a87c1
), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 09:33:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/monstar-lab/betterxc.git
Reference: 0.9.3
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/monstar-lab/betterxc
* tag 0.9.3 -> FETCH_HEAD
HEAD is now at 3a87c18 Merge branch 'release/0.9.3'
Cloned https://github.com/monstar-lab/betterxc.git
Revision (git rev-parse @):
3a87c187cdc9a6e5b16ade2d71518bc6175b2720
SUCCESS checkout https://github.com/monstar-lab/betterxc.git at 0.9.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/monstar-lab/betterxc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/xcodeswift/xcproj.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/kareman/Moderator.git
[1/4863] Fetching swiftshell
[1266/5521] Fetching swiftshell, moderator
[1882/6717] Fetching swiftshell, moderator, rainbow
[2496/30050] Fetching swiftshell, moderator, rainbow, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (0.46s)
[11845/28854] Fetching swiftshell, moderator, xcproj
Fetched https://github.com/kareman/SwiftShell.git from cache (1.09s)
Fetched https://github.com/kareman/Moderator.git from cache (1.12s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.55s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (2.19s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
[1/980] Fetching shellout
[227/3107] Fetching shellout, aexml
[1547/4518] Fetching shellout, aexml, pathkit
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.33s)
Fetched https://github.com/tadija/AEXML.git from cache (1.33s)
Fetched https://github.com/kylef/PathKit.git from cache (1.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.07s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.68s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.45s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.82s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.55s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.42s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/51] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/51] Emitting module SwiftShell
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[11/52] Compiling SwiftShell String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[12/52] Compiling SwiftShell Process.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[13/52] Compiling AEXML Options.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/52] 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? {
[15/52] Compiling SwiftShell Bash.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? {
[16/52] Compiling SwiftShell Command.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? {
[17/52] Compiling SwiftShell Context.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? {
[18/52] Compiling SwiftShell FileHandle.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? {
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[21/53] Compiling PathKit PathKit.swift
/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
[22/53] Compiling Rainbow Rainbow.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)
[23/53] Emitting module AEXML
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
[24/53] Compiling Moderator SwiftCompat.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public final class Moderator {
[25/53] Compiling Moderator Parsers.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public final class Moderator {
[26/53] Compiling AEXML Builders.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
[27/53] Compiling AEXML Parser.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
[28/53] Compiling SwiftShell Lazy-split.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[29/53] Compiling SwiftShell Stream.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[30/53] Compiling Rainbow String+Rainbow.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? {
[31/53] 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? {
[32/53] 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? {
[33/53] Compiling Rainbow ModesExtractor.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? {
[34/53] Compiling Rainbow OutputTarget.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? {
[35/53] 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? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/53] Emitting module Moderator
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public final class Moderator {
[37/53] Compiling Moderator Moderator.swift
/host/spi-builder-workspace/.build/checkouts/Moderator/Sources/Moderator.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | public final class Moderator {
[38/53] Compiling SwiftShell Files.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[39/53] Compiling SwiftShell Array.swift
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
/host/spi-builder-workspace/.build/checkouts/SwiftShell/Sources/SwiftShell/Bash.swift:10:8: error: no such module 'Foundation'
8 | #if !(os(iOS) || os(tvOS) || os(watchOS))
9 |
10 | import Foundation
| `- error: no such module 'Foundation'
11 |
12 | // MARK: Bash
[42/53] Compiling AEXML Element.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
[43/53] Compiling AEXML Document.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
[44/53] Compiling AEXML Error.swift
/host/spi-builder-workspace/.build/checkouts/AEXML/Sources/AEXML/Document.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | #if canImport(FoundationXML)
9 | import FoundationXML
BUILD FAILURE 6.2 wasm