Build Information
Failed to build SwishAppStore, reference trunk (b7aa3d
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 08:41:21 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/danielsincere/SwishAppStore.git
Reference: trunk
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/danielsincere/SwishAppStore
* branch trunk -> FETCH_HEAD
* [new branch] trunk -> origin/trunk
HEAD is now at b7aa3d8 refactor
Cloned https://github.com/danielsincere/SwishAppStore.git
Revision (git rev-parse @):
b7aa3d8b29cc28f9ef5ea886d0e5fc94d9e30968
SUCCESS checkout https://github.com/danielsincere/SwishAppStore.git at trunk
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/danielsincere/SwishAppStore.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/FullQueueDeveloper/Sh.git
Fetching https://github.com/FullQueueDeveloper/ShXcrun.git
Fetching https://github.com/FullQueueDeveloper/ShGit.git
[1/859] Fetching sh
[860/926] Fetching sh, shgit
[927/1268] Fetching sh, shgit, shxcrun
Fetched https://github.com/FullQueueDeveloper/Sh.git from cache (0.27s)
Fetched https://github.com/FullQueueDeveloper/ShGit.git from cache (0.27s)
Fetched https://github.com/FullQueueDeveloper/ShXcrun.git from cache (0.27s)
Computing version for https://github.com/FullQueueDeveloper/Sh.git
Computed https://github.com/FullQueueDeveloper/Sh.git at 1.3.0 (1.22s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/5632] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.28s)
Fetched https://github.com/apple/swift-system from cache (0.36s)
Computing version for https://github.com/FullQueueDeveloper/ShGit.git
Computed https://github.com/FullQueueDeveloper/ShGit.git at 1.2.0 (0.74s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.15s)
Computing version for https://github.com/FullQueueDeveloper/ShXcrun.git
Computed https://github.com/FullQueueDeveloper/ShXcrun.git at 0.50.1 (0.60s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.57s)
Creating working copy for https://github.com/FullQueueDeveloper/ShXcrun.git
Working copy of https://github.com/FullQueueDeveloper/ShXcrun.git resolved at 0.50.1
Creating working copy for https://github.com/FullQueueDeveloper/ShGit.git
Working copy of https://github.com/FullQueueDeveloper/ShGit.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/FullQueueDeveloper/Sh.git
Working copy of https://github.com/FullQueueDeveloper/Sh.git resolved at 1.3.0
warning: 'shgit': Conflicting identity for sh: dependency 'github.com/danielsincere/sh' and dependency 'github.com/fullqueuedeveloper/sh' both point to the same package identity 'sh'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/fullqueuedeveloper/shgit->github.com/danielsincere/sh (B) /host/spi-builder-workspace->github.com/fullqueuedeveloper/sh. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'shxcrun': Conflicting identity for sh: dependency 'github.com/danielsincere/sh' and dependency 'github.com/fullqueuedeveloper/sh' both point to the same package identity 'sh'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/fullqueuedeveloper/shxcrun->github.com/danielsincere/sh (B) /host/spi-builder-workspace->github.com/fullqueuedeveloper/sh. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[0/8] Write sources
[6/8] Compiling CSystem shims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/47] Emitting module SystemPackage
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:197:57: error: cannot find type 'DIR' in scope
195 | internal typealias system_DIRPtr = OpaquePointer
196 | #else
197 | internal typealias system_DIRPtr = UnsafeMutablePointer<DIR>
| `- error: cannot find type 'DIR' in scope
198 | #endif
199 |
/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/Internals/Syscalls.swift:192:30: error: cannot find 'DT_DIR' in scope
190 | #if !os(Windows)
191 | internal let SYSTEM_AT_REMOVE_DIR = AT_REMOVEDIR
192 | internal let SYSTEM_DT_DIR = DT_DIR
| `- error: cannot find 'DT_DIR' in scope
193 | internal typealias system_dirent = dirent
194 | #if os(Linux) || os(Android) || os(FreeBSD) || os(OpenBSD)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/50] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[11/50] Compiling SystemPackage Errno.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[12/50] Compiling SystemPackage ErrnoWindows.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[13/50] Compiling SystemPackage FileDescriptor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[14/50] Compiling SystemPackage FileHelpers.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[15/51] Compiling SystemPackage MachPort.swift
[16/51] Compiling SystemPackage PlatformString.swift
[17/51] Compiling SystemPackage SystemString.swift
[18/51] Compiling Rainbow Style.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[19/51] Compiling SystemPackage Util+StringArray.swift
[20/51] Compiling SystemPackage Util.swift
[21/51] Compiling SystemPackage UtilConsumers.swift
[22/51] Compiling Rainbow StringGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[23/51] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[24/51] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[25/51] Compiling Rainbow String+Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[26/51] Compiling SystemPackage Backcompat.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[27/51] Compiling SystemPackage CInterop.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | public enum HexColorTarget {
[32/51] Compiling SystemPackage FileOperations.swift
[33/51] Compiling SystemPackage FilePath.swift
[34/51] Compiling SystemPackage FilePathComponentView.swift
[35/51] Compiling SystemPackage FilePathComponents.swift
[36/51] Compiling SystemPackage FilePathParsing.swift
[37/51] Compiling SystemPackage FilePathString.swift
[38/51] Compiling SystemPackage FilePathSyntax.swift
[39/51] Compiling SystemPackage FilePathTemp.swift
BUILD FAILURE 6.2 wasm