Build Information
Successful build of Swiftline, reference 0.5.6 (200b14
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:57:56 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bow-swift/Swiftline.git
Reference: 0.5.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bow-swift/Swiftline
* tag 0.5.6 -> FETCH_HEAD
HEAD is now at 200b148 fix casting between UnsafeMutablePointer<CChar> and UnsafePointer<CChar>!
Cloned https://github.com/bow-swift/Swiftline.git
Revision (git rev-parse @):
200b1486ed60d92b909c1ba8ded675bbb60e2805
SUCCESS checkout https://github.com/bow-swift/Swiftline.git at 0.5.6
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/455] Fetching cwlcatchexception
[293/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[984/16435] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16436/35653] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (2.55s)
Fetched https://github.com/Quick/Nimble.git from cache (2.55s)
Computing version for https://github.com/Quick/Nimble.git
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.55s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.55s)
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.65s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.2 (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.63s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftline",
"name": "Swiftline",
"url": "https://github.com/bow-swift/Swiftline.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swiftline",
"dependencies": [
{
"identity": "quick",
"name": "Quick",
"url": "https://github.com/Quick/Quick.git",
"version": "4.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Quick",
"dependencies": [
]
},
{
"identity": "nimble",
"name": "Nimble",
"url": "https://github.com/Quick/Nimble.git",
"version": "9.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Nimble",
"dependencies": [
{
"identity": "cwlpreconditiontesting",
"name": "CwlPreconditionTesting",
"url": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"version": "2.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlPreconditionTesting",
"dependencies": [
{
"identity": "cwlcatchexception",
"name": "CwlCatchException",
"url": "https://github.com/mattgallagher/CwlCatchException.git",
"version": "2.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CwlCatchException",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/bow-swift/Swiftline.git
[9/805] Fetching swiftline
Fetched https://github.com/bow-swift/Swiftline.git from cache (1.26s)
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/Quick/Quick.git from cache (0.68s)
Fetched https://github.com/Quick/Nimble.git from cache (0.68s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.03s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.04s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.63s)
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.48s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.62s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/bow-swift/Swiftline.git
Working copy of https://github.com/bow-swift/Swiftline.git resolved at 0.5.6 (200b148)
warning: '.resolve-product-dependencies': dependency 'swiftline' is not used by any target
Found 2 product dependencies
- Quick
- Nimble
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bow-swift/Swiftline.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/28] Emitting module Swiftline
/Users/admin/builder/spi-builder-workspace/Sources/Args.swift:18:14: warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var cachedResults: ParsedArgs?
| |- warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedResults' 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
19 |
20 | /// Return a parsed list of arguments containing the flags and the parameters passed to the scripts
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInfo.swift:37:16: warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum ProcessInfo {
37 | static var internalProcessInfo: ProcessInfoType = Foundation.ProcessInfo.processInfo
| |- warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalProcessInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'internalProcessInfo' 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 | static var arguments: [String] {
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:12:16: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class PromptSettings {
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
| |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reader' 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
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:13:16: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printer' 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
14 |
15 | class func read() -> String? {
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:51:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | /// Dont echo anything, this is the default settings
51 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated 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
52 |
53 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:54: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
52 |
53 | /// Echo the stdout from the run command to the terminal
54 | 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
55 |
56 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:57: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
55 |
56 | /// Echo the stderr from the run command to the terminal
57 | 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
58 |
59 | /// Echo the command executed to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:60: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
58 |
59 | /// Echo the command executed to the terminal
60 | 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
61 | }
62 |
[4/30] Compiling Swiftline ShortHandRunner.swift
[5/30] Compiling Swiftline StringBackgroundColorizer.swift
[6/30] Compiling Swiftline Agree.swift
[7/30] Compiling Swiftline AgreeSettings.swift
[8/30] Compiling Swiftline ArgConvertible.swift
[9/30] Compiling Swiftline StringStyleColorizer.swift
[10/30] Compiling Swiftline TaskPipe.swift
[11/30] Compiling Swiftline Choose.swift
[12/30] Compiling Swiftline ChooseSettings.swift
[13/30] Compiling Swiftline Colorizer.swift
[14/30] Compiling Swiftline StringForegroundColorizer.swift
[15/30] Compiling Swiftline StringStyle.swift
[16/30] Compiling Swiftline PromptPrinter.swift
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:12:16: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class PromptSettings {
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
| |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reader' 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
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:13:16: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printer' 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
14 |
15 | class func read() -> String? {
[17/30] Compiling Swiftline PromptReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:12:16: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class PromptSettings {
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
| |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reader' 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
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:13:16: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printer' 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
14 |
15 | class func read() -> String? {
[18/30] Compiling Swiftline PromptSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:12:16: warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | class PromptSettings {
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
| |- warning: static property 'reader' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'reader' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'reader' 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
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/PromptSettings.swift:13:16: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | static var reader: PromptReader = ConsolePromptReader()
13 | static var printer: PromptPrinter = ConsolePromptPrinter()
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'printer' 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
14 |
15 | class func read() -> String? {
[19/30] Compiling Swiftline RunResults.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:51:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | /// Dont echo anything, this is the default settings
51 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated 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
52 |
53 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:60: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
58 |
59 | /// Echo the command executed to the terminal
60 | 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
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:54: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
52 |
53 | /// Echo the stdout from the run command to the terminal
54 | 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
55 |
56 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:57: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
55 |
56 | /// Echo the stderr from the run command to the terminal
57 | 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
58 |
59 | /// Echo the command executed to the terminal
[20/30] Compiling Swiftline Runner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:51:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | /// Dont echo anything, this is the default settings
51 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated 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
52 |
53 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:60: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
58 |
59 | /// Echo the command executed to the terminal
60 | 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
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:54: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
52 |
53 | /// Echo the stdout from the run command to the terminal
54 | 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
55 |
56 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:57: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
55 |
56 | /// Echo the stderr from the run command to the terminal
57 | 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
58 |
59 | /// Echo the command executed to the terminal
[21/30] Compiling Swiftline RunnerSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:51:23: warning: static property 'None' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
49 |
50 | /// Dont echo anything, this is the default settings
51 | public static var None = EchoSettings(rawValue: 0)
| |- warning: static property 'None' is not concurrency-safe because it is nonisolated 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
52 |
53 | /// Echo the stdout from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:60: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
58 |
59 | /// Echo the command executed to the terminal
60 | 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
61 | }
62 |
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:54: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
52 |
53 | /// Echo the stdout from the run command to the terminal
54 | 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
55 |
56 | /// Echo the stderr from the run command to the terminal
/Users/admin/builder/spi-builder-workspace/Sources/RunnerSettings.swift:57: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
40 |
41 | /// Echo settings
42 | public struct EchoSettings: OptionSet {
| `- note: consider making struct 'EchoSettings' conform to the 'Sendable' protocol
43 |
44 | public let rawValue: Int
:
55 |
56 | /// Echo the stderr from the run command to the terminal
57 | 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
58 |
59 | /// Echo the command executed to the terminal
[22/30] Compiling Swiftline CommandExecutor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInfo.swift:37:16: warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum ProcessInfo {
37 | static var internalProcessInfo: ProcessInfoType = Foundation.ProcessInfo.processInfo
| |- warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalProcessInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'internalProcessInfo' 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 | static var arguments: [String] {
[23/30] Compiling Swiftline Env.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInfo.swift:37:16: warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum ProcessInfo {
37 | static var internalProcessInfo: ProcessInfoType = Foundation.ProcessInfo.processInfo
| |- warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalProcessInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'internalProcessInfo' 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 | static var arguments: [String] {
[24/30] Compiling Swiftline ProcessInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommandExecutor.swift:25:16: warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | class CommandExecutor {
25 | static var currentTaskExecutor: TaskExecutor = ActualTaskExecutor()
| |- warning: static property 'currentTaskExecutor' is not concurrency-safe because it is nonisolated 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
26 |
27 | class func execute(_ commandParts: [String]) -> ExecutorReturnValue {
/Users/admin/builder/spi-builder-workspace/Sources/ProcessInfo.swift:37:16: warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | enum ProcessInfo {
37 | static var internalProcessInfo: ProcessInfoType = Foundation.ProcessInfo.processInfo
| |- warning: static property 'internalProcessInfo' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'internalProcessInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'internalProcessInfo' 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 | static var arguments: [String] {
[25/30] Compiling Swiftline Args.swift
/Users/admin/builder/spi-builder-workspace/Sources/Args.swift:18:14: warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var cachedResults: ParsedArgs?
| |- warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedResults' 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
19 |
20 | /// Return a parsed list of arguments containing the flags and the parameters passed to the scripts
[26/30] Compiling Swiftline ArgsParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Args.swift:18:14: warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var cachedResults: ParsedArgs?
| |- warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedResults' 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
19 |
20 | /// Return a parsed list of arguments containing the flags and the parameters passed to the scripts
[27/30] Compiling Swiftline Argument.swift
/Users/admin/builder/spi-builder-workspace/Sources/Args.swift:18:14: warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static var cachedResults: ParsedArgs?
| |- warning: static property 'cachedResults' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'cachedResults' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'cachedResults' 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
19 |
20 | /// Return a parsed list of arguments containing the flags and the parameters passed to the scripts
[28/30] Compiling Swiftline Ask.swift
[29/30] Compiling Swiftline AskSettings.swift
[30/30] Compiling Swiftline AskerValidator.swift
Build complete! (18.21s)
Build complete.
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Swiftline",
"name" : "Swiftline",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "Swiftline",
"targets" : [
"Swiftline"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftlineTests",
"module_type" : "SwiftTarget",
"name" : "SwiftlineTests",
"path" : "Tests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"AgreeSettingsTest.swift",
"AgreeTests.swift",
"ArgsTests.swift",
"AskSettingsTests.swift",
"AskTests.swift",
"ChooseSettingsTests.swift",
"ChooseTests.swift",
"ColorizerTest.swift",
"ENVTests.swift",
"RunnerTests.swift"
],
"target_dependencies" : [
"Swiftline"
],
"type" : "test"
},
{
"c99name" : "Swiftline",
"module_type" : "SwiftTarget",
"name" : "Swiftline",
"path" : "Sources",
"product_memberships" : [
"Swiftline"
],
"sources" : [
"Agree.swift",
"AgreeSettings.swift",
"ArgConvertible.swift",
"Args.swift",
"ArgsParser.swift",
"Argument.swift",
"Ask.swift",
"AskSettings.swift",
"AskerValidator.swift",
"Choose.swift",
"ChooseSettings.swift",
"Colorizer.swift",
"CommandExecutor.swift",
"Env.swift",
"ProcessInfo.swift",
"PromptPrinter.swift",
"PromptReader.swift",
"PromptSettings.swift",
"RunResults.swift",
"Runner.swift",
"RunnerSettings.swift",
"ShortHandRunner.swift",
"StringBackgroundColorizer.swift",
"StringForegroundColorizer.swift",
"StringStyle.swift",
"StringStyleColorizer.swift",
"TaskPipe.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.