Build Information
Failed to build TOML, reference main (827506), with Swift 6.1 for Wasm on 1 Feb 2026 13:23:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mattt/swift-toml.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/mattt/swift-toml
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 827506c Bump version to 2.0.0
Cloned https://github.com/mattt/swift-toml.git
Revision (git rev-parse @):
827506c90475e82d5a7f191f950fb3025cbdc0d6
SUCCESS checkout https://github.com/mattt/swift-toml.git at main
========================================
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
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "TOML",
"name" : "TOML",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "TOML",
"targets" : [
"TOML"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TOMLTests",
"module_type" : "SwiftTarget",
"name" : "TOMLTests",
"path" : "Tests/TOMLTests",
"sources" : [
"CodingKeyTests.swift",
"DecoderTests.swift",
"EncoderTests.swift",
"LocalDateTimeTests.swift",
"RoundTripTests.swift"
],
"target_dependencies" : [
"TOML"
],
"type" : "test"
},
{
"c99name" : "TOML",
"module_type" : "SwiftTarget",
"name" : "TOML",
"path" : "Sources/TOML",
"product_memberships" : [
"TOML"
],
"sources" : [
"Decoder.swift",
"Encoder.swift",
"LocalDateTime.swift",
"Shared.swift",
"Value.swift"
],
"target_dependencies" : [
"CTomlPlusPlus"
],
"type" : "library"
},
{
"c99name" : "CTomlPlusPlus",
"module_type" : "ClangTarget",
"name" : "CTomlPlusPlus",
"path" : "Sources/CTomlPlusPlus",
"product_memberships" : [
"TOML"
],
"sources" : [
"ctoml.cpp"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/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:16362:17: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16362 | 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:16368:33: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16368:53: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16368:77: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16377:22: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16377 | 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;
| ^
5 errors generated.
[2/3] Compiling CTomlPlusPlus ctoml.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/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:16362:17: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16362 | 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:16368:33: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16368:53: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16368:77: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16368 | file.open(file_path_str, std::ifstream::in | std::ifstream::binary | std::ifstream::ate);
| ^
/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:16377:22: error: implicit instantiation of undefined template 'std::basic_ifstream<char>'
16377 | 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;
| ^
5 errors generated.
[1/2] Compiling CTomlPlusPlus ctoml.cpp
BUILD FAILURE 6.1 wasm