Build Information
Successful build of Run with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 5
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/getGuaka/Run.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/getGuaka/Run
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 5a2866c Fix execute ls test on Linux
Cloned https://github.com/getGuaka/Run.git
Revision (git rev-parse @):
5a2866c0ae4266e0406d85f16adf65a30a626d7f
SUCCESS checkout https://github.com/getGuaka/Run.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/getGuaka/Run.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/10] Compiling Args ArgConvertible.swift
[6/10] Compiling Args Argument.swift
[7/10] Compiling Args ProcessInfo.swift
[8/10] Compiling Args ArgsParser.swift
[9/10] Compiling Args Args.swift
[10/10] Emitting module Args
[11/20] Compiling Prompt Choose.swift
[12/20] Compiling Prompt PromptReader.swift
[13/21] Compiling Prompt PromptSettings.swift
[14/21] Compiling Prompt PromptPrinter.swift
[15/21] Compiling Prompt AskSettings.swift
[16/21] Compiling Prompt AskerValidator.swift
[17/21] Compiling Prompt Ask.swift
[18/21] Compiling Prompt Agree.swift
[19/21] Compiling Prompt ChooseSettings.swift
[20/21] Emitting module Prompt
[21/21] Compiling Prompt AgreeSettings.swift
[22/28] Compiling Run TaskPipe.swift
[23/28] Compiling Run ShortHandRunner.swift
[24/28] Compiling Run RunnerSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:34:23: warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Dont echo anything, this is the default settings
34 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'None' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:37:23: warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
35 |
36 | /// Echo the stdout from the run command to the terminal
37 | public static let Stdout = EchoSettings(rawValue: 1 << 0)
| |- warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:40:23: warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
38 |
39 | /// Echo the stderr from the run command to the terminal
40 | public static let Stderr = EchoSettings(rawValue: 1 << 1)
| |- warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Echo the command executed to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:43:23: warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
41 |
42 | /// Echo the command executed to the terminal
43 | public static let Command = EchoSettings(rawValue: 1 << 2)
| |- warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[25/28] Compiling Run RunResults.swift
[26/28] Emitting module Run
/Users/admin/builder/spi-builder-workspace/Sources/Run/CommandExecutor.swift:16:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | class CommandExecutor {
15 |
16 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTaskExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:34:23: warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Dont echo anything, this is the default settings
34 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'None' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:37:23: warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
35 |
36 | /// Echo the stdout from the run command to the terminal
37 | public static let Stdout = EchoSettings(rawValue: 1 << 0)
| |- warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:40:23: warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
38 |
39 | /// Echo the stderr from the run command to the terminal
40 | public static let Stderr = EchoSettings(rawValue: 1 << 1)
| |- warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Echo the command executed to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:43:23: warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
41 |
42 | /// Echo the command executed to the terminal
43 | public static let Command = EchoSettings(rawValue: 1 << 2)
| |- warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
[27/28] Compiling Run Runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:34:23: warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Dont echo anything, this is the default settings
34 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'None' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/CommandExecutor.swift:16:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | class CommandExecutor {
15 |
16 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTaskExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:43:23: warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
41 |
42 | /// Echo the command executed to the terminal
43 | public static let Command = EchoSettings(rawValue: 1 << 2)
| |- warning: static property 'Command' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Command' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:37:23: warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
35 |
36 | /// Echo the stdout from the run command to the terminal
37 | public static let Stdout = EchoSettings(rawValue: 1 << 0)
| |- warning: static property 'Stdout' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/Run/RunnerSettings.swift:40:23: warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | /// Echo settings
25 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
26 |
27 | public let rawValue: Int
:
38 |
39 | /// Echo the stderr from the run command to the terminal
40 | public static let Stderr = EchoSettings(rawValue: 1 << 1)
| |- warning: static property 'Stderr' is not concurrency-safe because non-'Sendable' type 'EchoSettings' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Stderr' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// Echo the command executed to the terminal
[28/28] Compiling Run CommandExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Run/CommandExecutor.swift:16:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | class CommandExecutor {
15 |
16 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTaskExecutor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTaskExecutor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/Run/CommandExecutor.swift:71:13: warning: variable 'outputPipe' was never mutated; consider changing to 'let' constant
69 | var childFDActions: posix_spawn_file_actions_t = posix_spawn_file_actions_t()
70 | #endif
71 | var outputPipe: [Int32] = [-1, -1]
| `- warning: variable 'outputPipe' was never mutated; consider changing to 'let' constant
72 |
73 | posix_spawn_file_actions_init(&childFDActions)
Build complete! (29.29s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/getGuaka/Args.git
Fetching https://github.com/getGuaka/Prompt.git
[1/44] Fetching prompt
[29/78] Fetching prompt, args
[79/14627] Fetching prompt, args, quick
[14628/33267] Fetching prompt, args, quick, nimble
Fetched https://github.com/getGuaka/Args.git from cache (2.75s)
Fetched https://github.com/getGuaka/Prompt.git from cache (2.75s)
Fetched https://github.com/Quick/Nimble.git from cache (2.75s)
Fetched https://github.com/Quick/Quick.git from cache (2.75s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 7.3.1 (0.72s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 1.3.2 (0.67s)
Computing version for https://github.com/getGuaka/Prompt.git
Computed https://github.com/getGuaka/Prompt.git at 0.1.1 (0.66s)
Computing version for https://github.com/getGuaka/Args.git
Computed https://github.com/getGuaka/Args.git at 0.1.1 (0.66s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 1.3.2
Creating working copy for https://github.com/getGuaka/Prompt.git
Working copy of https://github.com/getGuaka/Prompt.git resolved at 0.1.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 7.3.1
Creating working copy for https://github.com/getGuaka/Args.git
Working copy of https://github.com/getGuaka/Args.git resolved at 0.1.1
Build complete.
{
"dependencies" : [
{
"identity" : "prompt",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/getGuaka/Prompt.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "7.3.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Run",
"name" : "Run",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Run",
"targets" : [
"Run"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RunTests",
"module_type" : "SwiftTarget",
"name" : "RunTests",
"path" : "Tests/RunTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"RunnerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Run"
],
"type" : "test"
},
{
"c99name" : "Run",
"module_type" : "SwiftTarget",
"name" : "Run",
"path" : "Sources/Run",
"product_dependencies" : [
"Prompt"
],
"product_memberships" : [
"Run"
],
"sources" : [
"CommandExecutor.swift",
"RunResults.swift",
"Runner.swift",
"RunnerSettings.swift",
"ShortHandRunner.swift",
"TaskPipe.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.