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 (dc09a0), with Swift 6.1 for Linux on 30 Apr 2025 19:58:43 UTC.

Swift 6 data race errors: 82

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

[693/799] Compiling NIOPosix SelectorGeneric.swift
[694/799] Compiling NIOPosix SelectorKqueue.swift
[695/799] Compiling NIOPosix SelectorUring.swift
[696/799] Compiling NIOPosix BSDSocketAPICommon.swift
[697/799] Compiling NIOPosix BSDSocketAPIPosix.swift
[698/799] Compiling NIOPosix BSDSocketAPIWindows.swift
[699/799] Compiling NIOPosix BaseSocket.swift
[700/799] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[701/799] Compiling NIOPosix BaseSocketChannel.swift
[702/799] Compiling NIOPosix BaseStreamSocketChannel.swift
[703/799] Compiling NIOPosix ServerSocket.swift
[704/799] Compiling NIOPosix Socket.swift
[705/799] Compiling NIOPosix SocketChannel.swift
[706/799] Compiling NIOPosix SocketProtocols.swift
[707/799] Compiling NIOPosix System.swift
[708/799] Compiling NIOPosix Thread.swift
[709/799] Compiling NIOPosix NIOThreadPool.swift
[710/799] Compiling NIOPosix NonBlockingFileIO.swift
[711/799] Compiling NIOPosix PendingDatagramWritesManager.swift
[712/799] Compiling NIOPosix PendingWritesManager.swift
[713/799] Compiling NIOPosix PipeChannel.swift
[714/799] Compiling NIOPosix PipePair.swift
[715/799] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[727/799] Compiling NIOPosix Bootstrap.swift
[728/799] Compiling NIOPosix ControlMessage.swift
[729/799] Compiling NIOPosix DatagramVectorReadManager.swift
[730/799] Compiling NIOPosix Errors+Any.swift
[731/799] Compiling NIOPosix FileDescriptor.swift
[732/799] Compiling NIOPosix GetaddrinfoResolver.swift
[733/799] Compiling NIOPosix HappyEyeballs.swift
[734/799] Compiling NIOPosix Pool.swift
[735/799] Compiling NIOPosix IO.swift
[736/799] Compiling NIOPosix IntegerBitPacking.swift
[737/799] Compiling NIOPosix IntegerTypes.swift
[738/799] Compiling NIOPosix Linux.swift
[739/799] Compiling NIOPosix LinuxCPUSet.swift
[740/799] Compiling NIOPosix LinuxUring.swift
[768/800] Wrapping AST for NIOPosix for debugging
[770/802] Emitting module NIO
[771/802] Compiling NIO Exports.swift
[787/804] Wrapping AST for NIO for debugging
[789/829] Emitting module WebDriver
[790/832] Compiling WebDriver URLSessionAsync.swift
[790/832] Wrapping AST for NIOPosix for debugging
[792/832] Compiling WebDriver WebDriverHTTPClient.swift
[793/832] Compiling WebDriver RemoteWebDriverService.swift
[794/832] Compiling WebDriver WebDriverError.swift
[795/832] Emitting module NIO
[796/832] Compiling NIO Exports.swift
[797/832] Compiling WebDriver CommandWebDriverService.swift
[798/832] Compiling WebDriver CurlWebDriverHTTPClient.swift
[799/833] Compiling WebDriver WebDriverService.swift
[800/833] Compiling WebDriver URLSessionWebDriverHTTPClient.swift
[801/833] Compiling WebDriver WebDriverClient.swift
[804/834] Emitting module NIOHTTP1
[805/836] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[806/836] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[807/836] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[808/836] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[809/836] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[810/836] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[811/836] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[812/836] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[813/836] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[814/836] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[814/836] Wrapping AST for NIO for debugging
[816/852] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[817/852] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[818/852] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[819/852] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[822/854] Emitting module NIOHTTP1
[823/854] Compiling NIOHTTP1 ByteCollectionUtils.swift
[824/854] Compiling NIOHTTP1 HTTPDecoder.swift
[825/854] Compiling NIOHTTP1 HTTPEncoder.swift
[826/855] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[827/855] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[829/855] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[830/855] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[831/855] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[832/855] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[833/855] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[834/855] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[835/855] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[836/855] Compiling NIOHTTP1 HTTPTypes.swift
[837/855] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[838/855] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[838/855] Wrapping AST for NIOHTTP1 for debugging
[840/865] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[841/865] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[842/865] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[844/866] Compiling NIOWebSocket WebSocketOpcode.swift
[844/867] Wrapping AST for NIOHTTP1 for debugging
[846/877] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[847/877] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[848/877] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[849/877] Emitting module NIOWebSocket
[850/877] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[851/877] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[852/877] Compiling NIOWebSocket WebSocketErrorCodes.swift
[853/877] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[854/877] Compiling NIOWebSocket SHA1.swift
[855/877] Compiling NIOWebSocket WebSocketFrame.swift
[857/878] Compiling NIOWebSocket WebSocketOpcode.swift
[858/879] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[858/879] Wrapping AST for NIOWebSocket for debugging
[860/879] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[861/879] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[864/890] Emitting module NIOWebSocket
[865/890] Compiling NIOWebSocket WebSocketErrorCodes.swift
[866/890] Compiling CartonKit StackTrace.swift
[867/890] Compiling CartonKit ContentTypes.swift
[868/890] Compiling NIOWebSocket WebSocketFrame.swift
[869/891] Wrapping AST for NIOWebSocket for debugging
[871/891] Compiling CartonKit ServerWebSocketHandler.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:73:9: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
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
74 |       }
75 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:83:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
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
84 |     }
85 |     awaitingClose = true
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
[872/892] Compiling CartonKit Entrypoint.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[873/892] Compiling CartonKit ChromeStackTrace.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[874/903] Compiling CartonKit StackTrace.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[875/903] Compiling CartonKit ContentTypes.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[876/903] Compiling CartonKit FirefoxStackTrace.swift
[877/903] Compiling CartonKit SafariStackTrace.swift
[878/903] Emitting module CartonKit
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:137: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
135 |     }
136 |
137 |     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: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     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, *)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:337:25: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
335 |       // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
336 |       // domain socket).
337 |       public static let create = WatchOptions(rawValue: IN_CREATE)
    |                         |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |       // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:340:25: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
