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.0 for macOS (SPM) on 8 Nov 2024 15:59:38 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/SimulatorServices.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
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": "simulatorservices",
      "name": "SimulatorServices",
      "url": "https://github.com/brightdigit/SimulatorServices.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimulatorServices",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/brightdigit/SimulatorServices.git
[1/808] Fetching simulatorservices
Fetched https://github.com/brightdigit/SimulatorServices.git from cache (0.92s)
Creating working copy for https://github.com/brightdigit/SimulatorServices.git
Working copy of https://github.com/brightdigit/SimulatorServices.git resolved at 1.0.1 (57099b5)
warning: '.resolve-product-dependencies': dependency 'simulatorservices' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/brightdigit/SimulatorServices.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/23] Emitting module SimulatorServices
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/Users/admin/builder/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? {
/Users/admin/builder/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 _AsyncableProcess.swift
[5/25] Compiling SimulatorServices _SimCtlProcess.swift
[6/25] Compiling SimulatorServices DispatchSemaphore.swift
[7/25] Compiling SimulatorServices Process.swift
[8/25] Compiling SimulatorServices List.swift
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[9/25] Compiling SimulatorServices Device.swift
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[10/25] Compiling SimulatorServices DevicePair.swift
/Users/admin/builder/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: annotate 'decoder' with '@MainActor' if property should only be accessed from the main actor
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |     let decoder = JSONDecoder()
22 |     decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[11/25] Compiling SimulatorServices TerminationResult.swift
[12/25] Compiling SimulatorServices UncaughtSignal.swift
[13/25] Compiling SimulatorServices ProcessOutputHandleSet.swift
[14/25] Compiling SimulatorServices ProcessResult.swift
[15/25] Compiling SimulatorServices ContainerID.swift
[16/25] Compiling SimulatorServices SimulatorID.swift
[17/25] Compiling SimulatorServices GetAppContainer.swift
[18/25] Compiling SimulatorServices SimCtl.swift
[19/25] Compiling SimulatorServices Subcommand.swift
[20/25] Compiling SimulatorServices DeviceType.swift
[21/25] Compiling SimulatorServices Path.swift
[22/25] Compiling SimulatorServices Runtime.swift
[23/25] Compiling SimulatorServices SimulatorList.swift
[24/25] Compiling SimulatorServices ProcessCompletionPromise.swift
/Users/admin/builder/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? {
/Users/admin/builder/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 |
[25/25] Compiling SimulatorServices ProcessError.swift
/Users/admin/builder/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? {
/Users/admin/builder/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 |
Build complete! (16.37s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SimulatorServices",
  "name" : "SimulatorServices",
  "path" : "/Users/admin/builder/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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/brightdigit/simulatorservices/1.0.1
Repository:               brightdigit/SimulatorServices
Swift version used:       6.0
Target:                   SimulatorServices
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
 * branch            88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'SimulatorServices'...
Finished extracting symbol information for 'SimulatorServices'. (3.09s)
Building documentation for 'SimulatorServices'...
warning: 'GetAppContainers' doesn't exist at '/SimulatorServices'
  --> Documentation.md:40:247-40:263
38 | ### Usage
39 |
40 + **SimulatorServices** uses the ``SimCtl`` object to pass subcommands. Each subcommand objects takes custom arguments or property and can parse the standard output into an easy to use Swift object. There are currently two supported subcommands: ``GetAppContainers`` and ``List``.
   |                                                                                                                                                                                                                                                       ├─suggestion: Replace 'GetAppContainers' with 'GetAppContainer'
   |                                                                                                                                                                                                                                                       ╰─suggestion: Replace 'GetAppContainers' with 'Getting-App-Containers'
41 |
42 | ### Listing SimulatorsFinished building documentation for 'SimulatorServices' (0.18s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/brightdigit/simulatorservices/1.0.1
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3168] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.28s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit SemanticVersion.swift
[7/53] Compiling SymbolKit AccessControl.swift
[8/53] Compiling SymbolKit Availability.swift
[9/53] Compiling SymbolKit AvailabilityItem.swift
[10/53] Compiling SymbolKit Domain.swift
[11/57] Compiling SymbolKit Identifier.swift
[12/57] Compiling SymbolKit KindIdentifier.swift
[13/57] Compiling SymbolKit Location.swift
[14/57] Compiling SymbolKit Mutability.swift
[15/57] Compiling SymbolKit DeclarationFragments.swift
[16/57] Compiling SymbolKit Fragment.swift
[17/57] Compiling SymbolKit FragmentKind.swift
[18/57] Compiling SymbolKit FunctionParameter.swift
[19/57] Compiling SymbolKit FunctionSignature.swift
[20/57] Compiling SymbolKit Names.swift
[21/57] Compiling SymbolKit SPI.swift
[22/57] Compiling SymbolKit Snippet.swift
[23/57] Compiling SymbolKit Extension.swift
[24/57] Compiling SymbolKit Relationship.swift
[25/57] Compiling SymbolKit RelationshipKind.swift
[26/57] Compiling SymbolKit SourceOrigin.swift
[27/57] Compiling SymbolKit GenericConstraints.swift
[28/57] Compiling SymbolKit Swift.swift
[29/57] Compiling SymbolKit Mixin+Equals.swift
[30/57] Compiling SymbolKit Mixin+Hash.swift
[31/57] Compiling SymbolKit Mixin.swift
[32/57] Compiling SymbolKit LineList.swift
[33/57] Compiling SymbolKit Position.swift
[34/57] Compiling SymbolKit GenericConstraint.swift
[35/57] Compiling SymbolKit GenericParameter.swift
[36/57] Compiling SymbolKit Generics.swift
[37/57] Compiling SymbolKit Namespace.swift
[38/57] Compiling SymbolKit Symbol.swift
[39/57] Compiling SymbolKit SymbolKind.swift
[40/57] Compiling SymbolKit SymbolGraph.swift
[41/57] Compiling SymbolKit GraphCollector.swift
[42/57] Emitting module SymbolKit
[43/57] Emitting module Snippets
[44/57] Compiling Snippets SnippetParser.swift
[45/57] Compiling Snippets Snippet.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.67s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/22] Emitting module SimulatorServices
[3/24] Compiling SimulatorServices ProcessOutputHandleSet.swift
[4/24] Compiling SimulatorServices ProcessResult.swift
[5/24] Compiling SimulatorServices TerminationResult.swift
[6/24] Compiling SimulatorServices UncaughtSignal.swift
[7/24] Compiling SimulatorServices DeviceType.swift
[8/24] Compiling SimulatorServices Path.swift
[9/24] Compiling SimulatorServices DispatchSemaphore.swift
[10/24] Compiling SimulatorServices Process.swift
[11/24] Compiling SimulatorServices Runtime.swift
[12/24] Compiling SimulatorServices SimulatorList.swift
[13/24] Compiling SimulatorServices _AsyncableProcess.swift
[14/24] Compiling SimulatorServices _SimCtlProcess.swift
[15/24] Compiling SimulatorServices List.swift
[16/24] Compiling SimulatorServices Device.swift
[17/24] Compiling SimulatorServices DevicePair.swift
[18/24] Compiling SimulatorServices ProcessCompletionPromise.swift
[19/24] Compiling SimulatorServices ProcessError.swift
[20/24] Compiling SimulatorServices ContainerID.swift
[21/24] Compiling SimulatorServices SimulatorID.swift
[22/24] Compiling SimulatorServices GetAppContainer.swift
[23/24] Compiling SimulatorServices SimCtl.swift
[24/24] Compiling SimulatorServices Subcommand.swift
Build of target: 'SimulatorServices' complete! (0.91s)
     369
3	/Users/admin/builder/spi-builder-workspace/.docs/brightdigit/simulatorservices/1.0.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/brightdigit/simulatorservices/1.0.1
File count: 369
Doc size:   3.0MB
Preparing doc bundle ...
Uploading prod-brightdigit-simulatorservices-1.0.1-0ce42d17.zip to s3://spi-docs-inbox/prod-brightdigit-simulatorservices-1.0.1-0ce42d17.zip
Copying... [19%]
Copying... [28%]
Copying... [37%]
Copying... [47%]
Copying... [56%]
Copying... [65%]
Copying... [75%]
Copying... [84%]
Copying... [93%]
Copying... [100%]
Done.