Build Information
Successful build of PublisherKit, reference master (0abfe5
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 10:19:27 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
86 | self.downstreamLock.unlock()
87 |
[85/139] Compiling PublisherKit Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/NSObject/NSObject.swift:79:36: warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |
46 | // MARK: NSOBJECT SINK
47 | private final class KVOSubscription<Subject: NSObject, Output, Failure: Error>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable {
| `- note: generic class 'KVOSubscription' does not conform to the 'Sendable' protocol
48 |
49 | private var observer: NSKeyValueObservation?
:
77 |
78 | let observer = object?.observe(keyPath, options: options) { [weak self] (object, valueChange) in
79 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |
81 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:77:36: warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
75 | observer = center.addObserver(forName: name, object: object, queue: nil) { [weak self] (notification) in
76 |
77 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 |
79 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:85:40: warning: capture of 'downstream' with non-sendable type 'Downstream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: consider making generic parameter 'Downstream' conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
83 |
84 | self.downstreamLock.lock()
85 | let additionalDemand = downstream.receive(notification)
| `- warning: capture of 'downstream' with non-sendable type 'Downstream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 | self.downstreamLock.unlock()
87 |
[86/139] Compiling PublisherKit Prefix Until Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/NSObject/NSObject.swift:79:36: warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |
46 | // MARK: NSOBJECT SINK
47 | private final class KVOSubscription<Subject: NSObject, Output, Failure: Error>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable {
| `- note: generic class 'KVOSubscription' does not conform to the 'Sendable' protocol
48 |
49 | private var observer: NSKeyValueObservation?
:
77 |
78 | let observer = object?.observe(keyPath, options: options) { [weak self] (object, valueChange) in
79 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |
81 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:77:36: warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
75 | observer = center.addObserver(forName: name, object: object, queue: nil) { [weak self] (notification) in
76 |
77 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
78 |
79 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:85:40: warning: capture of 'downstream' with non-sendable type 'Downstream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: consider making generic parameter 'Downstream' conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
83 |
84 | self.downstreamLock.lock()
85 | let additionalDemand = downstream.receive(notification)
| `- warning: capture of 'downstream' with non-sendable type 'Downstream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 | self.downstreamLock.unlock()
87 |
[87/139] Compiling PublisherKit Prefix While.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[88/139] Compiling PublisherKit Print.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[89/139] Compiling PublisherKit Publishers.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[90/139] Compiling PublisherKit Receive On.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[91/139] Compiling PublisherKit Record.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[92/139] Compiling PublisherKit Reduce.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[93/139] Compiling PublisherKit Remove Duplicates.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[94/139] Compiling PublisherKit Replace Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[95/139] Compiling PublisherKit Replace Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[96/139] Compiling PublisherKit Result+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[97/139] Compiling PublisherKit Result.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[98/139] Compiling PublisherKit Retry.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[99/139] Compiling PublisherKit Scan.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[100/139] Compiling PublisherKit Encode.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[101/139] Compiling PublisherKit Fail.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[102/139] Compiling PublisherKit Filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[103/139] Compiling PublisherKit First.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[104/139] Compiling PublisherKit Flat Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[105/139] Compiling PublisherKit Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[106/139] Compiling PublisherKit Handle Events.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[107/139] Compiling PublisherKit Ignore Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[108/139] Compiling PublisherKit Just+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[109/139] Compiling PublisherKit Just.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[110/139] Compiling PublisherKit Last.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[111/139] Compiling PublisherKit Make Connectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[112/139] Compiling PublisherKit Map Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[113/139] Compiling PublisherKit Map Keypath.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[114/139] Compiling PublisherKit Sequence+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[115/139] Compiling PublisherKit Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[116/139] Compiling PublisherKit Set Failure Type.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[117/139] Compiling PublisherKit Share.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[118/139] Compiling PublisherKit Subscribe On.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[119/139] Compiling PublisherKit Swift To Latest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[120/139] Compiling PublisherKit Throttle.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[121/139] Compiling PublisherKit Timeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[122/139] Compiling PublisherKit Timer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[123/139] Compiling PublisherKit NSTextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[124/139] Compiling PublisherKit NSTextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[125/139] Compiling PublisherKit UITextField.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[126/139] Compiling PublisherKit UITextView.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
[127/139] Compiling PublisherKit Assign.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[128/139] Compiling PublisherKit Completion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[129/139] Compiling PublisherKit Demand.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[130/139] Compiling PublisherKit Filter Producer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[131/139] Compiling PublisherKit PartialCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[132/139] Compiling PublisherKit Reduce Producer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[133/139] Compiling PublisherKit Subject Subscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[134/139] Compiling PublisherKit OnCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[135/139] Compiling PublisherKit Sink.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[136/139] Compiling PublisherKit Subscribers.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[137/139] Compiling PublisherKit Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[138/139] Compiling PublisherKit Subscription Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
[139/139] Compiling PublisherKit Subscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unlimited' 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
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
29 |
30 | /// Limits the maximum number of values.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Logger/Logger.swift:16:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | final public class Logger {
| `- note: class 'Logger' does not conform to the 'Sendable' protocol
11 |
12 | /// Allows Logs to be Printed in Debug Console.
:
14 | public var isLoggingEnabled: Bool = true
15 |
16 | public static let `default` = Logger()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Logger' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
17 |
18 | /**
Build complete! (20.29s)
Build complete.
{
"cxx_language_standard" : "c++1z",
"dependencies" : [
],
"manifest_display_name" : "PublisherKit",
"name" : "PublisherKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "tvos",
"version" : "9.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "PublisherKit",
"targets" : [
"PublisherKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PublisherKitTests",
"module_type" : "SwiftTarget",
"name" : "PublisherKitTests",
"path" : "Tests/PublisherKitTests",
"sources" : [
"PublisherKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"PublisherKit"
],
"type" : "test"
},
{
"c99name" : "PublisherKitHelpers",
"module_type" : "ClangTarget",
"name" : "PublisherKitHelpers",
"path" : "Sources/PublisherKitHelpers",
"product_memberships" : [
"PublisherKit"
],
"sources" : [
"PublisherKitHelpers.cpp"
],
"type" : "library"
},
{
"c99name" : "PublisherKit",
"module_type" : "SwiftTarget",
"name" : "PublisherKit",
"path" : "Sources/PublisherKit",
"product_memberships" : [
"PublisherKit"
],
"sources" : [
"Abstract Combine Latest/Abstract Combine Latest.swift",
"Abstract Zip/Abstract Zip.swift",
"Bindable/Bindable Value.swift",
"Cancellables/Any/Any Cancellable.swift",
"Codable/JSONDecoder.swift",
"Codable/JSONEncoder.swift",
"Codable/PropertyListDecoder.swift",
"Codable/PropertyListEncoder.swift",
"Combine Identifier/Combine Identifier.swift",
"Error/HTTP Error.swift",
"Error/URLError.swift",
"Extensions/Array+Extension.swift",
"Extensions/Dictionary+Extension.swift",
"Extensions/Optional+Extension.swift",
"Extensions/Result+Extension.swift",
"Extensions/URL+Extension.swift",
"Extensions/URLRequest+Extension.swift",
"Locks/Locks.swift",
"Logger/Logger.swift",
"Operations/Asynchronous Operation.swift",
"Protocols/Cancellable/Cancellable.swift",
"Protocols/Connectable Publisher/Connectable Publisher.swift",
"Protocols/Custom Combine Identifier Convertible/Custom Combine Identifier Convertible.swift",
"Protocols/Decoder/Top Level Decoder.swift",
"Protocols/Encoder/Top Level Encoder.swift",
"Protocols/Publisher/Publisher+Operators.swift",
"Protocols/Publisher/Publisher+Subscribers.swift",
"Protocols/Publisher/Publisher.swift",
"Protocols/Scheduler/Scheduler.swift",
"Protocols/Subject/Subject.swift",
"Protocols/Subscriber/Subscriber.swift",
"Protocols/Subscription/Subscription.swift",
"Protocols/__KeyValueObservingPKPublisher/__KeyValueObservingPKPublisher.swift",
"Publishers/All Satisfy/All Satisfy.swift",
"Publishers/Any/Any Publisher.swift",
"Publishers/Assert No Failure/Assert No Failure.swift",
"Publishers/Autoconnect/Autoconnect.swift",
"Publishers/Breakpoint/Breakpoint.swift",
"Publishers/Buffer/Buffer.swift",
"Publishers/Catch/Catch.swift",
"Publishers/Collect/Collect.swift",
"Publishers/Combine Latest/Combine Latest.swift",
"Publishers/Compact Map/Compact Map.swift",
"Publishers/Comparison/Comparison.swift",
"Publishers/Concatenate/Concatenate.swift",
"Publishers/Contains Where/Contains Where.swift",
"Publishers/Contains/Contains.swift",
"Publishers/Count/Count.swift",
"Publishers/Debounce/Debounce.swift",
"Publishers/Decode/Decode.swift",
"Publishers/Deferred/Deferred.swift",
"Publishers/Delay/Delay.swift",
"Publishers/Drop Until Output/Drop Until Output.swift",
"Publishers/Drop While/Drop While.swift",
"Publishers/Drop/Drop.swift",
"Publishers/Empty/Empty Publisher.swift",
"Publishers/Encode/Encode.swift",
"Publishers/Fail/Fail.swift",
"Publishers/Filter/Filter.swift",
"Publishers/First/First.swift",
"Publishers/Flat Map/Flat Map.swift",
"Publishers/Future/Future.swift",
"Publishers/Handle Events/Handle Events.swift",
"Publishers/Ignore Output/Ignore Output.swift",
"Publishers/Just/Just+Operators.swift",
"Publishers/Just/Just.swift",
"Publishers/Last/Last.swift",
"Publishers/Make Connectable/Make Connectable.swift",
"Publishers/Map Error/Map Error.swift",
"Publishers/Map Keypath/Map Keypath.swift",
"Publishers/Map/Map.swift",
"Publishers/Matches/First Match.swift",
"Publishers/Matches/Matches.swift",
"Publishers/Measure Interval/Measure Interval.swift",
"Publishers/Merge/Merge.swift",
"Publishers/Merge/_Merged.swift",
"Publishers/Multicast/Multicast.swift",
"Publishers/NSObject/NSObject.swift",
"Publishers/Notification Center/Notification Center.swift",
"Publishers/Optional/Optional+Operators.swift",
"Publishers/Optional/Optional.swift",
"Publishers/Output/Output.swift",
"Publishers/Prefix Until Output/Prefix Until Output.swift",
"Publishers/Prefix While/Prefix While.swift",
"Publishers/Print/Print.swift",
"Publishers/Publishers.swift",
"Publishers/Receive On/Receive On.swift",
"Publishers/Record/Record.swift",
"Publishers/Reduce/Reduce.swift",
"Publishers/Remove Duplicates/Remove Duplicates.swift",
"Publishers/Replace Empty/Replace Empty.swift",
"Publishers/Replace Error/Replace Error.swift",
"Publishers/Result/Result+Operators.swift",
"Publishers/Result/Result.swift",
"Publishers/Retry/Retry.swift",
"Publishers/Scan/Scan.swift",
"Publishers/Sequence/Sequence+Operators.swift",
"Publishers/Sequence/Sequence.swift",
"Publishers/Set Failure Type/Set Failure Type.swift",
"Publishers/Share/Share.swift",
"Publishers/Subscribe On/Subscribe On.swift",
"Publishers/Switch To Latest/Swift To Latest.swift",
"Publishers/Throttle/Throttle.swift",
"Publishers/Timeout/Timeout.swift",
"Publishers/Timer/Timer.swift",
"Publishers/UI/App Kit/NSTextField.swift",
"Publishers/UI/App Kit/NSTextView.swift",
"Publishers/UI/UI Kit/UITextField.swift",
"Publishers/UI/UI Kit/UITextView.swift",
"Publishers/URLSession/Data Task.swift",
"Publishers/URLSession/Download Task.swift",
"Publishers/URLSession/Upload Task.swift",
"Publishers/URLSession/Validate.swift",
"Publishers/Zip/Zip.swift",
"Schedulers/Dispatch Queue.swift",
"Schedulers/Immediate Scheduler.swift",
"Schedulers/Operation Queue.swift",
"Schedulers/Run Loop.swift",
"Subjects/Current Value Subject.swift",
"Subjects/Passthrough Subject.swift",
"Subscribers/Any/Any Subscriber.swift",
"Subscribers/Assign/Assign No Retain.swift",
"Subscribers/Assign/Assign.swift",
"Subscribers/Completion/Completion.swift",
"Subscribers/Demand/Demand.swift",
"Subscribers/Internal/Filter Producer.swift",
"Subscribers/Internal/PartialCompletion.swift",
"Subscribers/Internal/Reduce Producer.swift",
"Subscribers/Internal/Subject Subscriber.swift",
"Subscribers/OnCompletion/OnCompletion.swift",
"Subscribers/Sink/Sink.swift",
"Subscribers/Subscribers.swift",
"Subscriptions/Empty/Empty.swift",
"Subscriptions/Internal/Subscription Status.swift",
"Subscriptions/Subscriptions.swift"
],
"target_dependencies" : [
"PublisherKitHelpers"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.