338 |
339 |       // File/directory deleted from watched directory.
340 |       public static let delete = WatchOptions(rawValue: IN_DELETE)
    |                         |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 |       // Watched file/directory was itself deleted.  (This event
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:348:25: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
346 |       // tem.)  In addition, an IN_IGNORED event will subsequently
347 |       // be generated for the watch descriptor.
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
    |                         |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'deleteSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:350:25: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
    |                         |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'move' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |       /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:353:25: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
351 |
352 |       /// Watched file/directory was itself moved.
353 |       public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
    |                         |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'moveSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:356:25: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
356 |       public static let modify = WatchOptions(rawValue: IN_MODIFY)
    |                         |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'modify' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 |
358 |       // File or directory was opened.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:359:25: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
357 |
358 |       // File or directory was opened.
359 |       public static let open = WatchOptions(rawValue: IN_OPEN)
    |                         |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'open' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |       // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:366:25: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
364 |       // e.g., for the target of link(2) and for unlink(2)), and
365 |       // user/group ID (e.g., chown(2)).
366 |       public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
    |                         |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'attrib' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 |
368 |       // File opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:369:25: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
367 |
368 |       // File opened for writing was closed.
369 |       public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
    |                         |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |
371 |       // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:372:25: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
370 |
371 |       // File or directory not opened for writing was closed.
372 |       public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
    |                         |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeNoWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:375:25: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
375 |       public static let access = WatchOptions(rawValue: IN_ACCESS)
    |                         |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'access' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 |       /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:378:25: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
376 |
377 |       /// The list of default options that can be used for watching files.
378 |       public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
    |                         |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultFileWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |       /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:381:25: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
379 |
380 |       /// The list of default options that can be used for watching directories.
381 |       public static let defaultDirectoryWatchOptions: WatchOptions = [
    |                         |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultDirectoryWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |         .create, .delete, .deleteSelf, .move, .moveSelf,
383 |       ]
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:386:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
384 |
385 |       /// List of all available events.
386 |       public static let all: [WatchOptions] = [
    |                         |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         .create,
388 |         .delete,
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         Task { try await self.onChange(changes, configuration) }
    |              |                                  `- note: closure captures 'configuration' which is accessible to code in the current task
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
254 |       }
255 |       try watcher?.start()
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         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
254 |       }
255 |       try watcher?.start()
[879/903] Compiling CartonKit ServerHTTPHandler.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:124:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
122 |     context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
123 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
124 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
125 |     }
126 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:245:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
243 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
244 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
245 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
246 |     }
247 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:260:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
258 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
259 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
260 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
261 |     }
262 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
[880/903] Compiling CartonKit Entrypoint.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[881/903] Compiling CartonKit ChromeStackTrace.swift
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[882/904] Compiling CartonKit ServerWebSocketHandler.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:73:9: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
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
74 |       }
75 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:83:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
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
84 |     }
85 |     awaitingClose = true
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
[883/904] Compiling CartonKit Environment+UserAgent.swift
[884/904] Compiling CartonKit Server.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:137: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
135 |     }
136 |
137 |     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: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     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, *)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:311:34: warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
309 |       },
310 |       upgradePipelineHandler: { (channel: Channel, head: HTTPRequestHead) in
311 |         return channel.eventLoop.makeFutureWithTask { () -> ServerWebSocketHandler? in
    |                                  `- warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
312 |           guard head.uri == "/watcher" else {
313 |             return nil
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:19:13: note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
17 | import NIOWebSocket
18 |
19 | final class ServerWebSocketHandler: ChannelInboundHandler {
   |             `- note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
20 |   typealias InboundIn = WebSocketFrame
21 |   typealias OutboundOut = WebSocketFrame
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:339:47: warning: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
337 |             maxAccumulatedFrameSize: .max
338 |           )
339 |           return channel.pipeline.addHandlers(aggregator, handler)
    |                                               `- warning: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
340 |         }
341 |       }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketFrameAggregator.swift:138:1: note: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' has been explicitly marked unavailable here
136 |
137 | @available(*, unavailable)
138 | extension NIOWebSocketFrameAggregator: Sendable {}
    | `- note: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' has been explicitly marked unavailable here
139 |
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:339:59: warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
337 |             maxAccumulatedFrameSize: .max
338 |           )
339 |           return channel.pipeline.addHandlers(aggregator, handler)
    |                                                           `- warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
340 |         }
341 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:19:13: note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
17 | import NIOWebSocket
18 |
19 | final class ServerWebSocketHandler: ChannelInboundHandler {
   |             `- note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
20 |   typealias InboundIn = WebSocketFrame
21 |   typealias OutboundOut = WebSocketFrame
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:44: warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
359 |           upgraders: [upgrader],
360 |           completionHandler: { _ in
361 |             channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                            `- warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
362 |           }
363 |         )
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:364:80: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
362 |           }
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
    |                                                                                `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
365 |           channel.pipeline.addHandler(httpHandler)
366 |         }
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:365:39: warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
365 |           channel.pipeline.addHandler(httpHandler)
    |                                       `- warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
