Build Information
Failed to build swift-configs, reference main (fb2394
), with Swift 6.1 for Android on 1 Sep 2025 13:33:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: 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 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 main
========================================
Build
========================================
Selected platform: android
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-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/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/32] 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)
[5/32] 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)
[6/32] 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)
[7/32] 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)
[8/32] Compiling SwiftConfigs ConfigCategory.swift
[9/32] Compiling SwiftConfigs ConfigFail.swift
[10/32] Compiling SwiftConfigs ConfigKey+constant.swift
[11/32] Compiling SwiftConfigs ConfigKey.swift
[12/32] Compiling SwiftConfigs StoreRegistry.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[13/32] Compiling SwiftConfigs UbiquitousKeyValueStoreConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[14/32] Compiling SwiftConfigs UserDefaultsConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[15/32] Compiling SwiftConfigs MultiplexConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[16/32] Compiling SwiftConfigs NOOPConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[17/32] Compiling SwiftConfigs PrefixConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[18/32] Compiling SwiftConfigs Locks.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
/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 |
[19/32] Compiling SwiftConfigs MigrationConfigKey.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
/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 |
[20/32] Compiling SwiftConfigs MigrationConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
/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 |
[21/32] 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()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[22/32] 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()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[23/32] 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()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[24/32] 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()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[25/32] Compiling SwiftConfigs ConfigState.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:130:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
128 | } else {
129 | DispatchQueue.main.async {
130 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[26/32] Compiling SwiftConfigs ConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:130:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
128 | } else {
129 | DispatchQueue.main.async {
130 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[27/32] Compiling SwiftConfigs ConfigStoreObserver.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:130:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
128 | } else {
129 | DispatchQueue.main.async {
130 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[28/32] Compiling SwiftConfigs ConfigTransformer.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/ConfigStoreObserver.swift:130:13: warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
128 | } else {
129 | DispatchQueue.main.async {
130 | block()
| |- warning: sending 'block' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'block' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
131 | }
132 | }
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[29/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 | }
[30/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 | }
[31/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 | }
[32/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/28] Emitting module SwiftConfigs
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[3/31] Compiling SwiftConfigs EnvironmentVariableConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[4/31] Compiling SwiftConfigs InMemoryConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[5/31] Compiling SwiftConfigs InfoPlistConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[6/31] Compiling SwiftConfigs KeychainConfigs.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[7/31] Compiling SwiftConfigs StoreRegistry.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[8/31] Compiling SwiftConfigs UbiquitousKeyValueStoreConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[9/31] Compiling SwiftConfigs UserDefaultsConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[10/31] Compiling SwiftConfigs Locks.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[11/31] Compiling SwiftConfigs MigrationConfigKey.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[12/31] Compiling SwiftConfigs MigrationConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:40:12: error: Unsupported runtime
38 | import Musl
39 | #else
40 | #error("Unsupported runtime")
| `- error: Unsupported runtime
41 | #endif
42 |
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:23: error: cannot find 'pthread_rwlock_init' in scope
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: cannot find 'pthread_rwlock_init' in scope
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:68:51: error: 'nil' requires a contextual type
66 | InitializeSRWLock(rwlock)
67 | #else
68 | let err = pthread_rwlock_init(rwlock, nil)
| `- error: 'nil' requires a contextual type
69 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
70 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:80:23: error: cannot find 'pthread_rwlock_destroy' in scope
78 | self.rwlock.deallocate()
79 | #else
80 | let err = pthread_rwlock_destroy(self.rwlock)
| `- error: cannot find 'pthread_rwlock_destroy' in scope
81 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
82 | self.rwlock.deallocate()
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:97:23: error: cannot find 'pthread_rwlock_rdlock' in scope
95 | shared = true
96 | #else
97 | let err = pthread_rwlock_rdlock(rwlock)
| `- error: cannot find 'pthread_rwlock_rdlock' in scope
98 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
99 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:113:23: error: cannot find 'pthread_rwlock_wrlock' in scope
111 | shared = false
112 | #else
113 | let err = pthread_rwlock_wrlock(rwlock)
| `- error: cannot find 'pthread_rwlock_wrlock' in scope
114 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
115 | #endif
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:133:23: error: cannot find 'pthread_rwlock_unlock' in scope
131 | }
132 | #else
133 | let err = pthread_rwlock_unlock(rwlock)
| `- error: cannot find 'pthread_rwlock_unlock' in scope
134 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
135 | #endif
[13/31] Compiling SwiftConfigs MultiplexConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[14/31] Compiling SwiftConfigs NOOPConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[15/31] Compiling SwiftConfigs PrefixConfigsHandler.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[16/31] Compiling SwiftConfigs ConfigCategory.swift
[17/31] Compiling SwiftConfigs ConfigFail.swift
[18/31] Compiling SwiftConfigs ConfigKey+constant.swift
[19/31] Compiling SwiftConfigs ConfigKey.swift
[20/31] Compiling SwiftConfigs ConfigsNamespace.swift
[21/31] Compiling SwiftConfigs ConfigsProtocol.swift
[22/31] Compiling SwiftConfigs ConfigsSystem.swift
[23/31] Compiling SwiftConfigs ConfigsType.swift
[24/31] Compiling SwiftConfigs ConfigWrapper.swift
[25/31] Compiling SwiftConfigs Configs.swift
[26/31] Compiling SwiftConfigs ConfigsAsyncSequences.swift
[27/31] Compiling SwiftConfigs ConfigsCancellation.swift
[28/31] Compiling SwiftConfigs ConfigState.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[29/31] Compiling SwiftConfigs ConfigStore.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[30/31] Compiling SwiftConfigs ConfigStoreObserver.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
[31/31] Compiling SwiftConfigs ConfigTransformer.swift
/host/spi-builder-workspace/Sources/SwiftConfigs/Locks.swift:57:54: error: cannot find type 'pthread_rwlock_t' in scope
55 | fileprivate var shared = true
56 | #else
57 | fileprivate let rwlock: UnsafeMutablePointer<pthread_rwlock_t> =
| `- error: cannot find type 'pthread_rwlock_t' in scope
58 | UnsafeMutablePointer.allocate(capacity: 1)
59 | #endif
BUILD FAILURE 6.1 android