Build Information
Failed to build swift-configs, reference main (f041ae), with Swift 6.2 for Wasm on 23 Oct 2026 10:43:56 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-configs.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/dankinsoid/swift-configs
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f041ae8 Document throwingGet and repeated bootstrap in the README
Cloned https://github.com/dankinsoid/swift-configs.git
Revision (git rev-parse @):
f041ae8322c5b3266c8d7bdc67d2ccfb45cd7d5c
SUCCESS checkout https://github.com/dankinsoid/swift-configs.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dankinsoid/swift-configs.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Emitting module SwiftConfigs
[4/32] Compiling SwiftConfigs StoreRegistry.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:69:13: error: cannot find 'NotificationCenter' in scope
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot find 'NotificationCenter' in scope
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:32: error: cannot find 'NotificationCenter' in scope
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot find 'NotificationCenter' in scope
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:77:21: error: cannot infer contextual base in reference to member 'main'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
77 | queue: .main
| `- error: cannot infer contextual base in reference to member 'main'
78 | ) { [weak self] _ in
79 | self?.notifyObservers()
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:78:25: error: cannot infer type of closure parameter '_' without a type annotation
76 | object: userDefaults,
77 | queue: .main
78 | ) { [weak self] _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
79 | self?.notifyObservers()
80 | }
[5/32] Compiling SwiftConfigs UbiquitousKeyValueStoreConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:69:13: error: cannot find 'NotificationCenter' in scope
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot find 'NotificationCenter' in scope
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:32: error: cannot find 'NotificationCenter' in scope
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot find 'NotificationCenter' in scope
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:77:21: error: cannot infer contextual base in reference to member 'main'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
77 | queue: .main
| `- error: cannot infer contextual base in reference to member 'main'
78 | ) { [weak self] _ in
79 | self?.notifyObservers()
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:78:25: error: cannot infer type of closure parameter '_' without a type annotation
76 | object: userDefaults,
77 | queue: .main
78 | ) { [weak self] _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
79 | self?.notifyObservers()
80 | }
[6/32] Compiling SwiftConfigs UserDefaultsConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:69:13: error: cannot find 'NotificationCenter' in scope
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot find 'NotificationCenter' in scope
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:32: error: cannot find 'NotificationCenter' in scope
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot find 'NotificationCenter' in scope
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:77:21: error: cannot infer contextual base in reference to member 'main'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
77 | queue: .main
| `- error: cannot infer contextual base in reference to member 'main'
78 | ) { [weak self] _ in
79 | self?.notifyObservers()
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:78:25: error: cannot infer type of closure parameter '_' without a type annotation
76 | object: userDefaults,
77 | queue: .main
78 | ) { [weak self] _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
79 | self?.notifyObservers()
80 | }
[7/32] Compiling SwiftConfigs ConfigState.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:128:8: error: cannot find 'Thread' in scope
126 |
127 | private func callOnMainThread(_ block: @escaping () -> Void) {
128 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
129 | block()
130 | } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:131:9: error: cannot find 'DispatchQueue' in scope
129 | block()
130 | } else {
131 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
132 | block()
133 | }
[8/32] Compiling SwiftConfigs ConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:128:8: error: cannot find 'Thread' in scope
126 |
127 | private func callOnMainThread(_ block: @escaping () -> Void) {
128 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
129 | block()
130 | } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:131:9: error: cannot find 'DispatchQueue' in scope
129 | block()
130 | } else {
131 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
132 | block()
133 | }
[9/32] Compiling SwiftConfigs ConfigStoreObserver.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:128:8: error: cannot find 'Thread' in scope
126 |
127 | private func callOnMainThread(_ block: @escaping () -> Void) {
128 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
129 | block()
130 | } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:131:9: error: cannot find 'DispatchQueue' in scope
129 | block()
130 | } else {
131 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
132 | block()
133 | }
[10/32] Compiling SwiftConfigs ConfigTransformer.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:128:8: error: cannot find 'Thread' in scope
126 |
127 | private func callOnMainThread(_ block: @escaping () -> Void) {
128 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
129 | block()
130 | } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:131:9: error: cannot find 'DispatchQueue' in scope
129 | block()
130 | } else {
131 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
132 | block()
133 | }
[11/32] Compiling SwiftConfigs Locks.swift
[12/32] Compiling SwiftConfigs MigrationConfigKey.swift
[13/32] Compiling SwiftConfigs MigrationConfigsHandler.swift
[14/32] Compiling SwiftConfigs ConfigWrapper.swift
[15/32] Compiling SwiftConfigs Configs.swift
[16/32] Compiling SwiftConfigs ConfigsAsyncSequences.swift
[17/32] Compiling SwiftConfigs ConfigsCancellation.swift
[18/32] Compiling SwiftConfigs ConfigCategory.swift
[19/32] Compiling SwiftConfigs ConfigFail.swift
[20/32] Compiling SwiftConfigs ConfigKey+constant.swift
[21/32] Compiling SwiftConfigs ConfigKey.swift
[22/32] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
[23/32] Compiling SwiftConfigs InMemoryConfigsHandler.swift
[24/32] Compiling SwiftConfigs InfoPlistConfigStore.swift
[25/32] Compiling SwiftConfigs KeychainConfigs.swift
[26/32] Compiling SwiftConfigs ConfigsNamespace.swift
[27/32] Compiling SwiftConfigs ConfigsProtocol.swift
[28/32] Compiling SwiftConfigs ConfigsSystem.swift
[29/32] Compiling SwiftConfigs ConfigsType.swift
[30/32] Compiling SwiftConfigs MultiplexConfigsHandler.swift
[31/32] Compiling SwiftConfigs NOOPConfigsHandler.swift
[32/32] Compiling SwiftConfigs PrefixConfigsHandler.swift
BUILD FAILURE 6.2 wasm