Build Information
Successful build of SwiftCommand, reference main (2b4db4
), with Swift 6.0 for Linux on 4 Nov 2024 20:36:31 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Zollerboy1/SwiftCommand.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Zollerboy1/SwiftCommand
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2b4db49 Update README.md
Cloned https://github.com/Zollerboy1/SwiftCommand.git
Revision (git rev-parse @):
2b4db4995759814f8f04a0e367ac5593a5a3ceef
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Zollerboy1/SwiftCommand.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Zollerboy1/SwiftCommand.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-async-algorithms
[1/4557] Fetching swift-async-algorithms
[4285/8458] Fetching swift-async-algorithms, swift-system
Fetched https://github.com/apple/swift-async-algorithms from cache (0.32s)
Fetched https://github.com/apple/swift-system from cache (0.33s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.2 (0.48s)
Fetching https://github.com/apple/swift-collections.git
[1/15475] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.36s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.69s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.4.0 (0.48s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.2
Building for debugging...
[0/8] Write sources
[6/8] Compiling CSystem shims.c
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/53] Emitting module SystemPackage
[10/56] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[11/56] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[12/56] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[13/58] Compiling InternalCollectionsUtilities Integer rank.swift
[14/58] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[15/58] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/58] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/58] Compiling InternalCollectionsUtilities Specialize.swift
[18/58] Compiling SystemPackage Util+StringArray.swift
[19/58] Compiling SystemPackage Util.swift
[20/58] Compiling SystemPackage UtilConsumers.swift
[21/58] Compiling InternalCollectionsUtilities UInt+reversed.swift
[22/58] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/58] Compiling InternalCollectionsUtilities Debugging.swift
[24/58] Compiling InternalCollectionsUtilities Descriptions.swift
[26/58] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[27/58] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/58] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/58] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[32/58] Emitting module InternalCollectionsUtilities
[34/58] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[35/58] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[36/58] Compiling SystemPackage FilePathComponents.swift
[44/129] Compiling OrderedCollections _HashTable+Testing.swift
[45/129] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[46/129] Compiling OrderedCollections _HashTable.swift
[47/129] Compiling OrderedCollections _Hashtable+Header.swift
[48/129] Compiling OrderedCollections OrderedSet+Hashable.swift
[49/129] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[50/129] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[51/129] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[52/129] Compiling OrderedCollections OrderedSet+Descriptions.swift
[53/129] Compiling OrderedCollections OrderedSet+Diffing.swift
[54/129] Compiling OrderedCollections OrderedSet+Equatable.swift
[55/129] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[56/129] Compiling OrderedCollections OrderedDictionary+Codable.swift
[57/129] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[58/129] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[59/129] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[60/130] Compiling OrderedCollections _HashTable+Constants.swift
[61/130] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[62/130] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[63/130] Compiling OrderedCollections OrderedDictionary+Elements.swift
[65/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[66/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[67/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[68/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[69/132] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[70/132] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[71/132] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[72/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[73/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[74/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[75/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[76/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[77/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[78/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[85/139] Compiling DequeModule _DequeSlot.swift
[86/139] Compiling DequeModule _UnsafeWrappedBuffer.swift
[89/139] Compiling OrderedCollections OrderedDictionary.swift
[90/139] Compiling OrderedCollections OrderedSet+Codable.swift
[91/139] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[97/139] Compiling OrderedCollections OrderedSet+Initializers.swift
[98/139] Compiling OrderedCollections OrderedSet+Insertions.swift
[99/139] Compiling OrderedCollections OrderedSet+Invariants.swift
[100/139] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[101/139] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[102/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[103/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[104/139] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[116/139] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[117/139] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[118/139] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[119/139] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[120/139] Compiling OrderedCollections OrderedDictionary+Values.swift
[121/139] Emitting module DequeModule
[122/139] Compiling OrderedCollections _HashTable+Bucket.swift
[123/139] Compiling OrderedCollections _HashTable+BucketIterator.swift
[133/140] Compiling OrderedCollections OrderedSet+Sendable.swift
[134/140] Compiling OrderedCollections OrderedSet+SubSequence.swift
[135/140] Compiling OrderedCollections OrderedSet+Testing.swift
[136/140] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[137/140] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[138/140] Compiling OrderedCollections OrderedSet.swift
[139/140] Compiling OrderedCollections _UnsafeBitset.swift
[140/140] Emitting module OrderedCollections
[142/186] Compiling AsyncAlgorithms AsyncAdjacentPairsSequence.swift
[143/186] Compiling AsyncAlgorithms AsyncBufferedByteIterator.swift
[144/186] Compiling AsyncAlgorithms AsyncChain2Sequence.swift
[145/186] Compiling AsyncAlgorithms AsyncChain3Sequence.swift
[146/186] Compiling AsyncAlgorithms AsyncChunkedByGroupSequence.swift
[147/186] Compiling AsyncAlgorithms AsyncChunkedOnProjectionSequence.swift
[148/186] Compiling AsyncAlgorithms AsyncChunksOfCountOrSignalSequence.swift
[149/186] Compiling AsyncAlgorithms AsyncSyncSequence.swift
[150/186] Compiling AsyncAlgorithms AsyncThrottleSequence.swift
[151/186] Compiling AsyncAlgorithms AsyncThrowingExclusiveReductionsSequence.swift
[152/186] Compiling AsyncAlgorithms AsyncThrowingInclusiveReductionsSequence.swift
[153/186] Compiling AsyncAlgorithms AsyncTimerSequence.swift
[154/186] Compiling AsyncAlgorithms AsyncBufferSequence.swift
[155/192] Compiling AsyncAlgorithms AsyncChunksOfCountSequence.swift
[156/192] Compiling AsyncAlgorithms AsyncCompactedSequence.swift
[157/192] Compiling AsyncAlgorithms AsyncExclusiveReductionsSequence.swift
[158/192] Compiling AsyncAlgorithms AsyncInclusiveReductionsSequence.swift
[159/192] Compiling AsyncAlgorithms AsyncJoinedBySeparatorSequence.swift
[160/192] Compiling AsyncAlgorithms AsyncJoinedSequence.swift
[161/192] Compiling AsyncAlgorithms AsyncRemoveDuplicatesSequence.swift
[162/192] Compiling AsyncAlgorithms AsyncDebounceSequence.swift
[163/192] Compiling AsyncAlgorithms DebounceStateMachine.swift
[164/192] Compiling AsyncAlgorithms DebounceStorage.swift
[165/192] Compiling AsyncAlgorithms Dictionary.swift
[166/192] Compiling AsyncAlgorithms AsyncInterspersedSequence.swift
[167/192] Compiling AsyncAlgorithms Locking.swift
[168/192] Compiling AsyncAlgorithms AsyncMerge2Sequence.swift
[169/192] Compiling AsyncAlgorithms AsyncMerge3Sequence.swift
[170/192] Compiling AsyncAlgorithms MergeStateMachine.swift
[171/192] Compiling AsyncAlgorithms MergeStorage.swift
[172/192] Compiling AsyncAlgorithms RangeReplaceableCollection.swift
[173/192] Compiling AsyncAlgorithms Rethrow.swift
[174/192] Emitting module AsyncAlgorithms
[175/192] Compiling AsyncAlgorithms BoundedBufferStateMachine.swift
[176/192] Compiling AsyncAlgorithms BoundedBufferStorage.swift
[177/192] Compiling AsyncAlgorithms UnboundedBufferStateMachine.swift
[178/192] Compiling AsyncAlgorithms UnboundedBufferStorage.swift
[179/192] Compiling AsyncAlgorithms AsyncChannel.swift
[180/192] Compiling AsyncAlgorithms AsyncThrowingChannel.swift
[181/192] Compiling AsyncAlgorithms ChannelStateMachine.swift
[182/192] Compiling AsyncAlgorithms ChannelStorage.swift
[183/192] Compiling AsyncAlgorithms AsyncCombineLatest2Sequence.swift
[184/192] Compiling AsyncAlgorithms AsyncCombineLatest3Sequence.swift
[185/192] Compiling AsyncAlgorithms CombineLatestStateMachine.swift
[186/192] Compiling AsyncAlgorithms CombineLatestStorage.swift
[187/192] Compiling AsyncAlgorithms SetAlgebra.swift
[188/192] Compiling AsyncAlgorithms UnsafeTransfer.swift
[189/192] Compiling AsyncAlgorithms AsyncZip2Sequence.swift
[190/192] Compiling AsyncAlgorithms AsyncZip3Sequence.swift
[191/192] Compiling AsyncAlgorithms ZipStateMachine.swift
[192/192] Compiling AsyncAlgorithms ZipStorage.swift
[194/206] Compiling SwiftCommand OutputType.swift
[195/207] Compiling SwiftCommand ExitStatus.swift
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:45:60: warning: capture of 'buffer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | do {
44 | guard let _data =
45 | try handle.read(upToCount: buffer.count) else {
| `- warning: capture of 'buffer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | continuation.resume(returning: 0)
47 | return
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:199:62: warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
197 | let readSize: Int
198 | if fileDescriptor >= 0 {
199 | readSize = try await IOActor.default.read(
| |- warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'bufPtr' to actor-isolated instance method 'read(from:into:)' risks causing data races between actor-isolated and task-isolated uses
200 | from: fileDescriptor,
201 | into: bufPtr
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:204:62: warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
202 | )
203 | } else {
204 | readSize = try await IOActor.default.read(
| |- warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'bufPtr' to actor-isolated instance method 'read(from:into:)' risks causing data races between actor-isolated and task-isolated uses
205 | from: file,
206 | into: bufPtr
[196/207] Compiling SwiftCommand FileHandle+Async.swift
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:45:60: warning: capture of 'buffer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
43 | do {
44 | guard let _data =
45 | try handle.read(upToCount: buffer.count) else {
| `- warning: capture of 'buffer' with non-sendable type 'UnsafeMutableRawBufferPointer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | continuation.resume(returning: 0)
47 | return
Swift.UnsafeMutableRawBufferPointer:1:23: note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawBufferPointer {
| `- note: struct 'UnsafeMutableRawBufferPointer' does not conform to the 'Sendable' protocol
2 | @inlinable public init(start: UnsafeMutableRawPointer?, count: Int)
3 | }
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:199:62: warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
197 | let readSize: Int
198 | if fileDescriptor >= 0 {
199 | readSize = try await IOActor.default.read(
| |- warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'bufPtr' to actor-isolated instance method 'read(from:into:)' risks causing data races between actor-isolated and task-isolated uses
200 | from: fileDescriptor,
201 | into: bufPtr
/host/spi-builder-workspace/Sources/SwiftCommand/FileHandle+Async.swift:204:62: warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
202 | )
203 | } else {
204 | readSize = try await IOActor.default.read(
| |- warning: sending 'bufPtr' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'bufPtr' to actor-isolated instance method 'read(from:into:)' risks causing data races between actor-isolated and task-isolated uses
205 | from: file,
206 | into: bufPtr
[197/207] Compiling SwiftCommand ProcessOutput.swift
[198/207] Compiling SwiftCommand Command.swift
[199/207] Compiling SwiftCommand Either.swift
[200/207] Compiling SwiftCommand OutputDestination.swift
[201/207] Compiling SwiftCommand FilePath+extension.swift
[202/207] Compiling SwiftCommand InputSource.swift
[203/207] Compiling SwiftCommand AsyncUnicodeScalarSequence.swift
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:544:36: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
542 | /// produce elements of the asynchronous sequence.
543 | public func makeAsyncIterator() -> AsyncIterator {
544 | .init(_base: self.base.makeAsyncIterator())
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | }
546 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:544:36: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
542 | /// produce elements of the asynchronous sequence.
543 | public func makeAsyncIterator() -> AsyncIterator {
544 | .init(_base: self.base.makeAsyncIterator())
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | }
546 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:779:39: warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, Stdout, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// let exitStatus = try process.wait()
28 | /// ```
29 | public final class ChildProcess<Stdin, Stdout, Stderr>
| `- note: generic class 'ChildProcess' does not conform to the 'Sendable' protocol
30 | where Stdin: InputSource, Stdout: OutputDestination, Stderr: OutputDestination {
31 | /// An error that can be thrown while terminating a child process.
:
777 | if self.process.isRunning {
778 | self.process.terminationHandler = { [weak self] _ in
779 | if let self = self {
| `- warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, Stdout, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
780 | continuation.resume(with: self.createExitStatus())
781 | } else {
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:885:39: warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, PipeOutputDestination, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// let exitStatus = try process.wait()
28 | /// ```
29 | public final class ChildProcess<Stdin, Stdout, Stderr>
| `- note: generic class 'ChildProcess' does not conform to the 'Sendable' protocol
30 | where Stdin: InputSource, Stdout: OutputDestination, Stderr: OutputDestination {
31 | /// An error that can be thrown while terminating a child process.
:
883 | if self.process.isRunning {
884 | self.process.terminationHandler = { [weak self] _ in
885 | if let self = self {
| `- warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, PipeOutputDestination, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
886 | continuation
887 | .resume(with: self.createProcessOutput())
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:973:20: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
971 | public var mergedOutputLines: MergedAsyncLines {
972 | .init(
973 | _base: merge(
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
974 | self.stdout.pipe.fileHandleForReading.customBytes.lineSequence,
975 | self.stderr.pipe.fileHandleForReading.customBytes.lineSequence
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:973:20: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
971 | public var mergedOutputLines: MergedAsyncLines {
972 | .init(
973 | _base: merge(
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
974 | self.stdout.pipe.fileHandleForReading.customBytes.lineSequence,
975 | self.stderr.pipe.fileHandleForReading.customBytes.lineSequence
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
[204/207] Compiling SwiftCommand ChildProcess.swift
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:544:36: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
542 | /// produce elements of the asynchronous sequence.
543 | public func makeAsyncIterator() -> AsyncIterator {
544 | .init(_base: self.base.makeAsyncIterator())
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | }
546 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:544:36: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
542 | /// produce elements of the asynchronous sequence.
543 | public func makeAsyncIterator() -> AsyncIterator {
544 | .init(_base: self.base.makeAsyncIterator())
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
545 | }
546 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:779:39: warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, Stdout, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// let exitStatus = try process.wait()
28 | /// ```
29 | public final class ChildProcess<Stdin, Stdout, Stderr>
| `- note: generic class 'ChildProcess' does not conform to the 'Sendable' protocol
30 | where Stdin: InputSource, Stdout: OutputDestination, Stderr: OutputDestination {
31 | /// An error that can be thrown while terminating a child process.
:
777 | if self.process.isRunning {
778 | self.process.terminationHandler = { [weak self] _ in
779 | if let self = self {
| `- warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, Stdout, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
780 | continuation.resume(with: self.createExitStatus())
781 | } else {
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:885:39: warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, PipeOutputDestination, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// let exitStatus = try process.wait()
28 | /// ```
29 | public final class ChildProcess<Stdin, Stdout, Stderr>
| `- note: generic class 'ChildProcess' does not conform to the 'Sendable' protocol
30 | where Stdin: InputSource, Stdout: OutputDestination, Stderr: OutputDestination {
31 | /// An error that can be thrown while terminating a child process.
:
883 | if self.process.isRunning {
884 | self.process.terminationHandler = { [weak self] _ in
885 | if let self = self {
| `- warning: capture of 'self' with non-sendable type 'ChildProcess<Stdin, PipeOutputDestination, Stderr>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
886 | continuation
887 | .resume(with: self.createProcessOutput())
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:973:20: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
971 | public var mergedOutputLines: MergedAsyncLines {
972 | .init(
973 | _base: merge(
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
974 | self.stdout.pipe.fileHandleForReading.customBytes.lineSequence,
975 | self.stderr.pipe.fileHandleForReading.customBytes.lineSequence
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:973:20: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
971 | public var mergedOutputLines: MergedAsyncLines {
972 | .init(
973 | _base: merge(
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
974 | self.stdout.pipe.fileHandleForReading.customBytes.lineSequence,
975 | self.stderr.pipe.fileHandleForReading.customBytes.lineSequence
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
[205/207] Compiling SwiftCommand AsyncCharacterSequence.swift
[206/207] Compiling SwiftCommand AsyncLineSequence.swift
[207/207] Emitting module SwiftCommand
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:503:28: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
501 | public struct MergedAsyncLines: AsyncSequence {
502 | @usableFromInline
503 | internal typealias Base = AsyncMerge2Sequence<
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
504 | AsyncLineSequence<FileHandle.CustomAsyncBytes>,
505 | AsyncLineSequence<FileHandle.CustomAsyncBytes>
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:515:26: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
513 | public struct AsyncIterator: AsyncIteratorProtocol {
514 | @usableFromInline
515 | internal var _base: Base.AsyncIterator
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:517:25: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
515 | internal var _base: Base.AsyncIterator
516 |
517 | fileprivate init(_base: Base.AsyncIterator) {
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
518 | self._base = _base
519 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
/host/spi-builder-workspace/Sources/SwiftCommand/ChildProcess.swift:528:38: warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
526 | @inlinable
527 | public mutating func next() async throws -> String? {
528 | try await self._base.next()
| `- warning: type 'AsyncLineSequence<FileHandle.CustomAsyncBytes>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
529 | }
530 | }
/host/spi-builder-workspace/Sources/SwiftCommand/AsyncLineSequence.swift:3:15: note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
1 | /// A non-blocking sequence of newline-separated `String`s created by decoding
2 | /// the elements of `Base` as utf-8.
3 | public struct AsyncLineSequence<Base>: AsyncSequence
| `- note: consider making generic struct 'AsyncLineSequence' conform to the 'Sendable' protocol
4 | where Base: AsyncSequence, Base.Element == UInt8 {
5 | /// The type of element produced by this asynchronous sequence.
Build complete! (37.29s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
},
{
"identity" : "swift-async-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-async-algorithms"
}
],
"manifest_display_name" : "SwiftCommand",
"name" : "SwiftCommand",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftCommand",
"targets" : [
"SwiftCommand"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCommandTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCommandTests",
"path" : "Tests/SwiftCommandTests",
"product_dependencies" : [
"AsyncAlgorithms"
],
"sources" : [
"SwiftCommandTests.swift"
],
"target_dependencies" : [
"SwiftCommand"
],
"type" : "test"
},
{
"c99name" : "SwiftCommand",
"module_type" : "SwiftTarget",
"name" : "SwiftCommand",
"path" : "Sources/SwiftCommand",
"product_dependencies" : [
"AsyncAlgorithms",
"SystemPackage"
],
"product_memberships" : [
"SwiftCommand"
],
"sources" : [
"AsyncCharacterSequence.swift",
"AsyncLineSequence.swift",
"AsyncUnicodeScalarSequence.swift",
"ChildProcess.swift",
"Command.swift",
"Either.swift",
"ExitStatus.swift",
"FileHandle+Async.swift",
"FilePath+extension.swift",
"InputSource.swift",
"OutputDestination.swift",
"OutputType.swift",
"ProcessOutput.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.