Build Information
Failed to build swift-chess-neo, reference 2.0.0 (36df37), with Swift 6.2 for Wasm on 15 Sep 2025 23:12:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/navanchauhan/swift-chess-neo.git
Reference: 2.0.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/navanchauhan/swift-chess-neo
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 36df371 Split engine into core and UI targets
Cloned https://github.com/navanchauhan/swift-chess-neo.git
Revision (git rev-parse @):
36df371bed9b9f190a1a19e3a4845a826f63d173
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/navanchauhan/swift-chess-neo.git at 2.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/navanchauhan/swift-chess-neo.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/20] Emitting module SwiftChessCore
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[5/22] Compiling SwiftChessCore Player.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[6/22] Compiling SwiftChessCore Rank.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[7/22] Compiling SwiftChessCore Sequence+Sage.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[8/22] Compiling SwiftChessCore Square.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[9/22] Compiling SwiftChessCore Bitboard.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[10/22] Compiling SwiftChessCore Board.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[11/22] Compiling SwiftChessCore CastlingRights.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[12/22] Compiling SwiftChessCore Move.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[13/22] Compiling SwiftChessCore PGN.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[14/22] Compiling SwiftChessCore PGNMove.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[15/22] Compiling SwiftChessCore Piece.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[16/22] Compiling SwiftChessCore Tables.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[17/22] Compiling SwiftChessCore Variant.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[18/22] Compiling SwiftChessCore InternalTypes.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[19/22] Compiling SwiftChessCore Minimax.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[20/22] Compiling SwiftChessCore Color.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[21/22] Compiling SwiftChessCore File.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
[22/22] Compiling SwiftChessCore Game.swift
/host/spi-builder-workspace/Sources/SwiftChessCore/PGN.swift:26:8: error: no such module 'Foundation'
24 | /// [PGN Specification](https://www.chessclub.com/user/help/PGN-spec)
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | public struct PGN: Equatable {
BUILD FAILURE 6.2 wasm