This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 BluetoothConnector with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lapfelix/bluetoothconnector.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lapfelix/bluetoothconnector
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e14caa1 Create .spi.yml
Cloned https://github.com/lapfelix/bluetoothconnector.git
Revision (git rev-parse @):
e14caa151983964cea3f2cb4382d9150813bbe73
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/lapfelix/bluetoothconnector.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lapfelix/bluetoothconnector.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/9] Write sources
[4/9] Write BluetoothConnector-entitlement.plist
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/11] Emitting module ArgumentParserToolInfo
[9/49] Compiling ArgumentParser InputOrigin.swift
[10/49] Compiling ArgumentParser Name.swift
[11/49] Compiling ArgumentParser Parsed.swift
[12/49] Compiling ArgumentParser ParsedValues.swift
[13/49] Compiling ArgumentParser ArgumentHelp.swift
[14/49] Compiling ArgumentParser ArgumentVisibility.swift
[15/49] Compiling ArgumentParser CompletionKind.swift
[16/49] Compiling ArgumentParser Errors.swift
[17/53] Emitting module ArgumentParser
[18/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/53] Compiling ArgumentParser CompletionsGenerator.swift
[20/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/53] Compiling ArgumentParser Argument.swift
[23/53] Compiling ArgumentParser Flag.swift
[24/53] Compiling ArgumentParser NameSpecification.swift
[25/53] Compiling ArgumentParser Option.swift
[26/53] Compiling ArgumentParser OptionGroup.swift
[27/53] Compiling ArgumentParser ArgumentDefinition.swift
[28/53] Compiling ArgumentParser ArgumentSet.swift
[29/53] Compiling ArgumentParser CommandParser.swift
[30/53] Compiling ArgumentParser InputKey.swift
[31/53] Compiling ArgumentParser Platform.swift
[32/53] Compiling ArgumentParser SequenceExtensions.swift
[33/53] Compiling ArgumentParser StringExtensions.swift
[34/53] Compiling ArgumentParser Tree.swift
[35/53] Compiling ArgumentParser AsyncParsableCommand.swift
[36/53] Compiling ArgumentParser CommandConfiguration.swift
[37/53] Compiling ArgumentParser EnumerableFlag.swift
[38/53] Compiling ArgumentParser ExpressibleByArgument.swift
[39/53] Compiling ArgumentParser ParserError.swift
[40/53] Compiling ArgumentParser SplitArguments.swift
[41/53] Compiling ArgumentParser DumpHelpGenerator.swift
[42/53] Compiling ArgumentParser HelpCommand.swift
[43/53] Compiling ArgumentParser HelpGenerator.swift
[44/53] Compiling ArgumentParser MessageInfo.swift
[45/53] Compiling ArgumentParser UsageGenerator.swift
[46/53] Compiling ArgumentParser CollectionExtensions.swift
[47/53] Compiling ArgumentParser ParsableArguments.swift
[48/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[49/53] Compiling ArgumentParser ParsableCommand.swift
[50/53] Compiling ArgumentParser ArgumentDecoder.swift
[51/55] Compiling BluetoothConnector main.swift
/Users/admin/builder/spi-builder-workspace/Sources/BluetoothConnector/main.swift:152:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
150 |     var macAddress: String?
151 |
152 |     static var configuration = CommandConfiguration(
    |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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: annotate 'configuration' 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
153 |         commandName: utilityName(),
154 |         abstract: "Connect/disconnects Bluetooth devices.",
[52/55] Emitting module BluetoothConnector
/Users/admin/builder/spi-builder-workspace/Sources/BluetoothConnector/main.swift:152:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
150 |     var macAddress: String?
151 |
152 |     static var configuration = CommandConfiguration(
    |                |- warning: static property 'configuration' is not concurrency-safe because it is non-isolated 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: annotate 'configuration' 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
153 |         commandName: utilityName(),
154 |         abstract: "Connect/disconnects Bluetooth devices.",
[52/55] Write Objects.LinkFileList
[53/55] Linking BluetoothConnector
[54/55] Applying BluetoothConnector
Build complete! (27.78s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/11679] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.54s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (1.12s)
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.2.3
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "exact" : [
          "1.2.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    }
  ],
  "manifest_display_name" : "BluetoothConnector",
  "name" : "BluetoothConnector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "BluetoothConnector",
      "targets" : [
        "BluetoothConnector"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BluetoothConnectorTests",
      "module_type" : "SwiftTarget",
      "name" : "BluetoothConnectorTests",
      "path" : "Tests/BluetoothConnectorTests",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "sources" : [
        "BluetoothConnectorTests.swift"
      ],
      "target_dependencies" : [
        "BluetoothConnector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BluetoothConnector",
      "module_type" : "SwiftTarget",
      "name" : "BluetoothConnector",
      "path" : "Sources/BluetoothConnector",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "BluetoothConnector"
      ],
      "sources" : [
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.