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 SwiftAnnouncements with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grype/SwiftAnnouncements.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/grype/SwiftAnnouncements
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 12184fc Update wording in README
Cloned https://github.com/grype/SwiftAnnouncements.git
Revision (git rev-parse @):
12184fc4566b29fa513913bc5cf0cf23f937bd98
SUCCESS checkout https://github.com/grype/SwiftAnnouncements.git at main
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetching https://github.com/grype/RWLock-Swift
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.21s)
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.21s)
Fetching https://github.com/Quick/Nimble from cache
[1/20] Fetching rwlock-swift
Fetched https://github.com/grype/RWLock-Swift (0.26s)
Fetched https://github.com/Quick/Nimble (0.26s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.55s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.09s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.05s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.05s)
Creating working copy for https://github.com/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Creating working copy for https://github.com/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftannouncements",
      "name": "SwiftAnnouncements",
      "url": "https://github.com/grype/SwiftAnnouncements.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAnnouncements",
      "dependencies": [
        {
          "identity": "rwlock-swift",
          "name": "RWLock",
          "url": "https://github.com/grype/RWLock-Swift",
          "version": "1.0.0",
          "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RWLock-Swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/grype/SwiftAnnouncements.git
[1/180] Fetching swiftannouncements
Fetched https://github.com/grype/SwiftAnnouncements.git (0.28s)
Fetching https://github.com/grype/RWLock-Swift from cache
Fetched https://github.com/grype/RWLock-Swift (0.20s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.02s)
Creating working copy for https://github.com/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
Creating working copy for https://github.com/grype/SwiftAnnouncements.git
Working copy of https://github.com/grype/SwiftAnnouncements.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swiftannouncements' is not used by any target
Found 1 product dependencies
  - RWLock
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/3] Compiling RWLock RWLockedPropertyWrapper.swift
[2/3] Emitting module RWLock
[3/3] Compiling RWLock RWLock.swift
[4/9] Compiling SwiftAnnouncements Subscription.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:55:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public func handles<T:Announceable>(_ anAnnouncement: T) -> Bool {
                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:16:27: note: 'T' previously declared here
public class Subscription<T: Announceable> {
                          ^
[5/9] Compiling SwiftAnnouncements AnySubscription.swift
[6/9] Compiling SwiftAnnouncements Announcer.swift
[7/9] Compiling SwiftAnnouncements Announceable.swift
[8/9] Compiling SwiftAnnouncements Registry.swift
[9/9] Emitting module SwiftAnnouncements
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:55:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
    public func handles<T:Announceable>(_ anAnnouncement: T) -> Bool {
                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:16:27: note: 'T' previously declared here
public class Subscription<T: Announceable> {
                          ^
Build complete! (9.81s)
Build complete.
Done.