Build Information
Successful build of PublisherKit, reference 4.0.2 (0abfe5
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:56:29 UTC.
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[74/139] Compiling PublisherKit URLRequest+Extension.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[75/139] Compiling PublisherKit Locks.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[76/139] Compiling PublisherKit Logger.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[77/139] Compiling PublisherKit Asynchronous Operation.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[78/139] Compiling PublisherKit Cancellable.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[79/139] Compiling PublisherKit Connectable Publisher.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[80/139] Compiling PublisherKit Custom Combine Identifier Convertible.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[81/139] Compiling PublisherKit Top Level Decoder.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[82/139] Compiling PublisherKit Top Level Encoder.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[83/139] Compiling PublisherKit Publisher+Operators.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[84/139] Compiling PublisherKit Publisher+Subscribers.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[85/139] Compiling PublisherKit Publisher.swift
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | /**
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:10:12: warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
8 | import Foundation
9 |
10 | open class AsynchronousOperation: Operation {
| `- warning: class 'AsynchronousOperation' must restate inherited '@unchecked Sendable' conformance
11 |
12 | override open var isAsynchronous: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Operations/Asynchronous Operation.swift:57:13: warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
55 |
56 | /* Used By Operation Queue when conforms to Scheduler protocol */
57 | final class AsynchronousBlockOperation: AsynchronousOperation {
| `- warning: class 'AsynchronousBlockOperation' must restate inherited '@unchecked Sendable' conformance
58 |
59 | private var block: (() -> Void)?
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Publisher/Publisher+Operators.swift:69:47: warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
67 | /// - Returns: A publisher that raises a debugger signal upon receiving a failure.
68 | public func breakpointOnError() -> Publishers.Breakpoint<Self> {
69 | Publishers.Breakpoint(upstream: self) { (completion) -> Bool in
| `- warning: backward matching of the unlabeled trailing closure is deprecated; label the argument with 'receiveCompletion' to suppress this warning
70 | switch completion {
71 | case .finished: return false
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Breakpoint/Breakpoint.swift:41:16: note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
39 | /// - receiveOutput: A closure that executes when the publisher receives output from the upstream publisher, and can raise a debugger signal by returning a true Boolean value.
40 | /// - receiveCompletion: A closure that executes when the publisher receives completion, and can raise a debugger signal by returning a true Boolean value.
41 | public init(upstream: Upstream,
| `- note: 'init(upstream:receiveSubscription:receiveOutput:receiveCompletion:)' declared here
42 | receiveSubscription: ((Subscription) -> Bool)? = nil,
43 | receiveOutput: ((Upstream.Output) -> Bool)? = nil,
[86/139] Compiling PublisherKit Data Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[87/139] Compiling PublisherKit Download Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[88/139] Compiling PublisherKit Upload Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[89/139] Compiling PublisherKit Validate.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[90/139] Compiling PublisherKit Zip.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[91/139] Compiling PublisherKit Dispatch Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[92/139] Compiling PublisherKit Immediate Scheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[93/139] Compiling PublisherKit Operation Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[94/139] Compiling PublisherKit Run Loop.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[95/139] Compiling PublisherKit Current Value Subject.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[96/139] Compiling PublisherKit Passthrough Subject.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[97/139] Compiling PublisherKit Any Subscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[98/139] Compiling PublisherKit Assign No Retain.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Data Task.swift:87:17: warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
65 |
66 | // MARK: DATA TASK SINK
67 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
68 |
69 | private var task: URLSessionDataTask?
:
85 |
86 | task = parent.session.dataTask(with: parent.request) { [weak self] in
87 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DataTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:108:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
106 | if let request = parent.request {
107 | task = parent.session.downloadTask(with: request) { [weak self] in
108 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
109 | }
110 | Logger.default.logAPIRequest(request: request, name: parent.name)
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Download Task.swift:113:21: warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
85 |
86 | // MARK: DOWNLOAD TASK SINK
87 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
88 |
89 | private var task: URLSessionDownloadTask?
:
111 | } else if let data = parent.resumeData {
112 | task = parent.session.downloadTask(withResumeData: data) { [weak self] in
113 | self?.handleResponse(url: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.DownloadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
114 | }
115 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:103:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
101 | if let url = parent.fileUrl {
102 | task = parent.session.uploadTask(with: parent.request, fromFile: url) { [weak self] in
103 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
104 | }
105 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/URLSession/Upload Task.swift:107:21: warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
80 |
81 | // MARK: UPLOAD TASK SINK
82 | private final class Inner<Downstream: Subscriber>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Output == Downstream.Input, Failure == Downstream.Failure {
| `- note: generic class 'Inner' does not conform to the 'Sendable' protocol
83 |
84 | private var task: URLSessionUploadTask?
:
105 | } else {
106 | task = parent.session.uploadTask(with: parent.request, from: parent.data) { [weak self] in
107 | self?.handleResponse(data: $0, response: $1, error: $2)
| `- warning: capture of 'self' with non-sendable type 'URLSession.UploadTaskPKPublisher.Inner<Downstream>?' in a '@Sendable' closure
108 | }
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:228:24: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
219 | public var now: PKSchedulerTimeType { .init(.now()) }
220 |
221 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
222 |
223 | let options = options ?? PKSchedulerOptions()
:
226 | qos: options.qos,
227 | flags: options.flags,
228 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Dispatch Queue.swift:238:29: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
229 | }
230 |
231 | public func schedule(after date: PKSchedulerTimeType, tolerance: PKSchedulerTimeType.Stride, options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
232 |
233 | let options = options ?? PKSchedulerOptions()
:
236 | qos: options.qos,
237 | flags: options.flags,
238 | execute: action)
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
239 | }
240 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Immediate Scheduler.swift:119:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// You can use this scheduler for immediate actions. If you attempt to schedule actions after a specific date, the scheduler ignores the date and executes synchronously.
11 | public struct ImmediateScheduler: Scheduler {
| `- note: consider making struct 'ImmediateScheduler' conform to the 'Sendable' protocol
12 |
13 | /// The time type used by the immediate scheduler.
:
117 | ///
118 | /// You cannot create instances of the immediate scheduler yourself. Use only the shared instance.
119 | public static let shared: ImmediateScheduler = .init()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ImmediateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 | public func schedule(options: SchedulerOptions?, _ action: @escaping () -> Void) {
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Operation Queue.swift:179:44: warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
176 | public var minimumTolerance: PKSchedulerTimeType.Stride { .seconds(0) }
177 |
178 | public func schedule(options: PKSchedulerOptions?, _ action: @escaping () -> Void) {
| `- note: parameter 'action' is implicitly non-sendable
179 | addOperation(BlockOperation(block: action))
| `- warning: passing non-sendable parameter 'action' to function expecting a @Sendable closure
180 | }
181 |
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Schedulers/Run Loop.swift:180:21: warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
178 | timer = Timer(fire: date.date, interval: interval.timeInterval, repeats: true) { (timer) in
179 | if timer.isValid {
180 | action()
| |- warning: capture of 'action' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
181 | }
182 | }
[99/139] Compiling PublisherKit Scheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[100/139] Compiling PublisherKit Subject.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[101/139] Compiling PublisherKit Subscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[102/139] Compiling PublisherKit Subscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[103/139] Compiling PublisherKit __KeyValueObservingPKPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[104/139] Compiling PublisherKit All Satisfy.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[105/139] Compiling PublisherKit Any Publisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[106/139] Compiling PublisherKit Assert No Failure.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[107/139] Compiling PublisherKit Autoconnect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[108/139] Compiling PublisherKit Breakpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[109/139] Compiling PublisherKit Buffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[110/139] Compiling PublisherKit Catch.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[111/139] Compiling PublisherKit Collect.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[112/139] Compiling PublisherKit Combine Latest.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Protocols/Subject/Subject.swift:11:26: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | ///
10 | /// A subject is a publisher that you can use to ”inject” values into a stream, by calling its [send()](apple-reference-documentation://hsyr-564TS) method. This can be useful for adapting existing imperative code to the Combine model.
11 | public protocol Subject: class, Publisher {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Sends a value to the subscriber.
[113/139] Compiling PublisherKit Sequence+Operators.swift
[114/139] Compiling PublisherKit Sequence.swift
[115/139] Compiling PublisherKit Set Failure Type.swift
[116/139] Compiling PublisherKit Share.swift
[117/139] Compiling PublisherKit Subscribe On.swift
[118/139] Compiling PublisherKit Swift To Latest.swift
[119/139] Compiling PublisherKit Throttle.swift
[120/139] Compiling PublisherKit Timeout.swift
[121/139] Compiling PublisherKit Timer.swift
[122/139] Compiling PublisherKit NSTextField.swift
[123/139] Compiling PublisherKit NSTextView.swift
[124/139] Compiling PublisherKit UITextField.swift
[125/139] Compiling PublisherKit UITextView.swift
[126/139] Compiling PublisherKit Compact Map.swift
[127/139] Compiling PublisherKit Comparison.swift
[128/139] Compiling PublisherKit Concatenate.swift
[129/139] Compiling PublisherKit Contains Where.swift
[130/139] Compiling PublisherKit Contains.swift
[131/139] Compiling PublisherKit Count.swift
[132/139] Compiling PublisherKit Debounce.swift
[133/139] Compiling PublisherKit Decode.swift
[134/139] Compiling PublisherKit Deferred.swift
[135/139] Compiling PublisherKit Delay.swift
[136/139] Compiling PublisherKit Drop Until Output.swift
[137/139] Compiling PublisherKit Drop While.swift
[138/139] Compiling PublisherKit Drop.swift
[139/139] Compiling PublisherKit Empty Publisher.swift
Build complete! (8.24s)
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.