Build Information
Failed to build TOML, reference 2.3.1 (106f2a), with Swift 6.1 for Wasm on 26 Nov 2026 09:05:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/swift-toml.git
Reference: 2.3.1
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/mattt/swift-toml
* tag 2.3.1 -> FETCH_HEAD
HEAD is now at 106f2af Truncate offset date-times to milliseconds when encoding (#15)
Cloned https://github.com/mattt/swift-toml.git
Revision (git rev-parse @):
106f2af6c9a1d045c3109afdcbda7a860e8697a1
SUCCESS checkout https://github.com/mattt/swift-toml.git at 2.3.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/mattt/swift-toml.git
https://github.com/mattt/swift-toml.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17518:17: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17518 | 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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17522:33: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17522 | file.open(file_path_str, std::ifstream::in | std::ifstream::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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17522:53: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17522 | file.open(file_path_str, std::ifstream::in | std::ifstream::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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17529:45: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17529 | const auto file_size = file.seekg(0, std::ifstream::end).tellg();
| ^
/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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17535:22: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17535 | file.seekg(0, std::ifstream::beg);
| ^
/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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17550:27: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17550 | if (file.peek() == std::ifstream::traits_type::eof())
| ^
/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;
| ^
6 errors generated.
[2/3] Compiling CTomlPlusPlus ctoml.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:2b61812954062fe290d65f4aab0d63c7eac39321d28a5f7663250a895195bb8e
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/2] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17518:17: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17518 | 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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17522:33: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17522 | file.open(file_path_str, std::ifstream::in | std::ifstream::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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17522:53: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17522 | file.open(file_path_str, std::ifstream::in | std::ifstream::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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17529:45: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17529 | const auto file_size = file.seekg(0, std::ifstream::end).tellg();
| ^
/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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17535:22: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17535 | file.seekg(0, std::ifstream::beg);
| ^
/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;
| ^
In file included from /host/spi-builder-workspace/Sources/CTomlPlusPlus/ctoml.cpp:5:
/host/spi-builder-workspace/Sources/CTomlPlusPlus/toml.hpp:17550:27: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
17550 | if (file.peek() == std::ifstream::traits_type::eof())
| ^
/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;
| ^
6 errors generated.
[1/2] Compiling CTomlPlusPlus ctoml.cpp
BUILD FAILURE 6.1 wasm