366 |         }
367 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:357:60: warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a '@Sendable' closure
355 |       .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
356 |       .childChannelInitializer { channel in
357 |         let httpHandler = ServerHTTPHandler(configuration: handlerConfiguration)
    |                                                            `- warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a '@Sendable' closure
358 |         let config: NIOHTTPServerUpgradeConfiguration = (
359 |           upgraders: [upgrader],
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:24:10: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 22 |   typealias OutboundOut = HTTPServerResponsePart
 23 |
 24 |   struct Configuration {
    |          `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 25 |     let logger: Logger
 26 |     let mainWasmPath: AbsolutePath
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
359 |           upgraders: [upgrader],
360 |           completionHandler: { _ in
361 |             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
362 |           }
363 |         )
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:365:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
365 |           channel.pipeline.addHandler(httpHandler)
    |                                       `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure
366 |         }
367 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:424:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
170 |   private var isSubsequentBuildScheduled = false
171 |
172 |   private let configuration: Configuration
    |               `- note: property declared here
173 |
174 |   private let serverName: ServerNameField
    :
422 |     }
423 |
424 |     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
425 |
426 |     switch event {
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:456:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
170 |   private var isSubsequentBuildScheduled = false
171 |
172 |   private let configuration: Configuration
    |               `- note: property declared here
173 |
174 |   private let serverName: ServerNameField
    :
454 |
455 |   nonisolated func webSocketBinaryHandler(data: Data) {
456 |     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
457 |
458 |     if data.count < 2 {
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         Task { try await self.onChange(changes, configuration) }
    |              |                                  `- note: closure captures 'configuration' which is accessible to code in the current task
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
254 |       }
255 |       try watcher?.start()
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:394:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
392 |   ) async throws {
393 |     do {
394 |       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
395 |     } catch {
396 |       terminal.write("Build failed\n", inColor: .red)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         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
254 |       }
255 |       try watcher?.start()
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
[887/904] Emitting module CartonKit
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'webpackRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'jsRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/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: add '@MainActor' to make let 'wasmRegex' part of global actor 'MainActor'
   |             `- 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, *)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:137: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
135 |     }
136 |
137 |     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: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     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, *)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:337:25: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
335 |       // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
336 |       // domain socket).
337 |       public static let create = WatchOptions(rawValue: IN_CREATE)
    |                         |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |       // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:340:25: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
338 |
339 |       // File/directory deleted from watched directory.
340 |       public static let delete = WatchOptions(rawValue: IN_DELETE)
    |                         |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 |       // Watched file/directory was itself deleted.  (This event
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:348:25: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
346 |       // tem.)  In addition, an IN_IGNORED event will subsequently
347 |       // be generated for the watch descriptor.
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
    |                         |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'deleteSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:350:25: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
    |                         |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'move' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |       /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:353:25: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
351 |
352 |       /// Watched file/directory was itself moved.
353 |       public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
    |                         |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'moveSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:356:25: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
356 |       public static let modify = WatchOptions(rawValue: IN_MODIFY)
    |                         |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'modify' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 |
358 |       // File or directory was opened.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:359:25: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
357 |
358 |       // File or directory was opened.
359 |       public static let open = WatchOptions(rawValue: IN_OPEN)
    |                         |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'open' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |       // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:366:25: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
364 |       // e.g., for the target of link(2) and for unlink(2)), and
365 |       // user/group ID (e.g., chown(2)).
366 |       public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
    |                         |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'attrib' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 |
368 |       // File opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:369:25: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
367 |
368 |       // File opened for writing was closed.
369 |       public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
    |                         |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |
371 |       // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:372:25: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
370 |
371 |       // File or directory not opened for writing was closed.
372 |       public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
    |                         |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeNoWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:375:25: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
375 |       public static let access = WatchOptions(rawValue: IN_ACCESS)
    |                         |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'access' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 |       /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:378:25: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
376 |
377 |       /// The list of default options that can be used for watching files.
378 |       public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
    |                         |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultFileWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |       /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:381:25: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
379 |
380 |       /// The list of default options that can be used for watching directories.
381 |       public static let defaultDirectoryWatchOptions: WatchOptions = [
    |                         |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultDirectoryWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |         .create, .delete, .deleteSelf, .move, .moveSelf,
383 |       ]
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:386:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
384 |
385 |       /// List of all available events.
386 |       public static let all: [WatchOptions] = [
    |                         |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         .create,
388 |         .delete,
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         Task { try await self.onChange(changes, configuration) }
    |              |                                  `- note: closure captures 'configuration' which is accessible to code in the current task
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
254 |       }
255 |       try watcher?.start()
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         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
254 |       }
255 |       try watcher?.start()
[890/904] Compiling CartonKit Environment+UserAgent.swift
[891/904] Compiling CartonKit Server.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:137: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
135 |     }
136 |
137 |     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: add '@MainActor' to make static property 'regex' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |
139 |     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, *)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:311:34: warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
309 |       },
310 |       upgradePipelineHandler: { (channel: Channel, head: HTTPRequestHead) in
311 |         return channel.eventLoop.makeFutureWithTask { () -> ServerWebSocketHandler? in
    |                                  `- warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
312 |           guard head.uri == "/watcher" else {
313 |             return nil
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:19:13: note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
17 | import NIOWebSocket
18 |
19 | final class ServerWebSocketHandler: ChannelInboundHandler {
   |             `- note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
20 |   typealias InboundIn = WebSocketFrame
21 |   typealias OutboundOut = WebSocketFrame
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:339:47: warning: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
337 |             maxAccumulatedFrameSize: .max
338 |           )
339 |           return channel.pipeline.addHandlers(aggregator, handler)
    |                                               `- warning: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' is unavailable; this is an error in the Swift 6 language mode
340 |         }
341 |       }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOWebSocket/NIOWebSocketFrameAggregator.swift:138:1: note: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' has been explicitly marked unavailable here
136 |
137 | @available(*, unavailable)
138 | extension NIOWebSocketFrameAggregator: Sendable {}
    | `- note: conformance of 'NIOWebSocketFrameAggregator' to 'Sendable' has been explicitly marked unavailable here
139 |
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:339:59: warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
337 |             maxAccumulatedFrameSize: .max
338 |           )
339 |           return channel.pipeline.addHandlers(aggregator, handler)
    |                                                           `- warning: type 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
340 |         }
341 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerWebSocketHandler.swift:19:13: note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
17 | import NIOWebSocket
18 |
19 | final class ServerWebSocketHandler: ChannelInboundHandler {
   |             `- note: class 'ServerWebSocketHandler' does not conform to the 'Sendable' protocol
