Build Information
Successful build of takeoffmetric-swift, reference main (a2be1c), with Swift 6.1 for Wasm on 30 Oct 2026 15:06:15 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tresor4k/takeoffmetric-swift.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/tresor4k/takeoffmetric-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a2be1c9 takeoffmetric-swift: port of takeoffmetric-go, dataset 1.2.0 (148 records, 55 withheld)
Cloned https://github.com/tresor4k/takeoffmetric-swift.git
Revision (git rev-parse @):
a2be1c92008c1830cbf68cb8d304e62feb03aff3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/tresor4k/takeoffmetric-swift.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tresor4k/takeoffmetric-swift.git
https://github.com/tresor4k/takeoffmetric-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/5] Compiling TakeoffMetric ConstantsCSV.swift
[4/5] Compiling TakeoffMetric TakeoffMetric.swift
/host/spi-builder-workspace/Sources/TakeoffMetric/TakeoffMetric.swift:120:13: warning: let 'table' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // MARK: - Loading
113 |
114 | private struct Table {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
115 | let constants: [Constant]
116 | let index: [String: Int]
:
118 |
119 | /// Parsed once, on first use (Swift initialises globals lazily and thread-safely).
120 | private let table: Table = {
| |- warning: let 'table' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | do {
122 | return try load()
[5/5] Emitting module TakeoffMetric
/host/spi-builder-workspace/Sources/TakeoffMetric/TakeoffMetric.swift:120:13: warning: let 'table' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
112 | // MARK: - Loading
113 |
114 | private struct Table {
| `- note: consider making struct 'Table' conform to the 'Sendable' protocol
115 | let constants: [Constant]
116 | let index: [String: Int]
:
118 |
119 | /// Parsed once, on first use (Swift initialises globals lazily and thread-safely).
120 | private let table: Table = {
| |- warning: let 'table' is not concurrency-safe because non-'Sendable' type 'Table' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'table' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 | do {
122 | return try load()
Build complete! (2.82s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "takeoffmetric-swift",
"name" : "takeoffmetric-swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TakeoffMetric",
"targets" : [
"TakeoffMetric"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TakeoffMetricTests",
"module_type" : "SwiftTarget",
"name" : "TakeoffMetricTests",
"path" : "Tests/TakeoffMetricTests",
"sources" : [
"TakeoffMetricTests.swift"
],
"target_dependencies" : [
"TakeoffMetric"
],
"type" : "test"
},
{
"c99name" : "TakeoffMetric",
"module_type" : "SwiftTarget",
"name" : "TakeoffMetric",
"path" : "Sources/TakeoffMetric",
"product_memberships" : [
"TakeoffMetric"
],
"sources" : [
"ConstantsCSV.swift",
"TakeoffMetric.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Done.