The Swift Package Index logo.Swift Package Index

Build Information

Failed to build tandha, reference main (535a71), with Swift 6.1 for Wasm on 4 Sep 2026 15:54:49 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iQbalADR/tandha.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/iQbalADR/tandha
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 535a710 Keep roadmap out of code comments
Cloned https://github.com/iQbalADR/tandha.git
Revision (git rev-parse @):
535a710530ba5019726f1b7306f5de0b09fc3e2d
SUCCESS checkout https://github.com/iQbalADR/tandha.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iQbalADR/tandha.git
https://github.com/iQbalADR/tandha.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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[1/1] Compiling plugin TandhaCodegenPlugin
Building for debugging...
[1/23] Write sources
[15/23] Write swift-version-24593BA9C3E375BF.txt
[17/33] Emitting module TandhaCore
/host/spi-builder-workspace/Sources/TandhaCore/AutomationRegistry.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Until configured, `identifier(forKey:)` returns the key unchanged, which
12 | /// matches the auto-derive default (key == identifier).
13 | public final class AutomationRegistry {
   |                    `- note: class 'AutomationRegistry' does not conform to the 'Sendable' protocol
14 |     public static let shared = AutomationRegistry()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private let lock = NSLock()
/host/spi-builder-workspace/Sources/TandhaCore/AutomationRegistry.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Until configured, `identifier(forKey:)` returns the key unchanged, which
12 | /// matches the auto-derive default (key == identifier).
13 | public final class AutomationRegistry {
   |                    `- note: class 'AutomationRegistry' does not conform to the 'Sendable' protocol
14 |     public static let shared = AutomationRegistry()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private let lock = NSLock()
[19/33] Compiling TandhaCore AutomationRegistry.swift
/host/spi-builder-workspace/Sources/TandhaCore/AutomationRegistry.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// Until configured, `identifier(forKey:)` returns the key unchanged, which
12 | /// matches the auto-derive default (key == identifier).
13 | public final class AutomationRegistry {
   |                    `- note: class 'AutomationRegistry' does not conform to the 'Sendable' protocol
14 |     public static let shared = AutomationRegistry()
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'AutomationRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private let lock = NSLock()
[20/33] Compiling TandhaCore AutomationIDError.swift
[21/33] Compiling TandhaCore AutomationIDEntry.swift
[22/33] Compiling TandhaCore AutomationModel.swift
[23/34] Wrapping AST for TandhaCore for debugging
[25/56] Compiling TandhaUIKit UIView+AutomationID.swift
[26/56] Compiling TandhaExport CSVExporter.swift
[27/56] Emitting module TandhaSwiftUI
[28/56] Emitting module TandhaLint
[29/57] Emitting module TandhaUIKit
[30/58] Compiling TandhaSwiftUI View+AutomationID.swift
[31/59] Emitting module TandhaExport
/host/spi-builder-workspace/Sources/TandhaExport/Exporter.swift:18:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[any Exporter]' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | ///
 6 | /// Each format is a single self-contained type, registered in `Exporters.all`.
 7 | public protocol Exporter {
   |                 `- note: protocol 'Exporter' does not conform to the 'Sendable' protocol
 8 |     /// CLI-facing format name, e.g. `json`, `csv`, `java`.
 9 |     static var formatName: String { get }
   :
16 | /// Registry of the built-in exporters, keyed by `formatName`.
17 | public enum Exporters {
18 |     public static let all: [any Exporter] = [
   |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[any Exporter]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |         JSONExporter(),
20 |         CSVExporter(),
[32/59] Compiling TandhaXCUITest XCUITest+AutomationID.swift
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:8:11: error: cannot find type 'XCUIElementQuery' in scope
 6 | #endif
 7 |
 8 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
 9 |     /// Look up an element in this query by automation identifier.
10 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:20:11: error: cannot find type 'XCUIApplication' in scope
18 | }
19 |
20 | extension XCUIApplication {
   |           `- error: cannot find type 'XCUIApplication' in scope
21 |     /// First descendant of `type` matching `identifier`.
22 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:15:58: error: cannot find type 'XCUIElement' in scope
13 |     /// app.textFields[automationID: AutomationID.login.usernameField].tap()
14 |     /// ```
15 |     public subscript(automationID identifier: String) -> XCUIElement {
   |                                                          `- error: cannot find type 'XCUIElement' in scope
16 |         self[identifier]
17 |     }
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:29:10: error: cannot find type 'XCUIElement' in scope
27 |         _ identifier: String,
28 |         type: XCUIElement.ElementType = .any
29 |     ) -> XCUIElement {
   |          `- error: cannot find type 'XCUIElement' in scope
30 |         descendants(matching: type).matching(identifier: identifier).firstMatch
31 |     }
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:28:15: error: cannot find type 'XCUIElement' in scope
26 |     public func element(
27 |         _ identifier: String,
28 |         type: XCUIElement.ElementType = .any
   |               `- error: cannot find type 'XCUIElement' in scope
29 |     ) -> XCUIElement {
30 |         descendants(matching: type).matching(identifier: identifier).firstMatch
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/59] Emitting module TandhaXCUITest
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:8:11: error: cannot find type 'XCUIElementQuery' in scope
 6 | #endif
 7 |
 8 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
 9 |     /// Look up an element in this query by automation identifier.
10 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:20:11: error: cannot find type 'XCUIApplication' in scope
18 | }
19 |
20 | extension XCUIApplication {
   |           `- error: cannot find type 'XCUIApplication' in scope
21 |     /// First descendant of `type` matching `identifier`.
22 |     ///
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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
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 TandhaCodegenPlugin
Building for debugging...
[1/9] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module TandhaCore
[4/19] Compiling TandhaCore AutomationRegistry.swift
[5/19] Compiling TandhaCore AutomationIDEntry.swift
[6/19] Compiling TandhaCore AutomationIDError.swift
[7/19] Compiling TandhaCore AutomationModel.swift
[9/41] Compiling TandhaSwiftUI View+AutomationID.swift
[10/41] Emitting module TandhaSwiftUI
[11/42] Emitting module TandhaUIKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/42] Emitting module TandhaXCUITest
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:8:11: error: cannot find type 'XCUIElementQuery' in scope
 6 | #endif
 7 |
 8 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
 9 |     /// Look up an element in this query by automation identifier.
10 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:20:11: error: cannot find type 'XCUIApplication' in scope
18 | }
19 |
20 | extension XCUIApplication {
   |           `- error: cannot find type 'XCUIApplication' in scope
21 |     /// First descendant of `type` matching `identifier`.
22 |     ///
[13/42] Compiling TandhaXCUITest XCUITest+AutomationID.swift
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:8:11: error: cannot find type 'XCUIElementQuery' in scope
 6 | #endif
 7 |
 8 | extension XCUIElementQuery {
   |           `- error: cannot find type 'XCUIElementQuery' in scope
 9 |     /// Look up an element in this query by automation identifier.
10 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:20:11: error: cannot find type 'XCUIApplication' in scope
18 | }
19 |
20 | extension XCUIApplication {
   |           `- error: cannot find type 'XCUIApplication' in scope
21 |     /// First descendant of `type` matching `identifier`.
22 |     ///
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:15:58: error: cannot find type 'XCUIElement' in scope
13 |     /// app.textFields[automationID: AutomationID.login.usernameField].tap()
14 |     /// ```
15 |     public subscript(automationID identifier: String) -> XCUIElement {
   |                                                          `- error: cannot find type 'XCUIElement' in scope
16 |         self[identifier]
17 |     }
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:29:10: error: cannot find type 'XCUIElement' in scope
27 |         _ identifier: String,
28 |         type: XCUIElement.ElementType = .any
29 |     ) -> XCUIElement {
   |          `- error: cannot find type 'XCUIElement' in scope
30 |         descendants(matching: type).matching(identifier: identifier).firstMatch
31 |     }
/host/spi-builder-workspace/Sources/TandhaXCUITest/XCUITest+AutomationID.swift:28:15: error: cannot find type 'XCUIElement' in scope
26 |     public func element(
27 |         _ identifier: String,
28 |         type: XCUIElement.ElementType = .any
   |               `- error: cannot find type 'XCUIElement' in scope
29 |     ) -> XCUIElement {
30 |         descendants(matching: type).matching(identifier: identifier).firstMatch
[15/42] Compiling TandhaUIKit UIView+AutomationID.swift
[16/42] Emitting module TandhaCodegen
[17/42] Emitting module TandhaCore
BUILD FAILURE 6.1 wasm