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

Swift 6 data race errors: 0

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/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/MKGitHub/DevBoard.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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! (16.11s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.