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 DevBoard, reference master (68bbbb), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 06:21:45 UTC.

Swift 6 data race errors: 0

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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MKGitHub/DevBoard.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MKGitHub/DevBoard
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 68bbbb1 💪 Improve example app code
Cloned https://github.com/MKGitHub/DevBoard.git
Revision (git rev-parse @):
68bbbb17f3a49901fa6e72514dd181a07735fb5c
SUCCESS checkout https://github.com/MKGitHub/DevBoard.git at master
========================================
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": "devboard",
      "name": "DevBoard",
      "url": "https://github.com/MKGitHub/DevBoard.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DevBoard",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/MKGitHub/DevBoard.git
[1/162] Fetching devboard
Fetched https://github.com/MKGitHub/DevBoard.git from cache (0.98s)
Creating working copy for https://github.com/MKGitHub/DevBoard.git
Working copy of https://github.com/MKGitHub/DevBoard.git resolved at master (68bbbb1)
warning: '.resolve-product-dependencies': dependency 'devboard' 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/MKGitHub/DevBoard.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/4] Compiling DevBoard DevBoard.swift
/Users/admin/builder/spi-builder-workspace/Sources/DevBoard/DevBoard.swift:107:13: warning: capture of 'self' with non-sendable type 'DevBoard' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 |
 24 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
 25 | final class DevBoard
    |             `- note: class 'DevBoard' does not conform to the 'Sendable' protocol
 26 | {
 27 |     // MARK: Private/Public Properties
    :
105 |         mDispatchQueue.async(flags:.barrier)
106 |         {
107 |             self.mParameters[indexString] = parameter
    |             `- warning: capture of 'self' with non-sendable type 'DevBoard' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 |         }
109 |     }
/Users/admin/builder/spi-builder-workspace/Sources/DevBoard/DevBoard.swift:129:30: warning: capture of 'self' with non-sendable type 'DevBoard?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 23 |
 24 | @available(iOS 13, macOS 10.15, tvOS 13, watchOS 6, *)
 25 | final class DevBoard
    |             `- note: class 'DevBoard' does not conform to the 'Sendable' protocol
 26 | {
 27 |     // MARK: Private/Public Properties
    :
127 |         {
128 |             [weak self] in
129 |             guard let self = self else { Swift.print("[📺 DevBoard] Failed to send update, `self` does not exist!"); return }
    |                              `- warning: capture of 'self' with non-sendable type 'DevBoard?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
130 |             self.sendUpdateToServer()
131 |         }
[4/4] Emitting module DevBoard
Build complete! (5.58s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DevBoard",
  "name" : "DevBoard",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "DevBoard",
      "targets" : [
        "DevBoard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DevBoard",
      "module_type" : "SwiftTarget",
      "name" : "DevBoard",
      "path" : "Sources/DevBoard",
      "product_memberships" : [
        "DevBoard"
      ],
      "sources" : [
        "DevBoard.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.