20 |   typealias InboundIn = WebSocketFrame
21 |   typealias OutboundOut = WebSocketFrame
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:44: warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
359 |           upgraders: [upgrader],
360 |           completionHandler: { _ in
361 |             channel.pipeline.removeHandler(httpHandler, promise: nil)
    |                                            `- warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
362 |           }
363 |         )
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:364:80: warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
362 |           }
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
    |                                                                                `- warning: type 'any HTTPServerProtocolUpgrader' does not conform to the 'Sendable' protocol
365 |           channel.pipeline.addHandler(httpHandler)
366 |         }
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:365:39: warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
365 |           channel.pipeline.addHandler(httpHandler)
    |                                       `- warning: type 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
366 |         }
367 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:357:60: warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a '@Sendable' closure
355 |       .serverChannelOption(ChannelOptions.socketOption(.so_reuseaddr), value: 1)
356 |       .childChannelInitializer { channel in
357 |         let httpHandler = ServerHTTPHandler(configuration: handlerConfiguration)
    |                                                            `- warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a '@Sendable' closure
358 |         let config: NIOHTTPServerUpgradeConfiguration = (
359 |           upgraders: [upgrader],
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:24:10: note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 22 |   typealias OutboundOut = HTTPServerResponsePart
 23 |
 24 |   struct Configuration {
    |          `- note: consider making struct 'Configuration' conform to the 'Sendable' protocol
 25 |     let logger: Logger
 26 |     let mainWasmPath: AbsolutePath
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:361:44: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
359 |           upgraders: [upgrader],
360 |           completionHandler: { _ in
361 |             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
362 |           }
363 |         )
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:365:39: warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure
363 |         )
364 |         return channel.pipeline.configureHTTPServerPipeline(withServerUpgrade: config).flatMap {
365 |           channel.pipeline.addHandler(httpHandler)
    |                                       `- warning: capture of 'httpHandler' with non-sendable type 'ServerHTTPHandler' in a '@Sendable' closure
366 |         }
367 |       }
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:20:13: note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 18 | import NIOHTTP1
 19 |
 20 | final class ServerHTTPHandler: ChannelInboundHandler, RemovableChannelHandler {
    |             `- note: class 'ServerHTTPHandler' does not conform to the 'Sendable' protocol
 21 |   typealias InboundIn = HTTPServerRequestPart
 22 |   typealias OutboundOut = HTTPServerResponsePart
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:424:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
170 |   private var isSubsequentBuildScheduled = false
171 |
172 |   private let configuration: Configuration
    |               `- note: property declared here
173 |
174 |   private let serverName: ServerNameField
    :
422 |     }
423 |
424 |     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
425 |
426 |     switch event {
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:456:25: warning: actor-isolated property 'configuration' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
170 |   private var isSubsequentBuildScheduled = false
171 |
172 |   private let configuration: Configuration
    |               `- note: property declared here
173 |
174 |   private let serverName: ServerNameField
    :
454 |
455 |   nonisolated func webSocketBinaryHandler(data: Data) {
456 |     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
457 |
458 |     if data.count < 2 {
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         Task { try await self.onChange(changes, configuration) }
    |              |                                  `- note: closure captures 'configuration' which is accessible to code in the current task
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
254 |       }
255 |       try watcher?.start()
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:394:25: warning: sending 'builder' risks causing data races; this is an error in the Swift 6 language mode
392 |   ) async throws {
393 |     do {
394 |       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
395 |     } catch {
396 |       terminal.write("Build failed\n", inColor: .red)
/host/spi-builder-workspace/Sources/CartonKit/Server/Server.swift:253:31: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
251 |       watcher = FSWatch(paths: builder.pathsToWatch, latency: 0.1) { [weak self] changes in
252 |         guard let self = self, !changes.isEmpty else { return }
253 |         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
254 |       }
255 |       try watcher?.start()
[892/904] Compiling CartonKit ServerHTTPHandler.swift
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:124:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
122 |     context.write(self.wrapOutboundOut(.body(.byteBuffer(body))), promise: nil)
123 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
124 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
125 |     }
126 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:245:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
243 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
244 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
245 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
246 |     }
247 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/CartonKit/Server/ServerHTTPHandler.swift:260:7: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
258 |     context.write(self.wrapOutboundOut(.head(head)), promise: nil)
259 |     context.write(self.wrapOutboundOut(.end(nil))).whenComplete { (_: Result<Void, Error>) in
260 |       context.close(promise: nil)
    |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
261 |     }
262 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 |     // visible for ChannelPipeline to modify
1788 |     fileprivate var next: Optional<ChannelHandlerContext>
[893/904] Compiling CartonKit FSWatch.swift
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:337:25: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
335 |       // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
336 |       // domain socket).
337 |       public static let create = WatchOptions(rawValue: IN_CREATE)
    |                         |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |       // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:340:25: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
