The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of carton, reference main (1b2abf), with Swift 6.0 (beta) for macOS (SPM) on 16 Sep 2024 14:35:04 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

     |                        |- 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 |
[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
/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)
/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)
/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)
[281/305] Emitting module NIOCore
[282/359] Compiling NIOEmbedded AsyncTestingChannel.swift
[283/359] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[284/359] Compiling NIOEmbedded Embedded.swift
[285/359] Emitting module NIOEmbedded
[286/359] Compiling NIOPosix PendingWritesManager.swift
[287/359] Compiling NIOPosix PipeChannel.swift
[288/359] Compiling NIOPosix PipePair.swift
[289/359] Compiling NIOPosix PointerHelpers.swift
[290/359] Compiling NIOPosix Pool.swift
[291/364] Compiling NIOPosix GetaddrinfoResolver.swift
[292/364] Compiling NIOPosix HappyEyeballs.swift
[293/364] Compiling NIOPosix IO.swift
[294/364] Compiling NIOPosix IntegerBitPacking.swift
[295/364] Compiling NIOPosix IntegerTypes.swift
[296/364] Compiling NIOPosix Linux.swift
[297/364] Compiling NIOPosix SocketProtocols.swift
[298/364] Compiling NIOPosix System.swift
[299/364] Compiling NIOPosix Thread.swift
[300/364] Compiling NIOPosix ThreadPosix.swift
[301/364] Compiling NIOPosix ThreadWindows.swift
[302/364] Compiling NIOPosix Selectable.swift
[303/364] Compiling NIOPosix SelectableChannel.swift
[304/364] Compiling NIOPosix SelectableEventLoop.swift
[305/364] Compiling NIOPosix SelectorEpoll.swift
[306/364] Compiling NIOPosix SelectorGeneric.swift
[307/364] Compiling NIOPosix PooledRecvBufferAllocator.swift
[308/364] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[309/364] Compiling NIOPosix PosixSingletons.swift
[310/364] Compiling NIOPosix RawSocketBootstrap.swift
[311/364] Compiling NIOPosix Resolver.swift
[312/364] Compiling NIOPosix BSDSocketAPICommon.swift
[313/364] Compiling NIOPosix BSDSocketAPIPosix.swift
[314/364] Compiling NIOPosix BSDSocketAPIWindows.swift
[315/364] Compiling NIOPosix BaseSocket.swift
[316/364] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[317/364] Compiling NIOPosix BaseSocketChannel.swift
[318/364] Compiling NIOPosix SelectorKqueue.swift
[319/364] Compiling NIOPosix SelectorUring.swift
[320/364] Compiling NIOPosix ServerSocket.swift
[321/364] Compiling NIOPosix Socket.swift
[322/364] Compiling NIOPosix SocketChannel.swift
[323/364] Compiling NIOPosix UnsafeTransfer.swift
[324/364] Compiling NIOPosix Utilities.swift
[325/364] Compiling NIOPosix VsockAddress.swift
[326/364] Compiling NIOPosix VsockChannelEvents.swift
[327/364] Compiling NIOPosix resource_bundle_accessor.swift
[328/364] Compiling NIOPosix BaseStreamSocketChannel.swift
[329/364] Compiling NIOPosix Bootstrap.swift
[330/364] Compiling NIOPosix ControlMessage.swift
[331/364] Compiling NIOPosix DatagramVectorReadManager.swift
[332/364] Compiling NIOPosix Errors+Any.swift
[333/364] Compiling NIOPosix FileDescriptor.swift
[334/364] Emitting module NIOPosix
[335/364] Compiling NIOPosix LinuxCPUSet.swift
[336/364] Compiling NIOPosix LinuxUring.swift
[337/364] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[338/364] Compiling NIOPosix NIOThreadPool.swift
[339/364] Compiling NIOPosix NonBlockingFileIO.swift
[340/364] Compiling NIOPosix PendingDatagramWritesManager.swift
[341/366] Emitting module NIO
[342/366] Compiling NIO Exports.swift
/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)
/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.
[352/383] Compiling NIOHTTP1 HTTPServerUpgradeHandler.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,
[353/383] Compiling NIOHTTP1 HTTPTypedPipelineSetup.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/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/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/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 |
[358/402] Compiling carton_release HashArchive.swift
[359/402] Compiling carton_release CartonReleaseCommand.swift
[360/402] Emitting module carton_release
[360/402] Write Objects.LinkFileList
[362/402] 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,
[363/402] Compiling WebDriver WebDriverService.swift
[364/402] Compiling WebDriver WebDriverHTTPClient.swift
[365/402] Compiling WebDriver WebDriverError.swift
[366/402] Compiling WebDriver URLSessionWebDriverHTTPClient.swift
[367/402] Compiling WebDriver RemoteWebDriverService.swift
[368/402] Emitting module WebDriver
[369/402] Compiling WebDriver URLSessionAsync.swift
[370/402] Compiling WebDriver CurlWebDriverHTTPClient.swift
[371/402] Compiling WebDriver CommandWebDriverService.swift
[372/402] Compiling WebDriver WebDriverClient.swift
[373/402] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[374/402] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[375/402] Compiling NIOHTTP1 HTTPEncoder.swift
[376/402] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[377/403] Compiling SwiftToolchain ToolchainResolver.swift
[378/403] Compiling SwiftToolchain ProgressAnimation.swift
[379/403] Compiling SwiftToolchain ToolchainError.swift
[380/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, *)
[381/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, *)
[382/403] Emitting module NIOHTTP1
[383/403] Compiling NIOHTTP1 ByteCollectionUtils.swift
[384/403] Compiling NIOHTTP1 HTTPDecoder.swift
[384/403] Linking carton-release
[385/403] Applying carton-release
[387/405] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[388/405] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[391/405] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[392/405] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[393/405] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[394/405] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[395/405] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[396/405] Compiling NIOHTTP1 HTTPTypes.swift
[397/405] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[398/415] Compiling NIOWebSocket WebSocketOpcode.swift
[399/416] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[400/416] Compiling NIOWebSocket SHA1.swift
[401/416] Compiling NIOWebSocket WebSocketErrorCodes.swift
[402/416] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[403/416] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[404/416] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[405/416] Compiling CartonDriver CartonDriverCommand.swift
[406/416] Emitting module CartonDriver
[407/416] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[408/416] Emitting module NIOWebSocket
[409/416] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[410/416] Compiling NIOWebSocket WebSocketFrame.swift
[411/436] Emitting module carton
[412/436] Compiling carton main.swift
[412/436] Write Objects.LinkFileList
[414/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 |
[414/437] Linking carton
[416/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>
[417/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>
[417/437] Applying carton
[419/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")
[420/437] Compiling CartonKit Environment+UserAgent.swift
[421/437] Compiling CartonKit HTML.swift
[422/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:358: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
356 |       .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
357 |       .childChannelInitializer { channel in
358 |         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
359 |         let config: NIOHTTPServerUpgradeConfiguration = (
360 |           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:362:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |           upgraders: [upgrader],
361 |           completionHandler: { _ in
362 |             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
363 |           }
364 |         )
/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:366:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |         )
365 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
366 |           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
367 |         }
368 |       }
/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:439: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
    :
437 |     }
438 |
439 |     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
440 |
441 |     switch event {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:479: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
    :
477 |
478 |   nonisolated func webSocketBinaryHandler(data: Data) {
479 |     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
480 |
481 |     if data.count < 2 {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:125:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |     context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
124 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
125 |       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
126 |     }
127 |     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/ServerHTTPHandler.swift:261:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
260 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
261 |       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
262 |     }
263 |     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:254: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
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:405:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
403 |   ) async throws {
404 |     do {
405 |       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
406 |     } catch {
407 |       terminal.write("Build failed\n", inColor: .red)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:254:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
[423/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:358: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
356 |       .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
357 |       .childChannelInitializer { channel in
358 |         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
359 |         let config: NIOHTTPServerUpgradeConfiguration = (
360 |           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:362:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
360 |           upgraders: [upgrader],
361 |           completionHandler: { _ in
362 |             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
363 |           }
364 |         )
/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:366:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a `@Sendable` closure; this is an error in the Swift 6 language mode
364 |         )
365 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
366 |           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
367 |         }
368 |       }
/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:439: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
    :
437 |     }
438 |
439 |     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
440 |
441 |     switch event {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:479: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
    :
477 |
478 |   nonisolated func webSocketBinaryHandler(data: Data) {
479 |     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
480 |
481 |     if data.count < 2 {
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:125:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
123 |     context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
124 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
125 |       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
126 |     }
127 |     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/ServerHTTPHandler.swift:261:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
259 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
260 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
261 |       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
262 |     }
263 |     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:254: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
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:405:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
403 |   ) async throws {
404 |     do {
405 |       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
406 |     } catch {
407 |       terminal.write("Build failed\n", inColor: .red)
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:254:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
[424/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, *)
[425/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, *)
[426/437] Compiling CartonKit String+Regex.swift
[427/437] Compiling CartonKit String+color.swift
[428/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, *)
[429/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, *)
[430/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:254: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
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
/Users/admin/builder/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:254:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
252 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
253 |         guard let self = self, !changes.isEmpty else { return }
254 |         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
255 |       }
256 |       try watcher?.start()
[431/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, *)
[432/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, *)
[433/437] Compiling CartonKit TestsParser.swift
[434/437] Compiling CartonKit ContentTypes.swift
[435/446] Compiling CartonFrontend CommandTestRunner.swift
[436/446] Compiling CartonFrontend TestRunner.swift
[437/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 |
[438/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(options: TestRunnerOptions) 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,
[439/446] Compiling CartonFrontend CartonFrontendTestCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendTestCommand.swift:49:22: warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 47 |     """,
 48 |     valueName: "NAME=VALUE or NAME"
 49 |   ), transform: Self.parseEnvOption(_:))
    |                      `- warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 50 |   var env: [(key: String, value: String?)] = []
 51 |
[440/446] Compiling CartonFrontend CartonFrontendBundleCommand.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/CartonFrontendTestCommand.swift:49:22: warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 47 |     """,
 48 |     valueName: "NAME=VALUE or NAME"
 49 |   ), transform: Self.parseEnvOption(_:))
    |                      `- warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 50 |   var env: [(key: String, value: String?)] = []
 51 |
/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 CartonFrontendCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendTestCommand.swift:49:22: warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 47 |     """,
 48 |     valueName: "NAME=VALUE or NAME"
 49 |   ), transform: Self.parseEnvOption(_:))
    |                      `- warning: converting non-sendable function value to '@Sendable (String) throws -> (key: String, value: String?)' may introduce data races
 50 |   var env: [(key: String, value: String?)] = []
 51 |
[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! (69.68s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3586] Fetching swift-log
[145/4395] Fetching swift-log, wasmtransformer
[1815/16564] Fetching swift-log, wasmtransformer, swift-argument-parser
[16565/86362] Fetching swift-log, wasmtransformer, swift-argument-parser, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (4.00s)
Fetched https://github.com/apple/swift-nio.git from cache (4.00s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.00s)
Fetched https://github.com/apple/swift-log.git from cache (4.00s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (2.93s)
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.46s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.72.0 (0.64s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/3638] Fetching swift-system
[2/5207] Fetching swift-system, swift-atomics
[1268/20241] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.06s)
Fetched https://github.com/apple/swift-collections.git from cache (2.06s)
Fetched https://github.com/apple/swift-system.git from cache (2.06s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.45s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.2 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.3 (0.65s)
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/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/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-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
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.