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 SwiftSimctl, reference master (15b11e), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 20:06:17 UTC.

Swift 6 data race errors: 7

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ctreffs/SwiftSimctl.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ctreffs/SwiftSimctl
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 15b11e9 Update dependency apple/swift-argument-parser to v1 (#27)
Cloned https://github.com/ctreffs/SwiftSimctl.git
Revision (git rev-parse @):
15b11e9809e5eeb6999605a5afef626eeeba434e
SUCCESS checkout https://github.com/ctreffs/SwiftSimctl.git at master
Fetching https://github.com/httpswift/swifter.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/960] Fetching shellout
[577/7010] Fetching shellout, swifter
Fetched https://github.com/apple/swift-argument-parser from cache (0.90s)
Fetched https://github.com/httpswift/swifter.git from cache (1.52s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (1.52s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (2.11s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (2.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.47s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftsimctl",
      "name": "SwiftSimctl",
      "url": "https://github.com/ctreffs/SwiftSimctl.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSimctl",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        },
        {
          "identity": "shellout",
          "name": "ShellOut",
          "url": "https://github.com/JohnSundell/ShellOut.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
          "dependencies": [
          ]
        },
        {
          "identity": "swifter",
          "name": "Swifter",
          "url": "https://github.com/httpswift/swifter.git",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swifter",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ctreffs/SwiftSimctl.git
[1/757] Fetching swiftsimctl
Fetched https://github.com/ctreffs/SwiftSimctl.git from cache (1.42s)
Fetching https://github.com/JohnSundell/ShellOut.git from cache
Fetching https://github.com/httpswift/swifter.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/httpswift/swifter.git from cache (0.55s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.56s)
Computing version for https://github.com/httpswift/swifter.git
Computed https://github.com/httpswift/swifter.git at 1.5.0 (0.61s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.04s)
Creating working copy for https://github.com/httpswift/swifter.git
Working copy of https://github.com/httpswift/swifter.git resolved at 1.5.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/ctreffs/SwiftSimctl.git
Working copy of https://github.com/ctreffs/SwiftSimctl.git resolved at master (15b11e9)
Found 3 product dependencies
  - swift-argument-parser
  - ShellOut
  - Swifter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ctreffs/SwiftSimctl.git
https://github.com/ctreffs/SwiftSimctl.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "SwiftSimctl",
  "name" : "SwiftSimctl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "SimctlCLI",
      "targets" : [
        "SimctlCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Simctl",
      "targets" : [
        "Simctl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SimctlShared",
      "module_type" : "SwiftTarget",
      "name" : "SimctlShared",
      "path" : "Sources/SimctlShared",
      "product_memberships" : [
        "SimctlCLI",
        "Simctl"
      ],
      "sources" : [
        "SimctlShared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SimctlCLI",
      "module_type" : "SwiftTarget",
      "name" : "SimctlCLI",
      "path" : "Sources/SimctlCLI",
      "product_dependencies" : [
        "ShellOut",
        "Swifter",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SimctlCLI"
      ],
      "sources" : [
        "Commands.swift",
        "ListDevices.swift",
        "SimctlServer.swift",
        "StartServer.swift",
        "Swifter+Extensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Simctl",
      "module_type" : "SwiftTarget",
      "name" : "Simctl",
      "path" : "Sources/Simctl",
      "product_memberships" : [
        "Simctl"
      ],
      "sources" : [
        "SimctlClient.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/13] Write sources
[1/13] Write SimctlCLI-entitlement.plist
[1/13] Write sources
[9/13] Write swift-version-2F0A5646E1D333AE.txt
[11/38] Emitting module ArgumentParserToolInfo
[12/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/77] Compiling ArgumentParser InputOrigin.swift
[14/77] Compiling ArgumentParser Name.swift
[15/77] Compiling ArgumentParser Parsed.swift
[16/77] Compiling ArgumentParser ParsedValues.swift
[17/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/81] Compiling ArgumentParser CompletionsGenerator.swift
[19/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/81] Compiling ArgumentParser Argument.swift
[22/81] Compiling ArgumentParser Platform.swift
[23/81] Compiling ArgumentParser SequenceExtensions.swift
[24/81] Compiling ArgumentParser StringExtensions.swift
[25/81] Compiling ArgumentParser Tree.swift
[26/81] Compiling ArgumentParser ArgumentDefinition.swift
[27/81] Compiling ArgumentParser ArgumentSet.swift
[28/81] Compiling ArgumentParser CommandParser.swift
[29/81] Compiling ArgumentParser InputKey.swift
[30/81] Compiling ArgumentParser NameSpecification.swift
[31/81] Compiling ArgumentParser Option.swift
[32/81] Compiling ArgumentParser OptionGroup.swift
[33/81] Compiling ArgumentParser AsyncParsableCommand.swift
[34/81] Compiling ArgumentParser CommandConfiguration.swift
[35/81] Compiling ArgumentParser CommandGroup.swift
[36/81] Compiling ArgumentParser EnumerableFlag.swift
[37/81] Compiling ArgumentParser ExpressibleByArgument.swift
[38/81] Compiling SimctlShared SimctlShared.swift
[39/81] Emitting module SimctlShared
[40/81] Emitting module ShellOut
[41/81] Compiling ShellOut ShellOut.swift
[42/81] Compiling ArgumentParser ParserError.swift
[43/81] Compiling ArgumentParser SplitArguments.swift
[44/81] Compiling ArgumentParser DumpHelpGenerator.swift
[45/81] Compiling ArgumentParser HelpCommand.swift
[48/83] Emitting module Swifter
[49/83] Compiling ArgumentParser ArgumentHelp.swift
[50/84] Compiling Swifter String+SHA1.swift
[51/84] Compiling ArgumentParser CompletionKind.swift
[52/84] Compiling ArgumentParser Errors.swift
[53/84] Compiling ArgumentParser Flag.swift
[54/84] Emitting module ArgumentParser
[55/85] Compiling ArgumentParser ParsableArguments.swift
[56/85] Compiling ArgumentParser ParsableArgumentsValidation.swift
[57/85] Compiling ArgumentParser ParsableCommand.swift
[58/85] Compiling ArgumentParser ArgumentDecoder.swift
[59/85] Compiling ArgumentParser HelpGenerator.swift
[60/85] Compiling ArgumentParser MessageInfo.swift
[61/85] Compiling ArgumentParser UsageGenerator.swift
[62/85] Compiling ArgumentParser CollectionExtensions.swift
[80/85] Compiling Swifter WebSockets.swift
[81/92] Compiling SimctlCLI Swifter+Extensions.swift
[82/92] Compiling SimctlCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/main.swift:4:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | struct SimctlCLI: ParsableCommand {
 4 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |         commandName: "SimctlCLI",
 6 |         abstract: "Swift client-server tool to call xcrun simctl from your test code.",
[83/92] Compiling SimctlCLI ListDevices.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/ListDevices.swift:19:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct ListDevices: ParsableCommand {
19 |     static var configuration = CommandConfiguration(abstract: "List the simulator devices")
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     mutating func run() throws {
[84/92] Compiling SimctlCLI SimctlServer.swift
[85/92] Compiling SimctlCLI Commands.swift
[86/92] Compiling SimctlCLI StartServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/StartServer.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct StartServer: ParsableCommand {
15 |     static var configuration = CommandConfiguration(abstract: "Start the server that will be called by your test code to run the commands")
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     @Option(name: .shortAndLong, help: "The port to listen on")
[87/92] Emitting module SimctlCLI
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/main.swift:4:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | struct SimctlCLI: ParsableCommand {
 4 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 5 |         commandName: "SimctlCLI",
 6 |         abstract: "Swift client-server tool to call xcrun simctl from your test code.",
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/ListDevices.swift:19:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 |
18 | struct ListDevices: ParsableCommand {
19 |     static var configuration = CommandConfiguration(abstract: "List the simulator devices")
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 |     mutating func run() throws {
/Users/admin/builder/spi-builder-workspace/Sources/SimctlCLI/StartServer.swift:15:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | struct StartServer: ParsableCommand {
15 |     static var configuration = CommandConfiguration(abstract: "Start the server that will be called by your test code to run the commands")
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 |     @Option(name: .shortAndLong, help: "The port to listen on")
[87/92] Write Objects.LinkFileList
[88/92] Linking SimctlCLI
[89/92] Applying SimctlCLI
[91/92] Emitting module Simctl
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:30:16: warning: static property 'host' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     /// Note: if you like to use another port here, you need to provide it
 29 |     /// when starting up the server via the `--port` flag.
 30 |     static var host: Host = .localhost(port: 8080)
    |                |- warning: static property 'host' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'host' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:250:14: warning: associated value 'noHttpResponse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
248 | extension SimctlClient {
249 |     public enum Error: Swift.Error {
250 |         case noHttpResponse(Route)
    |              `- warning: associated value 'noHttpResponse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
252 |         case noData(Route, HTTPURLResponse)
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:251:14: warning: associated value 'unexpectedHttpStatusCode' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
249 |     public enum Error: Swift.Error {
250 |         case noHttpResponse(Route)
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
    |              `- warning: associated value 'unexpectedHttpStatusCode' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
252 |         case noData(Route, HTTPURLResponse)
253 |         case serviceError(Swift.Error)
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:252:14: warning: associated value 'noData' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
250 |         case noHttpResponse(Route)
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
252 |         case noData(Route, HTTPURLResponse)
    |              `- warning: associated value 'noData' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
253 |         case serviceError(Swift.Error)
254 |     }
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
[92/92] Compiling Simctl SimctlClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:30:16: warning: static property 'host' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 28 |     /// Note: if you like to use another port here, you need to provide it
 29 |     /// when starting up the server via the `--port` flag.
 30 |     static var host: Host = .localhost(port: 8080)
    |                |- warning: static property 'host' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'host' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'host' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 31 |
 32 |     let session: URLSession
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:250:14: warning: associated value 'noHttpResponse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
248 | extension SimctlClient {
249 |     public enum Error: Swift.Error {
250 |         case noHttpResponse(Route)
    |              `- warning: associated value 'noHttpResponse' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
252 |         case noData(Route, HTTPURLResponse)
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:251:14: warning: associated value 'unexpectedHttpStatusCode' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
249 |     public enum Error: Swift.Error {
250 |         case noHttpResponse(Route)
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
    |              `- warning: associated value 'unexpectedHttpStatusCode' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
252 |         case noData(Route, HTTPURLResponse)
253 |         case serviceError(Swift.Error)
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:252:14: warning: associated value 'noData' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
250 |         case noHttpResponse(Route)
251 |         case unexpectedHttpStatusCode(Route, HTTPURLResponse)
252 |         case noData(Route, HTTPURLResponse)
    |              `- warning: associated value 'noData' of 'Sendable'-conforming enum 'Error' has non-sendable type 'SimctlClient.Route'; this is an error in the Swift 6 language mode
253 |         case serviceError(Swift.Error)
254 |     }
    :
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:458:17: warning: capture of 'completion' with non-sendable type 'SimctlClient.DataTaskCallback' (aka '(Result<Data, SimctlClient.Error>) -> ()') in a '@Sendable' closure
456 |         let task = session.dataTask(with: route.asURLRequest()) { data, urlResponse, error in
457 |             if let error = error {
458 |                 completion(.failure(Error.serviceError(error)))
    |                 |- warning: capture of 'completion' with non-sendable type 'SimctlClient.DataTaskCallback' (aka '(Result<Data, SimctlClient.Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
459 |                 return
460 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Simctl/SimctlClient.swift:463:58: warning: capture of 'route' with non-sendable type 'SimctlClient.Route' in a '@Sendable' closure
257 | // MARK: - Routing
258 | extension SimctlClient {
259 |     public enum Route {
    |                 `- note: consider making enum 'Route' conform to the 'Sendable' protocol
260 |         case sendPushNotification(SimctlClientEnvironment, PushNotificationContent)
261 |         case setPrivacy(SimctlClientEnvironment, PrivacyAction, PrivacyService)
    :
461 |
462 |             guard let response = urlResponse as? HTTPURLResponse else {
463 |                 completion(.failure(Error.noHttpResponse(route)))
    |                                                          `- warning: capture of 'route' with non-sendable type 'SimctlClient.Route' in a '@Sendable' closure
464 |                 return
465 |             }
Build complete! (10.64s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JohnSundell/ShellOut.git"
    },
    {
      "identity" : "swifter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/httpswift/swifter.git"
    }
  ],
  "manifest_display_name" : "SwiftSimctl",
  "name" : "SwiftSimctl",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "SimctlCLI",
      "targets" : [
        "SimctlCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "Simctl",
      "targets" : [
        "Simctl"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SimctlShared",
      "module_type" : "SwiftTarget",
      "name" : "SimctlShared",
      "path" : "Sources/SimctlShared",
      "product_memberships" : [
        "SimctlCLI",
        "Simctl"
      ],
      "sources" : [
        "SimctlShared.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SimctlCLI",
      "module_type" : "SwiftTarget",
      "name" : "SimctlCLI",
      "path" : "Sources/SimctlCLI",
      "product_dependencies" : [
        "ShellOut",
        "Swifter",
        "ArgumentParser"
      ],
      "product_memberships" : [
        "SimctlCLI"
      ],
      "sources" : [
        "Commands.swift",
        "ListDevices.swift",
        "SimctlServer.swift",
        "StartServer.swift",
        "Swifter+Extensions.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Simctl",
      "module_type" : "SwiftTarget",
      "name" : "Simctl",
      "path" : "Sources/Simctl",
      "product_memberships" : [
        "Simctl"
      ],
      "sources" : [
        "SimctlClient.swift"
      ],
      "target_dependencies" : [
        "SimctlShared"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.