The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CXXGeographicLib, reference main (eb662d), with Swift 6.1 for Wasm on 11 Jul 2026 14:00:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/CXXGeographicLib.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/sbooth/CXXGeographicLib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at eb662d9 Bump actions/checkout from 6 to 7 (#6)
Cloned https://github.com/sbooth/CXXGeographicLib.git
Revision (git rev-parse @):
eb662d987ec24afaccca39f13297898da80c1ba7
SUCCESS checkout https://github.com/sbooth/CXXGeographicLib.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sbooth/CXXGeographicLib.git
https://github.com/sbooth/CXXGeographicLib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/42] Compiling CXXGeographicLib AuxAngle.cpp
[1/42] Compiling CXXGeographicLib DAuxLatitude.cpp
[2/42] Compiling CXXGeographicLib AlbersEqualArea.cpp
[3/42] Compiling CXXGeographicLib AuxLatitude.cpp
[4/42] Compiling CXXGeographicLib AzimuthalEquidistant.cpp
[5/42] Compiling CXXGeographicLib CassiniSoldner.cpp
[6/42] Compiling CXXGeographicLib CircularEngine.cpp
[7/42] Compiling CXXGeographicLib DMS.cpp
[8/42] Compiling CXXGeographicLib TransverseMercatorExact.cpp
[9/42] Compiling CXXGeographicLib Utility.cpp
[10/42] Compiling CXXGeographicLib TransverseMercator.cpp
[11/42] Compiling CXXGeographicLib PolarStereographic.cpp
[12/42] Compiling CXXGeographicLib UTMUPS.cpp
[13/42] Compiling CXXGeographicLib Rhumb.cpp
[14/42] Compiling CXXGeographicLib PolygonArea.cpp
[15/42] Compiling CXXGeographicLib SphericalEngine.cpp
[16/42] Compiling CXXGeographicLib OSGB.cpp
[17/42] Compiling CXXGeographicLib Math.cpp
[18/42] Compiling CXXGeographicLib NormalGravity.cpp
[19/42] Compiling CXXGeographicLib LocalCartesian.cpp
[20/42] Compiling CXXGeographicLib LambertConformalConic.cpp
[21/42] Compiling CXXGeographicLib MagneticCircle.cpp
/host/spi-builder-workspace/Sources/CXXGeographicLib/MagneticModel.cpp:70:16: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
   70 |       ifstream coeffstr(coeff.c_str(), ios::binary);
      |                ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/MagneticModel.cpp:101:14: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  101 |     ifstream metastr(_filename.c_str());
      |              ^
/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;
      |                            ^
2 errors generated.
[22/42] Compiling CXXGeographicLib MagneticModel.cpp
[22/42] Compiling CXXGeographicLib Georef.cpp
[22/42] Compiling CXXGeographicLib GravityCircle.cpp
[22/42] Compiling CXXGeographicLib Gnomonic.cpp
[22/42] Compiling CXXGeographicLib Geoid.cpp
[22/42] Compiling CXXGeographicLib Intersect.cpp
[22/42] Compiling CXXGeographicLib GravityModel.cpp
[22/42] Compiling CXXGeographicLib MGRS.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/20] Compiling CXXGeographicLib Gnomonic.cpp
[1/20] Compiling CXXGeographicLib Georef.cpp
[2/20] Compiling CXXGeographicLib MGRS.cpp
/host/spi-builder-workspace/Sources/CXXGeographicLib/GravityModel.cpp:63:16: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
   63 |       ifstream coeffstr(coeff.c_str(), ios::binary);
      |                ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/GravityModel.cpp:137:14: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  137 |     ifstream metastr(_filename.c_str());
      |              ^
/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;
      |                            ^
2 errors generated.
[3/20] Compiling CXXGeographicLib GravityModel.cpp
[3/20] Compiling CXXGeographicLib GeodesicLine.cpp
In file included from /host/spi-builder-workspace/Sources/CXXGeographicLib/Geoid.cpp:10:
/host/spi-builder-workspace/Sources/CXXGeographicLib/include/GeographicLib/Geoid.hpp:106:27: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  106 |     mutable std::ifstream _file;
      |                           ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/Geoid.cpp:298:22: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  298 |     _file.exceptions(ifstream::eofbit | ifstream::failbit | ifstream::badbit);
      |                      ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/Geoid.cpp:298:41: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  298 |     _file.exceptions(ifstream::eofbit | ifstream::failbit | ifstream::badbit);
      |                                         ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/Geoid.cpp:298:61: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  298 |     _file.exceptions(ifstream::eofbit | ifstream::failbit | ifstream::badbit);
      |                                                             ^
/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;
      |                            ^
4 errors generated.
[3/20] Compiling CXXGeographicLib Geoid.cpp
[3/20] Compiling CXXGeographicLib GeodesicLineExact.cpp
[3/20] Compiling CXXGeographicLib Geohash.cpp
[3/20] Compiling CXXGeographicLib GravityCircle.cpp
[3/20] Compiling CXXGeographicLib Intersect.cpp
/host/spi-builder-workspace/Sources/CXXGeographicLib/MagneticModel.cpp:70:16: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
   70 |       ifstream coeffstr(coeff.c_str(), ios::binary);
      |                ^
/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;
      |                            ^
/host/spi-builder-workspace/Sources/CXXGeographicLib/MagneticModel.cpp:101:14: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
  101 |     ifstream metastr(_filename.c_str());
      |              ^
/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;
      |                            ^
[3/20] Compiling CXXGeographicLib MagneticModel.cpp
BUILD FAILURE 6.1 wasm