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 1.1.3 (57ab2e), with Swift 6.0 for Linux on 10 Dec 2024 09:26:31 UTC.

Swift 6 data race errors: 43

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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

      "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-argument-parser.git
[1/809] Fetching wasmtransformer
[810/13210] Fetching wasmtransformer, swift-argument-parser
[11351/85467] Fetching wasmtransformer, swift-argument-parser, swift-nio
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.71s)
[7313/73066] Fetching wasmtransformer, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (4.04s)
Fetched https://github.com/apple/swift-nio.git from cache (4.13s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (2.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.77.0 (0.67s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1569] Fetching swift-atomics
[535/5499] Fetching swift-atomics, swift-system
[5500/21102] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.06s)
Fetched https://github.com/apple/swift-system.git from cache (1.06s)
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.0 (0.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.49s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.69s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.77.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.0
[1/1] Compiling plugin CartonBundlePlugin
[2/2] Compiling plugin CartonDevPlugin
[3/3] Compiling plugin CartonTestPlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/84] Write sources
[29/84] Compiling CNIOWindows shim.c
[29/84] Compiling CNIOWindows WSAStartup.c
[31/84] Compiling CNIOWASI CNIOWASI.c
[31/84] Compiling _AtomicsShims.c
[33/84] Compiling TSCclibc process.c.c
[34/84] Compiling CNIOLinux liburing_shims.c
[35/84] Compiling CNIOLLHTTP c_nio_http.c
[36/84] Compiling CNIODarwin shim.c
[37/84] Write sources
[40/84] Compiling CNIOLinux shim.c
[40/84] Compiling CNIOSHA1 c_nio_sha1.c
[42/84] Compiling CNIOLLHTTP c_nio_api.c
[43/84] Write swift-version-24593BA9C3E375BF.txt
[44/84] Compiling CNIOLLHTTP c_nio_llhttp.c
[46/130] Emitting module InternalCollectionsUtilities
[47/132] Emitting module _NIODataStructures
[47/132] Compiling c-nioatomics.c
[48/139] Compiling c-atomics.c
[50/158] Emitting module _NIOBase64
[51/158] Compiling _NIOBase64 Base64.swift
[53/159] Compiling CartonCore Misc.swift
[54/159] Compiling _NIODataStructures _TinyArray.swift
[55/159] Compiling Atomics AtomicInteger.swift
[56/159] Compiling Atomics AtomicOptionalWrappable.swift
[57/159] Compiling Atomics ManagedAtomic.swift
[58/159] Compiling Atomics ManagedAtomicLazyReference.swift
[59/161] Compiling Atomics Primitives.shims.swift
[62/163] Compiling Atomics DoubleWord.swift
[66/169] Emitting module CartonCore
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:23:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | /// Implements file output stream for local file system.
 18 | public final class _LocalFileOutputByteStream {
    |                    `- note: class '_LocalFileOutputByteStream' does not conform to the 'Sendable' protocol
 19 |
 20 |   /// The pointer to the file.
 21 |   let filePointer: FILEPointer
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
    |                     |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
 25 |
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:23:81: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 21 |   let filePointer: FILEPointer
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
    |                                                                                 `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
 25 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:24:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | /// Implements file output stream for local file system.
 18 | public final class _LocalFileOutputByteStream {
    |                    `- note: class '_LocalFileOutputByteStream' does not conform to the 'Sendable' protocol
 19 |
 20 |   /// The pointer to the file.
    :
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
    |                     |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |   /// Instantiate using the file pointer.
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:24:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
    |                                                                                 `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 |   /// Instantiate using the file pointer.
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:57:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
 53 | /// If underlying stream is a not tty, the string will be written in without any
 54 | /// formatting.
 55 | public final class InteractiveWriter {
    |                    `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
 56 |   /// The standard error writer.
 57 |   public static let stderr = InteractiveWriter(stream: .stderr)
    |                     |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |   /// The standard output writer.
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:60:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
 53 | /// If underlying stream is a not tty, the string will be written in without any
 54 | /// formatting.
 55 | public final class InteractiveWriter {
    |                    `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
 56 |   /// The standard error writer.
 57 |   public static let stderr = InteractiveWriter(stream: .stderr)
 58 |
 59 |   /// The standard output writer.
 60 |   public static let stdout = InteractiveWriter(stream: .stdout)
    |                     |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |   /// The terminal controller, if present.
[69/169] Compiling Atomics AtomicMemoryOrderings.swift
[71/169] Compiling Atomics AtomicBool.swift
[73/169] Compiling Atomics OptionalRawRepresentable.swift
[74/169] Compiling Atomics RawRepresentable.swift
[75/169] Emitting module WasmTransformer
[76/169] Compiling Atomics AtomicReference.swift
[77/169] Compiling Atomics AtomicStorage.swift
[78/169] Compiling Atomics AtomicValue.swift
[79/169] Compiling _NIODataStructures PriorityQueue.swift
[84/169] Compiling carton_plugin_helper main.swift
[85/169] Emitting module carton_plugin_helper
[86/170] Compiling Atomics UnsafeAtomic.swift
[87/170] Compiling Atomics UnsafeAtomicLazyReference.swift
[88/170] Compiling Atomics IntegerConformances.swift
[92/170] Compiling Atomics PointerConformances.swift
[93/170] Compiling Atomics Primitives.native.swift
[105/173] Compiling WasmTransformer StackOverflowSanitizer.swift
[106/173] Compiling WasmTransformer WasmTransformer.swift
[109/189] Emitting module NIOConcurrencyHelpers
[111/189] Compiling DequeModule _DequeBuffer.swift
[112/189] Compiling DequeModule _DequeBufferHeader.swift
[112/191] Wrapping AST for carton-plugin-helper for debugging
[113/191] Write Objects.LinkFileList
[115/191] Compiling _NIODataStructures Heap.swift
[116/192] Compiling DequeModule Deque+CustomReflectable.swift
[117/192] Compiling DequeModule Deque+Descriptions.swift
[118/192] Compiling DequeModule Deque+Extras.swift
[119/192] Compiling DequeModule Deque+Hashable.swift
[121/192] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[122/192] Emitting module TSCLibc
[123/192] Compiling TSCLibc libc.swift
[124/193] Compiling NIOConcurrencyHelpers NIOLock.swift
[125/193] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[126/193] Emitting module ArgumentParserToolInfo
[127/193] Compiling ArgumentParserToolInfo ToolInfo.swift
[128/193] Compiling NIOConcurrencyHelpers atomics.swift
[129/194] Compiling NIOConcurrencyHelpers lock.swift
[129/195] Linking carton-plugin-helper
[132/195] Wrapping AST for _NIOBase64 for debugging
[134/195] Compiling DequeModule _DequeSlot.swift
[135/195] Compiling DequeModule _UnsafeWrappedBuffer.swift
[136/195] Wrapping AST for _NIODataStructures for debugging
[137/195] Wrapping AST for TSCLibc for debugging
[138/195] Wrapping AST for WasmTransformer for debugging
[139/202] Wrapping AST for ArgumentParserToolInfo for debugging
[140/232] Wrapping AST for InternalCollectionsUtilities for debugging
[141/232] Wrapping AST for NIOConcurrencyHelpers for debugging
[143/232] Compiling ArgumentParser Option.swift
[144/232] Compiling ArgumentParser OptionGroup.swift
[145/232] Compiling ArgumentParser CompletionKind.swift
[146/232] Compiling ArgumentParser Errors.swift
[147/232] Compiling ArgumentParser AsyncParsableCommand.swift
[148/232] Compiling ArgumentParser CommandConfiguration.swift
[149/232] Compiling ArgumentParser BashCompletionsGenerator.swift
[150/232] Compiling ArgumentParser CompletionsGenerator.swift
[151/232] Emitting module DequeModule
[153/233] Compiling ArgumentParser ZshCompletionsGenerator.swift
[154/233] Compiling ArgumentParser Argument.swift
[157/233] Compiling ArgumentParser FishCompletionsGenerator.swift
[160/233] Compiling ArgumentParser EnumerableFlag.swift
[161/233] Compiling ArgumentParser ArgumentHelp.swift
[163/233] Wrapping AST for DequeModule for debugging
[165/233] Compiling CartonCore InteractiveWriter.swift
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:23:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | /// Implements file output stream for local file system.
 18 | public final class _LocalFileOutputByteStream {
    |                    `- note: class '_LocalFileOutputByteStream' does not conform to the 'Sendable' protocol
 19 |
 20 |   /// The pointer to the file.
 21 |   let filePointer: FILEPointer
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
    |                     |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
 25 |
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:23:81: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 21 |   let filePointer: FILEPointer
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
    |                                                                                 `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
 25 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:24:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |
 17 | /// Implements file output stream for local file system.
 18 | public final class _LocalFileOutputByteStream {
    |                    `- note: class '_LocalFileOutputByteStream' does not conform to the 'Sendable' protocol
 19 |
 20 |   /// The pointer to the file.
    :
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
    |                     |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type '_LocalFileOutputByteStream' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |
 26 |   /// Instantiate using the file pointer.
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:24:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 22 |
 23 |   public static let stdout = _LocalFileOutputByteStream(filePointer: Foundation.stdout)
 24 |   public static let stderr = _LocalFileOutputByteStream(filePointer: Foundation.stderr)
    |                                                                                 `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 25 |
 26 |   /// Instantiate using the file pointer.
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:57:21: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
 53 | /// If underlying stream is a not tty, the string will be written in without any
 54 | /// formatting.
 55 | public final class InteractiveWriter {
    |                    `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
 56 |   /// The standard error writer.
 57 |   public static let stderr = InteractiveWriter(stream: .stderr)
    |                     |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stderr' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 58 |
 59 |   /// The standard output writer.
/host/spi-builder-workspace/Sources/CartonCore/InteractiveWriter.swift:60:21: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
 53 | /// If underlying stream is a not tty, the string will be written in without any
 54 | /// formatting.
 55 | public final class InteractiveWriter {
    |                    `- note: class 'InteractiveWriter' does not conform to the 'Sendable' protocol
 56 |   /// The standard error writer.
 57 |   public static let stderr = InteractiveWriter(stream: .stderr)
 58 |
 59 |   /// The standard output writer.
 60 |   public static let stdout = InteractiveWriter(stream: .stdout)
    |                     |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'InteractiveWriter' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |
 62 |   /// The terminal controller, if present.
[166/233] Compiling CartonCore Environment.swift
[167/233] Emitting module Atomics
[168/234] Compiling CartonCore FileSystem+traverseRecursively.swift
[169/234] Compiling CartonCore FoundationProcessEx.swift
[170/234] Compiling CartonCore TerminalController.swift
[172/235] Wrapping AST for Atomics for debugging
[173/235] Wrapping AST for CartonCore for debugging
[175/235] Emitting module ArgumentParser
[176/328] Compiling SwiftToolchain ToolchainResolver.swift
[177/328] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[178/328] Compiling NIOCore ByteBuffer-conversions.swift
[179/330] Compiling SwiftToolchain URLSession.swift
[180/330] Compiling SwiftToolchain ProgressAnimation.swift
[181/330] Compiling SwiftToolchain AsyncFileDownload.swift
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 34 |     public var receivedBytes: Int
 35 |   }
 36 |   class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
    |         `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 |     let path: String
 38 |     let onTotalBytes: (Int) -> Void
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
 36 |   class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
 37 |     let path: String
 38 |     let onTotalBytes: (Int) -> Void
    |         |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 39 |     let continuation: AsyncThrowingStream<Progress, Error>.Continuation
 40 |     var totalBytesToDownload: Int?
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
 38 |     let onTotalBytes: (Int) -> Void
 39 |     let continuation: AsyncThrowingStream<Progress, Error>.Continuation
 40 |     var totalBytesToDownload: Int?
    |         `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
 41 |
 42 |     init(
[182/330] Emitting module SwiftToolchain
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:36:9: warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 34 |     public var receivedBytes: Int
 35 |   }
 36 |   class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
    |         `- warning: non-final class 'FileDownloadDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
 37 |     let path: String
 38 |     let onTotalBytes: (Int) -> Void
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:38:9: warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
 36 |   class FileDownloadDelegate: NSObject, URLSessionDownloadDelegate {
 37 |     let path: String
 38 |     let onTotalBytes: (Int) -> Void
    |         |- warning: stored property 'onTotalBytes' of 'Sendable'-conforming class 'FileDownloadDelegate' has non-sendable type '(Int) -> Void'; this is an error in the Swift 6 language mode
    |         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 39 |     let continuation: AsyncThrowingStream<Progress, Error>.Continuation
 40 |     var totalBytesToDownload: Int?
/host/spi-builder-workspace/Sources/SwiftToolchain/AsyncFileDownload.swift:40:9: warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
 38 |     let onTotalBytes: (Int) -> Void
 39 |     let continuation: AsyncThrowingStream<Progress, Error>.Continuation
 40 |     var totalBytesToDownload: Int?
    |         `- warning: stored property 'totalBytesToDownload' of 'Sendable'-conforming class 'FileDownloadDelegate' is mutable; this is an error in the Swift 6 language mode
 41 |
 42 |     init(
/host/spi-builder-workspace/Sources/SwiftToolchain/ToolchainManagement.swift:34:13: warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | private let versionRegEx = #/(?:swift-)?(.+-.)-.+\\.tar.gz/#
    |             |- warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'versionRegEx' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 | private struct Release: Decodable {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[183/330] Compiling NIOCore AddressedEnvelope.swift
[184/330] Compiling NIOCore AsyncAwaitSupport.swift
[185/330] Compiling NIOCore AsyncChannel.swift
[186/330] Compiling NIOCore ByteBuffer-int.swift
[187/330] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[188/330] Compiling NIOCore ByteBuffer-multi-int.swift
[189/330] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[190/330] Compiling CartonHelpers Retry.swift
[194/330] Compiling NIOCore AsyncChannelHandler.swift
[195/330] Compiling NIOCore AsyncChannelInboundStream.swift
[196/330] Compiling NIOCore AsyncChannelOutboundWriter.swift
[198/330] Compiling CartonHelpers StaticArchive.swift
[199/330] Compiling NIOCore NIOAsyncSequenceProducer.swift
[200/330] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[201/330] Compiling NIOCore NIOAsyncWriter.swift
[202/330] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[203/330] Compiling NIOCore BSDSocketAPI.swift
[204/330] Compiling NIOCore ByteBuffer-aux.swift
[207/330] Compiling NIOCore ByteBuffer-core.swift
[208/330] Compiling NIOCore ByteBuffer-hex.swift
[210/330] Compiling NIOCore ChannelHandler.swift
[211/330] Compiling NIOCore ChannelHandlers.swift
[212/330] Compiling NIOCore ChannelInvoker.swift
[213/330] Compiling NIOCore ChannelOption.swift
[214/330] Compiling NIOCore DispatchQueue+WithFuture.swift
[215/330] Compiling NIOCore EventLoop+Deprecated.swift
[216/330] Compiling NIOCore EventLoop+SerialExecutor.swift
[217/330] Compiling NIOCore EventLoop.swift
[218/330] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[219/330] Compiling NIOCore ChannelPipeline.swift
[220/330] Compiling NIOCore CircularBuffer.swift
[221/330] Compiling NIOCore Codec.swift
[222/330] Compiling NIOCore ConvenienceOptionSupport.swift
[223/330] Compiling NIOCore DeadChannel.swift
[224/330] Compiling NIOCore EventLoopFuture+Deprecated.swift
[225/330] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[226/330] Compiling NIOCore EventLoopFuture.swift
[227/330] Compiling NIOCore FileDescriptor.swift
[228/330] Compiling NIOCore FileHandle.swift
[229/331] Wrapping AST for ArgumentParser for debugging
[231/331] Compiling SwiftToolchain ToolchainInstallation.swift
[232/331] Compiling SwiftToolchain ToolchainManagement.swift
/host/spi-builder-workspace/Sources/SwiftToolchain/ToolchainManagement.swift:34:13: warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | }
 33 |
 34 | private let versionRegEx = #/(?:swift-)?(.+-.)-.+\\.tar.gz/#
    |             |- warning: let 'versionRegEx' is not concurrency-safe because non-'Sendable' type 'Regex<(Substring, Substring)>' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: annotate 'versionRegEx' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 35 |
 36 | private struct Release: Decodable {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[233/332] Compiling NIOCore MulticastChannel.swift
[234/332] Compiling NIOCore NIOAny.swift
[235/332] Compiling NIOCore NIOCloseOnErrorHandler.swift
[236/332] Compiling NIOCore NIOLoopBound.swift
[237/332] Compiling NIOCore NIOScheduledCallback.swift
[238/332] Compiling NIOCore NIOSendable.swift
[239/332] Compiling NIOCore PointerHelpers.swift
[240/332] Compiling NIOCore RecvByteBufferAllocator.swift
[241/340] Wrapping AST for SwiftToolchain for debugging
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 83 |   public static var block: ProcessEnvironmentBlock { _vars }
 84 |
 85 |   private static var _vars = ProcessEnvironmentBlock(
    |                      |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate '_vars' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
 87 |       (ProcessEnvironmentBlock.Key($0.key), $0.value)
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 83 |   public static var block: ProcessEnvironmentBlock { _vars }
 84 |
 85 |   private static var _vars = ProcessEnvironmentBlock(
    |                      |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate '_vars' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
 87 |       (ProcessEnvironmentBlock.Key($0.key), $0.value)
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 83 |   public static var block: ProcessEnvironmentBlock { _vars }
 84 |
 85 |   private static var _vars = ProcessEnvironmentBlock(
    |                      |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate '_vars' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
 87 |       (ProcessEnvironmentBlock.Key($0.key), $0.value)
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Thread.swift:54:41: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 52 |         }
 53 |
 54 |         self.thread = ThreadImpl(block: theTask)
    |                                         `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 55 |     }
 56 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:831:18: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
    |                  `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
832 |     closeOnDeinit: false))
833 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:837:18: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
    |                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
838 |     closeOnDeinit: false))
839 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:831:18: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
    |                  `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
832 |     closeOnDeinit: false))
833 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:837:18: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
    |                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
838 |     closeOnDeinit: false))
839 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:831:18: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
    |                  `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
832 |     closeOnDeinit: false))
833 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:837:18: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
    |                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
838 |     closeOnDeinit: false))
839 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
[249/342] Compiling NIOCore IO.swift
[250/342] Compiling NIOCore IOData.swift
[251/342] Compiling NIOCore IPProtocol.swift
[252/342] Compiling NIOCore IntegerBitPacking.swift
[253/342] Compiling NIOCore IntegerTypes.swift
[254/342] Compiling NIOCore Interfaces.swift
[255/342] Compiling NIOCore Linux.swift
[256/342] Compiling NIOCore MarkedCircularBuffer.swift
[263/342] Compiling NIOCore FileRegion.swift
[264/342] Compiling NIOCore GlobalSingletons.swift
[265/342] Emitting module CartonDriver
[266/342] Compiling CartonDriver CartonDriverCommand.swift
[267/343] Wrapping AST for CartonDriver for debugging
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
 197 |     }
 198 |
 199 |     public enum OutputRedirection {
     |                 `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
 200 |         /// Do not redirect the output
 201 |         case none
     :
 208 |
 209 |         /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
 210 |         public static let collect: OutputRedirection = .collect(redirectStderr: false)
     |                           |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'collect' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 211 |
 212 |         /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 267 |     public typealias LoggingHandler = (String) -> Void
 268 |
 269 |     private static var _loggingHandler: LoggingHandler?
     |                        |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate '_loggingHandler' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 270 |     private static let loggingHandlerLock = NSLock()
 271 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 |     /// Key: Executable name or path.
 356 |     /// Value: Path to the executable, if found.
 357 |     private static var validatedExecutablesMap = [String: AbsolutePath?]()
     |                        |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate 'validatedExecutablesMap' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |     private static let validatedExecutablesMapLock = NSLock()
 359 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 923 |             self.state = .complete(executionResult)
 924 |             self.completionQueue.async {
 925 |                 self.waitUntilExit(completion)
     |                                    |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 926 |             }
 927 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 |         } catch {
1149 |             completionQueue.async {
1150 |                 completion(.failure(error))
     |                 |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 |             }
1152 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
 197 |     }
 198 |
 199 |     public enum OutputRedirection {
     |                 `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
 200 |         /// Do not redirect the output
 201 |         case none
     :
 208 |
 209 |         /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
 210 |         public static let collect: OutputRedirection = .collect(redirectStderr: false)
     |                           |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'collect' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 211 |
 212 |         /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 267 |     public typealias LoggingHandler = (String) -> Void
 268 |
 269 |     private static var _loggingHandler: LoggingHandler?
     |                        |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate '_loggingHandler' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 270 |     private static let loggingHandlerLock = NSLock()
 271 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 |     /// Key: Executable name or path.
 356 |     /// Value: Path to the executable, if found.
 357 |     private static var validatedExecutablesMap = [String: AbsolutePath?]()
     |                        |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate 'validatedExecutablesMap' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |     private static let validatedExecutablesMapLock = NSLock()
 359 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 923 |             self.state = .complete(executionResult)
 924 |             self.completionQueue.async {
 925 |                 self.waitUntilExit(completion)
     |                                    |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 926 |             }
 927 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 |         } catch {
1149 |             completionQueue.async {
1150 |                 completion(.failure(error))
     |                 |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 |             }
1152 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
 197 |     }
 198 |
 199 |     public enum OutputRedirection {
     |                 `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
 200 |         /// Do not redirect the output
 201 |         case none
     :
 208 |
 209 |         /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
 210 |         public static let collect: OutputRedirection = .collect(redirectStderr: false)
     |                           |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'collect' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 211 |
 212 |         /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 267 |     public typealias LoggingHandler = (String) -> Void
 268 |
 269 |     private static var _loggingHandler: LoggingHandler?
     |                        |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate '_loggingHandler' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 270 |     private static let loggingHandlerLock = NSLock()
 271 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 |     /// Key: Executable name or path.
 356 |     /// Value: Path to the executable, if found.
 357 |     private static var validatedExecutablesMap = [String: AbsolutePath?]()
     |                        |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate 'validatedExecutablesMap' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |     private static let validatedExecutablesMapLock = NSLock()
 359 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:925:36: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 923 |             self.state = .complete(executionResult)
 924 |             self.completionQueue.async {
 925 |                 self.waitUntilExit(completion)
     |                                    |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 926 |             }
 927 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:1150:17: warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1148 |         } catch {
1149 |             completionQueue.async {
1150 |                 completion(.failure(error))
     |                 |- warning: capture of 'completion' with non-sendable type '(Result<ProcessResult, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1151 |             }
1152 |         }
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
[275/345] Emitting module CartonHelpers
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
    |             |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_localFileSystem' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
629 |
630 | /// Public access to the local FS proxy.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:210:27: warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
 197 |     }
 198 |
 199 |     public enum OutputRedirection {
     |                 `- note: consider making enum 'OutputRedirection' conform to the 'Sendable' protocol
 200 |         /// Do not redirect the output
 201 |         case none
     :
 208 |
 209 |         /// Default collect OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
 210 |         public static let collect: OutputRedirection = .collect(redirectStderr: false)
     |                           |- warning: static property 'collect' is not concurrency-safe because non-'Sendable' type 'Process.OutputRedirection' may have shared mutable state; this is an error in the Swift 6 language mode
     |                           |- note: annotate 'collect' with '@MainActor' if property should only be accessed from the main actor
     |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 211 |
 212 |         /// Default stream OutputRedirection that defaults to not redirect stderr. Provided for API compatibility.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:269:24: warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 267 |     public typealias LoggingHandler = (String) -> Void
 268 |
 269 |     private static var _loggingHandler: LoggingHandler?
     |                        |- warning: static property '_loggingHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert '_loggingHandler' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate '_loggingHandler' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 270 |     private static let loggingHandlerLock = NSLock()
 271 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/Process.swift:357:24: warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 355 |     /// Key: Executable name or path.
 356 |     /// Value: Path to the executable, if found.
 357 |     private static var validatedExecutablesMap = [String: AbsolutePath?]()
     |                        |- warning: static property 'validatedExecutablesMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                        |- note: convert 'validatedExecutablesMap' to a 'let' constant to make 'Sendable' shared state immutable
     |                        |- note: annotate 'validatedExecutablesMap' with '@MainActor' if property should only be accessed from the main actor
     |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 358 |     private static let validatedExecutablesMapLock = NSLock()
 359 |
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/Process/ProcessEnv.swift:85:22: warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 83 |   public static var block: ProcessEnvironmentBlock { _vars }
 84 |
 85 |   private static var _vars = ProcessEnvironmentBlock(
    |                      |- warning: static property '_vars' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                      |- note: convert '_vars' to a 'let' constant to make 'Sendable' shared state immutable
    |                      |- note: annotate '_vars' with '@MainActor' if property should only be accessed from the main actor
    |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 86 |     uniqueKeysWithValues: ProcessInfo.processInfo.environment.map {
 87 |       (ProcessEnvironmentBlock.Key($0.key), $0.value)
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:829:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
827 |
828 | /// Public stdout stream instance.
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:831:18: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
829 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
830 |   LocalFileOutputByteStream(
831 |     filePointer: stdout,
    |                  `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
832 |     closeOnDeinit: false))
833 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:835:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
833 |
834 | /// Public stderr stream instance.
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/WritableByteStream.swift:837:18: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
835 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(
836 |   LocalFileOutputByteStream(
837 |     filePointer: stderr,
    |                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
838 |     closeOnDeinit: false))
839 |
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
    |             |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_localFileSystem' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
629 |
630 | /// Public access to the local FS proxy.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
    |             |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_localFileSystem' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
629 |
630 | /// Public access to the local FS proxy.
/host/spi-builder-workspace/Sources/CartonHelpers/Basics/FileSystem.swift:628:13: warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
626 | }
627 |
628 | private var _localFileSystem: FileSystem = LocalFileSystem()
    |             |- warning: var '_localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert '_localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate '_localFileSystem' with '@MainActor' if property should only be accessed from the main actor
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
629 |
630 | /// Public access to the local FS proxy.
[279/346] Emitting module carton
[280/346] Compiling carton main.swift
[282/347] Wrapping AST for CartonHelpers for debugging
[283/347] Wrapping AST for carton for debugging
[284/347] Write Objects.LinkFileList
[294/360] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[295/360] Compiling NIOCore SocketAddresses.swift
[296/360] Compiling NIOCore SocketOptionProvider.swift
[297/360] Compiling NIOCore SystemCallHelpers.swift
[298/360] Compiling NIOCore TimeAmount+Duration.swift
[299/360] Compiling NIOCore TypeAssistedChannelHandler.swift
[300/360] Compiling NIOCore UniversalBootstrapSupport.swift
[301/360] Compiling NIOCore Utilities.swift
[302/360] Compiling carton_frontend_slim String+color.swift
[303/361] Compiling carton_frontend_slim String+Regex.swift
[304/361] Compiling carton_frontend_slim JavaScriptTestRunner.swift
[304/361] Linking carton
[306/361] Compiling carton_frontend_slim CommandTestRunner.swift
[307/361] Compiling carton_release CartonReleaseCommand.swift
[308/361] Compiling carton_release HashArchive.swift
[309/361] Emitting module carton_release
[310/362] Compiling carton_frontend_slim TestRunner.swift
/host/spi-builder-workspace/Sources/carton-frontend-slim/TestRunners/TestRunner.swift:87:21: warning: sending 'parser' risks causing data races; this is an error in the Swift 6 language mode
85 |         startNewProcessGroup: true
86 |       )
87 |       async let _ = parser.parse(lines, terminal)
   |                     |- warning: sending 'parser' risks causing data races; this is an error in the Swift 6 language mode
   |                     `- note: sending task-isolated 'parser' into async let risks causing data races between nonisolated and task-isolated uses
88 |       try process.launch()
89 |       let result = try await process.waitUntilExit()
/host/spi-builder-workspace/Sources/carton-frontend-slim/TestRunners/TestRunner.swift:87:41: warning: sending 'terminal' risks causing data races; this is an error in the Swift 6 language mode
85 |         startNewProcessGroup: true
86 |       )
87 |       async let _ = parser.parse(lines, terminal)
   |                                         |- warning: sending 'terminal' risks causing data races; this is an error in the Swift 6 language mode
   |                                         `- note: sending task-isolated 'terminal' into async let risks causing data races between nonisolated and task-isolated uses
88 |       try process.launch()
89 |       let result = try await process.waitUntilExit()
[311/362] Wrapping AST for carton-release for debugging
[312/362] Write Objects.LinkFileList
[314/362] Emitting module carton_frontend_slim
[315/362] Compiling carton_frontend_slim BundleLayout.swift
[316/362] Compiling carton_frontend_slim CartonFrontendBundleCommand.swift
[316/362] Linking carton-release
[317/362] Compiling carton_frontend_slim CartonFrontendSlimCommand.swift
[318/362] Compiling carton_frontend_slim CartonFrontendTestCommand.swift
[320/362] Compiling carton_frontend_slim TestsParser.swift
[321/363] Wrapping AST for carton-frontend-slim for debugging
[322/363] Write Objects.LinkFileList
[323/363] Linking carton-frontend-slim
[352/363] Emitting module NIOCore
[353/365] Wrapping AST for NIOCore for debugging
[355/416] Emitting module NIOEmbedded
[356/416] Compiling NIOEmbedded AsyncTestingChannel.swift
[357/416] Compiling NIOEmbedded Embedded.swift
[358/416] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[359/417] Wrapping AST for NIOEmbedded for debugging
[361/417] Compiling NIOPosix IO.swift
[362/417] Compiling NIOPosix IntegerBitPacking.swift
[363/417] Compiling NIOPosix IntegerTypes.swift
[364/417] Compiling NIOPosix Linux.swift
[365/417] Compiling NIOPosix LinuxCPUSet.swift
[366/417] Compiling NIOPosix LinuxUring.swift
[367/417] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[368/423] Compiling NIOPosix ThreadPosix.swift
[369/423] Compiling NIOPosix ThreadWindows.swift
[370/423] Compiling NIOPosix UnsafeTransfer.swift
[371/423] Compiling NIOPosix Utilities.swift
[372/423] Compiling NIOPosix VsockAddress.swift
[373/423] Compiling NIOPosix VsockChannelEvents.swift
[374/423] Compiling NIOPosix SelectableChannel.swift
[375/423] Compiling NIOPosix SelectableEventLoop.swift
[376/423] Compiling NIOPosix SelectorEpoll.swift
[377/423] Compiling NIOPosix SelectorGeneric.swift
[378/423] Compiling NIOPosix SelectorKqueue.swift
[379/423] Compiling NIOPosix SelectorUring.swift
[380/423] Compiling NIOPosix Pool.swift
[381/423] Compiling NIOPosix PooledRecvBufferAllocator.swift
[382/423] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[383/423] Compiling NIOPosix PosixSingletons.swift
[384/423] Compiling NIOPosix RawSocketBootstrap.swift
[385/423] Compiling NIOPosix Resolver.swift
[386/423] Compiling NIOPosix Selectable.swift
[387/423] Compiling NIOPosix ServerSocket.swift
[388/423] Compiling NIOPosix Socket.swift
[389/423] Compiling NIOPosix SocketChannel.swift
[390/423] Compiling NIOPosix SocketProtocols.swift
[391/423] Compiling NIOPosix System.swift
[392/423] Compiling NIOPosix Thread.swift
[393/423] Emitting module NIOPosix
[394/423] Compiling NIOPosix NIOThreadPool.swift
[395/423] Compiling NIOPosix NonBlockingFileIO.swift
[396/423] Compiling NIOPosix PendingDatagramWritesManager.swift
[397/423] Compiling NIOPosix PendingWritesManager.swift
[398/423] Compiling NIOPosix PipeChannel.swift
[399/423] Compiling NIOPosix PipePair.swift
[400/423] Compiling NIOPosix PointerHelpers.swift
[401/423] Compiling NIOPosix BSDSocketAPICommon.swift
[402/423] Compiling NIOPosix BSDSocketAPIPosix.swift
[403/423] Compiling NIOPosix BSDSocketAPIWindows.swift
[404/423] Compiling NIOPosix BaseSocket.swift
[405/423] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[406/423] Compiling NIOPosix BaseSocketChannel.swift
[407/423] Compiling NIOPosix BaseStreamSocketChannel.swift
[408/423] Compiling NIOPosix Bootstrap.swift
[409/423] Compiling NIOPosix ControlMessage.swift
[410/423] Compiling NIOPosix DatagramVectorReadManager.swift
[411/423] Compiling NIOPosix Errors+Any.swift
[412/423] Compiling NIOPosix FileDescriptor.swift
[413/423] Compiling NIOPosix GetaddrinfoResolver.swift
[414/423] Compiling NIOPosix HappyEyeballs.swift
[415/424] Wrapping AST for NIOPosix for debugging
[417/426] Compiling NIO Exports.swift
[418/426] Emitting module NIO
[419/434] Wrapping AST for NIO for debugging
[421/452] Compiling WebDriver WebDriverHTTPClient.swift
[422/453] Compiling WebDriver URLSessionAsync.swift
[423/453] Compiling WebDriver WebDriverError.swift
[424/453] Compiling WebDriver WebDriverService.swift
[425/453] Compiling WebDriver RemoteWebDriverService.swift
[426/453] Compiling WebDriver URLSessionWebDriverHTTPClient.swift
[427/453] Compiling WebDriver WebDriverClient.swift
[428/453] Emitting module WebDriver
[429/453] Compiling NIOHTTP1 ByteCollectionUtils.swift
[430/453] Compiling NIOHTTP1 HTTPDecoder.swift
[432/454] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[433/454] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[434/456] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[435/456] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[436/456] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[437/456] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[438/456] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[439/456] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[440/456] Emitting module NIOHTTP1
[441/456] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[442/456] Compiling NIOHTTP1 HTTPTypes.swift
[443/456] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[444/456] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[445/456] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[446/456] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[449/456] Compiling NIOHTTP1 HTTPEncoder.swift
[450/457] Wrapping AST for NIOHTTP1 for debugging
[452/467] Compiling NIOWebSocket WebSocketOpcode.swift
[453/468] Compiling NIOWebSocket WebSocketFrameEncoder.swift
[454/468] Compiling NIOWebSocket WebSocketProtocolErrorHandler.swift
[455/468] Compiling NIOWebSocket WebSocketFrameDecoder.swift
[456/468] Compiling NIOWebSocket NIOWebSocketServerUpgrader.swift
[457/468] Compiling NIOWebSocket SHA1.swift
[458/468] Emitting module NIOWebSocket
[459/468] Compiling NIOWebSocket NIOWebSocketClientUpgrader.swift
[460/468] Compiling NIOWebSocket NIOWebSocketFrameAggregator.swift
[461/468] Compiling NIOWebSocket WebSocketFrame.swift
[462/468] Compiling NIOWebSocket WebSocketErrorCodes.swift
[463/469] Wrapping AST for NIOWebSocket for debugging
[465/480] 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; this is an error in the Swift 6 language mode
71 |       let closeFrame = WebSocketFrame(fin: true, opcode: .connectionClose, data: closeDataCode)
72 |       _ = context.write(self.wrapOutboundOut(closeFrame)).map { () in
73 |         context.close(promise: nil)
   |         `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 |       }
75 |     }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
81 |     let frame = WebSocketFrame(fin: true, opcode: .connectionClose, data: data)
82 |     context.write(self.wrapOutboundOut(frame)).whenComplete { (_: Result<Void, Error>) in
83 |       context.close(mode: .output, promise: nil)
   |       `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a `@Sendable` closure; this is an error in the Swift 6 language mode
84 |     }
85 |     awaitingClose = true
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[466/481] 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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'jsRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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()
[467/481] Compiling CartonKit FirefoxStackTrace.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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'jsRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[468/481] Compiling CartonKit SafariStackTrace.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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/(.+)@http://127.0.0.1.+WebAssembly.instantiate:(.+)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'jsRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/<\?>\.wasm-function\[(.+)\]@\[wasm code\]/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[469/481] 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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[470/481] 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: annotate 'webpackRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private let wasmRegex = #/at (.+) \(<anonymous>:(.+?)\)/#
20 |
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/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: annotate 'wasmRegex' with '@MainActor' if property should only be accessed from the main actor
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | extension StringProtocol {
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
[471/481] 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
125 |     }
126 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
246 |     }
247 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
261 |     }
262 |     context.flush()
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1507:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1505 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1506 | /// `ChannelHandler`.
1507 | public final class ChannelHandlerContext: ChannelInvoker {
     |                    `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1508 |     // visible for ChannelPipeline to modify
1509 |     fileprivate var next: Optional<ChannelHandlerContext>
[472/481] 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: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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:357:60: warning: capture of 'handlerConfiguration' with non-sendable type 'ServerHTTPHandler.Configuration' in a `@Sendable` closure; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
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()
[473/481] Compiling CartonKit Environment+UserAgent.swift
[474/481] Compiling CartonKit StackTrace.swift
[475/481] Compiling CartonKit ContentTypes.swift
[476/481] 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: annotate 'create' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'deleteSelf' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'move' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'moveSelf' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'modify' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'open' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'attrib' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'closeWrite' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'closeNoWrite' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'access' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultFileWatchOptions' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'defaultDirectoryWatchOptions' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                         `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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 |             }
[477/482] Wrapping AST for CartonKit for debugging
[479/485] 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: annotate 'entrypoint' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |   @Option(help: "Specify name of an executable product in development.")
[480/485] 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: annotate 'entrypoint' with '@MainActor' if property should only be accessed from the main actor
    |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
162 |     }
163 |
164 |     let server = try await Server(
    |                            `- warning: sending value of non-Sendable type 'Server.Configuration' with later accesses from nonisolated context to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
165 |       .init(
166 |         builder: try makeBuilderIfNeed(),
    :
185 |         try openInSystemBrowser(url: localURL)
186 |       } catch {
187 |         terminal.write("open browser failed: \(error)", inColor: .red)
    |                  `- note: access can happen concurrently
188 |       }
189 |     }
[481/485] Compiling CartonFrontend CartonFrontendCommand.swift
[482/486] Wrapping AST for CartonFrontend for debugging
[484/488] Emitting module carton_frontend
[485/488] Compiling carton_frontend main.swift
[486/489] Wrapping AST for carton-frontend for debugging
[487/489] Write Objects.LinkFileList
[488/489] Linking carton-frontend
Build complete! (132.80s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.