Build Information
Successful build of ReactiveTask, reference master (e1396a
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 03:21:55 UTC.
Swift 6 data race errors: 7
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Carthage/ReactiveTask.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Carthage/ReactiveTask
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e1396a5 Merge pull request #113 from RahulKatariya/master
Submodule path 'Carthage/Checkouts/Nimble': checked out '43304bf2b1579fd555f2fdd51742771c1e4f2b98'
Submodule path 'Carthage/Checkouts/Quick': checked out '94df9b449508344667e5afc7e80f8bcbff1e4c37'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out '43304bf2b1579fd555f2fdd51742771c1e4f2b98'
Submodule path 'Carthage/Checkouts/ReactiveSwift': checked out '3eba2b48ee80f87058de5ae8bb41e585bde5c997'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick': checked out '0b4ed6c706dd0cce923b5019a605a9bcc6b1b600'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs': checked out 'bb795558a76e5daf3688500055bbcfe243bffa8d'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '3d9d99634cae6d586e272543d527681283b33eb0'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/ReactiveSwift' (https://github.com/ReactiveCocoa/ReactiveSwift.git) registered for path 'Carthage/Checkouts/ReactiveSwift'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Nimble'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/Carthage/ReactiveTask.git
Revision (git rev-parse @):
e1396a56055812234e97aeda78731d7228e0bbc7
SUCCESS checkout https://github.com/Carthage/ReactiveTask.git at master
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
[1/52438] Fetching reactiveswift
[2/67161] Fetching reactiveswift, quick
[18587/86379] Fetching reactiveswift, quick, nimble
Fetched https://github.com/Quick/Nimble.git from cache (5.21s)
Fetched https://github.com/Quick/Quick.git from cache (5.21s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (5.21s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (2.63s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.71s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.0.0 (0.67s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.0.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "reactivetask",
"name": "ReactiveTask",
"url": "https://github.com/Carthage/ReactiveTask.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReactiveTask",
"dependencies": [
{
"identity": "reactiveswift",
"name": "ReactiveSwift",
"url": "https://github.com/ReactiveCocoa/ReactiveSwift.git",
"version": "6.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReactiveSwift",
"dependencies": [
]
},
{
"identity": "quick",
"name": "Quick",
"url": "https://github.com/Quick/Quick.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
"dependencies": [
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "8.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
]
}
]
},
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "8.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Carthage/ReactiveTask.git
[1/1925] Fetching reactivetask
Fetched https://github.com/Carthage/ReactiveTask.git from cache (0.87s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (0.60s)
Fetched https://github.com/Quick/Nimble.git from cache (0.60s)
Fetched https://github.com/Quick/Quick.git from cache (0.60s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.69s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.66s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.66s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Carthage/ReactiveTask.git
Working copy of https://github.com/Carthage/ReactiveTask.git resolved at master (e1396a5)
warning: '.resolve-product-dependencies': dependency 'reactivetask' is not used by any target
Found 3 product dependencies
- ReactiveSwift
- Quick
- Nimble
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Carthage/ReactiveTask.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/23] Compiling ReactiveSwift Flatten.swift
[5/23] Compiling ReactiveSwift FoundationExtensions.swift
[6/25] Compiling ReactiveSwift Deprecations+Removals.swift
[7/25] Compiling ReactiveSwift Disposable.swift
[8/25] Compiling ReactiveSwift Reactive.swift
[9/25] Compiling ReactiveSwift ResultExtensions.swift
[10/25] Compiling ReactiveSwift Scheduler.swift
[11/25] Compiling ReactiveSwift Signal.swift
[12/25] Compiling ReactiveSwift Action.swift
[13/25] Compiling ReactiveSwift Atomic.swift
[14/25] Compiling ReactiveSwift Bag.swift
[15/25] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[16/25] Compiling ReactiveSwift ValidatingProperty.swift
[17/25] Compiling ReactiveSwift Event.swift
[18/25] Compiling ReactiveSwift EventLogger.swift
[19/25] Compiling ReactiveSwift Optional.swift
[20/25] Compiling ReactiveSwift Property.swift
[21/25] Compiling ReactiveSwift Lifetime.swift
[22/25] Compiling ReactiveSwift Observer.swift
[23/25] Emitting module ReactiveSwift
[24/25] Compiling ReactiveSwift SignalProducer.swift
[25/25] Compiling ReactiveSwift UnidirectionalBinding.swift
[26/29] Compiling ReactiveTask Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:14:7: warning: associated value 'shellTaskFailed(_:exitCode:standardError:)' of 'Sendable'-conforming enum 'TaskError' has non-sendable type 'Task'; this is an error in the Swift 6 language mode
12 | public enum TaskError: Error, Equatable {
13 | /// A shell task exited unsuccessfully.
14 | case shellTaskFailed(Task, exitCode: Int32, standardError: String?)
| `- warning: associated value 'shellTaskFailed(_:exitCode:standardError:)' of 'Sendable'-conforming enum 'TaskError' has non-sendable type 'Task'; this is an error in the Swift 6 language mode
15 |
16 | /// An error was returned from a POSIX API.
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:13:15: note: consider making struct 'Task' conform to the 'Sendable' protocol
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
[27/29] Emitting module ReactiveTask
/Users/admin/builder/spi-builder-workspace/Sources/Errors.swift:14:7: warning: associated value 'shellTaskFailed(_:exitCode:standardError:)' of 'Sendable'-conforming enum 'TaskError' has non-sendable type 'Task'; this is an error in the Swift 6 language mode
12 | public enum TaskError: Error, Equatable {
13 | /// A shell task exited unsuccessfully.
14 | case shellTaskFailed(Task, exitCode: Int32, standardError: String?)
| `- warning: associated value 'shellTaskFailed(_:exitCode:standardError:)' of 'Sendable'-conforming enum 'TaskError' has non-sendable type 'Task'; this is an error in the Swift 6 language mode
15 |
16 | /// An error was returned from a POSIX API.
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:13:15: note: consider making struct 'Task' conform to the 'Sendable' protocol
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:501:9: warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a `@Sendable` closure; this is an error in the Swift 6 language mode
499 | // Wait for stderr to finish, then pass
500 | // through stdout.
501 | lifetime += stderrAggregated
| `- warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Lifetime.swift:5:20: note: class 'Lifetime' does not conform to the 'Sendable' protocol
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
8 |
9 | import Foundation
10 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
11 |
12 | /// Describes how to execute a shell command.
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:501:21: warning: capture of 'stderrAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
499 | // Wait for stderr to finish, then pass
500 | // through stdout.
501 | lifetime += stderrAggregated
| `- warning: capture of 'stderrAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:18:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:502:16: warning: capture of 'stdoutAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
500 | // through stdout.
501 | lifetime += stderrAggregated
502 | .then(stdoutAggregated)
| `- warning: capture of 'stdoutAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
503 | .map(TaskEvent.success)
504 | .start(observer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:18:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:504:17: warning: capture of 'observer' with non-sendable type 'Signal<TaskEvent<Data>, TaskError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
504 | .start(observer)
| `- warning: capture of 'observer' with non-sendable type 'Signal<TaskEvent<Data>, TaskError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | } else {
506 | // Wait for stdout to finish, then pass
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:512:57: warning: capture of 'self' with non-sendable type 'Task' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
:
510 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
511 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
512 | return SignalProducer(error: .shellTaskFailed(self, exitCode: terminationStatus, standardError: errorString))
| `- warning: capture of 'self' with non-sendable type 'Task' in a `@Sendable` closure; this is an error in the Swift 6 language mode
513 | }
514 | .start(observer)
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:512:57: warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
:
510 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
511 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
512 | return SignalProducer(error: .shellTaskFailed(self, exitCode: terminationStatus, standardError: errorString))
| `- warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
513 | }
514 | .start(observer)
[28/29] Compiling ReactiveTask Availability.swift
[29/29] Compiling ReactiveTask Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:501:9: warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a `@Sendable` closure; this is an error in the Swift 6 language mode
499 | // Wait for stderr to finish, then pass
500 | // through stdout.
501 | lifetime += stderrAggregated
| `- warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Lifetime.swift:5:20: note: class 'Lifetime' does not conform to the 'Sendable' protocol
3 | /// Represents the lifetime of an object, and provides a hook to observe when
4 | /// the object deinitializes.
5 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
6 | private let disposables: CompositeDisposable
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
8 |
9 | import Foundation
10 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
11 |
12 | /// Describes how to execute a shell command.
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:501:21: warning: capture of 'stderrAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
499 | // Wait for stderr to finish, then pass
500 | // through stdout.
501 | lifetime += stderrAggregated
| `- warning: capture of 'stderrAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:18:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:502:16: warning: capture of 'stdoutAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
500 | // through stdout.
501 | lifetime += stderrAggregated
502 | .then(stdoutAggregated)
| `- warning: capture of 'stdoutAggregated' with non-sendable type 'Pipe.ReadProducer' (aka 'SignalProducer<Data, TaskError>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
503 | .map(TaskEvent.success)
504 | .start(observer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:18:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
16 | /// different order between Signals, or the stream might be completely
17 | /// different!
18 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
19 | public typealias ProducedSignal = Signal<Value, Error>
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:504:17: warning: capture of 'observer' with non-sendable type 'Signal<TaskEvent<Data>, TaskError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
502 | .then(stdoutAggregated)
503 | .map(TaskEvent.success)
504 | .start(observer)
| `- warning: capture of 'observer' with non-sendable type 'Signal<TaskEvent<Data>, TaskError>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
505 | } else {
506 | // Wait for stdout to finish, then pass
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:512:57: warning: capture of 'self' with non-sendable type 'Task' in a `@Sendable` closure; this is an error in the Swift 6 language mode
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
:
510 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
511 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
512 | return SignalProducer(error: .shellTaskFailed(self, exitCode: terminationStatus, standardError: errorString))
| `- warning: capture of 'self' with non-sendable type 'Task' in a `@Sendable` closure; this is an error in the Swift 6 language mode
513 | }
514 | .start(observer)
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:512:57: warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
11 |
12 | /// Describes how to execute a shell command.
13 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
14 | /// The path to the executable that should be launched.
15 | public var launchPath: String
:
510 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
511 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
512 | return SignalProducer(error: .shellTaskFailed(self, exitCode: terminationStatus, standardError: errorString))
| `- warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
513 | }
514 | .start(observer)
Build complete! (13.00s)
Build complete.
{
"dependencies" : [
{
"identity" : "reactiveswift",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveCocoa/ReactiveSwift.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "8.0.1",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "ReactiveTask",
"name" : "ReactiveTask",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ReactiveTask",
"targets" : [
"ReactiveTask"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ReactiveTaskTests",
"module_type" : "SwiftTarget",
"name" : "ReactiveTaskTests",
"path" : "Tests/ReactiveTaskTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"StringExtensionSpec.swift",
"TaskSpec.swift"
],
"target_dependencies" : [
"ReactiveTask"
],
"type" : "test"
},
{
"c99name" : "ReactiveTask",
"module_type" : "SwiftTarget",
"name" : "ReactiveTask",
"path" : "Sources",
"product_dependencies" : [
"ReactiveSwift"
],
"product_memberships" : [
"ReactiveTask"
],
"sources" : [
"Availability.swift",
"Errors.swift",
"Task.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.