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 Aperture, reference v3.0.0 (7591bb), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 23:40:59 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wulkano/Aperture.git
Reference: v3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wulkano/Aperture
 * tag               v3.0.0     -> FETCH_HEAD
HEAD is now at 7591bb5 Rewrite with ScreenCaptureKit (#80)
Cloned https://github.com/wulkano/Aperture.git
Revision (git rev-parse @):
7591bb540c844fe6c47edeac34b17c25e92a717f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wulkano/Aperture.git at v3.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wulkano/Aperture.git
https://github.com/wulkano/Aperture.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aperture",
  "name" : "Aperture",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Aperture",
      "targets" : [
        "Aperture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Aperture",
      "module_type" : "SwiftTarget",
      "name" : "Aperture",
      "path" : "Sources/Aperture",
      "product_memberships" : [
        "Aperture"
      ],
      "sources" : [
        "Aperture.swift",
        "Devices.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling Aperture Utilities.swift
[4/6] Emitting module Aperture
[5/6] Compiling Aperture Devices.swift
[6/6] Compiling Aperture Aperture.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Aperture.swift:483:9: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
481 | 			self.error = error
482 | 			onError?(error)
483 | 			Task { try? await self.cleanUp() }
    |         |            `- note: closure captures 'self' which is accessible to code in the current task
    |         `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
484 | 		}
485 |
Build complete! (8.55s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Aperture",
  "name" : "Aperture",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Aperture",
      "targets" : [
        "Aperture"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Aperture",
      "module_type" : "SwiftTarget",
      "name" : "Aperture",
      "path" : "Sources/Aperture",
      "product_memberships" : [
        "Aperture"
      ],
      "sources" : [
        "Aperture.swift",
        "Devices.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.