Build Information
Successful build of Sh, reference trunk (428de9), with Swift 6.1 for macOS (SPM) on 19 Jul 2026 10:17:46 UTC.
Swift 6 data race errors: 1
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsincere/Sh.git
Reference: trunk
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/danielsincere/Sh
* branch trunk -> FETCH_HEAD
* [new branch] trunk -> origin/trunk
HEAD is now at 428de93 license wasn't upated when I changed my GitHub user name
Cloned https://github.com/danielsincere/Sh.git
Revision (git rev-parse @):
428de931e2bcb49ff70ca003daa739d4eef6091a
SUCCESS checkout https://github.com/danielsincere/Sh.git at trunk
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/danielsincere/Sh.git
https://github.com/danielsincere/Sh.git
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "Sh",
"name" : "Sh",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Sh",
"targets" : [
"Sh"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShTests",
"module_type" : "SwiftTarget",
"name" : "ShTests",
"path" : "Tests/ShTests",
"sources" : [
"AsyncDecodingTests.swift",
"AsyncTests.swift",
"LogFileTests.swift",
"MacTests.swift",
"ReturningAllOutputTests.swift",
"ReturningOutputTests.swift",
"SinkTests.swift"
],
"target_dependencies" : [
"Sh"
],
"type" : "test"
},
{
"c99name" : "Sh",
"module_type" : "SwiftTarget",
"name" : "Sh",
"path" : "Sources/Sh",
"product_dependencies" : [
"Rainbow"
],
"product_memberships" : [
"Sh"
],
"sources" : [
"Data/Data.asJSON.swift",
"Data/Data.asTrimmedString.swift",
"Data/PipeBuffer.swift",
"Errors.swift",
"Process/Process.init.swift",
"Process/Process.runRedirectingAllOutput.swift",
"Process/Process.runReturningAllOutput.swift",
"Process/Process.runReturningData.swift",
"Process/Process.runReturningTrimmedString.swift",
"Process/Process.terminationError.swift",
"Sink.swift",
"String/String.asTrimmedLines.swift",
"sh.swift",
"shq.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/18] Compiling Rainbow String+Rainbow.swift
[5/18] Compiling Rainbow Style.swift
[6/18] Compiling Rainbow ConditionalStyleBuilder.swift
[7/18] Compiling Rainbow ControlCode.swift
[8/19] Compiling Rainbow StyledStringBuilder.swift
[9/19] Emitting module Rainbow
[10/19] Compiling Rainbow BackgroundColor.swift
[11/19] Compiling Rainbow CodesParser.swift
[12/19] Compiling Rainbow Color.swift
[13/19] Compiling Rainbow ColorApproximation.swift
[14/19] Compiling Rainbow HSLColorConverter.swift
[15/19] Compiling Rainbow ModesExtractor.swift
[16/19] Compiling Rainbow StringGenerator.swift
[17/19] Compiling Rainbow OutputTarget.swift
[18/19] Compiling Rainbow Rainbow.swift
[19/19] Compiling Rainbow String+ConditionalStyling.swift
[20/33] Compiling Sh String.asTrimmedLines.swift
[21/34] Compiling Sh sh.swift
[22/34] Compiling Sh Process.runReturningAllOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningAllOutput.swift:40:19: warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | self.terminationHandler = { process in
39 | continuation.resume(returning: AllOutput(
40 | stdOut: stdOut.closeReturningData(),
| `- warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | stdErr: stdErr.closeReturningData(),
42 | terminationError: process.terminationError))
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningAllOutput.swift:41:19: warning: capture of 'stdErr' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | continuation.resume(returning: AllOutput(
40 | stdOut: stdOut.closeReturningData(),
41 | stdErr: stdErr.closeReturningData(),
| `- warning: capture of 'stdErr' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | terminationError: process.terminationError))
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningData.swift:33:22: warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | continuation.resume(throwing: terminationError)
32 | } else {
33 | let data = stdOut.closeReturningData()
| `- warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | continuation.resume(returning: data)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
[23/34] Compiling Sh Process.runReturningData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningAllOutput.swift:40:19: warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
38 | self.terminationHandler = { process in
39 | continuation.resume(returning: AllOutput(
40 | stdOut: stdOut.closeReturningData(),
| `- warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 | stdErr: stdErr.closeReturningData(),
42 | terminationError: process.terminationError))
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningAllOutput.swift:41:19: warning: capture of 'stdErr' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
39 | continuation.resume(returning: AllOutput(
40 | stdOut: stdOut.closeReturningData(),
41 | stdErr: stdErr.closeReturningData(),
| `- warning: capture of 'stdErr' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
42 | terminationError: process.terminationError))
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.runReturningData.swift:33:22: warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 | continuation.resume(throwing: terminationError)
32 | } else {
33 | let data = stdOut.closeReturningData()
| `- warning: capture of 'stdOut' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 | continuation.resume(returning: data)
35 | }
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:3:7: note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
[24/34] Compiling Sh PipeBuffer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:17:7: warning: capture of 'self' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
:
15 |
16 | self.pipe.fileHandleForReading.readabilityHandler = { handler in
17 | self.semaphore.enter()
| `- warning: capture of 'self' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | let data = handler.availableData
19 | self.buffer.append(contentsOf: data)
[25/34] Compiling Sh Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Data/PipeBuffer.swift:17:7: warning: capture of 'self' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class PipeBuffer {
| `- note: class 'PipeBuffer' does not conform to the 'Sendable' protocol
4 | enum StreamID: String {
5 | case stdOut, stdErr
:
15 |
16 | self.pipe.fileHandleForReading.readabilityHandler = { handler in
17 | self.semaphore.enter()
| `- warning: capture of 'self' with non-sendable type 'PipeBuffer' in a '@Sendable' closure; this is an error in the Swift 6 language mode
18 | let data = handler.availableData
19 | self.buffer.append(contentsOf: data)
[26/34] Compiling Sh Sink.swift
[27/34] Compiling Sh Process.terminationError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.terminationError.swift:15:14: warning: stored property 'reason' of 'Sendable'-conforming struct 'TerminationError' has non-sendable type 'TerminationError.Reason'; this is an error in the Swift 6 language mode
13 | public struct TerminationError: Error, LocalizedError {
14 | public let status: Int32
15 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'TerminationError' has non-sendable type 'TerminationError.Reason'; this is an error in the Swift 6 language mode
16 |
17 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
18 | case exit, uncaughtSignal, unknownDefault
19 | }
[28/34] Emitting module Sh
/Users/admin/builder/spi-builder-workspace/Sources/Sh/Process/Process.terminationError.swift:15:14: warning: stored property 'reason' of 'Sendable'-conforming struct 'TerminationError' has non-sendable type 'TerminationError.Reason'; this is an error in the Swift 6 language mode
13 | public struct TerminationError: Error, LocalizedError {
14 | public let status: Int32
15 | public let reason: Reason
| `- warning: stored property 'reason' of 'Sendable'-conforming struct 'TerminationError' has non-sendable type 'TerminationError.Reason'; this is an error in the Swift 6 language mode
16 |
17 | public enum Reason {
| `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
18 | case exit, uncaughtSignal, unknownDefault
19 | }
[29/34] Compiling Sh Process.init.swift
[30/34] Compiling Sh Process.runRedirectingAllOutput.swift
[31/34] Compiling Sh Data.asJSON.swift
[32/34] Compiling Sh Data.asTrimmedString.swift
[33/34] Compiling Sh Process.runReturningTrimmedString.swift
[34/34] Compiling Sh shq.swift
Build complete! (13.28s)
Fetching https://github.com/onevcat/Rainbow
[1/1474] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.90s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (4.69s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Build complete.
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "Sh",
"name" : "Sh",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Sh",
"targets" : [
"Sh"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShTests",
"module_type" : "SwiftTarget",
"name" : "ShTests",
"path" : "Tests/ShTests",
"sources" : [
"AsyncDecodingTests.swift",
"AsyncTests.swift",
"LogFileTests.swift",
"MacTests.swift",
"ReturningAllOutputTests.swift",
"ReturningOutputTests.swift",
"SinkTests.swift"
],
"target_dependencies" : [
"Sh"
],
"type" : "test"
},
{
"c99name" : "Sh",
"module_type" : "SwiftTarget",
"name" : "Sh",
"path" : "Sources/Sh",
"product_dependencies" : [
"Rainbow"
],
"product_memberships" : [
"Sh"
],
"sources" : [
"Data/Data.asJSON.swift",
"Data/Data.asTrimmedString.swift",
"Data/PipeBuffer.swift",
"Errors.swift",
"Process/Process.init.swift",
"Process/Process.runRedirectingAllOutput.swift",
"Process/Process.runReturningAllOutput.swift",
"Process/Process.runReturningData.swift",
"Process/Process.runReturningTrimmedString.swift",
"Process/Process.terminationError.swift",
"Sink.swift",
"String/String.asTrimmedLines.swift",
"sh.swift",
"shq.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Done.