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 AECAudioStream, reference 1.0.1 (c5d16b), with Swift 6.0 for macOS (SPM) on 14 Sep 2024 06:25:57 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kasimok/AECAudioStream.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kasimok/AECAudioStream
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at c5d16bb fix audio render issue when devices is stopped
Cloned https://github.com/kasimok/AECAudioStream.git
Revision (git rev-parse @):
c5d16bbb9f3c4282523d6d6039c0009480b72c25
SUCCESS checkout https://github.com/kasimok/AECAudioStream.git at 1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kasimok/AECAudioStream.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun 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-117DEE11B69C53C9.txt
[3/5] Compiling AECAudioStream AECAudioStreamError.swift
[4/5] Compiling AECAudioStream AECAudioStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AECAudioStream/AECAudioStream.swift:83:51: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 81 |         try startGraph()
 82 |         try startAudioUnit()
 83 |         self.capturedFrameHandler = {continuation.yield($0)}
    |                                                   |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                   `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 84 |         self.running = true
 85 |       } catch {
[5/5] Emitting module AECAudioStream
Build complete! (8.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AECAudioStream",
  "name" : "AECAudioStream",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AECAudioStream",
      "targets" : [
        "AECAudioStream"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AECAudioStreamTests",
      "module_type" : "SwiftTarget",
      "name" : "AECAudioStreamTests",
      "path" : "Tests/AECAudioStreamTests",
      "sources" : [
        "AECAudioStreamTests.swift"
      ],
      "target_dependencies" : [
        "AECAudioStream"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AECAudioStream",
      "module_type" : "SwiftTarget",
      "name" : "AECAudioStream",
      "path" : "Sources/AECAudioStream",
      "product_memberships" : [
        "AECAudioStream"
      ],
      "sources" : [
        "AECAudioStream.swift",
        "AECAudioStreamError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.