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, reference master (e14caa), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 22:43:33 UTC.

Swift 6 data race errors: 1

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/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: $PWD/.spi.yml
SUCCESS checkout https://github.com/lapfelix/bluetoothconnector.git at master
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.70s)
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.86s)
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
========================================
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": "bluetoothconnector",
      "name": "BluetoothConnector",
      "url": "https://github.com/lapfelix/bluetoothconnector.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/bluetoothconnector",
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.2.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/lapfelix/bluetoothconnector.git
[1/219] Fetching bluetoothconnector
Fetched https://github.com/lapfelix/bluetoothconnector.git from cache (0.66s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.53s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.60s)
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
Creating working copy for https://github.com/lapfelix/bluetoothconnector.git
Working copy of https://github.com/lapfelix/bluetoothconnector.git resolved at master (e14caa1)
Found 1 product dependencies
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/lapfelix/bluetoothconnector.git
https://github.com/lapfelix/bluetoothconnector.git
{
  "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"
}
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/9] Write sources
[3/9] Write BluetoothConnector-entitlement.plist
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/11] Emitting module ArgumentParserToolInfo
[8/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/49] Emitting module ArgumentParser
[10/53] Compiling ArgumentParser AsyncParsableCommand.swift
[11/53] Compiling ArgumentParser CommandConfiguration.swift
[12/53] Compiling ArgumentParser EnumerableFlag.swift
[13/53] Compiling ArgumentParser ExpressibleByArgument.swift
[14/53] Compiling ArgumentParser ArgumentHelp.swift
[15/53] Compiling ArgumentParser ArgumentVisibility.swift
[16/53] Compiling ArgumentParser CompletionKind.swift
[17/53] Compiling ArgumentParser Errors.swift
[18/53] Compiling ArgumentParser Flag.swift
[19/53] Compiling ArgumentParser NameSpecification.swift
[20/53] Compiling ArgumentParser Option.swift
[21/53] Compiling ArgumentParser OptionGroup.swift
[22/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/53] Compiling ArgumentParser CompletionsGenerator.swift
[24/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/53] Compiling ArgumentParser Argument.swift
[27/53] Compiling ArgumentParser ParsableArguments.swift
[28/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[29/53] Compiling ArgumentParser ParsableCommand.swift
[30/53] Compiling ArgumentParser ArgumentDecoder.swift
[31/53] Compiling ArgumentParser ArgumentDefinition.swift
[32/53] Compiling ArgumentParser ArgumentSet.swift
[33/53] Compiling ArgumentParser CommandParser.swift
[34/53] Compiling ArgumentParser InputKey.swift
[35/53] Compiling ArgumentParser Platform.swift
[36/53] Compiling ArgumentParser SequenceExtensions.swift
[37/53] Compiling ArgumentParser StringExtensions.swift
[38/53] Compiling ArgumentParser Tree.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 InputOrigin.swift
[44/53] Compiling ArgumentParser Name.swift
[45/53] Compiling ArgumentParser Parsed.swift
[46/53] Compiling ArgumentParser ParsedValues.swift
[47/53] Compiling ArgumentParser HelpGenerator.swift
[48/53] Compiling ArgumentParser MessageInfo.swift
[49/53] Compiling ArgumentParser UsageGenerator.swift
[50/53] Compiling ArgumentParser CollectionExtensions.swift
[51/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 nonisolated 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 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
153 |         commandName: utilityName(),
154 |         abstract: "Connect/disconnects Bluetooth devices.",
[52/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 nonisolated 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 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
153 |         commandName: utilityName(),
154 |         abstract: "Connect/disconnects Bluetooth devices.",
[52/55] Write Objects.LinkFileList
[53/55] Linking BluetoothConnector
[54/55] Applying BluetoothConnector
Build complete! (8.62s)
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.