Build Information
Successful build of OpenFeature, reference main (aeb954), with Swift 6.1 for macOS (SPM) on 22 Apr 2026 11:22:24 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/open-feature/swift-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/open-feature/swift-sdk
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aeb954f docs: fix inaccuracies in README (#117)
Cloned https://github.com/open-feature/swift-sdk.git
Revision (git rev-parse @):
aeb954f2e4813f5e52df0e10330ee3ad5e79f5e4
SUCCESS checkout https://github.com/open-feature/swift-sdk.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/open-feature/swift-sdk.git
https://github.com/open-feature/swift-sdk.git
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "OpenFeature",
"name" : "OpenFeature",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "OpenFeature",
"targets" : [
"OpenFeature"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenFeatureTests",
"module_type" : "SwiftTarget",
"name" : "OpenFeatureTests",
"path" : "Tests/OpenFeatureTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"DeveloperExperienceTests.swift",
"EvalContextTests.swift",
"FlagEvaluationTests.swift",
"Helpers/AlwaysBrokenProvider.swift",
"Helpers/BooleanHookMock.swift",
"Helpers/DoSomethingProvider.swift",
"Helpers/IntHookMock.swift",
"Helpers/MockProvider.swift",
"Helpers/MutableContext.swift",
"Helpers/StaggeredProvider.swift",
"Helpers/ThrowingProvider.swift",
"HookSpecTests.swift",
"HookSupportTests.swift",
"ImmutableContextTests.swift",
"ImmutableTrackingEventDetailsTests.swift",
"LoggerTests.swift",
"MultiProviderTests.swift",
"OpenFeatureClientTests.swift",
"ProviderEventTests.swift",
"ProviderLifecycleTests.swift",
"ProviderSpecTests.swift",
"ProviderStatusTrackerTests.swift",
"StructureTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"OpenFeature"
],
"type" : "test"
},
{
"c99name" : "OpenFeature",
"module_type" : "SwiftTarget",
"name" : "OpenFeature",
"path" : "Sources/OpenFeature",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"OpenFeature"
],
"sources" : [
"BaseEvaluation.swift",
"Client.swift",
"ClientMetadata.swift",
"EvaluationContext.swift",
"EventHandler.swift",
"EventMetadataValue.swift",
"Features+Defaults.swift",
"Features.swift",
"FlagEvaluationDetails.swift",
"FlagEvaluationOptions.swift",
"FlagMetadataValue.swift",
"FlagValueType.swift",
"Hook.swift",
"HookContext.swift",
"HookSupport.swift",
"ImmutableContext.swift",
"ImmutableStructure.swift",
"ImmutableTrackingEventDetails.swift",
"MetadataValue.swift",
"MutableStructure.swift",
"OpenFeatureAPI.swift",
"OpenFeatureClient.swift",
"Provider/FeatureProvider.swift",
"Provider/MultiProvider/FirstMatchStrategy.swift",
"Provider/MultiProvider/FirstSuccessfulStrategy.swift",
"Provider/MultiProvider/MultiProvider.swift",
"Provider/MultiProvider/Strategy.swift",
"Provider/NoOpProvider.swift",
"Provider/ProviderEvaluation.swift",
"Provider/ProviderEventDetails.swift",
"Provider/ProviderEvents.swift",
"Provider/ProviderMetadata.swift",
"Provider/ProviderStatus.swift",
"ProviderStatusTracker.swift",
"Reason.swift",
"Structure.swift",
"Tracking.swift",
"TrackingEventDetails.swift",
"Value.swift",
"exceptions/ErrorCode.swift",
"exceptions/OpenFeatureError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/9] Compiling Logging MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/9] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/9] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/9] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/9] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/9] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/47] Emitting module OpenFeature
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// A global singleton which holds base configuration for the OpenFeature library.
6 | /// Configuration here will be shared across all ``Client``s.
7 | public class OpenFeatureAPI {
| `- note: class 'OpenFeatureAPI' does not conform to the 'Sendable' protocol
8 | // Sync queue to change state atomically
9 | private let stateQueue = DispatchQueue(label: "com.openfeature.state.queue")
:
20 |
21 | /// The ``OpenFeatureAPI`` singleton
22 | static public let shared = OpenFeatureAPI()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
[11/51] Compiling OpenFeature ProviderEventDetails.swift
[12/51] Compiling OpenFeature ProviderEvents.swift
[13/51] Compiling OpenFeature ProviderMetadata.swift
[14/51] Compiling OpenFeature ProviderStatus.swift
[15/51] Compiling OpenFeature TrackingEventDetails.swift
[16/51] Compiling OpenFeature Value.swift
[17/51] Compiling OpenFeature ErrorCode.swift
[18/51] Compiling OpenFeature OpenFeatureError.swift
[19/51] Compiling OpenFeature BaseEvaluation.swift
[20/51] Compiling OpenFeature Client.swift
[21/51] Compiling OpenFeature ClientMetadata.swift
[22/51] Compiling OpenFeature EvaluationContext.swift
[23/51] Compiling OpenFeature EventHandler.swift
[24/51] Compiling OpenFeature EventMetadataValue.swift
[25/51] Compiling OpenFeature Features+Defaults.swift
[26/51] Compiling OpenFeature Features.swift
[27/51] Compiling OpenFeature FlagEvaluationDetails.swift
[28/51] Compiling OpenFeature FlagEvaluationOptions.swift
[29/51] Compiling OpenFeature FlagMetadataValue.swift
[30/51] Compiling OpenFeature FlagValueType.swift
[31/51] Compiling OpenFeature Hook.swift
[32/51] Compiling OpenFeature ProviderStatusTracker.swift
[33/51] Compiling OpenFeature Reason.swift
[34/51] Compiling OpenFeature Structure.swift
[35/51] Compiling OpenFeature Tracking.swift
[36/51] Compiling OpenFeature ImmutableTrackingEventDetails.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// A global singleton which holds base configuration for the OpenFeature library.
6 | /// Configuration here will be shared across all ``Client``s.
7 | public class OpenFeatureAPI {
| `- note: class 'OpenFeatureAPI' does not conform to the 'Sendable' protocol
8 | // Sync queue to change state atomically
9 | private let stateQueue = DispatchQueue(label: "com.openfeature.state.queue")
:
20 |
21 | /// The ``OpenFeatureAPI`` singleton
22 | static public let shared = OpenFeatureAPI()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:217:30: warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
215 | self.providerLifecycleQueue.async {
216 | var cancelable: AnyCancellable?
217 | cancelable = work()
| |- warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
[37/51] Compiling OpenFeature MetadataValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// A global singleton which holds base configuration for the OpenFeature library.
6 | /// Configuration here will be shared across all ``Client``s.
7 | public class OpenFeatureAPI {
| `- note: class 'OpenFeatureAPI' does not conform to the 'Sendable' protocol
8 | // Sync queue to change state atomically
9 | private let stateQueue = DispatchQueue(label: "com.openfeature.state.queue")
:
20 |
21 | /// The ``OpenFeatureAPI`` singleton
22 | static public let shared = OpenFeatureAPI()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:217:30: warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
215 | self.providerLifecycleQueue.async {
216 | var cancelable: AnyCancellable?
217 | cancelable = work()
| |- warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
[38/51] Compiling OpenFeature MutableStructure.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// A global singleton which holds base configuration for the OpenFeature library.
6 | /// Configuration here will be shared across all ``Client``s.
7 | public class OpenFeatureAPI {
| `- note: class 'OpenFeatureAPI' does not conform to the 'Sendable' protocol
8 | // Sync queue to change state atomically
9 | private let stateQueue = DispatchQueue(label: "com.openfeature.state.queue")
:
20 |
21 | /// The ``OpenFeatureAPI`` singleton
22 | static public let shared = OpenFeatureAPI()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:217:30: warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
215 | self.providerLifecycleQueue.async {
216 | var cancelable: AnyCancellable?
217 | cancelable = work()
| |- warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
[39/51] Compiling OpenFeature OpenFeatureAPI.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:22:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
5 | /// A global singleton which holds base configuration for the OpenFeature library.
6 | /// Configuration here will be shared across all ``Client``s.
7 | public class OpenFeatureAPI {
| `- note: class 'OpenFeatureAPI' does not conform to the 'Sendable' protocol
8 | // Sync queue to change state atomically
9 | private let stateQueue = DispatchQueue(label: "com.openfeature.state.queue")
:
20 |
21 | /// The ``OpenFeatureAPI`` singleton
22 | static public let shared = OpenFeatureAPI()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'OpenFeatureAPI' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:217:30: warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
215 | self.providerLifecycleQueue.async {
216 | var cancelable: AnyCancellable?
217 | cancelable = work()
| |- warning: capture of 'work' with non-sendable type '() -> Future<Void, Never>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/OpenFeatureAPI.swift:220:25: warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
218 | .sink { _ in
219 | withExtendedLifetime(cancelable) {}
220 | resolve(.success(()))
| |- warning: capture of 'resolve' with non-sendable type '(Result<Void, Never>) -> Void' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
221 | }
222 | }
[40/51] Compiling OpenFeature OpenFeatureClient.swift
[41/51] Compiling OpenFeature FeatureProvider.swift
[42/51] Compiling OpenFeature FirstMatchStrategy.swift
[43/51] Compiling OpenFeature FirstSuccessfulStrategy.swift
[44/51] Compiling OpenFeature MultiProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:40:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
38 | return Future { promise in
39 | afterAll(futures) {
40 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | promise(.success(()))
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:41:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | afterAll(futures) {
40 | self.updateStatus()
41 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:54:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
52 | self.statusTracker.send(.reconciling())
53 | afterAll(futures) {
54 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | promise(.success(()))
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:55:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | afterAll(futures) {
54 | self.updateStatus()
55 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | }
57 | }
[45/51] Compiling OpenFeature Strategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:40:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
38 | return Future { promise in
39 | afterAll(futures) {
40 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | promise(.success(()))
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:41:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | afterAll(futures) {
40 | self.updateStatus()
41 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:54:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
52 | self.statusTracker.send(.reconciling())
53 | afterAll(futures) {
54 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | promise(.success(()))
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:55:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | afterAll(futures) {
54 | self.updateStatus()
55 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | }
57 | }
[46/51] Compiling OpenFeature NoOpProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:40:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
38 | return Future { promise in
39 | afterAll(futures) {
40 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | promise(.success(()))
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:41:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | afterAll(futures) {
40 | self.updateStatus()
41 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:54:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
52 | self.statusTracker.send(.reconciling())
53 | afterAll(futures) {
54 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | promise(.success(()))
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:55:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | afterAll(futures) {
54 | self.updateStatus()
55 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | }
57 | }
[47/51] Compiling OpenFeature ProviderEvaluation.swift
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:40:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
38 | return Future { promise in
39 | afterAll(futures) {
40 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | promise(.success(()))
42 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:41:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | afterAll(futures) {
40 | self.updateStatus()
41 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:54:17: warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
4 |
5 | /// A provider that combines multiple providers into a single provider.
6 | public class MultiProvider: FeatureProvider {
| `- note: class 'MultiProvider' does not conform to the 'Sendable' protocol
7 | public var hooks: [any Hook] {
8 | []
:
52 | self.statusTracker.send(.reconciling())
53 | afterAll(futures) {
54 | self.updateStatus()
| `- warning: capture of 'self' with non-sendable type 'MultiProvider' in a '@Sendable' closure; this is an error in the Swift 6 language mode
55 | promise(.success(()))
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/OpenFeature/Provider/MultiProvider/MultiProvider.swift:55:17: warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
53 | afterAll(futures) {
54 | self.updateStatus()
55 | promise(.success(()))
| |- warning: capture of 'promise' with non-sendable type '(Result<Void, Never>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
56 | }
57 | }
[48/51] Compiling OpenFeature HookContext.swift
[49/51] Compiling OpenFeature HookSupport.swift
[50/51] Compiling OpenFeature ImmutableContext.swift
[51/51] Compiling OpenFeature ImmutableStructure.swift
Build complete! (8.35s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.97s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.12.0 (1.52s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.12.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"manifest_display_name" : "OpenFeature",
"name" : "OpenFeature",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "OpenFeature",
"targets" : [
"OpenFeature"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OpenFeatureTests",
"module_type" : "SwiftTarget",
"name" : "OpenFeatureTests",
"path" : "Tests/OpenFeatureTests",
"product_dependencies" : [
"Logging"
],
"sources" : [
"DeveloperExperienceTests.swift",
"EvalContextTests.swift",
"FlagEvaluationTests.swift",
"Helpers/AlwaysBrokenProvider.swift",
"Helpers/BooleanHookMock.swift",
"Helpers/DoSomethingProvider.swift",
"Helpers/IntHookMock.swift",
"Helpers/MockProvider.swift",
"Helpers/MutableContext.swift",
"Helpers/StaggeredProvider.swift",
"Helpers/ThrowingProvider.swift",
"HookSpecTests.swift",
"HookSupportTests.swift",
"ImmutableContextTests.swift",
"ImmutableTrackingEventDetailsTests.swift",
"LoggerTests.swift",
"MultiProviderTests.swift",
"OpenFeatureClientTests.swift",
"ProviderEventTests.swift",
"ProviderLifecycleTests.swift",
"ProviderSpecTests.swift",
"ProviderStatusTrackerTests.swift",
"StructureTests.swift",
"ValueTests.swift"
],
"target_dependencies" : [
"OpenFeature"
],
"type" : "test"
},
{
"c99name" : "OpenFeature",
"module_type" : "SwiftTarget",
"name" : "OpenFeature",
"path" : "Sources/OpenFeature",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"OpenFeature"
],
"sources" : [
"BaseEvaluation.swift",
"Client.swift",
"ClientMetadata.swift",
"EvaluationContext.swift",
"EventHandler.swift",
"EventMetadataValue.swift",
"Features+Defaults.swift",
"Features.swift",
"FlagEvaluationDetails.swift",
"FlagEvaluationOptions.swift",
"FlagMetadataValue.swift",
"FlagValueType.swift",
"Hook.swift",
"HookContext.swift",
"HookSupport.swift",
"ImmutableContext.swift",
"ImmutableStructure.swift",
"ImmutableTrackingEventDetails.swift",
"MetadataValue.swift",
"MutableStructure.swift",
"OpenFeatureAPI.swift",
"OpenFeatureClient.swift",
"Provider/FeatureProvider.swift",
"Provider/MultiProvider/FirstMatchStrategy.swift",
"Provider/MultiProvider/FirstSuccessfulStrategy.swift",
"Provider/MultiProvider/MultiProvider.swift",
"Provider/MultiProvider/Strategy.swift",
"Provider/NoOpProvider.swift",
"Provider/ProviderEvaluation.swift",
"Provider/ProviderEventDetails.swift",
"Provider/ProviderEvents.swift",
"Provider/ProviderMetadata.swift",
"Provider/ProviderStatus.swift",
"ProviderStatusTracker.swift",
"Reason.swift",
"Structure.swift",
"Tracking.swift",
"TrackingEventDetails.swift",
"Value.swift",
"exceptions/ErrorCode.swift",
"exceptions/OpenFeatureError.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.