Build Information
Failed to build ChessboardKit, reference 1.0.2 (c203bf
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 06:33:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/rohanrhu/ChessboardKit.git
Reference: 1.0.2
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/rohanrhu/ChessboardKit
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at c203bf4 Update README.md
Cloned https://github.com/rohanrhu/ChessboardKit.git
Revision (git rev-parse @):
c203bf46ea16fb299d8978739a09e4c4f6ec4ed8
SUCCESS checkout https://github.com/rohanrhu/ChessboardKit.git at 1.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/rohanrhu/ChessboardKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/aperechnev/ChessKit
[1/1713] Fetching chesskit
Fetched https://github.com/aperechnev/ChessKit from cache (1.22s)
Computing version for https://github.com/aperechnev/ChessKit
Computed https://github.com/aperechnev/ChessKit at 1.3.7 (5.33s)
Creating working copy for https://github.com/aperechnev/ChessKit
Working copy of https://github.com/aperechnev/ChessKit resolved at 1.3.7
Building for debugging...
[0/15] Write sources
[0/15] Copying bB.png
[0/15] Copying wR.png
[0/15] Copying wQ.png
[0/15] Copying bN.png
[3/15] Copying bK.png
[6/15] Copying wP.png
[6/15] Copying wN.png
[6/15] Copying wK.png
[6/15] Copying wB.png
[6/15] Copying bR.png
[6/15] Copying bQ.png
[7/15] Copying bP.png
[7/15] Write sources
[14/15] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/38] Emitting module ChessKit
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[17/41] Compiling ChessKit PieceColor.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[18/41] Compiling ChessKit PieceKind.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[19/41] Compiling ChessKit Position.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[20/41] Compiling ChessKit Rules.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[21/41] Compiling ChessKit StandardRules.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[22/41] Compiling ChessKit SanSerialization.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[23/41] Compiling ChessKit PawnMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[24/41] Compiling ChessKit PieceMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[25/41] Compiling ChessKit QueenMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[26/41] Compiling ChessKit KnightMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[27/41] Compiling ChessKit LongRangeMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[28/41] Compiling ChessKit MovingTranslations.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[29/41] Compiling ChessKit Rays.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[30/41] Compiling ChessKit BishopMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[31/41] Compiling ChessKit KingMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[32/41] Compiling ChessKit Game.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[33/41] Compiling ChessKit Move.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[34/41] Compiling ChessKit Piece.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[35/41] Compiling ChessKit RangeMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[36/41] Compiling ChessKit RookMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[37/41] Compiling ChessKit ShortRangeMoving.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[38/41] Compiling ChessKit Bitboards.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[39/41] Compiling ChessKit Board.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[40/41] Compiling ChessKit Square.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
[41/41] Compiling ChessKit FenSerialization.swift
/host/spi-builder-workspace/.build/checkouts/ChessKit/Sources/ChessKit/Rays.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | class Rays {
BUILD FAILURE 6.2 wasm