Build Information
Successful build of ReactiveTask, reference 0.16.0 (df1bf7
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 22:07:53 UTC.
Swift 6 data race errors: 7
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
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Carthage/ReactiveTask.git
Reference: 0.16.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Carthage/ReactiveTask
* tag 0.16.0 -> FETCH_HEAD
HEAD is now at df1bf76 Merge pull request #119 from Carthage/release-0.16.0
Submodule path 'Carthage/Checkouts/Nimble': checked out '43304bf2b1579fd555f2fdd51742771c1e4f2b98'
Submodule path 'Carthage/Checkouts/Quick': checked out '0b4ed6c706dd0cce923b5019a605a9bcc6b1b600'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out 'a27c5186ce2d65f60d1237660b2509df3eb29023'
Submodule path 'Carthage/Checkouts/ReactiveSwift': checked out 'e285cea17cca8e23928d1e85a235638184e39ac9'
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/Result': checked out '2ca499ba456795616fbc471561ff1d963e6ae160'
Submodule path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/xcconfigs': checked out 'bb795558a76e5daf3688500055bbcfe243bffa8d'
Submodule path 'Carthage/Checkouts/Result': checked out '2ca499ba456795616fbc471561ff1d963e6ae160'
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/Result' (https://github.com/antitypical/Result.git) registered for path 'Carthage/Checkouts/Result'
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/Result'...
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/Result' (https://github.com/antitypical/Result.git) registered for path 'Carthage/Checkouts/ReactiveSwift/Carthage/Checkouts/Result'
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/Result'...
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 @):
df1bf7625684180b9377a8ba3c076db08d98757e
SUCCESS checkout https://github.com/Carthage/ReactiveTask.git at 0.16.0
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Quick/Nimble.git
[1/2533] Fetching result
[483/17288] Fetching result, quick
[1741/69776] Fetching result, quick, reactiveswift
[1742/89343] Fetching result, quick, reactiveswift, nimble
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (1.99s)
Fetched https://github.com/antitypical/Result.git from cache (1.99s)
Fetched https://github.com/Quick/Nimble.git from cache (1.99s)
Fetched https://github.com/Quick/Quick.git from cache (1.99s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (4.71s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.0.0 (0.58s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 5.0.0 (0.58s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.68s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 5.0.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.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/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.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": "result",
"name": "Result",
"url": "https://github.com/antitypical/Result.git",
"version": "4.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Result",
"dependencies": [
]
},
{
"identity": "reactiveswift",
"name": "ReactiveSwift",
"url": "https://github.com/ReactiveCocoa/ReactiveSwift.git",
"version": "5.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReactiveSwift",
"dependencies": [
{
"identity": "result",
"name": "Result",
"url": "https://github.com/antitypical/Result.git",
"version": "4.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Result",
"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": [
]
}
]
},
{
"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.75s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetching https://github.com/antitypical/Result.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.51s)
Fetched https://github.com/Quick/Quick.git from cache (0.54s)
Fetched https://github.com/antitypical/Result.git from cache (0.54s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git from cache (0.54s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.61s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 5.0.1 (0.04s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.58s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.57s)
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/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 5.0.1
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/Carthage/ReactiveTask.git
Working copy of https://github.com/Carthage/ReactiveTask.git resolved at 0.16.0 (df1bf76)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
warning: '.resolve-product-dependencies': dependency 'reactivetask' is not used by any target
Found 4 product dependencies
- Result
- ReactiveSwift
- Quick
- Nimble
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Carthage/ReactiveTask.git
https://github.com/Carthage/ReactiveTask.git
{
"dependencies" : [
{
"identity" : "result",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/antitypical/Result.git"
},
{
"identity" : "reactiveswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.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" : [
"4"
],
"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" : [
"Result",
"ReactiveSwift"
],
"product_memberships" : [
"ReactiveTask"
],
"sources" : [
"Availability.swift",
"Errors.swift",
"Task.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling Result ResultProtocol.swift
[6/9] Compiling Result NoError.swift
[7/9] Emitting module Result
[8/9] Compiling Result Result.swift
[9/9] Compiling Result AnyError.swift
[10/29] Emitting module ReactiveSwift
[11/31] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[12/31] Compiling ReactiveSwift ValidatingProperty.swift
[13/31] Compiling ReactiveSwift Optional.swift
[14/31] Compiling ReactiveSwift Property.swift
[15/31] Compiling ReactiveSwift Flatten.swift
[16/31] Compiling ReactiveSwift FoundationExtensions.swift
[17/31] Compiling ReactiveSwift Lifetime.swift
[18/31] Compiling ReactiveSwift Observer.swift
[19/31] Compiling ReactiveSwift Event.swift
[20/31] Compiling ReactiveSwift EventLogger.swift
[21/31] Compiling ReactiveSwift Action.swift
[22/31] Compiling ReactiveSwift Atomic.swift
[23/31] Compiling ReactiveSwift Bag.swift
[24/31] Compiling ReactiveSwift Reactive.swift
[25/31] Compiling ReactiveSwift ResultExtensions.swift
[26/31] Compiling ReactiveSwift Deprecations+Removals.swift
[27/31] Compiling ReactiveSwift Disposable.swift
[28/31] Compiling ReactiveSwift Scheduler.swift
[29/31] Compiling ReactiveSwift Signal.swift
[30/31] Compiling ReactiveSwift SignalProducer.swift
[31/31] Compiling ReactiveSwift UnidirectionalBinding.swift
[32/35] 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:14:15: note: consider making struct 'Task' conform to the 'Sendable' protocol
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
[33/35] Compiling ReactiveTask Availability.swift
[34/35] Compiling ReactiveTask Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:503:9: warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a '@Sendable' closure; this is an error in the Swift 6 language mode
501 | // Wait for stderr to finish, then pass
502 | // through stdout.
503 | 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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Lifetime.swift:6:20: note: class 'Lifetime' does not conform to the 'Sendable' protocol
4 | /// Represents the lifetime of an object, and provides a hook to observe when
5 | /// the object deinitializes.
6 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
7 | private let disposables: CompositeDisposable
8 |
/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 | import Result
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:503: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
501 | // Wait for stderr to finish, then pass
502 | // through stdout.
503 | 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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:19:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
17 | /// different order between Signals, or the stream might be completely
18 | /// different!
19 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
20 | public typealias ProducedSignal = Signal<Value, Error>
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:504: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
502 | // through stdout.
503 | lifetime += stderrAggregated
504 | .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
505 | .map(TaskEvent.success)
506 | .start(observer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:19:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
17 | /// different order between Signals, or the stream might be completely
18 | /// different!
19 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
20 | public typealias ProducedSignal = Signal<Value, Error>
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:506: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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
506 | .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
507 | } else {
508 | // 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:514:57: warning: capture of 'self' with non-sendable type 'Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
:
512 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
513 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
514 | 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
515 | }
516 | .start(observer)
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:514:57: warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
:
512 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
513 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
514 | 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
515 | }
516 | .start(observer)
[35/35] 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:14:15: note: consider making struct 'Task' conform to the 'Sendable' protocol
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:503:9: warning: capture of 'lifetime' with non-sendable type 'Lifetime' in a '@Sendable' closure; this is an error in the Swift 6 language mode
501 | // Wait for stderr to finish, then pass
502 | // through stdout.
503 | 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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Lifetime.swift:6:20: note: class 'Lifetime' does not conform to the 'Sendable' protocol
4 | /// Represents the lifetime of an object, and provides a hook to observe when
5 | /// the object deinitializes.
6 | public final class Lifetime {
| `- note: class 'Lifetime' does not conform to the 'Sendable' protocol
7 | private let disposables: CompositeDisposable
8 |
/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 | import Result
12 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:503: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
501 | // Wait for stderr to finish, then pass
502 | // through stdout.
503 | 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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:19:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
17 | /// different order between Signals, or the stream might be completely
18 | /// different!
19 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
20 | public typealias ProducedSignal = Signal<Value, Error>
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:504: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
502 | // through stdout.
503 | lifetime += stderrAggregated
504 | .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
505 | .map(TaskEvent.success)
506 | .start(observer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/SignalProducer.swift:19:15: note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
17 | /// different order between Signals, or the stream might be completely
18 | /// different!
19 | public struct SignalProducer<Value, Error: Swift.Error> {
| `- note: generic struct 'SignalProducer' does not conform to the 'Sendable' protocol
20 | public typealias ProducedSignal = Signal<Value, Error>
21 |
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:506: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
504 | .then(stdoutAggregated)
505 | .map(TaskEvent.success)
506 | .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
507 | } else {
508 | // 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:514:57: warning: capture of 'self' with non-sendable type 'Task' in a '@Sendable' closure; this is an error in the Swift 6 language mode
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
:
512 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
513 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
514 | 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
515 | }
516 | .start(observer)
/Users/admin/builder/spi-builder-workspace/Sources/Task.swift:514:57: warning: capture of 'self' with non-sendable type 'Task' in an isolated closure; this is an error in the Swift 6 language mode
12 |
13 | /// Describes how to execute a shell command.
14 | public struct Task {
| `- note: consider making struct 'Task' conform to the 'Sendable' protocol
15 | /// The path to the executable that should be launched.
16 | public var launchPath: String
:
512 | .flatMap(.concat) { data -> SignalProducer<TaskEvent<Data>, TaskError> in
513 | let errorString = (data.isEmpty ? nil : String(data: data, encoding: .utf8))
514 | 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
515 | }
516 | .start(observer)
Build complete! (11.22s)
Build complete.
{
"dependencies" : [
{
"identity" : "result",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/antitypical/Result.git"
},
{
"identity" : "reactiveswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.0",
"upper_bound" : "6.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" : [
"4"
],
"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" : [
"Result",
"ReactiveSwift"
],
"product_memberships" : [
"ReactiveTask"
],
"sources" : [
"Availability.swift",
"Errors.swift",
"Task.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.