Build Information
Failed to build swift-configs, reference 1.6.1 (fb2394
), with Swift 6.1 for Wasm on 1 Sep 2025 13:35:06 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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/swift-configs.git
Reference: 1.6.1
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.6.1 -> FETCH_HEAD
HEAD is now at fb23946 Refactor configuration key access to use ConfigKey for consistency across multiple handlers
Cloned https://github.com/dankinsoid/swift-configs.git
Revision (git rev-parse @):
fb23946a6e8188f1fce9c4cec8ea58657e49ac8b
SUCCESS checkout https://github.com/dankinsoid/swift-configs.git at 1.6.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dankinsoid/swift-configs.git
https://github.com/dankinsoid/swift-configs.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "swift-configs",
"name" : "swift-configs",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftConfigs",
"targets" : [
"SwiftConfigs"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftConfigsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftConfigsTests",
"path" : "Tests/SwiftConfigsTests",
"sources" : [
"ConfigStoreObserverTests.swift",
"MigrationConfigKeyTests.swift",
"SwiftConfigsTests.swift"
],
"target_dependencies" : [
"SwiftConfigs"
],
"type" : "test"
},
{
"c99name" : "SwiftConfigs",
"module_type" : "SwiftTarget",
"name" : "SwiftConfigs",
"path" : "Sources/SwiftConfigs",
"product_memberships" : [
"SwiftConfigs"
],
"sources" : [
"ConfigCategory.swift",
"ConfigFail.swift",
"ConfigKey+constant.swift",
"ConfigKey.swift",
"ConfigState.swift",
"ConfigStore.swift",
"ConfigStoreObserver.swift",
"ConfigTransformer.swift",
"ConfigWrapper.swift",
"Configs.swift",
"ConfigsAsyncSequences.swift",
"ConfigsCancellation.swift",
"ConfigsNamespace.swift",
"ConfigsProtocol.swift",
"ConfigsSystem.swift",
"ConfigsType.swift",
"EnvironmentVariableConfigsHandler.swift",
"InMemoryConfigsHandler.swift",
"InfoPlistConfigStore.swift",
"KeychainConfigs.swift",
"Locks.swift",
"MigrationConfigKey.swift",
"MigrationConfigsHandler.swift",
"MultiplexConfigsHandler.swift",
"NOOPConfigsHandler.swift",
"PrefixConfigsHandler.swift",
"StoreRegistry.swift",
"UbiquitousKeyValueStoreConfigsHandler.swift",
"UserDefaultsConfigsHandler.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/finestructure/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 finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/29] Compiling SwiftConfigs Locks.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:87:23: warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
85 |
86 | /// Write the migrated value to the new key location
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
| |- warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writeToNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:89:23: warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
| |- warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeOld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Default policy: write to new key and delete old key
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:92:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
90 |
91 | /// Default policy: write to new key and delete old key
92 | public static let `default`: MigrationFirstReadPolicy = [.writeToNew, .removeOld]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[4/29] Compiling SwiftConfigs MigrationConfigKey.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:87:23: warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
85 |
86 | /// Write the migrated value to the new key location
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
| |- warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writeToNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:89:23: warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
| |- warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeOld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Default policy: write to new key and delete old key
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:92:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
90 |
91 | /// Default policy: write to new key and delete old key
92 | public static let `default`: MigrationFirstReadPolicy = [.writeToNew, .removeOld]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[5/29] Compiling SwiftConfigs MigrationConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:87:23: warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
85 |
86 | /// Write the migrated value to the new key location
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
| |- warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writeToNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:89:23: warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
| |- warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeOld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Default policy: write to new key and delete old key
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:92:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
90 |
91 | /// Default policy: write to new key and delete old key
92 | public static let `default`: MigrationFirstReadPolicy = [.writeToNew, .removeOld]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[6/29] Compiling SwiftConfigs MultiplexConfigsHandler.swift
[7/29] Compiling SwiftConfigs NOOPConfigsHandler.swift
[8/29] Compiling SwiftConfigs PrefixConfigsHandler.swift
[9/29] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/InMemoryConfigsHandler.swift:60:17: warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
58 | public static let shared = InMemoryConfigStore()
59 |
60 | private var _values: [String: String]
| `- warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
61 | private let lock = ReadWriteLock()
62 | private let listenHelper = ConfigStoreObserver()
[10/29] Compiling SwiftConfigs InMemoryConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/InMemoryConfigsHandler.swift:60:17: warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
58 | public static let shared = InMemoryConfigStore()
59 |
60 | private var _values: [String: String]
| `- warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
61 | private let lock = ReadWriteLock()
62 | private let listenHelper = ConfigStoreObserver()
[11/29] Compiling SwiftConfigs InfoPlistConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/InMemoryConfigsHandler.swift:60:17: warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
58 | public static let shared = InMemoryConfigStore()
59 |
60 | private var _values: [String: String]
| `- warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
61 | private let lock = ReadWriteLock()
62 | private let listenHelper = ConfigStoreObserver()
[12/29] Compiling SwiftConfigs KeychainConfigs.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/InMemoryConfigsHandler.swift:60:17: warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
58 | public static let shared = InMemoryConfigStore()
59 |
60 | private var _values: [String: String]
| `- warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
61 | private let lock = ReadWriteLock()
62 | private let listenHelper = ConfigStoreObserver()
[13/29] Emitting module SwiftConfigs
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:31:16: warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ]
30 |
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
| |- warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
/host/spi-builder-workspace/Sources/SwiftConfigs/StoreRegistry.swift:12:20: note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
10 |
11 | /// The main configuration store that manages multiple category stores
12 | public final class StoreRegistry: StoreRegistryType {
| `- note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
13 |
14 | /// Whether any store has completed a fetch operation
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:33:32: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
| |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | @Locked private static var isBootstrapped = false
35 |
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:34:32: warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
34 | @Locked private static var isBootstrapped = false
| |- warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isBootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isBootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Bootstraps the configuration system with category-specific stores
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:89:23: warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// The default error handler which triggers a fatal error in debug builds.
89 | public static let defaultErrorHandler: (ConfigFail) -> Void = { error in
| |- warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | #if DEBUG
91 | fatalError(error.localizedDescription)
/host/spi-builder-workspace/Sources/SwiftConfigs/InMemoryConfigsHandler.swift:60:17: warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
58 | public static let shared = InMemoryConfigStore()
59 |
60 | private var _values: [String: String]
| `- warning: stored property '_values' of 'Sendable'-conforming class 'InMemoryConfigStore' is mutable; this is an error in the Swift 6 language mode
61 | private let lock = ReadWriteLock()
62 | private let listenHelper = ConfigStoreObserver()
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:87:23: warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
85 |
86 | /// Write the migrated value to the new key location
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
| |- warning: static property 'writeToNew' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'writeToNew' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:89:23: warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
87 | public static let writeToNew = MigrationFirstReadPolicy(rawValue: 1 << 0)
88 | /// Remove the old key after successful migration
89 | public static let removeOld = MigrationFirstReadPolicy(rawValue: 1 << 1)
| |- warning: static property 'removeOld' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'removeOld' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Default policy: write to new key and delete old key
/host/spi-builder-workspace/Sources/SwiftConfigs/MigrationConfigKey.swift:92:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | /// Policy options for handling the first read during migration
72 | public struct MigrationFirstReadPolicy: OptionSet, Hashable, CaseIterable {
| `- note: consider making struct 'MigrationFirstReadPolicy' conform to the 'Sendable' protocol
73 |
74 | public var rawValue: UInt8
:
90 |
91 | /// Default policy: write to new key and delete old key
92 | public static let `default`: MigrationFirstReadPolicy = [.writeToNew, .removeOld]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'MigrationFirstReadPolicy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | }
94 |
[14/29] Compiling SwiftConfigs ConfigsNamespace.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:31:16: warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ]
30 |
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
| |- warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
/host/spi-builder-workspace/Sources/SwiftConfigs/StoreRegistry.swift:12:20: note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
10 |
11 | /// The main configuration store that manages multiple category stores
12 | public final class StoreRegistry: StoreRegistryType {
| `- note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
13 |
14 | /// Whether any store has completed a fetch operation
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:33:32: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
| |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | @Locked private static var isBootstrapped = false
35 |
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:34:32: warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
34 | @Locked private static var isBootstrapped = false
| |- warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isBootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isBootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Bootstraps the configuration system with category-specific stores
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:89:23: warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// The default error handler which triggers a fatal error in debug builds.
89 | public static let defaultErrorHandler: (ConfigFail) -> Void = { error in
| |- warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | #if DEBUG
91 | fatalError(error.localizedDescription)
[15/29] Compiling SwiftConfigs ConfigsProtocol.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:31:16: warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ]
30 |
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
| |- warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
/host/spi-builder-workspace/Sources/SwiftConfigs/StoreRegistry.swift:12:20: note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
10 |
11 | /// The main configuration store that manages multiple category stores
12 | public final class StoreRegistry: StoreRegistryType {
| `- note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
13 |
14 | /// Whether any store has completed a fetch operation
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:33:32: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
| |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | @Locked private static var isBootstrapped = false
35 |
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:34:32: warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
34 | @Locked private static var isBootstrapped = false
| |- warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isBootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isBootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Bootstraps the configuration system with category-specific stores
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:89:23: warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// The default error handler which triggers a fatal error in debug builds.
89 | public static let defaultErrorHandler: (ConfigFail) -> Void = { error in
| |- warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | #if DEBUG
91 | fatalError(error.localizedDescription)
[16/29] Compiling SwiftConfigs ConfigsSystem.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:31:16: warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ]
30 |
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
| |- warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
/host/spi-builder-workspace/Sources/SwiftConfigs/StoreRegistry.swift:12:20: note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
10 |
11 | /// The main configuration store that manages multiple category stores
12 | public final class StoreRegistry: StoreRegistryType {
| `- note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
13 |
14 | /// Whether any store has completed a fetch operation
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:33:32: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
| |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | @Locked private static var isBootstrapped = false
35 |
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:34:32: warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
34 | @Locked private static var isBootstrapped = false
| |- warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isBootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isBootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Bootstraps the configuration system with category-specific stores
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:89:23: warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// The default error handler which triggers a fatal error in debug builds.
89 | public static let defaultErrorHandler: (ConfigFail) -> Void = { error in
| |- warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | #if DEBUG
91 | fatalError(error.localizedDescription)
[17/29] Compiling SwiftConfigs ConfigsType.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:31:16: warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ]
30 |
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
| |- warning: static property 'registry' is not concurrency-safe because non-'Sendable' type 'StoreRegistry' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'registry' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
/host/spi-builder-workspace/Sources/SwiftConfigs/StoreRegistry.swift:12:20: note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
10 |
11 | /// The main configuration store that manages multiple category stores
12 | public final class StoreRegistry: StoreRegistryType {
| `- note: class 'StoreRegistry' does not conform to the 'Sendable' protocol
13 |
14 | /// Whether any store has completed a fetch operation
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:33:32: warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | static let registry = StoreRegistry(isPreview ? mockStores : defaultStores)
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
| |- warning: static property 'errorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'errorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'errorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | @Locked private static var isBootstrapped = false
35 |
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:34:32: warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | @Locked private static var errorHandler: (ConfigFail) -> Void = defaultErrorHandler
34 | @Locked private static var isBootstrapped = false
| |- warning: static property 'isBootstrapped' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'isBootstrapped' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'isBootstrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Bootstraps the configuration system with category-specific stores
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsSystem.swift:89:23: warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// The default error handler which triggers a fatal error in debug builds.
89 | public static let defaultErrorHandler: (ConfigFail) -> Void = { error in
| |- warning: static property 'defaultErrorHandler' is not concurrency-safe because non-'Sendable' type '(ConfigFail) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | #if DEBUG
91 | fatalError(error.localizedDescription)
[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 ConfigWrapper.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsAsyncSequences.swift:40:34: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
38 |
39 | cancellation = onChange { element in
40 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | }
[23/32] Compiling SwiftConfigs Configs.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsAsyncSequences.swift:40:34: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
38 |
39 | cancellation = onChange { element in
40 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | }
[24/32] Compiling SwiftConfigs ConfigsAsyncSequences.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsAsyncSequences.swift:40:34: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
38 |
39 | cancellation = onChange { element in
40 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | }
[25/32] Compiling SwiftConfigs ConfigsCancellation.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigsAsyncSequences.swift:40:34: warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
38 |
39 | cancellation = onChange { element in
40 | continuation.yield(element)
| |- warning: sending 'element' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'element' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
41 | }
42 | }
[26/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 | }
[27/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 | }
[28/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 | }
[29/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 | }
[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 | }
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/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module SwiftConfigs
[3/31] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
[4/31] Compiling SwiftConfigs InMemoryConfigsHandler.swift
[5/31] Compiling SwiftConfigs InfoPlistConfigStore.swift
[6/31] Compiling SwiftConfigs KeychainConfigs.swift
[7/31] Compiling SwiftConfigs ConfigWrapper.swift
[8/31] Compiling SwiftConfigs Configs.swift
[9/31] Compiling SwiftConfigs ConfigsAsyncSequences.swift
[10/31] Compiling SwiftConfigs ConfigsCancellation.swift
[11/31] Compiling SwiftConfigs ConfigsNamespace.swift
[12/31] Compiling SwiftConfigs ConfigsProtocol.swift
[13/31] Compiling SwiftConfigs ConfigsSystem.swift
[14/31] Compiling SwiftConfigs ConfigsType.swift
[15/31] Compiling SwiftConfigs Locks.swift
[16/31] Compiling SwiftConfigs MigrationConfigKey.swift
[17/31] Compiling SwiftConfigs MigrationConfigsHandler.swift
[18/31] Compiling SwiftConfigs MultiplexConfigsHandler.swift
[19/31] Compiling SwiftConfigs NOOPConfigsHandler.swift
[20/31] Compiling SwiftConfigs PrefixConfigsHandler.swift
[21/31] 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 | }
[22/31] 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 | }
[23/31] 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 | }
[24/31] 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 | }
[25/31] Compiling SwiftConfigs ConfigCategory.swift
[26/31] Compiling SwiftConfigs ConfigFail.swift
[27/31] Compiling SwiftConfigs ConfigKey+constant.swift
[28/31] Compiling SwiftConfigs ConfigKey.swift
[29/31] 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 | }
[30/31] 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 | }
[31/31] 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.1 wasm