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 SimulatorServices, reference 1.0.1 (57099b), with Swift 6.1 for Linux on 27 Apr 2025 09:19:41 UTC.

Swift 6 data race errors: 2

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/SimulatorServices.git
Reference: 1.0.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/brightdigit/SimulatorServices
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 57099b5 Fixing stream issue (#12)
Cloned https://github.com/brightdigit/SimulatorServices.git
Revision (git rev-parse @):
57099b56d3a0f1a33473081f379ac52b58a721c7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SimulatorServices.git at 1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/SimulatorServices.git
https://github.com/brightdigit/SimulatorServices.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimulatorServices",
  "name" : "SimulatorServices",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SimulatorServices",
      "targets" : [
        "SimulatorServices"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimulatorServicesTests",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServicesTests",
      "path" : "Tests/SimulatorServicesTests",
      "sources" : [
        "ContainerIDTests.swift",
        "Extensions/Data.swift",
        "Extensions/FileHandle.swift",
        "Extensions/String.swift",
        "GetAppContainerTests.swift",
        "ListTests.swift",
        "Mocks/MockAsyncableProcess.swift",
        "Mocks/MockDecoder.swift",
        "Mocks/MockSimCtlProcess.swift",
        "Mocks/MockSubcommand.swift",
        "ProcessTests.swift",
        "SimCtlTest.swift",
        "SimulatorIDTests.swift",
        "SubcommandTests.swift"
      ],
      "target_dependencies" : [
        "SimulatorServices"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimulatorServices",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServices",
      "path" : "Sources/SimulatorServices",
      "product_memberships" : [
        "SimulatorServices"
      ],
      "sources" : [
        "Arguments/ContainerID.swift",
        "Arguments/SimulatorID.swift",
        "Commands/GetAppContainer.swift",
        "Commands/List.swift",
        "Components/Device.swift",
        "Components/DevicePair.swift",
        "Components/DeviceType.swift",
        "Components/Path.swift",
        "Components/Runtime.swift",
        "Components/SimulatorList.swift",
        "Process/DispatchSemaphore.swift",
        "Process/Process.swift",
        "Process/ProcessCompletionPromise.swift",
        "Process/ProcessError.swift",
        "Process/ProcessOutputHandleSet.swift",
        "Process/ProcessResult.swift",
        "Process/TerminationResult.swift",
        "Process/UncaughtSignal.swift",
        "Process/_AsyncableProcess.swift",
        "Process/_SimCtlProcess.swift",
        "SimCtl.swift",
        "Subcommand.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/23] Emitting module SimulatorServices
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
[4/25] Compiling SimulatorServices SimCtl.swift
[5/25] Compiling SimulatorServices Subcommand.swift
[6/25] Compiling SimulatorServices DeviceType.swift
[7/25] Compiling SimulatorServices Path.swift
[8/25] Compiling SimulatorServices Runtime.swift
[9/25] Compiling SimulatorServices ContainerID.swift
[10/25] Compiling SimulatorServices SimulatorID.swift
[11/25] Compiling SimulatorServices GetAppContainer.swift
[12/25] Compiling SimulatorServices List.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[13/25] Compiling SimulatorServices Device.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[14/25] Compiling SimulatorServices DevicePair.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | internal protocol _ListDecoder {
   |                   `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
 4 |   func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
 5 | }
   :
18 |   }
19 |
20 |   private static let decoder: _ListDecoder = {
   |                      |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'decoder' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[15/25] Compiling SimulatorServices ProcessResult.swift
[16/25] Compiling SimulatorServices TerminationResult.swift
[17/25] Compiling SimulatorServices UncaughtSignal.swift
[18/25] Compiling SimulatorServices _AsyncableProcess.swift
[19/25] Compiling SimulatorServices _SimCtlProcess.swift
[20/25] Compiling SimulatorServices ProcessCompletionPromise.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
[21/25] Compiling SimulatorServices ProcessError.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
[22/25] Compiling SimulatorServices ProcessOutputHandleSet.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
 7 |
 8 |   /// The process existed with an error exit code.
 9 |   case uncaughtSignal(UncaughtSignal)
   |        `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 |   public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 4 |
 5 | /// Details of a process error when it exists with an error code.
 6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
   |               `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
 7 |   private static let exitReason = 1
 8 |
[23/25] Compiling SimulatorServices SimulatorList.swift
[24/25] Compiling SimulatorServices DispatchSemaphore.swift
[25/25] Compiling SimulatorServices Process.swift
Build complete! (7.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimulatorServices",
  "name" : "SimulatorServices",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "SimulatorServices",
      "targets" : [
        "SimulatorServices"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimulatorServicesTests",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServicesTests",
      "path" : "Tests/SimulatorServicesTests",
      "sources" : [
        "ContainerIDTests.swift",
        "Extensions/Data.swift",
        "Extensions/FileHandle.swift",
        "Extensions/String.swift",
        "GetAppContainerTests.swift",
        "ListTests.swift",
        "Mocks/MockAsyncableProcess.swift",
        "Mocks/MockDecoder.swift",
        "Mocks/MockSimCtlProcess.swift",
        "Mocks/MockSubcommand.swift",
        "ProcessTests.swift",
        "SimCtlTest.swift",
        "SimulatorIDTests.swift",
        "SubcommandTests.swift"
      ],
      "target_dependencies" : [
        "SimulatorServices"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimulatorServices",
      "module_type" : "SwiftTarget",
      "name" : "SimulatorServices",
      "path" : "Sources/SimulatorServices",
      "product_memberships" : [
        "SimulatorServices"
      ],
      "sources" : [
        "Arguments/ContainerID.swift",
        "Arguments/SimulatorID.swift",
        "Commands/GetAppContainer.swift",
        "Commands/List.swift",
        "Components/Device.swift",
        "Components/DevicePair.swift",
        "Components/DeviceType.swift",
        "Components/Path.swift",
        "Components/Runtime.swift",
        "Components/SimulatorList.swift",
        "Process/DispatchSemaphore.swift",
        "Process/Process.swift",
        "Process/ProcessCompletionPromise.swift",
        "Process/ProcessError.swift",
        "Process/ProcessOutputHandleSet.swift",
        "Process/ProcessResult.swift",
        "Process/TerminationResult.swift",
        "Process/UncaughtSignal.swift",
        "Process/_AsyncableProcess.swift",
        "Process/_SimCtlProcess.swift",
        "SimCtl.swift",
        "Subcommand.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.