Build Information
Successful build of PublisherKit, reference master (0abfe5
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:59:32 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 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
75 | observer = center.addObserver(forName: name, object: object, queue: nil) { [weak self] (notification) in
76 |
77 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a '@Sendable' closure
78 |
79 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:85:40: warning: capture of 'downstream' with non-sendable type 'Downstream' in a '@Sendable' closure
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: consider making generic parameter 'Downstream' conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
83 |
84 | self.downstreamLock.lock()
85 | let additionalDemand = downstream.receive(notification)
| `- warning: capture of 'downstream' with non-sendable type 'Downstream' in a '@Sendable' closure
86 | self.downstreamLock.unlock()
87 |
[72/139] Compiling PublisherKit Prefix Until Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/NSObject/NSObject.swift:79:36: warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a '@Sendable' closure
45 |
46 | // MARK: NSOBJECT SINK
47 | private final class KVOSubscription<Subject: NSObject, Output, Failure: Error>: Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable {
| `- note: generic class 'KVOSubscription' does not conform to the 'Sendable' protocol
48 |
49 | private var observer: NSKeyValueObservation?
:
77 |
78 | let observer = object?.observe(keyPath, options: options) { [weak self] (object, valueChange) in
79 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NSObject.KVOSubscription<Subject, Output, Failure>?' in a '@Sendable' closure
80 |
81 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:77:36: warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a '@Sendable' closure
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: generic class 'Subscription' does not conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
75 | observer = center.addObserver(forName: name, object: object, queue: nil) { [weak self] (notification) in
76 |
77 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'NotificationCenter.PKPublisher.Subscription<Downstream>?' in a '@Sendable' closure
78 |
79 | self.lock.lock()
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Notification Center/Notification Center.swift:85:40: warning: capture of 'downstream' with non-sendable type 'Downstream' in a '@Sendable' closure
55 |
56 | // MARK: NOTIFICATION CENTER SINK
57 | private final class Subscription<Downstream: Subscriber>: PublisherKit.Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Failure == Failure, Downstream.Input == Output {
| `- note: consider making generic parameter 'Downstream' conform to the 'Sendable' protocol
58 |
59 | private var center: NotificationCenter?
:
83 |
84 | self.downstreamLock.lock()
85 | let additionalDemand = downstream.receive(notification)
| `- warning: capture of 'downstream' with non-sendable type 'Downstream' in a '@Sendable' closure
86 | self.downstreamLock.unlock()
87 |
[73/139] Compiling PublisherKit Compact Map.swift
[74/139] Compiling PublisherKit Comparison.swift
[75/139] Compiling PublisherKit Concatenate.swift
[76/139] Compiling PublisherKit Contains Where.swift
[77/139] Compiling PublisherKit Contains.swift
[78/139] Compiling PublisherKit Count.swift
[79/139] Compiling PublisherKit Debounce.swift
[80/139] Compiling PublisherKit Decode.swift
[81/139] Compiling PublisherKit Deferred.swift
[82/139] Compiling PublisherKit Delay.swift
[83/139] Compiling PublisherKit Drop Until Output.swift
[84/139] Compiling PublisherKit Drop While.swift
[85/139] Compiling PublisherKit Drop.swift
[86/139] Compiling PublisherKit Empty Publisher.swift
[87/139] Compiling PublisherKit Encode.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[88/139] Compiling PublisherKit Fail.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[89/139] Compiling PublisherKit Filter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[90/139] Compiling PublisherKit First.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[91/139] Compiling PublisherKit Flat Map.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[92/139] Compiling PublisherKit Future.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[93/139] Compiling PublisherKit Handle Events.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[94/139] Compiling PublisherKit Ignore Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[95/139] Compiling PublisherKit Just+Operators.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[96/139] Compiling PublisherKit Just.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[97/139] Compiling PublisherKit Last.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[98/139] Compiling PublisherKit Make Connectable.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[99/139] Compiling PublisherKit Map Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[100/139] Compiling PublisherKit Map Keypath.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Publishers/Handle Events/Handle Events.swift:69:55: warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// A publisher that performs the specified closures when publisher events occur.
11 | public struct HandleEvents<Upstream: Publisher>: Publisher {
| `- note: 'Upstream' previously declared here
12 |
13 | public typealias Output = Upstream.Output
:
67 |
68 | // MARK: HANDLE EVENTS SINK
69 | private final class Inner<Downstream: Subscriber, Upstream: Publisher>: Subscriber, Subscription, CustomStringConvertible, CustomPlaygroundDisplayConvertible, CustomReflectable where Downstream.Input == Upstream.Output, Downstream.Failure == Upstream.Failure {
| `- warning: generic parameter 'Upstream' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
70 |
71 | typealias Input = Upstream.Output
[101/139] Compiling PublisherKit 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 | }
[102/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 | }
[103/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 | }
[104/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 | }
[105/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 | }
[106/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 | }
[107/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 | }
[108/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 | }
[109/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 | }
[110/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 | }
[111/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 | }
[112/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 | }
[113/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 | }
[114/139] Compiling PublisherKit Sequence+Operators.swift
[115/139] Compiling PublisherKit Sequence.swift
[116/139] Compiling PublisherKit Set Failure Type.swift
[117/139] Compiling PublisherKit Share.swift
[118/139] Compiling PublisherKit Subscribe On.swift
[119/139] Compiling PublisherKit Swift To Latest.swift
[120/139] Compiling PublisherKit Throttle.swift
[121/139] Compiling PublisherKit Timeout.swift
[122/139] Compiling PublisherKit Timer.swift
[123/139] Compiling PublisherKit NSTextField.swift
[124/139] Compiling PublisherKit NSTextView.swift
[125/139] Compiling PublisherKit UITextField.swift
[126/139] Compiling PublisherKit UITextView.swift
[127/139] Compiling PublisherKit Assign.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[128/139] Compiling PublisherKit Completion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[129/139] Compiling PublisherKit Demand.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[130/139] Compiling PublisherKit Filter Producer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[131/139] Compiling PublisherKit PartialCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[132/139] Compiling PublisherKit Reduce Producer.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[133/139] Compiling PublisherKit Subject Subscriber.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[134/139] Compiling PublisherKit OnCompletion.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[135/139] Compiling PublisherKit Sink.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[136/139] Compiling PublisherKit Subscribers.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[137/139] Compiling PublisherKit Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[138/139] Compiling PublisherKit Subscription Status.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
[139/139] Compiling PublisherKit Subscriptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:23:27: warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
21 |
22 | /// Requests as many values as the `Publisher` can produce.
23 | public static let unlimited = Demand(rawValue: .max)
| |- warning: static property 'unlimited' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unlimited' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// A demand for no items.
/Users/admin/builder/spi-builder-workspace/Sources/PublisherKit/Subscribers/Demand/Demand.swift:28:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// - `unlimited`: A request for an unlimited number of items.
13 | /// - `max`: A request for a maximum number of items.
14 | public struct Demand: Equatable, Comparable, Hashable, Codable, CustomStringConvertible {
| `- note: consider making struct 'Demand' conform to the 'Sendable' protocol
15 |
16 | @usableFromInline let rawValue: UInt
:
26 | ///
27 | /// This is equivalent to `Demand.max(0)`.
28 | public static let none: Demand = .max(0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Subscribers.Demand' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// Limits the maximum number of values.
Build complete! (8.66s)
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.