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, reference master (9495aa), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 00:26:47 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/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
========================================
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": "csauthsample",
      "name": "CSAuthSample",
      "url": "https://github.com/CharlesJS/CSAuthSample.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CSAuthSample",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/CharlesJS/CSAuthSample.git
[1/1589] Fetching csauthsample
Fetched https://github.com/CharlesJS/CSAuthSample.git from cache (1.00s)
Creating working copy for https://github.com/CharlesJS/CSAuthSample.git
Working copy of https://github.com/CharlesJS/CSAuthSample.git resolved at master (9495aaa)
warning: '.resolve-product-dependencies': dependency 'csauthsample' 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/CharlesJS/CSAuthSample.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/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.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] Emitting module CSAuthSampleApp
[8/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 |     }
[9/9] Compiling CSAuthSampleApp HelperClient.swift
Build complete! (9.43s)
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.