338 |
339 |       // File/directory deleted from watched directory.
340 |       public static let delete = WatchOptions(rawValue: IN_DELETE)
    |                         |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 |       // Watched file/directory was itself deleted.  (This event
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:348:25: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
346 |       // tem.)  In addition, an IN_IGNORED event will subsequently
347 |       // be generated for the watch descriptor.
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
    |                         |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'deleteSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:350:25: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
    |                         |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'move' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |       /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:353:25: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
351 |
352 |       /// Watched file/directory was itself moved.
353 |       public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
    |                         |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'moveSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:356:25: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
356 |       public static let modify = WatchOptions(rawValue: IN_MODIFY)
    |                         |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'modify' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 |
358 |       // File or directory was opened.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:359:25: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
357 |
358 |       // File or directory was opened.
359 |       public static let open = WatchOptions(rawValue: IN_OPEN)
    |                         |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'open' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |       // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:366:25: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
364 |       // e.g., for the target of link(2) and for unlink(2)), and
365 |       // user/group ID (e.g., chown(2)).
366 |       public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
    |                         |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'attrib' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 |
368 |       // File opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:369:25: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
367 |
368 |       // File opened for writing was closed.
369 |       public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
    |                         |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |
371 |       // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:372:25: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
370 |
371 |       // File or directory not opened for writing was closed.
372 |       public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
    |                         |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeNoWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:375:25: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
375 |       public static let access = WatchOptions(rawValue: IN_ACCESS)
    |                         |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'access' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 |       /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:378:25: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
376 |
377 |       /// The list of default options that can be used for watching files.
378 |       public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
    |                         |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultFileWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |       /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:381:25: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
379 |
380 |       /// The list of default options that can be used for watching directories.
381 |       public static let defaultDirectoryWatchOptions: WatchOptions = [
    |                         |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultDirectoryWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |         .create, .delete, .deleteSelf, .move, .moveSelf,
383 |       ]
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:386:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
384 |
385 |       /// List of all available events.
386 |       public static let all: [WatchOptions] = [
    |                         |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         .create,
388 |         .delete,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:484:9: warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 |
317 |   /// Bindings for inotify C APIs.
318 |   public final class Inotify {
    |                      `- note: class 'Inotify' does not conform to the 'Sendable' protocol
319 |
320 |     /// The errors encountered during inotify operations.
    :
482 |
483 |       readQueue.async {
484 |         self.startRead()
    |         `- warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
485 |       }
486 |     }
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:621:17: warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 |
317 |   /// Bindings for inotify C APIs.
318 |   public final class Inotify {
    |                      `- note: class 'Inotify' does not conform to the 'Sendable' protocol
319 |
320 |     /// The errors encountered during inotify operations.
    :
619 |               self.collectedEvents = []
620 |               self.callbacksQueue.async {
621 |                 self.report(events)
    |                 `- warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
622 |               }
623 |             }
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:337:25: warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
335 |       // O_CREAT, mkdir(2), link(2), symlink(2), bind(2) on a UNIX
336 |       // domain socket).
337 |       public static let create = WatchOptions(rawValue: IN_CREATE)
    |                         |- warning: static property 'create' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'create' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 |
