Build Information
Successful build of carton, reference 1.1.2 (d3f1da
), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 14:33:33 UTC.
Swift 6 data race errors: 30
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:18:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
16 |
17 | /// The standard output writer.
18 | public static let stdout = InteractiveWriter(stream: stdoutStream)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
19 |
20 | /// The terminal controller, if present.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:29:21: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
27 | }
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' 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
30 | public static let failure: Self = .init(rawValue: 1 << 1)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:30:21: warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
30 | public static let failure: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failure' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:86:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
84 | startNewProcessGroup: true,
85 | loggingHandler: {
86 | terminal.write($0 + "\n")
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
87 | }
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
[208/305] Compiling CartonHelpers ProcessOutputParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:15:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
16 |
17 | /// The standard output writer.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:18:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
16 |
17 | /// The standard output writer.
18 | public static let stdout = InteractiveWriter(stream: stdoutStream)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
19 |
20 | /// The terminal controller, if present.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:29:21: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
27 | }
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' 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
30 | public static let failure: Self = .init(rawValue: 1 << 1)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:30:21: warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
30 | public static let failure: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failure' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:86:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
84 | startNewProcessGroup: true,
85 | loggingHandler: {
86 | terminal.write($0 + "\n")
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
87 | }
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
[209/305] Compiling CartonHelpers Process+run.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:15:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
16 |
17 | /// The standard output writer.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:18:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
16 |
17 | /// The standard output writer.
18 | public static let stdout = InteractiveWriter(stream: stdoutStream)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
19 |
20 | /// The terminal controller, if present.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:29:21: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
27 | }
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' 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
30 | public static let failure: Self = .init(rawValue: 1 << 1)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:30:21: warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
30 | public static let failure: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failure' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:64:16: warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
62 | let stdout: Process.OutputClosure = {
63 | guard let string = String(data: Data($0), encoding: .utf8) else { return }
64 | if parser != nil {
| `- warning: capture of 'parser' with non-sendable type '(any ProcessOutputParser)?' in an isolated closure; this is an error in the Swift 6 language mode
65 | // Aggregate this for formatting later
66 | stdoutBuffer += string
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:15:17: note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public protocol ProcessOutputParser {
| `- note: protocol 'ProcessOutputParser' does not conform to the 'Sendable' protocol
16 | /// Parse the output of a `Process`, format it, then output in the `InteractiveWriter`.
17 | func parse(_ output: String, _ terminal: InteractiveWriter)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:68:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
66 | stdoutBuffer += string
67 | } else {
68 | terminal.write(string)
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Process+run.swift:86:15: warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
84 | startNewProcessGroup: true,
85 | loggingHandler: {
86 | terminal.write($0 + "\n")
| `- warning: capture of 'terminal' with non-sendable type 'InteractiveWriter' in an isolated closure; this is an error in the Swift 6 language mode
87 | }
88 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:13:20: note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
[210/305] Compiling ArgumentParser Platform.swift
[211/305] Compiling ArgumentParser SequenceExtensions.swift
[212/305] Compiling ArgumentParser StringExtensions.swift
[213/305] Compiling ArgumentParser Tree.swift
[223/305] Compiling CartonHelpers FileSystem.swift
[224/305] Compiling CartonHelpers HashAlgorithms.swift
[225/305] Compiling CartonHelpers Lock.swift
[226/305] Compiling CartonHelpers Path.swift
[231/305] Compiling CartonHelpers PathShims.swift
[235/305] Emitting module ArgumentParser
[244/305] Emitting module CartonHelpers
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 | public var receivedBytes: Int
35 | }
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
| `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
| |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
38 | let onTotalBytes: (Int) -> Void
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
| `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
41 |
42 | init(
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_localFileSystem' 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
629 |
630 | /// Public access to the local FS proxy.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collect' 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
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_loggingHandler' 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
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
355 | /// Key: Executable name or path.
356 | /// Value: Path to the executable, if found.
357 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validatedExecutablesMap' 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
358 | private static let validatedExecutablesMapLock = NSLock()
359 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public static var block: ProcessEnvironmentBlock { _vars }
84 |
85 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_vars' 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
86 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
87 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:15:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
16 |
17 | /// The standard output writer.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/InteractiveWriter.swift:18:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// If underlying stream is a not tty, the string will be written in without any
12 | /// formatting.
13 | public final class InteractiveWriter {
| `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
14 | /// The standard error writer.
15 | public static let stderr = InteractiveWriter(stream: stderrStream)
16 |
17 | /// The standard output writer.
18 | public static let stdout = InteractiveWriter(stream: stdoutStream)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' 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
19 |
20 | /// The terminal controller, if present.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:29:21: warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
27 | }
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
| |- warning: static property 'success' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'success' 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
30 | public static let failure: Self = .init(rawValue: 1 << 1)
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Parsers/ProcessOutputParser.swift:30:21: warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public struct ParsingCondition: OptionSet {
| `- note: consider making struct 'ParsingCondition' conform to the 'Sendable' protocol
24 | public let rawValue: Int
25 | public init(rawValue: Int) {
:
28 |
29 | public static let success: Self = .init(rawValue: 1 << 0)
30 | public static let failure: Self = .init(rawValue: 1 << 1)
| |- warning: static property 'failure' is not concurrency-safe because non-'Sendable' type 'ParsingCondition' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'failure' 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
31 | }
32 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/TerminalController+logLookup.swift:16:26: warning: static property 'home' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | extension String {
16 | fileprivate static var home = "\u{001B}[H"
| |- warning: static property 'home' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'home' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'home' 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 | fileprivate static var clearScreen = "\u{001B}[2J\u{001B}[H\u{001B}[3J"
18 | fileprivate static var clear = "\u{001B}[J"
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/TerminalController+logLookup.swift:17:26: warning: static property 'clearScreen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | extension String {
16 | fileprivate static var home = "\u{001B}[H"
17 | fileprivate static var clearScreen = "\u{001B}[2J\u{001B}[H\u{001B}[3J"
| |- warning: static property 'clearScreen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clearScreen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'clearScreen' 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
18 | fileprivate static var clear = "\u{001B}[J"
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/TerminalController+logLookup.swift:18:26: warning: static property 'clear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | fileprivate static var home = "\u{001B}[H"
17 | fileprivate static var clearScreen = "\u{001B}[2J\u{001B}[H\u{001B}[3J"
18 | fileprivate static var clear = "\u{001B}[J"
| |- warning: static property 'clear' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'clear' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'clear' 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 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 | public var receivedBytes: Int
35 | }
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
| `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
| |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
38 | let onTotalBytes: (Int) -> Void
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
| `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
41 |
42 | init(
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 | public var receivedBytes: Int
35 | }
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
| `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
| |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
38 | let onTotalBytes: (Int) -> Void
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
| `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
41 |
42 | init(
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
34 | public var receivedBytes: Int
35 | }
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
| `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
36 | class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
37 | let path: String
38 | let onTotalBytes: (Int) -> Void
| |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
38 | let onTotalBytes: (Int) -> Void
39 | let continuation: AsyncThrowingStream<Progress, Error>.Continuation
40 | var totalBytesToDownload: Int?
| `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
41 |
42 | init(
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collect' 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
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_loggingHandler' 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
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
355 | /// Key: Executable name or path.
356 | /// Value: Path to the executable, if found.
357 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validatedExecutablesMap' 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
358 | private static let validatedExecutablesMapLock = NSLock()
359 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:855:49: warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
853 | try await withCheckedThrowingContinuation { continuation in
854 | DispatchQueue.processConcurrent.async {
855 | self.waitUntilExit(continuation.resume(with:))
| |- warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
856 | }
857 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
923 | self.state = .complete(executionResult)
924 | self.completionQueue.async {
925 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
926 | }
927 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 | } catch {
1149 | completionQueue.async {
1150 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 | }
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public static var block: ProcessEnvironmentBlock { _vars }
84 |
85 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_vars' 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
86 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
87 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collect' 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
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_loggingHandler' 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
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
355 | /// Key: Executable name or path.
356 | /// Value: Path to the executable, if found.
357 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validatedExecutablesMap' 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
358 | private static let validatedExecutablesMapLock = NSLock()
359 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:855:49: warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
853 | try await withCheckedThrowingContinuation { continuation in
854 | DispatchQueue.processConcurrent.async {
855 | self.waitUntilExit(continuation.resume(with:))
| |- warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
856 | }
857 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
923 | self.state = .complete(executionResult)
924 | self.completionQueue.async {
925 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
926 | }
927 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 | } catch {
1149 | completionQueue.async {
1150 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 | }
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public static var block: ProcessEnvironmentBlock { _vars }
84 |
85 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_vars' 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
86 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
87 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
197 | }
198 |
199 | public enum OutputRedirection {
| `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
200 | /// Do not redirect the output
201 | case none
:
208 |
209 | /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
210 | public static let collect: OutputRedirection = .collect(redirectStderr: false)
| |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'collect' 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
211 |
212 | /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
267 | public typealias LoggingHandler = (String) -> Void
268 |
269 | private static var _loggingHandler: LoggingHandler?
| |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_loggingHandler' 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
270 | private static let loggingHandlerLock = NSLock()
271 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
355 | /// Key: Executable name or path.
356 | /// Value: Path to the executable, if found.
357 | private static var validatedExecutablesMap = [String: AbsolutePath?]()
| |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'validatedExecutablesMap' 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
358 | private static let validatedExecutablesMapLock = NSLock()
359 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:855:49: warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
853 | try await withCheckedThrowingContinuation { continuation in
854 | DispatchQueue.processConcurrent.async {
855 | self.waitUntilExit(continuation.resume(with:))
| |- warning: converting a value of type '(__shared sending Result<ProcessResult, any Error>) -> ()' to type '(Result<ProcessResult, any Error>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
| `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
856 | }
857 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
923 | self.state = .complete(executionResult)
924 | self.completionQueue.async {
925 | self.waitUntilExit(completion)
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
926 | }
927 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 | } catch {
1149 | completionQueue.async {
1150 | completion(.failure(error))
| |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 | }
1152 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
83 | public static var block: ProcessEnvironmentBlock { _vars }
84 |
85 | private static var _vars = ProcessEnvironmentBlock(
| |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_vars' 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
86 | uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
87 | (ProcessEnvironmentBlock.Key($0.key), $0.value)
[253/305] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[254/305] Compiling NIOCore BSDSocketAPI.swift
[255/305] Compiling NIOCore ByteBuffer-aux.swift
[256/305] Compiling NIOCore ByteBuffer-conversions.swift
[257/305] Compiling NIOCore ByteBuffer-core.swift
[284/305] Emitting module NIOCore
[285/359] Compiling NIOEmbedded AsyncTestingChannel.swift
[286/359] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[287/359] Compiling NIOEmbedded Embedded.swift
[288/359] Emitting module NIOEmbedded
[289/359] Compiling NIOPosix PooledRecvBufferAllocator.swift
[290/359] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[291/359] Compiling NIOPosix PosixSingletons.swift
[292/359] Compiling NIOPosix RawSocketBootstrap.swift
[293/359] Compiling NIOPosix Resolver.swift
[294/364] Compiling NIOPosix GetaddrinfoResolver.swift
[295/364] Compiling NIOPosix HappyEyeballs.swift
[296/364] Compiling NIOPosix IO.swift
[297/364] Compiling NIOPosix IntegerBitPacking.swift
[298/364] Compiling NIOPosix IntegerTypes.swift
[299/364] Compiling NIOPosix Linux.swift
[300/364] Compiling NIOPosix SocketProtocols.swift
[301/364] Compiling NIOPosix System.swift
[302/364] Compiling NIOPosix Thread.swift
[303/364] Compiling NIOPosix ThreadPosix.swift
[304/364] Compiling NIOPosix ThreadWindows.swift
[305/364] Compiling NIOPosix UnsafeTransfer.swift
[306/364] Compiling NIOPosix Utilities.swift
[307/364] Compiling NIOPosix VsockAddress.swift
[308/364] Compiling NIOPosix VsockChannelEvents.swift
[309/364] Compiling NIOPosix resource_bundle_accessor.swift
[310/364] Compiling NIOPosix BSDSocketAPICommon.swift
[311/364] Compiling NIOPosix BSDSocketAPIPosix.swift
[312/364] Compiling NIOPosix BSDSocketAPIWindows.swift
[313/364] Compiling NIOPosix BaseSocket.swift
[314/364] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[315/364] Compiling NIOPosix BaseSocketChannel.swift
[316/364] Compiling NIOPosix SelectorKqueue.swift
[317/364] Compiling NIOPosix SelectorUring.swift
[318/364] Compiling NIOPosix ServerSocket.swift
[319/364] Compiling NIOPosix Socket.swift
[320/364] Compiling NIOPosix SocketChannel.swift
[321/364] Compiling NIOPosix BaseStreamSocketChannel.swift
[322/364] Compiling NIOPosix Bootstrap.swift
[323/364] Compiling NIOPosix ControlMessage.swift
[324/364] Compiling NIOPosix DatagramVectorReadManager.swift
[325/364] Compiling NIOPosix Errors+Any.swift
[326/364] Compiling NIOPosix FileDescriptor.swift
[327/364] Compiling NIOPosix LinuxCPUSet.swift
[328/364] Compiling NIOPosix LinuxUring.swift
[329/364] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[330/364] Compiling NIOPosix NIOThreadPool.swift
[331/364] Compiling NIOPosix NonBlockingFileIO.swift
[332/364] Compiling NIOPosix PendingDatagramWritesManager.swift
[333/364] Compiling NIOPosix PendingWritesManager.swift
[334/364] Compiling NIOPosix PipeChannel.swift
[335/364] Compiling NIOPosix PipePair.swift
[336/364] Compiling NIOPosix PointerHelpers.swift
[337/364] Compiling NIOPosix Pool.swift
[338/364] Compiling NIOPosix Selectable.swift
[339/364] Compiling NIOPosix SelectableChannel.swift
[340/364] Compiling NIOPosix SelectableEventLoop.swift
[341/364] Compiling NIOPosix SelectorEpoll.swift
[342/364] Compiling NIOPosix SelectorGeneric.swift
[343/364] Emitting module NIOPosix
[344/366] Emitting module NIO
[345/366] Compiling NIO Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdoutStream' 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
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderrStream' 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
836 | LocalFileOutputByteStream(
837 | filePointer: stderr,
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_localFileSystem' 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
629 |
630 | /// Public access to the local FS proxy.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_localFileSystem' 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
629 |
630 | /// Public access to the local FS proxy.
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
| |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_localFileSystem' 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
629 |
630 | /// Public access to the local FS proxy.
[358/402] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[359/403] Compiling SwiftToolchain ToolchainResolver.swift
[360/403] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[361/403] Compiling carton_release CartonReleaseCommand.swift
[362/403] Compiling carton_release HashArchive.swift
[363/403] Emitting module carton_release
[363/403] Write Objects.LinkFileList
[365/403] Compiling WebDriver WebDriverHTTPClient.swift
[366/403] Compiling WebDriver WebDriverError.swift
[367/403] Compiling WebDriver URLSessionWebDriverHTTPClient.swift
[368/403] Compiling WebDriver WebDriverService.swift
[369/403] Compiling WebDriver URLSessionAsync.swift
[370/403] Compiling WebDriver CurlWebDriverHTTPClient.swift
[371/403] Compiling WebDriver RemoteWebDriverService.swift
[372/403] Compiling WebDriver CommandWebDriverService.swift
[373/403] Emitting module WebDriver
[374/403] Compiling WebDriver WebDriverClient.swift
[375/403] Compiling SwiftToolchain ProgressAnimation.swift
[376/403] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[377/403] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[378/403] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[379/403] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[380/403] Compiling NIOHTTP1 HTTPEncoder.swift
[381/403] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[382/403] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[383/403] Compiling SwiftToolchain ToolchainInstallation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolchain/ToolchainInstallation.swift:66:17: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 |
65 | let animation = PercentProgressAnimation(
66 | stream: stdoutStream,
| `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
67 | header: "Downloading the archive"
68 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: note: var declared here
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
| `- note: var declared here
830 | LocalFileOutputByteStream(
831 | filePointer: stdout,
[384/403] Emitting module SwiftToolchain
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolchain/ToolchainManagement.swift:34:13: warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private let versionRegEx = #/(?:swift-)?(.+-.)-.+\\.tar.gz/#
| |- warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'versionRegEx' 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 | private struct Release: Decodable {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[385/403] Compiling SwiftToolchain ToolchainManagement.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolchain/ToolchainManagement.swift:34:13: warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | private let versionRegEx = #/(?:swift-)?(.+-.)-.+\\.tar.gz/#
| |- warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'versionRegEx' 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 | private struct Release: Decodable {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[386/403] Compiling SwiftToolchain ToolchainError.swift
[386/403] Linking carton-release
[387/403] Applying carton-release
[389/405] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[390/405] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[391/405] Emitting module NIOHTTP1
[392/405] Compiling NIOHTTP1 ByteCollectionUtils.swift
[393/405] Compiling NIOHTTP1 HTTPDecoder.swift
[394/405] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[395/405] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[396/405] Compiling NIOHTTP1 HTTPTypes.swift
[397/405] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[398/415] Compiling CartonDriver CartonDriverCommand.swift
[399/415] Emitting module CartonDriver
[400/415] Compiling NIOWebSocket WebSocketOpcode.swift
[401/418] Compiling NIOWebSocket WebSocketFrame.swift
[402/418] Emitting module NIOWebSocket
[403/418] Compiling NIOWebSocket SHA1.swift
[404/418] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[405/418] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[406/418] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[407/418] Compiling NIOWebSocket WebSocketErrorCodes.swift
[408/418] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[409/418] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[410/418] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[411/418] Compiling carton main.swift
[412/418] Emitting module carton
[412/418] Write Objects.LinkFileList
[413/436] Linking carton
[414/436] Applying carton
[416/436] Compiling CartonKit EnvironmentEx.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Utilities/EnvironmentEx.swift:4:1: warning: extension declares a conformance of imported type 'Environment' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'CartonCore' introduce this conformance in the future
2 | import CartonCore
3 |
4 | extension Environment: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'Environment' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'CartonCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
[417/437] Compiling CartonKit FSWatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:786:7: warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
784 |
785 | eventStream.callbacksQueue.async {
786 | eventStream.delegate.pathsDidReceiveEvent(paths)
| `- warning: capture of 'eventStream' with non-sendable type 'FSEventStream' in a `@Sendable` closure; this is an error in the Swift 6 language mode
787 | }
788 | }
:
793 |
794 | /// Wrapper for Darwin's FSEventStream API.
795 | public final class FSEventStream {
| `- note: class 'FSEventStream' does not conform to the 'Sendable' protocol
796 |
797 | /// The errors encountered during fs event watching.
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:848:28: warning: capture of 'self' with non-sendable type 'FSEventStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
793 |
794 | /// Wrapper for Darwin's FSEventStream API.
795 | public final class FSEventStream {
| `- note: class 'FSEventStream' does not conform to the 'Sendable' protocol
796 |
797 | /// The errors encountered during fs event watching.
:
846 | public func start() throws {
847 | let thread = Foundation.Thread { [weak self] in
848 | guard let `self` = self else { return }
| `- warning: capture of 'self' with non-sendable type 'FSEventStream?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
849 | self.runLoop = CFRunLoopGetCurrent()
850 | let queue = DispatchQueue(label: "org.swiftwasm.carton.FSWatch")
[418/437] Compiling CartonKit String+Regex.swift
[419/437] Compiling CartonKit String+color.swift
[420/437] Compiling CartonKit Entrypoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[421/437] Compiling CartonKit ChromeStackTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[422/437] Compiling CartonKit TestsParser.swift
[423/437] Compiling CartonKit ContentTypes.swift
[424/437] Emitting module CartonKit
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/ChromeStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/at (.+) \(webpack:///(.+?)\)/#
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:18:13: warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
| |- warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsRegex' 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 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:136:24: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | private static let regex = #/([\w ]+)/([\w\.]+) \(PID (\d+)\)/#
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' 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
137 |
138 | public static func parse(_ string: String) throws -> ServerNameField {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Utilities/EnvironmentEx.swift:4:1: warning: extension declares a conformance of imported type 'Environment' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'CartonCore' introduce this conformance in the future
2 | import CartonCore
3 |
4 | extension Environment: ExpressibleByArgument {}
| |- warning: extension declares a conformance of imported type 'Environment' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'CartonCore' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:9: warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| `- warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
251 | }
252 | try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to actor-isolated instance method 'onChange' risks causing data races between actor-isolated and task-isolated uses
251 | }
252 | try watcher?.start()
[425/437] Compiling CartonKit DiagnosticsParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[426/437] Compiling CartonKit FirefoxStackTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:18:13: warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
| |- warning: let 'webpackRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'webpackRegex' 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 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/FirefoxStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let webpackRegex = #/(.+)@webpack:///(.+)/#
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[427/437] Compiling CartonKit SafariStackTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:18:13: warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
| |- warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsRegex' 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 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[428/437] Compiling CartonKit StackTrace.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:18:13: warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | //
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
| |- warning: let 'jsRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring?)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jsRegex' 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 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Parsers/SafariStackTrace.swift:19:13: warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | private let jsRegex = #/(.+?)(?:@(?:\[(?:native|wasm) code\]|(.+)))?$/#
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
| |- warning: let 'wasmRegex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wasmRegex' 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
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[429/437] Compiling CartonKit Environment+UserAgent.swift
[430/437] Compiling CartonKit HTML.swift
[431/437] Compiling CartonKit ServerWebSocketHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:73:9: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | let closeFrame = WebSocketFrame(fin: true, opcode: .connectionClose, data: closeDataCode)
72 | _ = context.write(self.wrapOutboundOut(closeFrame)).map { () in
73 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:83:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 | let frame = WebSocketFrame(fin: true, opcode: .connectionClose, data: data)
82 | context.write(self.wrapOutboundOut(frame)).whenComplete { (_: Result<Void, Error>) in
83 | context.close(mode: .output, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | }
85 | awaitingClose = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
[432/437] Compiling CartonKit StaticArchive.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:73:9: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | let closeFrame = WebSocketFrame(fin: true, opcode: .connectionClose, data: closeDataCode)
72 | _ = context.write(self.wrapOutboundOut(closeFrame)).map { () in
73 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:83:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
81 | let frame = WebSocketFrame(fin: true, opcode: .connectionClose, data: data)
82 | context.write(self.wrapOutboundOut(frame)).whenComplete { (_: Result<Void, Error>) in
83 | context.close(mode: .output, promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 | }
85 | awaitingClose = true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
[433/437] Compiling CartonKit Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:136:24: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | private static let regex = #/([\w ]+)/([\w\.]+) \(PID (\d+)\)/#
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' 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
137 |
138 | public static func parse(_ string: String) throws -> ServerNameField {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:353:60: warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
352 | .childChannelInitializer { channel in
353 | let httpHandler = ServerHTTPHandler(configuration: handlerConfiguration)
| `- warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | let config: NIOHTTPServerUpgradeConfiguration = (
355 | upgraders: [upgrader],
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:25:10: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
23 | typealias OutboundOut = HTTPServerResponsePart
24 |
25 | struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
26 | let logger: Logger
27 | let mainWasmPath: AbsolutePath
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:357:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | upgraders: [upgrader],
356 | completionHandler: { _ in
357 | channel.pipeline.removeHandler(httpHandler, promise: nil)
| `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | }
359 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:21:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
19 | import NIOHTTP1
20 |
21 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
22 | typealias InboundIn = HTTPServerRequestPart
23 | typealias OutboundOut = HTTPServerResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | )
360 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
361 | channel.pipeline.addHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:21:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
19 | import NIOHTTP1
20 |
21 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
22 | typealias InboundIn = HTTPServerRequestPart
23 | typealias OutboundOut = HTTPServerResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:434:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | private var onTestFinishedContinuation: CheckedContinuation<Bool, Never>?
172 |
173 | private let configuration: Configuration
| `- note: property declared here
174 |
175 | private let serverName: ServerNameField
:
432 | }
433 |
434 | let terminal = self.configuration.terminal
| `- warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
435 |
436 | switch event {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:474:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | private var onTestFinishedContinuation: CheckedContinuation<Bool, Never>?
172 |
173 | private let configuration: Configuration
| `- note: property declared here
174 |
175 | private let serverName: ServerNameField
:
472 |
473 | nonisolated func webSocketBinaryHandler(data: Data) {
474 | let terminal = self.configuration.terminal
| `- warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |
476 | if data.count < 2 {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:122:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
121 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
122 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:231:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 | context.write(self.wrapOutboundOut(.head(head)), promise: nil)
230 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
231 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }
233 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:246:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
244 | context.write(self.wrapOutboundOut(.head(head)), promise: nil)
245 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
246 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 | }
248 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:9: warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| `- warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
251 | }
252 | try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:400:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
398 | ) async throws {
399 | do {
400 | try await builder.run()
| |- warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'builder' to nonisolated instance method 'run()' risks causing data races between nonisolated and 'self'-isolated uses
401 | } catch {
402 | terminal.write("Build failed\n", inColor: .red)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to actor-isolated instance method 'onChange' risks causing data races between actor-isolated and task-isolated uses
251 | }
252 | try watcher?.start()
[434/437] Compiling CartonKit ServerHTTPHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:136:24: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
134 | }
135 |
136 | private static let regex = #/([\w ]+)/([\w\.]+) \(PID (\d+)\)/#
| |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring, Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'regex' 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
137 |
138 | public static func parse(_ string: String) throws -> ServerNameField {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
| `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 | public var regex: Regex<Output> { get }
4 | @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:353:60: warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
351 | .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
352 | .childChannelInitializer { channel in
353 | let httpHandler = ServerHTTPHandler(configuration: handlerConfiguration)
| `- warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
354 | let config: NIOHTTPServerUpgradeConfiguration = (
355 | upgraders: [upgrader],
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:25:10: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
23 | typealias OutboundOut = HTTPServerResponsePart
24 |
25 | struct Configuration {
| `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
26 | let logger: Logger
27 | let mainWasmPath: AbsolutePath
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:357:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
355 | upgraders: [upgrader],
356 | completionHandler: { _ in
357 | channel.pipeline.removeHandler(httpHandler, promise: nil)
| `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
358 | }
359 | )
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:21:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
19 | import NIOHTTP1
20 |
21 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
22 | typealias InboundIn = HTTPServerRequestPart
23 | typealias OutboundOut = HTTPServerResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
359 | )
360 | return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
361 | channel.pipeline.addHandler(httpHandler)
| `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
362 | }
363 | }
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:21:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
19 | import NIOHTTP1
20 |
21 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
22 | typealias InboundIn = HTTPServerRequestPart
23 | typealias OutboundOut = HTTPServerResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:434:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | private var onTestFinishedContinuation: CheckedContinuation<Bool, Never>?
172 |
173 | private let configuration: Configuration
| `- note: property declared here
174 |
175 | private let serverName: ServerNameField
:
432 | }
433 |
434 | let terminal = self.configuration.terminal
| `- warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
435 |
436 | switch event {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:474:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
171 | private var onTestFinishedContinuation: CheckedContinuation<Bool, Never>?
172 |
173 | private let configuration: Configuration
| `- note: property declared here
174 |
175 | private let serverName: ServerNameField
:
472 |
473 | nonisolated func webSocketBinaryHandler(data: Data) {
474 | let terminal = self.configuration.terminal
| `- warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
475 |
476 | if data.count < 2 {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:122:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
120 | context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
121 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
122 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 | }
124 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:231:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
229 | context.write(self.wrapOutboundOut(.head(head)), promise: nil)
230 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
231 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
232 | }
233 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:246:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
244 | context.write(self.wrapOutboundOut(.head(head)), promise: nil)
245 | context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
246 | context.close(promise: nil)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
247 | }
248 | context.flush()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1496:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1494 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1495 | /// `ChannelHandler`.
1496 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1497 | // visible for ChannelPipeline to modify
1498 | fileprivate var next: Optional<ChannelHandlerContext>
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:9: warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| `- warning: task-isolated value of type '() async throws -> ()' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
251 | }
252 | try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:400:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
398 | ) async throws {
399 | do {
400 | try await builder.run()
| |- warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'builder' to nonisolated instance method 'run()' risks causing data races between nonisolated and 'self'-isolated uses
401 | } catch {
402 | terminal.write("Build failed\n", inColor: .red)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:250:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
248 | watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
249 | guard let self = self, !changes.isEmpty else { return }
250 | Task { try await self.onChange(changes, configuration) }
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to actor-isolated instance method 'onChange' risks causing data races between actor-isolated and task-isolated uses
251 | }
252 | try watcher?.start()
[435/446] Compiling CartonFrontend BrowserTestRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/BrowserTestRunner.swift:27:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private enum Constants {
27 | static let entrypoint = Entrypoint(fileName: "test.js", content: StaticResource.test)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/BrowserTestRunner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
14 |
15 | import CartonHelpers
16 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
17 | import Foundation
18 | import NIOCore
:
25 |
26 | private enum Constants {
27 | static let entrypoint = Entrypoint(fileName: "test.js", content: StaticResource.test)
| |- note: annotate 'entrypoint' 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
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/BrowserTestRunner.swift:81:28: warning: sending task-isolated value of type 'Server.Configuration' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
79 |
80 | func run() async throws {
81 | let server = try await Server(
| `- warning: sending task-isolated value of type 'Server.Configuration' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
82 | .init(
83 | builder: nil,
[436/446] Compiling CartonFrontend NodeTestRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/NodeTestRunner.swift:20:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private enum Constants {
20 | static let entrypoint = Entrypoint(fileName: "testNode.js", content: StaticResource.testNode)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/NodeTestRunner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
14 |
15 | import CartonHelpers
16 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
17 | import Foundation
18 |
19 | private enum Constants {
20 | static let entrypoint = Entrypoint(fileName: "testNode.js", content: StaticResource.testNode)
| |- note: annotate 'entrypoint' 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
21 | }
22 |
[437/446] Compiling CartonFrontend TestRunner.swift
[438/446] Compiling CartonFrontend CommandTestRunner.swift
[439/446] Compiling CartonFrontend CartonFrontendCommand.swift
[440/446] Compiling CartonFrontend CartonFrontendTestCommand.swift
[441/446] Emitting module CartonFrontend
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:41:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | struct CartonFrontendDevCommand: AsyncParsableCommand {
41 | static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @Option(help: "Specify name of an executable product in development.")
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
15 | import ArgumentParser
16 | import CartonHelpers
17 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
18 | import Foundation
19 |
:
39 |
40 | struct CartonFrontendDevCommand: AsyncParsableCommand {
41 | static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
| |- note: annotate 'entrypoint' 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
42 |
43 | @Option(help: "Specify name of an executable product in development.")
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/BrowserTestRunner.swift:27:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | private enum Constants {
27 | static let entrypoint = Entrypoint(fileName: "test.js", content: StaticResource.test)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/BrowserTestRunner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
14 |
15 | import CartonHelpers
16 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
17 | import Foundation
18 | import NIOCore
:
25 |
26 | private enum Constants {
27 | static let entrypoint = Entrypoint(fileName: "test.js", content: StaticResource.test)
| |- note: annotate 'entrypoint' 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
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/NodeTestRunner.swift:20:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | private enum Constants {
20 | static let entrypoint = Entrypoint(fileName: "testNode.js", content: StaticResource.testNode)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/TestRunners/NodeTestRunner.swift:16:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
14 |
15 | import CartonHelpers
16 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
17 | import Foundation
18 |
19 | private enum Constants {
20 | static let entrypoint = Entrypoint(fileName: "testNode.js", content: StaticResource.testNode)
| |- note: annotate 'entrypoint' 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
21 | }
22 |
[442/446] Compiling CartonFrontend CartonFrontendBundleCommand.swift
[443/446] Compiling CartonFrontend CartonFrontendDevCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:41:14: warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
39 |
40 | struct CartonFrontendDevCommand: AsyncParsableCommand {
41 | static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
| `- warning: static property 'entrypoint' is not concurrency-safe because non-'Sendable' type 'Entrypoint' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | @Option(help: "Specify name of an executable product in development.")
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Model/Entrypoint.swift:18:15: note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
16 | import Foundation
17 |
18 | public struct Entrypoint {
| `- note: struct 'Entrypoint' does not conform to the 'Sendable' protocol
19 | let fileName: String
20 | let content: ByteString
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
15 | import ArgumentParser
16 | import CartonHelpers
17 | import CartonKit
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
18 | import Foundation
19 |
:
39 |
40 | struct CartonFrontendDevCommand: AsyncParsableCommand {
41 | static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
| |- note: annotate 'entrypoint' 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
42 |
43 | @Option(help: "Specify name of an executable product in development.")
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:164:28: warning: sending value of non-Sendable type 'Server.Configuration' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
162 | }
163 |
164 | let server = try await Server(
| `- warning: sending value of non-Sendable type 'Server.Configuration' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
165 | .init(
166 | builder: try makeBuilderIfNeed(),
:
185 | try openInSystemBrowser(url: localURL)
186 | } catch {
187 | terminal.write("open browser failed: \(error)", inColor: .red)
| `- note: access can happen concurrently
188 | }
189 | }
[444/448] Emitting module carton_frontend
[445/448] Compiling carton_frontend main.swift
[445/448] Write Objects.LinkFileList
[446/448] Linking carton-frontend
[447/448] Applying carton-frontend
Build complete! (82.58s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftwasm/WasmTransformer
[1/809] Fetching wasmtransformer
[115/4395] Fetching wasmtransformer, swift-log
[4396/74193] Fetching wasmtransformer, swift-log, swift-nio
[4397/86362] Fetching wasmtransformer, swift-log, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-nio.git from cache (9.60s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.60s)
Fetched https://github.com/swiftwasm/WasmTransformer from cache (9.60s)
Fetched https://github.com/apple/swift-log.git from cache (9.60s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (3.28s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.72.0 (0.74s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[49/5207] Fetching swift-atomics, swift-system
[997/20241] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.85s)
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.85s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.56s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (0.75s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.72.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
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.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "1.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.34.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "wasmtransformer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftwasm/WasmTransformer"
}
],
"manifest_display_name" : "carton",
"name" : "carton",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftToolchain",
"targets" : [
"SwiftToolchain"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CartonHelpers",
"targets" : [
"CartonHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CartonDriver",
"targets" : [
"CartonDriver"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CartonKit",
"targets" : [
"CartonKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CartonFrontend",
"targets" : [
"CartonFrontend"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "carton",
"targets" : [
"carton"
],
"type" : {
"executable" : null
}
},
{
"name" : "carton-release",
"targets" : [
"carton-release"
],
"type" : {
"executable" : null
}
},
{
"name" : "CartonBundlePlugin",
"targets" : [
"CartonBundlePlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "CartonTestPlugin",
"targets" : [
"CartonTestPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "CartonDevPlugin",
"targets" : [
"CartonDevPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "carton-plugin-helper",
"targets" : [
"carton-plugin-helper"
],
"type" : {
"executable" : null
}
},
{
"name" : "carton-frontend",
"targets" : [
"carton-frontend"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "carton_release",
"module_type" : "SwiftTarget",
"name" : "carton-release",
"path" : "Sources/carton-release",
"product_dependencies" : [
"ArgumentParser",
"WasmTransformer"
],
"product_memberships" : [
"carton-release"
],
"sources" : [
"CartonReleaseCommand.swift",
"HashArchive.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "executable"
},
{
"c99name" : "carton_plugin_helper",
"module_type" : "SwiftTarget",
"name" : "carton-plugin-helper",
"path" : "Sources/carton-plugin-helper",
"product_memberships" : [
"carton-plugin-helper"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "carton_frontend",
"module_type" : "SwiftTarget",
"name" : "carton-frontend",
"path" : "Sources/carton-frontend",
"product_memberships" : [
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"CartonFrontend"
],
"type" : "executable"
},
{
"c99name" : "carton",
"module_type" : "SwiftTarget",
"name" : "carton",
"path" : "Sources/carton",
"product_memberships" : [
"carton"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"CartonDriver"
],
"type" : "executable"
},
{
"c99name" : "WebDriverTests",
"module_type" : "SwiftTarget",
"name" : "WebDriverTests",
"path" : "Tests/WebDriverTests",
"sources" : [
"WebDriverClientTests.swift"
],
"target_dependencies" : [
"WebDriver"
],
"type" : "test"
},
{
"c99name" : "WebDriver",
"module_type" : "SwiftTarget",
"name" : "WebDriver",
"path" : "Sources/WebDriver",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"CartonKit",
"CartonFrontend",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"CommandWebDriverService.swift",
"CurlWebDriverHTTPClient.swift",
"RemoteWebDriverService.swift",
"URLSessionAsync.swift",
"URLSessionWebDriverHTTPClient.swift",
"WebDriverClient.swift",
"WebDriverError.swift",
"WebDriverHTTPClient.swift",
"WebDriverService.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "library"
},
{
"c99name" : "TSCclibc",
"module_type" : "ClangTarget",
"name" : "TSCclibc",
"path" : "Sources/TSCclibc",
"product_memberships" : [
"SwiftToolchain",
"CartonHelpers",
"CartonDriver",
"CartonKit",
"CartonFrontend",
"carton",
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"process.c.c"
],
"type" : "library"
},
{
"c99name" : "TSCLibc",
"module_type" : "SwiftTarget",
"name" : "TSCLibc",
"path" : "Sources/TSCLibc",
"product_memberships" : [
"SwiftToolchain",
"CartonHelpers",
"CartonDriver",
"CartonKit",
"CartonFrontend",
"carton",
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"libc.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftToolchain",
"module_type" : "SwiftTarget",
"name" : "SwiftToolchain",
"path" : "Sources/SwiftToolchain",
"product_memberships" : [
"SwiftToolchain",
"CartonDriver",
"carton"
],
"sources" : [
"ToolchainError.swift",
"ToolchainInstallation.swift",
"ToolchainManagement.swift",
"ToolchainResolver.swift",
"Utilities/ProgressAnimation.swift"
],
"target_dependencies" : [
"CartonHelpers"
],
"type" : "library"
},
{
"c99name" : "CartonTests",
"module_type" : "SwiftTarget",
"name" : "CartonTests",
"path" : "Tests/CartonTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"CartonTests.swift",
"ProcessTests.swift",
"StackTraceTests.swift"
],
"target_dependencies" : [
"CartonFrontend",
"CartonHelpers"
],
"type" : "test"
},
{
"c99name" : "CartonTestPlugin",
"module_type" : "PluginTarget",
"name" : "CartonTestPlugin",
"path" : "Plugins/CartonTestPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Run the tests in a WASI environment.",
"type" : "custom",
"verb" : "carton-test"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonTestPlugin"
],
"sources" : [
"CartonCore/CartonCoreError.swift",
"CartonCore/Environment.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonPluginShared/PluginShared.swift",
"CartonTestPluginCommand.swift"
],
"target_dependencies" : [
"carton-frontend"
],
"type" : "plugin"
},
{
"c99name" : "CartonKit",
"module_type" : "SwiftTarget",
"name" : "CartonKit",
"path" : "Sources/CartonKit",
"product_dependencies" : [
"NIOWebSocket",
"NIOHTTP1",
"NIO",
"ArgumentParser",
"WasmTransformer"
],
"product_memberships" : [
"CartonKit",
"CartonFrontend",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"Model/Entrypoint.swift",
"Parsers/ChromeStackTrace.swift",
"Parsers/DiagnosticsParser.swift",
"Parsers/FirefoxStackTrace.swift",
"Parsers/SafariStackTrace.swift",
"Parsers/StackTrace.swift",
"Parsers/String+Regex.swift",
"Parsers/String+color.swift",
"Parsers/TestsParser.swift",
"Server/ContentTypes.swift",
"Server/Environment+UserAgent.swift",
"Server/HTML.swift",
"Server/Server.swift",
"Server/ServerHTTPHandler.swift",
"Server/ServerWebSocketHandler.swift",
"Server/StaticArchive.swift",
"Utilities/EnvironmentEx.swift",
"Utilities/FSWatch.swift"
],
"target_dependencies" : [
"CartonHelpers",
"WebDriver"
],
"type" : "library"
},
{
"c99name" : "CartonHelpers",
"module_type" : "SwiftTarget",
"name" : "CartonHelpers",
"path" : "Sources/CartonHelpers",
"product_memberships" : [
"SwiftToolchain",
"CartonHelpers",
"CartonDriver",
"CartonKit",
"CartonFrontend",
"carton",
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"AsyncFileDownload.swift",
"Basics/ByteString.swift",
"Basics/CStringArray.swift",
"Basics/Closable.swift",
"Basics/CollectionExtensions.swift",
"Basics/Condition.swift",
"Basics/FileInfo.swift",
"Basics/FileSystem.swift",
"Basics/HashAlgorithms.swift",
"Basics/Lock.swift",
"Basics/Path.swift",
"Basics/PathShims.swift",
"Basics/Process/Process.swift",
"Basics/Process/ProcessEnv.swift",
"Basics/StringConversions.swift",
"Basics/TerminalController.swift",
"Basics/Thread.swift",
"Basics/WritableByteStream.swift",
"Basics/misc.swift",
"DefaultToolchain.swift",
"FileSystem+traverseRecursively.swift",
"InteractiveWriter.swift",
"Parsers/ProcessOutputParser.swift",
"Process+run.swift",
"ProcessEx.swift",
"Retry.swift",
"TerminalController+logLookup.swift",
"URLSession.swift",
"Version.swift"
],
"target_dependencies" : [
"TSCclibc",
"TSCLibc",
"CartonCore"
],
"type" : "library"
},
{
"c99name" : "CartonFrontend",
"module_type" : "SwiftTarget",
"name" : "CartonFrontend",
"path" : "Sources/CartonFrontend",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"CartonFrontend",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"CartonFrontendCommand.swift",
"Commands/CartonFrontendBundleCommand.swift",
"Commands/CartonFrontendDevCommand.swift",
"Commands/CartonFrontendTestCommand.swift",
"Commands/TestRunners/BrowserTestRunner.swift",
"Commands/TestRunners/CommandTestRunner.swift",
"Commands/TestRunners/NodeTestRunner.swift",
"Commands/TestRunners/TestRunner.swift"
],
"target_dependencies" : [
"CartonKit"
],
"type" : "library"
},
{
"c99name" : "CartonDriver",
"module_type" : "SwiftTarget",
"name" : "CartonDriver",
"path" : "Sources/CartonDriver",
"product_memberships" : [
"CartonDriver",
"carton"
],
"sources" : [
"CartonDriverCommand.swift"
],
"target_dependencies" : [
"SwiftToolchain",
"CartonHelpers"
],
"type" : "library"
},
{
"c99name" : "CartonDevPlugin",
"module_type" : "PluginTarget",
"name" : "CartonDevPlugin",
"path" : "Plugins/CartonDevPlugin",
"plugin_capability" : {
"intent" : {
"description" : "Watch the current directory, host the app, rebuild on change.",
"type" : "custom",
"verb" : "carton-dev"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonDevPlugin"
],
"sources" : [
"CartonCore/CartonCoreError.swift",
"CartonCore/Environment.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonDevPluginCommand.swift",
"CartonPluginShared/PluginShared.swift"
],
"target_dependencies" : [
"carton-frontend"
],
"type" : "plugin"
},
{
"c99name" : "CartonCore",
"module_type" : "SwiftTarget",
"name" : "CartonCore",
"path" : "Sources/CartonCore",
"product_memberships" : [
"SwiftToolchain",
"CartonHelpers",
"CartonDriver",
"CartonKit",
"CartonFrontend",
"carton",
"carton-release",
"CartonBundlePlugin",
"CartonTestPlugin",
"CartonDevPlugin",
"carton-frontend"
],
"sources" : [
"CartonCoreError.swift",
"Environment.swift",
"FoundationProcessEx.swift"
],
"type" : "library"
},
{
"c99name" : "CartonCommandTests",
"module_type" : "SwiftTarget",
"name" : "CartonCommandTests",
"path" : "Tests/CartonCommandTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"BundleCommandTests.swift",
"CommandTestHelper.swift",
"DevCommandTests.swift",
"FrontendDevServerTests.swift",
"TestCommandTests.swift",
"Testable.swift"
],
"target_dependencies" : [
"CartonFrontend",
"SwiftToolchain",
"WebDriver"
],
"type" : "test"
},
{
"c99name" : "CartonBundlePlugin",
"module_type" : "PluginTarget",
"name" : "CartonBundlePlugin",
"path" : "Plugins/CartonBundlePlugin",
"plugin_capability" : {
"intent" : {
"description" : "Produces an optimized app bundle for distribution.",
"type" : "custom",
"verb" : "carton-bundle"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"CartonBundlePlugin"
],
"sources" : [
"CartonBundlePluginCommand.swift",
"CartonCore/CartonCoreError.swift",
"CartonCore/Environment.swift",
"CartonCore/FoundationProcessEx.swift",
"CartonPluginShared/PluginShared.swift"
],
"target_dependencies" : [
"carton-frontend"
],
"type" : "plugin"
}
],
"tools_version" : "5.8"
}
Done.