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 CSAuthSample 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/CharlesJS/CSAuthSample.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CharlesJS/CSAuthSample
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9495aaa Merge branch 'master' of github.com:CharlesJS/CSAuthSample
Cloned https://github.com/CharlesJS/CSAuthSample.git
Revision (git rev-parse @):
9495aaa9a2805666b9fb9362b597c8f4497ce50c
SUCCESS checkout https://github.com/CharlesJS/CSAuthSample.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CharlesJS/CSAuthSample.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/6] Write sources
[1/6] Write swift-version-6F35C1178C84523A.txt
[2/6] Compiling CSAuthSampleHelper CSASHelperConnectionWrapper.m
[3/6] Compiling CSAuthSampleCommon CSASCommon.m
[4/6] Compiling CSAuthSampleHelper CSASHelperTool.m
[5/6] Compiling CSAuthSampleHelper CSASHelperConnection.m
[7/9] Compiling CSAuthSampleApp HelperClient.swift
[8/9] Emitting module CSAuthSampleApp
[9/9] Compiling CSAuthSampleApp SandboxWorkaround.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSAuthSampleApp/SandboxWorkaround.swift:32:40: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
30 |     /// Be sure to call `stop()` once you receive a reply from the helper tool.
31 |     public init() {
32 |         self.queue.async(execute: self.activateIfReady)
   |                                        `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
33 |     }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/CSAuthSampleApp/SandboxWorkaround.swift:65:31: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
63 |             self.queue.asyncAfter(
64 |                 deadline: .now() + .microseconds(10),
65 |                 execute: self.activateIfReady)
   |                               `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
66 |         }
67 |     }
Build complete! (23.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSAuthSample",
  "name" : "CSAuthSample",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "CSAuthSampleApp",
      "targets" : [
        "CSAuthSampleApp"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSAuthSampleHelper",
      "targets" : [
        "CSAuthSampleHelper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSAuthSampleCommon",
      "targets" : [
        "CSAuthSampleCommon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CSAuthSampleHelper",
      "module_type" : "ClangTarget",
      "name" : "CSAuthSampleHelper",
      "path" : "Sources/CSAuthSampleHelper",
      "product_memberships" : [
        "CSAuthSampleHelper"
      ],
      "sources" : [
        "CSASHelperConnection.m",
        "CSASHelperConnectionWrapper.m",
        "CSASHelperTool.m"
      ],
      "target_dependencies" : [
        "CSAuthSampleCommon"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSAuthSampleCommon",
      "module_type" : "ClangTarget",
      "name" : "CSAuthSampleCommon",
      "path" : "Sources/CSAuthSampleCommon",
      "product_memberships" : [
        "CSAuthSampleApp",
        "CSAuthSampleHelper",
        "CSAuthSampleCommon"
      ],
      "sources" : [
        "CSASCommon.m"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSAuthSampleApp",
      "module_type" : "SwiftTarget",
      "name" : "CSAuthSampleApp",
      "path" : "Sources/CSAuthSampleApp",
      "product_memberships" : [
        "CSAuthSampleApp"
      ],
      "sources" : [
        "HelperClient.swift",
        "SandboxWorkaround.swift"
      ],
      "target_dependencies" : [
        "CSAuthSampleCommon"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.