Build Information
Failed to build SGPKit, reference main (767a6e), with Swift 6.1 for Wasm on 13 Oct 2026 11:31:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/csanfilippo/swift-sgp4.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/csanfilippo/swift-sgp4
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 767a6e6 release 4.2.0
Cloned https://github.com/csanfilippo/swift-sgp4.git
Revision (git rev-parse @):
767a6e6e164497b3629f336bc3a674cb38849531
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/csanfilippo/swift-sgp4.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/csanfilippo/swift-sgp4.git
https://github.com/csanfilippo/swift-sgp4.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-numerics
[1/2345] Fetching swift-docc-plugin
[236/9088] Fetching swift-docc-plugin, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.53s)
Fetched https://github.com/apple/swift-numerics from cache (0.56s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.79s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.91s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3837] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/22] Compiling SGPKitCPP CoordTopocentric.cpp
[3/22] Compiling SGPKitCPP DateTime.cpp
[3/22] Compiling SGPKitCPP CoordGeodetic.cpp
[3/22] Compiling SGPKitCPP OrbitalElements.cpp
[3/22] Compiling SGPKitCPP DecayedException.cpp
[7/22] Compiling SGP4LibWrapper SGP4LibWrapper.cpp
/host/spi-builder-workspace/Sources/sgp4Lib/CsvTleLoader.cpp:28:19: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
28 | std::ifstream file(filename);
| ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__fwd/fstream.h:24:28: note: template is declared here
24 | class _LIBCPP_TEMPLATE_VIS basic_ifstream;
| ^
1 error generated.
[8/22] Compiling SGPKitCPP CsvTleLoader.cpp
[8/22] Compiling SGPKitCPP SGP4.cpp
[8/22] Compiling SGPKitCPP TleException.cpp
[8/22] Compiling SGPKitCPP Util.cpp
[8/22] Compiling SGPKitCPP TimeSpan.cpp
[8/22] Compiling SGPKitCPP Tle.cpp
[8/22] Compiling SGPKitCPP Vector.cpp
[8/22] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:005e294ea72e7f7733559677ac003354f37dc6afb35c5bbab6bc9a95fc174f44
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/16] Write sources
[3/16] Compiling SGPKitCPP TleException.cpp
[4/16] Compiling SGPKitCPP SatelliteException.cpp
[5/16] Compiling SGPKitCPP Vector.cpp
[6/16] Compiling SGPKitCPP Globals.cpp
[7/16] Compiling SGPKitCPP TimeSpan.cpp
[8/16] Write swift-version-24593BA9C3E375BF.txt
[9/16] Compiling SGPKitCPP Util.cpp
[10/16] Compiling SGPKitCPP SolarPosition.cpp
[11/23] Compiling SGPKitCPP Tle.cpp
[12/23] Compiling SGPKitCPP Eci.cpp
[13/23] Compiling SGPKitCPP Observer.cpp
[14/23] Compiling SGPKitCPP SGP4.cpp
/host/spi-builder-workspace/Sources/sgp4Lib/CsvTleLoader.cpp:28:19: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
28 | std::ifstream file(filename);
| ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/c++/v1/__fwd/fstream.h:24:28: note: template is declared here
24 | class _LIBCPP_TEMPLATE_VIS basic_ifstream;
| ^
1 error generated.
[15/23] Compiling SGPKitCPP CsvTleLoader.cpp
BUILD FAILURE 6.1 wasm