339 |       // File/directory deleted from watched directory.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:340:25: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
338 |
339 |       // File/directory deleted from watched directory.
340 |       public static let delete = WatchOptions(rawValue: IN_DELETE)
    |                         |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 |       // Watched file/directory was itself deleted.  (This event
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:348:25: warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
346 |       // tem.)  In addition, an IN_IGNORED event will subsequently
347 |       // be generated for the watch descriptor.
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
    |                         |- warning: static property 'deleteSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'deleteSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:350:25: warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
348 |       public static let deleteSelf = WatchOptions(rawValue: IN_DELETE_SELF)
349 |
350 |       public static let move = WatchOptions(rawValue: IN_MOVE)
    |                         |- warning: static property 'move' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'move' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 |
352 |       /// Watched file/directory was itself moved.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:353:25: warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
351 |
352 |       /// Watched file/directory was itself moved.
353 |       public static let moveSelf = WatchOptions(rawValue: IN_MOVE_SELF)
    |                         |- warning: static property 'moveSelf' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'moveSelf' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:356:25: warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
354 |
355 |       /// File was modified (e.g., write(2), truncate(2)).
356 |       public static let modify = WatchOptions(rawValue: IN_MODIFY)
    |                         |- warning: static property 'modify' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'modify' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 |
358 |       // File or directory was opened.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:359:25: warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
357 |
358 |       // File or directory was opened.
359 |       public static let open = WatchOptions(rawValue: IN_OPEN)
    |                         |- warning: static property 'open' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'open' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
360 |
361 |       // Metadata changed—for example, permissions (e.g.,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:366:25: warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
364 |       // e.g., for the target of link(2) and for unlink(2)), and
365 |       // user/group ID (e.g., chown(2)).
366 |       public static let attrib = WatchOptions(rawValue: IN_ATTRIB)
    |                         |- warning: static property 'attrib' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'attrib' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 |
368 |       // File opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:369:25: warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
367 |
368 |       // File opened for writing was closed.
369 |       public static let closeWrite = WatchOptions(rawValue: IN_CLOSE_WRITE)
    |                         |- warning: static property 'closeWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |
371 |       // File or directory not opened for writing was closed.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:372:25: warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
370 |
371 |       // File or directory not opened for writing was closed.
372 |       public static let closeNoWrite = WatchOptions(rawValue: IN_CLOSE_NOWRITE)
    |                         |- warning: static property 'closeNoWrite' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'closeNoWrite' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:375:25: warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
373 |
374 |       // File was accessed (e.g., read(2), execve(2)).
375 |       public static let access = WatchOptions(rawValue: IN_ACCESS)
    |                         |- warning: static property 'access' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'access' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 |       /// The list of default options that can be used for watching files.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:378:25: warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
