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 TypedNotification with Swift 6.0 (beta) for macOS (SPM).

Swift 6 data race errors: 0

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/alexjohnj/typednotification.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexjohnj/typednotification
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0b89d6f Version 2.0.1
Cloned https://github.com/alexjohnj/typednotification.git
Revision (git rev-parse @):
0b89d6f0dbb6cd3a733932d51f4ab3a3ecef37f5
SUCCESS checkout https://github.com/alexjohnj/typednotification.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/alexjohnj/typednotification.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/4] Compiling TypedNotification TypedNotification.swift
/Users/admin/builder/spi-builder-workspace/Sources/TypedNotification.swift:221:108: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
218 |     ///
219 |     public func addObserver(forNotificationNamed name: NSNotification.Name?, object obj: Any?, queue: OperationQueue?,
220 |                             using block: @escaping (Notification) -> Void) -> NotificationObservation {
    |                                   `- note: parameter 'block' is implicitly non-sendable
221 |         let observer: NSObjectProtocol = self.addObserver(forName: name, object: obj, queue: queue, using: block)
    |                                                                                                            `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
222 |         return NotificationObservation { self.removeObserver(observer) }
223 |     }
[4/4] Emitting module TypedNotification
Build complete! (17.09s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TypedNotification",
  "name" : "TypedNotification",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "TypedNotification",
      "targets" : [
        "TypedNotification"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TypedNotificationTests",
      "module_type" : "SwiftTarget",
      "name" : "TypedNotificationTests",
      "path" : "Tests",
      "sources" : [
        "TypedNotificationTests.swift"
      ],
      "target_dependencies" : [
        "TypedNotification"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TypedNotification",
      "module_type" : "SwiftTarget",
      "name" : "TypedNotification",
      "path" : "Sources",
      "product_memberships" : [
        "TypedNotification"
      ],
      "sources" : [
        "TypedNotification.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.