The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-configs, reference main (7a8422), with Swift 6.2 for Wasm on 20 Apr 2026 02:52:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
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 7a84224 mock services
Cloned https://github.com/dankinsoid/swift-configs.git
Revision (git rev-parse @):
7a84224775e4c6aef3fb2e10db04b72a9247a51b
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-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Compiling SwiftConfigs ConfigCategory.swift
[4/29] Compiling SwiftConfigs ConfigFail.swift
[5/29] Compiling SwiftConfigs ConfigKey+constant.swift
[6/29] Compiling SwiftConfigs ConfigKey.swift
[7/32] Compiling SwiftConfigs MultiplexConfigsHandler.swift
[8/32] Compiling SwiftConfigs NOOPConfigsHandler.swift
[9/32] Compiling SwiftConfigs PrefixConfigsHandler.swift
[10/32] Compiling SwiftConfigs ConfigsNamespace.swift
[11/32] Compiling SwiftConfigs ConfigsProtocol.swift
[12/32] Compiling SwiftConfigs ConfigsSystem.swift
[13/32] Compiling SwiftConfigs ConfigsType.swift
[14/32] Emitting module SwiftConfigs
[15/32] Compiling SwiftConfigs ConfigState.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:126:8: error: cannot find 'Thread' in scope
124 |
125 | private func callOnMainThread(_ block: @escaping () -> Void) {
126 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
127 |         block()
128 |     } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:129:9: error: cannot find 'DispatchQueue' in scope
127 |         block()
128 |     } else {
129 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
130 |             block()
131 |         }
[16/32] Compiling SwiftConfigs ConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:126:8: error: cannot find 'Thread' in scope
124 |
125 | private func callOnMainThread(_ block: @escaping () -> Void) {
126 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
127 |         block()
128 |     } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:129:9: error: cannot find 'DispatchQueue' in scope
127 |         block()
128 |     } else {
129 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
130 |             block()
131 |         }
[17/32] Compiling SwiftConfigs ConfigStoreObserver.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:126:8: error: cannot find 'Thread' in scope
124 |
125 | private func callOnMainThread(_ block: @escaping () -> Void) {
126 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
127 |         block()
128 |     } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:129:9: error: cannot find 'DispatchQueue' in scope
127 |         block()
128 |     } else {
129 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
130 |             block()
131 |         }
[18/32] Compiling SwiftConfigs ConfigTransformer.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:126:8: error: cannot find 'Thread' in scope
124 |
125 | private func callOnMainThread(_ block: @escaping () -> Void) {
126 |     if Thread.isMainThread {
    |        `- error: cannot find 'Thread' in scope
127 |         block()
128 |     } else {
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:129:9: error: cannot find 'DispatchQueue' in scope
127 |         block()
128 |     } else {
129 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
130 |             block()
131 |         }
[19/32] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
[20/32] Compiling SwiftConfigs InMemoryConfigsHandler.swift
[21/32] Compiling SwiftConfigs InfoPlistConfigStore.swift
[22/32] Compiling SwiftConfigs KeychainConfigs.swift
[23/32] Compiling SwiftConfigs ConfigWrapper.swift
[24/32] Compiling SwiftConfigs Configs.swift
[25/32] Compiling SwiftConfigs ConfigsAsyncSequences.swift
[26/32] Compiling SwiftConfigs ConfigsCancellation.swift
[27/32] Compiling SwiftConfigs Locks.swift
[28/32] Compiling SwiftConfigs MigrationConfigKey.swift
[29/32] Compiling SwiftConfigs MigrationConfigsHandler.swift
[30/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 |         }
[31/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 |         }
[32/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 |         }
BUILD FAILURE 6.2 wasm