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 SwiftAstro, reference main (9c69fa), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 06:51:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ncke/SwiftAstro.git
Reference: main
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/ncke/SwiftAstro
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9c69fa8 Improve handling of greek letters in star names
Cloned https://github.com/ncke/SwiftAstro.git
Revision (git rev-parse @):
9c69fa8cef2d820bb46e4fa83a6487734b973f3a
SUCCESS checkout https://github.com/ncke/SwiftAstro.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ncke/SwiftAstro.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/13] Copying IAU-CSN-2022-04-04.txt
[0/13] Copying VSOP87B.ear
[0/13] Copying VSOP87B.nep
[0/13] Copying VSOP87B.jup
[0/13] Copying VSOP87B.ura
[0/13] Copying VSOP87B.sat
[0/13] Copying VSOP87B.mar
[0/13] Write sources
[8/13] Copying VSOP87B.ven
[9/13] Copying VSOP87B.mer
[10/13] Copying yale-bright-star-notes.txt
[11/13] Copying yale-bright-star-catalog.txt
[12/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/41] Emitting module SwiftAstro
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[15/44] Compiling SwiftAstro String+Helpers.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[16/44] Compiling SwiftAstro Utility+NumberFormatting.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[17/44] Compiling SwiftAstro Utility+ResourceLoading.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[18/44] Compiling SwiftAstro Angle.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[19/44] Compiling SwiftAstro Distance.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[20/44] Compiling SwiftAstro Greek.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[21/44] Compiling SwiftAstro SphericalPosition.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[22/44] Compiling SwiftAstro Positionable+Geocentric.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[23/44] Compiling SwiftAstro Positionable.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[24/44] Compiling SwiftAstro Star.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[25/44] Compiling SwiftAstro Sun.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[26/44] Compiling SwiftAstro BrightStar+Nameable.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[27/44] Compiling SwiftAstro BrightStar+Star.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[28/44] Compiling SwiftAstro BrightStar.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[29/44] Compiling SwiftAstro BrightStarCatalog.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[30/44] Compiling SwiftAstro Time+Ecliptic.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[31/44] Compiling SwiftAstro Time+Nutation.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[32/44] Compiling SwiftAstro Time.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[33/44] Compiling SwiftAstro Double+Helpers.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[34/44] Compiling SwiftAstro Utility.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[35/44] Compiling SwiftAstro VSOP87.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[36/44] Compiling SwiftAstro resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[37/44] Compiling SwiftAstro StarName.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[38/44] Compiling SwiftAstro StarNamesCatalog.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[39/44] Compiling SwiftAstro SwiftAstro.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[40/44] Compiling SwiftAstro Angle+CoordinateSystems.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[41/44] Compiling SwiftAstro AstronomicallyNameable.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[42/44] Compiling SwiftAstro Moon.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[43/44] Compiling SwiftAstro Planet.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
[44/44] Compiling SwiftAstro Pluto.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Entities/AstronomicallyNameable.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | extension SwiftAstro {
BUILD FAILURE 6.2 wasm