Build Information
Successful build of ReactiveSwift, reference master (7f7334
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 21:15:45 UTC.
Swift 6 data race errors: 10
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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ReactiveCocoa/ReactiveSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ReactiveCocoa/ReactiveSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7f73349 Add primary associated types to property and binding protocols (#888)
Submodule path 'Carthage/Checkouts/Nimble': checked out 'efe11bbca024b57115260709b5c05e01131470d0'
Submodule path 'Carthage/Checkouts/Quick': checked out '6d01974d236f598633cac58280372c0c8cfea5bc'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out 'c1f3dd66222d5e7a1a20afc237f7e7bc432c564f'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '4ced0ad5a971220917994a4edfa6abf9702e3818'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/xcconfigs/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/ReactiveCocoa/ReactiveSwift.git
Revision (git rev-parse @):
7f733497761379030d1b82e36d5b7c3deabbf01b
SUCCESS checkout https://github.com/ReactiveCocoa/ReactiveSwift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ReactiveCocoa/ReactiveSwift.git
https://github.com/ReactiveCocoa/ReactiveSwift.git
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "13.0.0",
"upper_bound" : "14.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "ReactiveSwift",
"name" : "ReactiveSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "ReactiveSwift",
"targets" : [
"ReactiveSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ReactiveSwift-Dynamic",
"targets" : [
"ReactiveSwift"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ReactiveSwiftTests",
"module_type" : "SwiftTarget",
"name" : "ReactiveSwiftTests",
"path" : "Tests/ReactiveSwiftTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"ActionSpec.swift",
"AtomicSpec.swift",
"BagSpec.swift",
"DateSchedulerAsyncTestCase.swift",
"DeprecationSpec.swift",
"DisposableSpec.swift",
"FlattenSpec.swift",
"FoundationExtensionsSpec.swift",
"LifetimeSpec.swift",
"PropertySpec.swift",
"QueueScheduler+Factory.swift",
"ReactiveExtensionsSpec.swift",
"SchedulerSpec.swift",
"SignalLifetimeSpec.swift",
"SignalProducerLiftingSpec.swift",
"SignalProducerNimbleMatchers.swift",
"SignalProducerSpec.swift",
"SignalSpec.swift",
"TestError.swift",
"TestLogger.swift",
"TestSchedulerAsyncTestCase.swift",
"UnidirectionalBindingSpec.swift",
"ValidatingPropertySpec.swift"
],
"target_dependencies" : [
"ReactiveSwift"
],
"type" : "test"
},
{
"c99name" : "ReactiveSwift",
"module_type" : "SwiftTarget",
"name" : "ReactiveSwift",
"path" : "Sources",
"product_memberships" : [
"ReactiveSwift",
"ReactiveSwift-Dynamic"
],
"sources" : [
"Action.swift",
"Atomic.swift",
"Bag.swift",
"Deprecations+Removals.swift",
"Disposable.swift",
"Event.swift",
"EventLogger.swift",
"Flatten.swift",
"FoundationExtensions.swift",
"Lifetime.swift",
"Observers/AttemptMap.swift",
"Observers/Collect.swift",
"Observers/CollectEvery.swift",
"Observers/CombinePrevious.swift",
"Observers/CompactMap.swift",
"Observers/Debounce.swift",
"Observers/Delay.swift",
"Observers/Dematerialize.swift",
"Observers/DematerializeResults.swift",
"Observers/Filter.swift",
"Observers/LazyMap.swift",
"Observers/Map.swift",
"Observers/MapError.swift",
"Observers/Materialize.swift",
"Observers/MaterializeAsResult.swift",
"Observers/ObserveOn.swift",
"Observers/Observer.swift",
"Observers/Operators.swift",
"Observers/Reduce.swift",
"Observers/ScanMap.swift",
"Observers/SkipFirst.swift",
"Observers/SkipRepeats.swift",
"Observers/SkipWhile.swift",
"Observers/TakeFirst.swift",
"Observers/TakeLast.swift",
"Observers/TakeUntil.swift",
"Observers/TakeWhile.swift",
"Observers/Throttle.swift",
"Observers/UnaryAsyncOperator.swift",
"Observers/UniqueValues.swift",
"Optional.swift",
"Property.swift",
"Reactive.swift",
"ResultExtensions.swift",
"Scheduler.swift",
"Signal.Observer.swift",
"Signal.swift",
"SignalProducer.swift",
"UnidirectionalBinding.swift",
"UninhabitedTypeGuards.swift",
"ValidatingProperty.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
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
[1/1] Compiling plugin LintCommandPlugin
[2/2] Compiling plugin LintWarning
[3/3] Compiling plugin LintError
[4/4] Compiling plugin DefocusCommandPlugin
[5/5] Compiling plugin GenerateManual
Building for debugging...
[5/9] Write sources
[6/9] Write swift-version-2F0A5646E1D333AE.txt
[8/56] Emitting module ReactiveSwift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[9/61] Compiling ReactiveSwift Map.swift
[10/61] Compiling ReactiveSwift MapError.swift
[11/61] Compiling ReactiveSwift Materialize.swift
[12/61] Compiling ReactiveSwift MaterializeAsResult.swift
[13/61] Compiling ReactiveSwift ObserveOn.swift
[14/61] Compiling ReactiveSwift Observer.swift
[15/61] Compiling ReactiveSwift Operators.swift
[16/61] Compiling ReactiveSwift Reduce.swift
[17/61] Compiling ReactiveSwift ScanMap.swift
[18/61] Compiling ReactiveSwift SkipFirst.swift
[19/61] Compiling ReactiveSwift SkipRepeats.swift
[20/61] Compiling ReactiveSwift SkipWhile.swift
[21/61] Compiling ReactiveSwift TakeFirst.swift
[22/61] Compiling ReactiveSwift TakeLast.swift
[23/61] Compiling ReactiveSwift TakeUntil.swift
[24/61] Compiling ReactiveSwift Collect.swift
[25/61] Compiling ReactiveSwift CollectEvery.swift
[26/61] Compiling ReactiveSwift CombinePrevious.swift
[27/61] Compiling ReactiveSwift CompactMap.swift
[28/61] Compiling ReactiveSwift Debounce.swift
[29/61] Compiling ReactiveSwift Property.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:174:5: warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | }
173 | continuation.onTermination = { _ in
174 | disposable?.dispose()
| `- warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | }
176 | // NB: This explicit cast is needed to work around a compiler bug in Swift 5.5.2
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:389:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
387 |
388 | queue.async {
389 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
390 | action()
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:390:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
388 | queue.async {
389 | if !d.isDisposed {
390 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
391 | }
392 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:419:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
417 |
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
420 | action()
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:420:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
420 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
421 | }
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:266:12: warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
| |- warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'disposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
267 | action()
268 | }
269 |
270 | return disposable
| `- note: access can happen concurrently
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:265:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 |
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | guard !disposable.isDisposed else { return }
267 | action()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:267:5: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
267 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
268 | }
269 |
[30/61] Compiling ReactiveSwift Reactive.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:174:5: warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | }
173 | continuation.onTermination = { _ in
174 | disposable?.dispose()
| `- warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | }
176 | // NB: This explicit cast is needed to work around a compiler bug in Swift 5.5.2
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:389:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
387 |
388 | queue.async {
389 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
390 | action()
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:390:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
388 | queue.async {
389 | if !d.isDisposed {
390 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
391 | }
392 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:419:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
417 |
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
420 | action()
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:420:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
420 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
421 | }
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:266:12: warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
| |- warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'disposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
267 | action()
268 | }
269 |
270 | return disposable
| `- note: access can happen concurrently
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:265:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 |
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | guard !disposable.isDisposed else { return }
267 | action()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:267:5: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
267 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
268 | }
269 |
[31/61] Compiling ReactiveSwift ResultExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:174:5: warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | }
173 | continuation.onTermination = { _ in
174 | disposable?.dispose()
| `- warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | }
176 | // NB: This explicit cast is needed to work around a compiler bug in Swift 5.5.2
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:389:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
387 |
388 | queue.async {
389 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
390 | action()
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:390:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
388 | queue.async {
389 | if !d.isDisposed {
390 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
391 | }
392 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:419:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
417 |
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
420 | action()
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:420:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
420 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
421 | }
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:266:12: warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
| |- warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'disposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
267 | action()
268 | }
269 |
270 | return disposable
| `- note: access can happen concurrently
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:265:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 |
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | guard !disposable.isDisposed else { return }
267 | action()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:267:5: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
267 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
268 | }
269 |
[32/61] Compiling ReactiveSwift Scheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:174:5: warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | }
173 | continuation.onTermination = { _ in
174 | disposable?.dispose()
| `- warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | }
176 | // NB: This explicit cast is needed to work around a compiler bug in Swift 5.5.2
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:389:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
387 |
388 | queue.async {
389 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
390 | action()
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:390:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
388 | queue.async {
389 | if !d.isDisposed {
390 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
391 | }
392 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:419:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
417 |
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
420 | action()
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:420:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
420 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
421 | }
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:266:12: warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
| |- warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'disposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
267 | action()
268 | }
269 |
270 | return disposable
| `- note: access can happen concurrently
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:265:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 |
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | guard !disposable.isDisposed else { return }
267 | action()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:267:5: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
267 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
268 | }
269 |
[33/61] Compiling ReactiveSwift Signal.Observer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:209:21: warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
207 | private static let dispatchSpecificKey = DispatchSpecificKey<UInt8>()
208 | private static let dispatchSpecificValue = UInt8.max
209 | private static var __once: () = {
| |- warning: static property '__once' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '__once' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '__once' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
210 | DispatchQueue.main.setSpecific(key: UIScheduler.dispatchSpecificKey,
211 | value: dispatchSpecificValue)
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:329:20: warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// A scheduler backed by a serial GCD queue.
322 | public final class QueueScheduler: DateScheduler {
| `- note: class 'QueueScheduler' does not conform to the 'Sendable' protocol
323 | /// A singleton `QueueScheduler` that always targets the main thread's GCD
324 | /// queue.
:
327 | /// future date, and will always schedule asynchronously (even if
328 | /// already running on the main thread).
329 | public static let main = QueueScheduler(internalQueue: DispatchQueue.main)
| |- warning: static property 'main' is not concurrency-safe because non-'Sendable' type 'QueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'main' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 |
331 | public var currentDate: Date {
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:174:5: warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
172 | }
173 | continuation.onTermination = { _ in
174 | disposable?.dispose()
| `- warning: capture of 'disposable' with non-sendable type '(any Disposable)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
175 | }
176 | // NB: This explicit cast is needed to work around a compiler bug in Swift 5.5.2
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:389:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
387 |
388 | queue.async {
389 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
390 | action()
391 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:390:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
388 | queue.async {
389 | if !d.isDisposed {
390 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
391 | }
392 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:419:8: warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
417 |
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
| `- warning: capture of 'd' with non-sendable type 'AnyDisposable' in a '@Sendable' closure
420 | action()
421 | }
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:67:20: note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
65 |
66 | /// A type-erased disposable that forwards operations to an underlying disposable.
67 | public final class AnyDisposable: Disposable {
| `- note: class 'AnyDisposable' does not conform to the 'Sendable' protocol
68 | private final class ActionDisposable: Disposable {
69 | let state: UnsafeAtomicState<DisposableState>
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:420:5: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
418 | queue.asyncAfter(wallDeadline: wallTime(with: date)) {
419 | if !d.isDisposed {
420 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
421 | }
422 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:266:12: warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
| |- warning: sending 'disposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: 'disposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
267 | action()
268 | }
269 |
270 | return disposable
| `- note: access can happen concurrently
271 | }
272 | }
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:265:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
263 |
264 | DispatchQueue.main.async {
265 | defer { self.dequeue() }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
266 | guard !disposable.isDisposed else { return }
267 | action()
/Users/admin/builder/spi-builder-workspace/Sources/Scheduler.swift:267:5: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
265 | defer { self.dequeue() }
266 | guard !disposable.isDisposed else { return }
267 | action()
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
268 | }
269 |
[34/61] Compiling ReactiveSwift Delay.swift
[35/61] Compiling ReactiveSwift Dematerialize.swift
[36/61] Compiling ReactiveSwift DematerializeResults.swift
[37/61] Compiling ReactiveSwift Filter.swift
[38/61] Compiling ReactiveSwift LazyMap.swift
[39/61] Compiling ReactiveSwift TakeWhile.swift
[40/61] Compiling ReactiveSwift Throttle.swift
[41/61] Compiling ReactiveSwift UnaryAsyncOperator.swift
[42/61] Compiling ReactiveSwift UniqueValues.swift
[43/61] Compiling ReactiveSwift Optional.swift
[44/61] Compiling ReactiveSwift EventLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:36:5: warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
34 | return Signal { [base = self.base] observer, lifetime in
35 | let notificationObserver = base.addObserver(forName: name, object: object, queue: nil) { notification in
36 | observer.send(value: notification)
| `- warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:70:6: warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
68 | let task = base.dataTask(with: request) { data, response, error in
69 | if let data = data, let response = response {
70 | observer.send(value: (data, response))
| `- warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
71 | observer.sendCompleted()
72 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[45/61] Compiling ReactiveSwift Flatten.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:36:5: warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
34 | return Signal { [base = self.base] observer, lifetime in
35 | let notificationObserver = base.addObserver(forName: name, object: object, queue: nil) { notification in
36 | observer.send(value: notification)
| `- warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:70:6: warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
68 | let task = base.dataTask(with: request) { data, response, error in
69 | if let data = data, let response = response {
70 | observer.send(value: (data, response))
| `- warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
71 | observer.sendCompleted()
72 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[46/61] Compiling ReactiveSwift FoundationExtensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:36:5: warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
34 | return Signal { [base = self.base] observer, lifetime in
35 | let notificationObserver = base.addObserver(forName: name, object: object, queue: nil) { notification in
36 | observer.send(value: notification)
| `- warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:70:6: warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
68 | let task = base.dataTask(with: request) { data, response, error in
69 | if let data = data, let response = response {
70 | observer.send(value: (data, response))
| `- warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
71 | observer.sendCompleted()
72 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[47/61] Compiling ReactiveSwift Lifetime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:36:5: warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
34 | return Signal { [base = self.base] observer, lifetime in
35 | let notificationObserver = base.addObserver(forName: name, object: object, queue: nil) { notification in
36 | observer.send(value: notification)
| `- warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:70:6: warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
68 | let task = base.dataTask(with: request) { data, response, error in
69 | if let data = data, let response = response {
70 | observer.send(value: (data, response))
| `- warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
71 | observer.sendCompleted()
72 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[48/61] Compiling ReactiveSwift AttemptMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'merge' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:51:20: warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
49 | /// Any failure from the inner streams is propagated immediately to the flattened
50 | /// stream of values.
51 | public static let concat = FlattenStrategy(kind: .concurrent(limit: 1))
| |- warning: static property 'concat' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'concat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /// The stream of streams is merged with the given concurrency cap, so that any value
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'latest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:99:20: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
97 | /// Any failure from the inner streams is propagated immediately to the flattened
98 | /// stream of values.
99 | public static let race = FlattenStrategy(kind: .race)
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Given a first inner stream, all subsequent inner streams sent by the upstream would
/Users/admin/builder/spi-builder-workspace/Sources/Flatten.swift:114:20: warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
112 | /// Any failure from the inner streams is propagated immediately to the flattened
113 | /// stream of values.
114 | public static let throttle = FlattenStrategy(kind: .throttle)
| |- warning: static property 'throttle' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'throttle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | }
116 |
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:36:5: warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
34 | return Signal { [base = self.base] observer, lifetime in
35 | let notificationObserver = base.addObserver(forName: name, object: object, queue: nil) { notification in
36 | observer.send(value: notification)
| `- warning: capture of 'observer' with non-sendable type 'Signal<Notification, Never>.Observer' in a '@Sendable' closure
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/FoundationExtensions.swift:70:6: warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
68 | let task = base.dataTask(with: request) { data, response, error in
69 | if let data = data, let response = response {
70 | observer.send(value: (data, response))
| `- warning: capture of 'observer' with non-sendable type 'Signal<(Data, URLResponse), any Error>.Observer' in a '@Sendable' closure
71 | observer.sendCompleted()
72 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Lifetime.swift:80:20: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
:
78 |
79 | /// A `Lifetime` that has already ended.
80 | public static let empty: Lifetime = {
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Lifetime' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'empty' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[49/61] Compiling ReactiveSwift Action.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[50/61] Compiling ReactiveSwift Atomic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[51/61] Compiling ReactiveSwift Bag.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[52/61] Compiling ReactiveSwift Deprecations+Removals.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[53/61] Compiling ReactiveSwift Disposable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[54/61] Compiling ReactiveSwift Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/Disposable.swift:60:13: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 | /// A disposable that has already been disposed.
59 | internal final class NopDisposable: Disposable {
| `- note: class 'NopDisposable' does not conform to the 'Sendable' protocol
60 | static let shared = NopDisposable()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NopDisposable' 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
61 | var isDisposed = true
62 | func dispose() {}
[55/61] Compiling ReactiveSwift Signal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[56/61] Compiling ReactiveSwift SignalProducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[57/61] Compiling ReactiveSwift UnidirectionalBinding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[58/61] Compiling ReactiveSwift UninhabitedTypeGuards.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[59/61] Compiling ReactiveSwift ValidatingProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:2946:6: warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2942 | /// attachment to a `ReplayState`, and the observer should replay the supplied
2943 | /// values before attempting to observe again.
2944 | private struct ReplayError<Value>: Error {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
2945 | /// The values that should be replayed by the observer.
2946 | let values: [Value]
| `- warning: stored property 'values' of 'Sendable'-conforming generic struct 'ReplayError' has non-sendable type '[Value]'; this is an error in the Swift 6 language mode
2947 | }
2948 |
[59/61] Write Objects.LinkFileList
[60/61] Linking libReactiveSwift-Dynamic.dylib
Build complete! (23.17s)
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[2/34322] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.75s)
Fetched https://github.com/Quick/Nimble.git from cache (1.75s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (2.27s)
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-algorithms.git from cache (0.51s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.69s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.27s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.91s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.57s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.7.1 (0.48s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.76s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.35s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.68s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.26s)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.7.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
warning: 'nimble': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Nimble/Sources/Nimble/PrivacyInfo.xcprivacy
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "13.0.0",
"upper_bound" : "14.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "ReactiveSwift",
"name" : "ReactiveSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "ReactiveSwift",
"targets" : [
"ReactiveSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ReactiveSwift-Dynamic",
"targets" : [
"ReactiveSwift"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ReactiveSwiftTests",
"module_type" : "SwiftTarget",
"name" : "ReactiveSwiftTests",
"path" : "Tests/ReactiveSwiftTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"ActionSpec.swift",
"AtomicSpec.swift",
"BagSpec.swift",
"DateSchedulerAsyncTestCase.swift",
"DeprecationSpec.swift",
"DisposableSpec.swift",
"FlattenSpec.swift",
"FoundationExtensionsSpec.swift",
"LifetimeSpec.swift",
"PropertySpec.swift",
"QueueScheduler+Factory.swift",
"ReactiveExtensionsSpec.swift",
"SchedulerSpec.swift",
"SignalLifetimeSpec.swift",
"SignalProducerLiftingSpec.swift",
"SignalProducerNimbleMatchers.swift",
"SignalProducerSpec.swift",
"SignalSpec.swift",
"TestError.swift",
"TestLogger.swift",
"TestSchedulerAsyncTestCase.swift",
"UnidirectionalBindingSpec.swift",
"ValidatingPropertySpec.swift"
],
"target_dependencies" : [
"ReactiveSwift"
],
"type" : "test"
},
{
"c99name" : "ReactiveSwift",
"module_type" : "SwiftTarget",
"name" : "ReactiveSwift",
"path" : "Sources",
"product_memberships" : [
"ReactiveSwift",
"ReactiveSwift-Dynamic"
],
"sources" : [
"Action.swift",
"Atomic.swift",
"Bag.swift",
"Deprecations+Removals.swift",
"Disposable.swift",
"Event.swift",
"EventLogger.swift",
"Flatten.swift",
"FoundationExtensions.swift",
"Lifetime.swift",
"Observers/AttemptMap.swift",
"Observers/Collect.swift",
"Observers/CollectEvery.swift",
"Observers/CombinePrevious.swift",
"Observers/CompactMap.swift",
"Observers/Debounce.swift",
"Observers/Delay.swift",
"Observers/Dematerialize.swift",
"Observers/DematerializeResults.swift",
"Observers/Filter.swift",
"Observers/LazyMap.swift",
"Observers/Map.swift",
"Observers/MapError.swift",
"Observers/Materialize.swift",
"Observers/MaterializeAsResult.swift",
"Observers/ObserveOn.swift",
"Observers/Observer.swift",
"Observers/Operators.swift",
"Observers/Reduce.swift",
"Observers/ScanMap.swift",
"Observers/SkipFirst.swift",
"Observers/SkipRepeats.swift",
"Observers/SkipWhile.swift",
"Observers/TakeFirst.swift",
"Observers/TakeLast.swift",
"Observers/TakeUntil.swift",
"Observers/TakeWhile.swift",
"Observers/Throttle.swift",
"Observers/UnaryAsyncOperator.swift",
"Observers/UniqueValues.swift",
"Optional.swift",
"Property.swift",
"Reactive.swift",
"ResultExtensions.swift",
"Scheduler.swift",
"Signal.Observer.swift",
"Signal.swift",
"SignalProducer.swift",
"UnidirectionalBinding.swift",
"UninhabitedTypeGuards.swift",
"ValidatingProperty.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.