Build Information
Failed to build swift-configs, reference 1.7.0 (7a8422), with Swift 6.3 for Wasm on 20 Apr 2026 02:37:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-configs.git
Reference: 1.7.0
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
* tag 1.7.0 -> FETCH_HEAD
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 1.7.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/dankinsoid/swift-configs.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Compiling SwiftConfigs Locks.swift
[4/29] Compiling SwiftConfigs MigrationConfigKey.swift
[5/29] Compiling SwiftConfigs MigrationConfigsHandler.swift
[6/29] Compiling SwiftConfigs MultiplexConfigsHandler.swift
[7/29] Compiling SwiftConfigs NOOPConfigsHandler.swift
[8/29] Compiling SwiftConfigs PrefixConfigsHandler.swift
[9/29] 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 | }
[10/29] 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 | }
[11/29] 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 | }
[12/29] 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 | }
[13/29] Compiling SwiftConfigs ConfigsNamespace.swift
[14/29] Compiling SwiftConfigs ConfigsProtocol.swift
[15/29] Compiling SwiftConfigs ConfigsSystem.swift
[16/29] Compiling SwiftConfigs ConfigsType.swift
[17/29] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
[18/29] Compiling SwiftConfigs InMemoryConfigsHandler.swift
[19/29] Compiling SwiftConfigs InfoPlistConfigStore.swift
[20/29] Compiling SwiftConfigs KeychainConfigs.swift
[21/29] Emitting module SwiftConfigs
[22/29] Compiling SwiftConfigs ConfigCategory.swift
[23/29] Compiling SwiftConfigs ConfigFail.swift
[24/29] Compiling SwiftConfigs ConfigKey+constant.swift
[25/29] Compiling SwiftConfigs ConfigKey.swift
[26/29] Compiling SwiftConfigs ConfigWrapper.swift
[27/29] Compiling SwiftConfigs Configs.swift
[28/29] Compiling SwiftConfigs ConfigsAsyncSequences.swift
[29/29] Compiling SwiftConfigs ConfigsCancellation.swift
[30/32] Compiling SwiftConfigs StoreRegistry.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:69:55: error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: no exact matches in call to instance method 'addObserver'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| |- error: no exact matches in call to instance method 'addObserver'
| |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
| `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
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:55: error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: no exact matches in call to instance method 'addObserver'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| |- error: no exact matches in call to instance method 'addObserver'
| |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
| `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
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:55: error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
67 | deinit {
68 | if let observer = notificationObserver {
69 | NotificationCenter.default.removeObserver(observer)
| `- error: cannot convert value of type 'any NSObjectProtocol' to expected argument type 'NotificationCenter.ObservationToken'
70 | }
71 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: no exact matches in call to instance method 'addObserver'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| |- error: no exact matches in call to instance method 'addObserver'
| |- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @Sendable (Message) async -> Void) -> NotificationCenter.ObservationToken'
| `- note: found candidate with type '(Message.Subject?, Message.Type, @escaping @MainActor (Message) -> Void) -> NotificationCenter.ObservationToken'
75 | forName: UserDefaults.didChangeNotification,
76 | object: userDefaults,
/host/spi-builder-workspace/Sources/SwiftConfigs/UserDefaultsConfigsHandler.swift:74:59: error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
72 |
73 | private func setupNotificationObserver() {
74 | notificationObserver = NotificationCenter.default.addObserver(
| `- error: cannot assign value of type 'NotificationCenter.ObservationToken' to type '(any NSObjectProtocol)?'
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.3 wasm