Build Information
Successful build of ReactiveSwift, reference master (7f7334
), with Swift 6.0 for macOS (SPM) on 10 Feb 2025 11:01:31 UTC.
Swift 6 data race errors: 10
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.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
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/1257] Fetching cwlpreconditiontesting
[630/1712] Fetching cwlpreconditiontesting, cwlcatchexception
[1613/16455] Fetching cwlpreconditiontesting, cwlcatchexception, quick
[1861/36006] Fetching cwlpreconditiontesting, cwlcatchexception, quick, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.70s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.70s)
Fetched https://github.com/Quick/Nimble.git from cache (2.70s)
Fetched https://github.com/Quick/Quick.git from cache (2.70s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.2.1 (0.54s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.4.1 (0.47s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.1 (0.59s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.0 (0.59s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.4.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "reactiveswift",
"name": "ReactiveSwift",
"url": "https://github.com/ReactiveCocoa/ReactiveSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReactiveSwift",
"dependencies": [
]
}
]
}
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/52488] Fetching reactiveswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (2.22s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at master (7f73349)
warning: '.resolve-product-dependencies': dependency 'reactiveswift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
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.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[1/4] Write swift-version-5BDAB9E9C0126B9D.txt
[3/51] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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 |
[4/56] Compiling ReactiveSwift Observer.swift
[5/56] Compiling ReactiveSwift Operators.swift
[6/56] Compiling ReactiveSwift Reduce.swift
[7/56] Compiling ReactiveSwift ScanMap.swift
[8/56] Compiling ReactiveSwift SkipFirst.swift
[9/56] Compiling ReactiveSwift Map.swift
[10/56] Compiling ReactiveSwift MapError.swift
[11/56] Compiling ReactiveSwift Materialize.swift
[12/56] Compiling ReactiveSwift MaterializeAsResult.swift
[13/56] Compiling ReactiveSwift ObserveOn.swift
[14/56] Compiling ReactiveSwift TakeWhile.swift
[15/56] Compiling ReactiveSwift Throttle.swift
[16/56] Compiling ReactiveSwift UnaryAsyncOperator.swift
[17/56] Compiling ReactiveSwift UniqueValues.swift
[18/56] Compiling ReactiveSwift Optional.swift
[19/56] Compiling ReactiveSwift SkipRepeats.swift
[20/56] Compiling ReactiveSwift SkipWhile.swift
[21/56] Compiling ReactiveSwift TakeFirst.swift
[22/56] Compiling ReactiveSwift TakeLast.swift
[23/56] Compiling ReactiveSwift TakeUntil.swift
[24/56] Compiling ReactiveSwift Delay.swift
[25/56] Compiling ReactiveSwift Dematerialize.swift
[26/56] Compiling ReactiveSwift DematerializeResults.swift
[27/56] Compiling ReactiveSwift Filter.swift
[28/56] Compiling ReactiveSwift LazyMap.swift
[29/56] 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[30/56] 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[31/56] 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[32/56] 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[33/56] 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: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'concat' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'race' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'throttle' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[34/56] Compiling ReactiveSwift Collect.swift
[35/56] Compiling ReactiveSwift CollectEvery.swift
[36/56] Compiling ReactiveSwift CombinePrevious.swift
[37/56] Compiling ReactiveSwift CompactMap.swift
[38/56] Compiling ReactiveSwift Debounce.swift
[39/56] Compiling ReactiveSwift Property.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:18:15: note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| |- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
| `- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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 |
/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 | }
[40/56] Compiling ReactiveSwift Reactive.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:18:15: note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| |- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
| `- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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 |
/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 | }
[41/56] Compiling ReactiveSwift ResultExtensions.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:18:15: note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| |- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
| `- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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 |
/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 | }
[42/56] Compiling ReactiveSwift Scheduler.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:18:15: note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| |- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
| `- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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 |
/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 | }
[43/56] Compiling ReactiveSwift Signal.Observer.swift
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'SignalProducer<Bool, Never>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/Users/admin/builder/spi-builder-workspace/Sources/SignalProducer.swift:18:15: note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| |- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
| `- note: consider making generic struct 'SignalProducer' conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/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: annotate '__once' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'main' with '@MainActor' if property should only be accessed from the main actor
| `- 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: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 |
/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 | }
[44/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[45/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[46/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[47/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[48/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[49/56] 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | var isDisposed = true
62 | func dispose() {}
[50/56] 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 |
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Signal.swift:20:20: note: generic class 'Signal' does not conform to the 'Sendable' protocol
18 | /// 1. its input observer receives a terminating event; or
19 | /// 2. it has no active observers, and is not being retained.
20 | public final class Signal<Value, Error: Swift.Error> {
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| `- note: generic class 'Signal' does not conform to the 'Sendable' protocol
21 | /// The `Signal` core which manages the event stream.
22 | ///
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[51/56] 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 |
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Signal.swift:20:20: note: generic class 'Signal' does not conform to the 'Sendable' protocol
18 | /// 1. its input observer receives a terminating event; or
19 | /// 2. it has no active observers, and is not being retained.
20 | public final class Signal<Value, Error: Swift.Error> {
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| `- note: generic class 'Signal' does not conform to the 'Sendable' protocol
21 | /// The `Signal` core which manages the event stream.
22 | ///
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[52/56] 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 |
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Signal.swift:20:20: note: generic class 'Signal' does not conform to the 'Sendable' protocol
18 | /// 1. its input observer receives a terminating event; or
19 | /// 2. it has no active observers, and is not being retained.
20 | public final class Signal<Value, Error: Swift.Error> {
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| `- note: generic class 'Signal' does not conform to the 'Sendable' protocol
21 | /// The `Signal` core which manages the event stream.
22 | ///
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[53/56] 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 |
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Signal.swift:20:20: note: generic class 'Signal' does not conform to the 'Sendable' protocol
18 | /// 1. its input observer receives a terminating event; or
19 | /// 2. it has no active observers, and is not being retained.
20 | public final class Signal<Value, Error: Swift.Error> {
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| `- note: generic class 'Signal' does not conform to the 'Sendable' protocol
21 | /// The `Signal` core which manages the event stream.
22 | ///
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[54/56] 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 |
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
<unknown>:0: warning: implicit capture of 'self' requires that 'Signal<Value, Error>' conforms to `Sendable`; this is an error in the Swift 6 language mode
/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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Signal.swift:20:20: note: generic class 'Signal' does not conform to the 'Sendable' protocol
18 | /// 1. its input observer receives a terminating event; or
19 | /// 2. it has no active observers, and is not being retained.
20 | public final class Signal<Value, Error: Swift.Error> {
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| |- note: generic class 'Signal' does not conform to the 'Sendable' protocol
| `- note: generic class 'Signal' does not conform to the 'Sendable' protocol
21 | /// The `Signal` core which manages the event stream.
22 | ///
/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: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | let disposables = CompositeDisposable()
82 | disposables.dispose()
[54/56] Write Objects.LinkFileList
[55/56] Linking libReactiveSwift-Dynamic.dylib
Build complete! (16.14s)
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.