Build Information
Failed to build ChessKit, reference develop (dd3538
), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 03:28:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/aperechnev/ChessKit.git
Reference: develop
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/aperechnev/ChessKit
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at dd35385 Update .gitignore
Cloned https://github.com/aperechnev/ChessKit.git
Revision (git rev-parse @):
dd353859fb993145932316401589f15518741eeb
SUCCESS checkout https://github.com/aperechnev/ChessKit.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/aperechnev/ChessKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/25] Emitting module ChessKit
/host/spi-builder-workspace/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 {
[4/28] Compiling ChessKit Game.swift
/host/spi-builder-workspace/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 {
[5/28] Compiling ChessKit Move.swift
/host/spi-builder-workspace/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 {
[6/28] Compiling ChessKit Piece.swift
/host/spi-builder-workspace/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 {
[7/28] Compiling ChessKit Rules.swift
/host/spi-builder-workspace/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 {
[8/28] Compiling ChessKit StandardRules.swift
/host/spi-builder-workspace/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 {
[9/28] Compiling ChessKit SanSerialization.swift
/host/spi-builder-workspace/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 {
[10/28] Compiling ChessKit Bitboards.swift
/host/spi-builder-workspace/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 {
[11/28] Compiling ChessKit Board.swift
/host/spi-builder-workspace/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 {
[12/28] Compiling ChessKit Square.swift
/host/spi-builder-workspace/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 {
[13/28] Compiling ChessKit FenSerialization.swift
/host/spi-builder-workspace/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 {
[14/28] Compiling ChessKit RangeMoving.swift
/host/spi-builder-workspace/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 {
[15/28] Compiling ChessKit RookMoving.swift
/host/spi-builder-workspace/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 {
[16/28] Compiling ChessKit ShortRangeMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit PieceColor.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit PieceKind.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit Position.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit PawnMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit PieceMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit QueenMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit Rays.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit BishopMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit KingMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit KnightMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit LongRangeMoving.swift
/host/spi-builder-workspace/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/28] Compiling ChessKit MovingTranslations.swift
/host/spi-builder-workspace/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