376 |
377 |       /// The list of default options that can be used for watching files.
378 |       public static let defaultFileWatchOptions: WatchOptions = [.deleteSelf, .moveSelf, .modify]
    |                         |- warning: static property 'defaultFileWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultFileWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 |       /// The list of default options that can be used for watching directories.
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:381:25: warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
379 |
380 |       /// The list of default options that can be used for watching directories.
381 |       public static let defaultDirectoryWatchOptions: WatchOptions = [
    |                         |- warning: static property 'defaultDirectoryWatchOptions' is not concurrency-safe because non-'Sendable' type 'Inotify.WatchOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'defaultDirectoryWatchOptions' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |         .create, .delete, .deleteSelf, .move, .moveSelf,
383 |       ]
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:386:25: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
325 |
326 |     /// The available options for a particular path.
327 |     public struct WatchOptions: OptionSet {
    |                   `- note: consider making struct 'WatchOptions' conform to the 'Sendable' protocol
328 |       public let rawValue: Int32
329 |
    :
384 |
385 |       /// List of all available events.
386 |       public static let all: [WatchOptions] = [
    |                         |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Inotify.WatchOptions]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                         |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
387 |         .create,
388 |         .delete,
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:484:9: warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 |
317 |   /// Bindings for inotify C APIs.
318 |   public final class Inotify {
    |                      `- note: class 'Inotify' does not conform to the 'Sendable' protocol
319 |
320 |     /// The errors encountered during inotify operations.
    :
482 |
483 |       readQueue.async {
484 |         self.startRead()
    |         `- warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
485 |       }
486 |     }
/host/spi-builder-workspace/Sources/CartonKit/Utilities/FSWatch.swift:621:17: warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
316 |
317 |   /// Bindings for inotify C APIs.
318 |   public final class Inotify {
    |                      `- note: class 'Inotify' does not conform to the 'Sendable' protocol
319 |
320 |     /// The errors encountered during inotify operations.
    :
619 |               self.collectedEvents = []
620 |               self.callbacksQueue.async {
621 |                 self.report(events)
    |                 `- warning: capture of 'self' with non-sendable type 'Inotify' in a '@Sendable' closure; this is an error in the Swift 6 language mode
622 |               }
623 |             }
[896/906] Wrapping AST for CartonKit for debugging
[899/912] Emitting module CartonFrontend
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:44: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
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   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
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/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
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 16 | import CartonCore
 17 | import CartonHelpers
 18 | import CartonKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 19 | import Foundation
 20 |
    :
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
    |              |- note: add '@MainActor' to make static property 'entrypoint' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
[900/912] Compiling CartonFrontend CartonFrontendCommand.swift
[902/912] Compiling CartonFrontend CartonFrontendDevCommand.swift
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:44: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
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   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
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/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
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 16 | import CartonCore
 17 | import CartonHelpers
 18 | import CartonKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 19 | import Foundation
 20 |
    :
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
    |              |- note: add '@MainActor' to make static property 'entrypoint' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:164:28: warning: sending value of non-Sendable type 'Server.Configuration' 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' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending value of non-Sendable type 'Server.Configuration' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
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 |     }
[903/912] Emitting module CartonFrontend
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:44: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
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   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
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/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
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 16 | import CartonCore
 17 | import CartonHelpers
 18 | import CartonKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 19 | import Foundation
 20 |
    :
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
    |              |- note: add '@MainActor' to make static property 'entrypoint' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
[905/913] Compiling CartonFrontend CartonFrontendDevCommand.swift
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:44: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
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   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
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/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
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:18:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 16 | import CartonCore
 17 | import CartonHelpers
 18 | import CartonKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CartonKit'
 19 | import Foundation
 20 |
    :
 42 |
 43 | struct CartonFrontendDevCommand: AsyncParsableCommand {
 44 |   static let entrypoint = Entrypoint(fileName: "dev.js", content: StaticResource.dev)
    |              |- note: add '@MainActor' to make static property 'entrypoint' part of global actor 'MainActor'
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
/host/spi-builder-workspace/Sources/CartonFrontend/Commands/CartonFrontendDevCommand.swift:164:28: warning: sending value of non-Sendable type 'Server.Configuration' 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' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending value of non-Sendable type 'Server.Configuration' to actor-isolated callee risks causing data races between actor-isolated and local nonisolated uses
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 |     }
[906/914] Wrapping AST for CartonFrontend for debugging
[909/918] Emitting module carton_frontend
[910/918] Compiling carton_frontend main.swift
[911/918] Emitting module carton_frontend
[912/918] Compiling carton_frontend main.swift
[914/920] Wrapping AST for carton-frontend for debugging
[916/920] Write Objects.LinkFileList
[918/920] Linking carton-frontend-tool
[919/920] Linking carton-frontend
Build complete! (109.10s)
Build complete.
{
  "dependencies" : [
    {
      "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" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "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-slim",
      "targets" : [
        "carton-frontend-slim"
      ],
      "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"
      ],
      "product_memberships" : [
        "carton-release"
      ],
      "sources" : [
        "CartonReleaseCommand.swift",
        "HashArchive.swift"
      ],
      "target_dependencies" : [
        "CartonHelpers",
        "CartonCore"
      ],
      "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_slim",
      "module_type" : "SwiftTarget",
      "name" : "carton-frontend-slim",
      "path" : "Sources/carton-frontend-slim",
      "product_dependencies" : [
        "ArgumentParser",
        "WasmTransformer"
      ],
      "product_memberships" : [
        "CartonBundlePlugin",
        "CartonTestPlugin",
        "carton-frontend-slim"
      ],
      "sources" : [
        "BundleLayout.swift",
        "CartonFrontendBundleCommand.swift",
        "CartonFrontendSlimCommand.swift",
        "CartonFrontendTestCommand.swift",
        "TestRunners/CommandTestRunner.swift",
        "TestRunners/JavaScriptTestRunner.swift",
        "TestRunners/String+Regex.swift",
        "TestRunners/String+color.swift",
        "TestRunners/TestRunner.swift",
        "TestRunners/TestsParser.swift"
      ],
      "target_dependencies" : [
        "CartonHelpers"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "carton_frontend",
      "module_type" : "SwiftTarget",
      "name" : "carton-frontend",
      "path" : "Sources/carton-frontend",
      "product_memberships" : [
        "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"
      ],
      "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" : [
        "carton-release",
        "CartonBundlePlugin",
        "CartonTestPlugin",
        "CartonDevPlugin",
        "carton-frontend-slim",
        "carton-frontend"
      ],
      "sources" : [
        "process.c.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TSCLibc",
      "module_type" : "SwiftTarget",
      "name" : "TSCLibc",
      "path" : "Sources/TSCLibc",
      "product_memberships" : [
        "carton-release",
        "CartonBundlePlugin",
        "CartonTestPlugin",
        "CartonDevPlugin",
        "carton-frontend-slim",
        "carton-frontend"
      ],
      "sources" : [
        "libc.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftToolchain",
      "module_type" : "SwiftTarget",
      "name" : "SwiftToolchain",
      "path" : "Sources/SwiftToolchain",
      "product_memberships" : [
        "carton"
      ],
      "sources" : [
        "AsyncFileDownload.swift",
        "ToolchainInstallation.swift",
        "ToolchainManagement.swift",
        "ToolchainResolver.swift",
        "URLSession.swift",
        "Utilities/ProgressAnimation.swift"
      ],
      "target_dependencies" : [
        "CartonCore"
      ],
      "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/Environment.swift",
        "CartonCore/FileSystem+traverseRecursively.swift",
        "CartonCore/FoundationProcessEx.swift",
        "CartonCore/InteractiveWriter.swift",
        "CartonCore/Misc.swift",
        "CartonCore/TerminalController.swift",
        "CartonPluginShared/PluginShared.swift",
        "CartonTestPluginCommand.swift"
      ],
      "target_dependencies" : [
        "carton-frontend-slim"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CartonKit",
      "module_type" : "SwiftTarget",
      "name" : "CartonKit",
      "path" : "Sources/CartonKit",
      "product_dependencies" : [
        "NIOWebSocket",
        "NIOHTTP1",
        "NIO",
        "ArgumentParser",
        "WasmTransformer"
      ],
      "product_memberships" : [
        "CartonDevPlugin",
        "carton-frontend"
      ],
      "sources" : [
        "Model/Entrypoint.swift",
        "Parsers/ChromeStackTrace.swift",
        "Parsers/FirefoxStackTrace.swift",
        "Parsers/SafariStackTrace.swift",
        "Parsers/StackTrace.swift",
        "Server/ContentTypes.swift",
        "Server/Environment+UserAgent.swift",
        "Server/Server.swift",
        "Server/ServerHTTPHandler.swift",
        "Server/ServerWebSocketHandler.swift",
        "Utilities/FSWatch.swift"
      ],
      "target_dependencies" : [
        "CartonHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CartonHelpers",
      "module_type" : "SwiftTarget",
      "name" : "CartonHelpers",
      "path" : "Sources/CartonHelpers",
      "product_memberships" : [
        "carton-release",
        "CartonBundlePlugin",
        "CartonTestPlugin",
        "CartonDevPlugin",
        "carton-frontend-slim",
        "carton-frontend"
      ],
      "sources" : [
        "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/Thread.swift",
        "Basics/WritableByteStream.swift",
        "Basics/misc.swift",
        "HTML.swift",
        "Process+run.swift",
        "ProcessEx.swift",
        "Retry.swift",
        "StaticArchive.swift"
      ],
      "target_dependencies" : [
        "TSCclibc",
        "TSCLibc",
        "CartonCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CartonFrontend",
      "module_type" : "SwiftTarget",
      "name" : "CartonFrontend",
      "path" : "Sources/CartonFrontend",
      "product_memberships" : [
        "CartonDevPlugin",
        "carton-frontend"
      ],
      "sources" : [
        "CartonFrontendCommand.swift",
        "Commands/CartonFrontendDevCommand.swift"
      ],
      "target_dependencies" : [
        "CartonKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CartonDriver",
      "module_type" : "SwiftTarget",
      "name" : "CartonDriver",
      "path" : "Sources/CartonDriver",
      "product_memberships" : [
        "carton"
      ],
      "sources" : [
        "CartonDriverCommand.swift"
      ],
      "target_dependencies" : [
        "SwiftToolchain"
      ],
      "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/Environment.swift",
        "CartonCore/FileSystem+traverseRecursively.swift",
        "CartonCore/FoundationProcessEx.swift",
        "CartonCore/InteractiveWriter.swift",
        "CartonCore/Misc.swift",
        "CartonCore/TerminalController.swift",
        "CartonDevPluginCommand.swift",
        "CartonPluginShared/PluginShared.swift"
      ],
      "target_dependencies" : [
        "carton-frontend"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CartonCore",
      "module_type" : "SwiftTarget",
      "name" : "CartonCore",
      "path" : "Sources/CartonCore",
      "product_memberships" : [
        "carton",
        "carton-release",
        "CartonBundlePlugin",
        "CartonTestPlugin",
        "CartonDevPlugin",
        "carton-frontend-slim",
        "carton-frontend"
      ],
      "sources" : [
        "Environment.swift",
        "FileSystem+traverseRecursively.swift",
        "FoundationProcessEx.swift",
        "InteractiveWriter.swift",
        "Misc.swift",
        "TerminalController.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/Environment.swift",
        "CartonCore/FileSystem+traverseRecursively.swift",
        "CartonCore/FoundationProcessEx.swift",
        "CartonCore/InteractiveWriter.swift",
        "CartonCore/Misc.swift",
        "CartonCore/TerminalController.swift",
        "CartonPluginShared/PluginShared.swift"
      ],
      "target_dependencies" : [
        "carton-frontend-slim"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.