The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ChessKit, reference 1.3.7 (220b4b), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 03:27:52 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/aperechnev/ChessKit.git
Reference: 1.3.7
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
 * tag               1.3.7      -> FETCH_HEAD
HEAD is now at 220b4b0 Merge branch 'release/1.3.7'
Cloned https://github.com/aperechnev/ChessKit.git
Revision (git rev-parse @):
220b4b0a9561abd2bd904446d8429a3ca239c0ef
SUCCESS checkout https://github.com/aperechnev/ChessKit.git at 1.3.7
========================================
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-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/25] 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 {
[4/25] 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 {
[5/25] 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 {
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[11/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/28] 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 {
[13/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 {
[14/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 {
[15/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 {
[16/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 {
[17/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 {
[18/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 {
[19/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 {
[20/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 {
[21/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 {
[22/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 {
[23/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 {
[24/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 {
[25/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 {
[26/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 {
[27/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 {
[28/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 {
BUILD FAILURE 6.2 wasm