The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CSAuthSample, reference 3.0.2 (bb0720), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 07:25:00 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSAuthSample.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CharlesJS/CSAuthSample
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at bb0720b Give up on auto-formatting the code as a build step for now
Cloned https://github.com/CharlesJS/CSAuthSample.git
Revision (git rev-parse @):
bb0720b6a24fb1a71c3b4f276cc4b0a9fc76c179
SUCCESS checkout https://github.com/CharlesJS/CSAuthSample.git at 3.0.2
========================================
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 (0.95s)
Creating working copy for https://github.com/CharlesJS/CSAuthSample.git
Working copy of https://github.com/CharlesJS/CSAuthSample.git resolved at 3.0.2 (bb0720b)
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
[2/6] Compiling CSAuthSampleCommon CSASCommon.m
[3/9] Compiling CSAuthSampleHelper CSASHelperTool.m
[4/9] Compiling CSAuthSampleHelper CSASHelperConnectionWrapper.m
[5/9] Compiling CSAuthSampleHelper CSASHelperConnection.m
[7/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 |     }
[8/9] Emitting module CSAuthSampleApp
[9/9] Compiling CSAuthSampleApp HelperClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/CSAuthSampleApp/HelperClient.swift:297:13: warning: 'SMJobRemove' was deprecated in macOS 10.10
295 |         var smError: Unmanaged<CFError>? = nil
296 |         // deprecated, but there is still not a decent replacement, so 🤷
297 |         if !SMJobRemove(kSMDomainSystemLaunchd, helperID as CFString, self.authRef, true, &smError) {
    |             `- warning: 'SMJobRemove' was deprecated in macOS 10.10
298 |             completionHandler(smError.map { ConvertCFError($0.takeRetainedValue()) } ?? CocoaError(.fileWriteUnknown))
299 |         } else {
Build complete! (9.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CSAuthSample",
  "name" : "CSAuthSample",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    }
  ],
  "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.