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, reference 1.0.5 (43cdc1), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:27:09 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grype/SwiftAnnouncements.git
Reference: 1.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/grype/SwiftAnnouncements
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at 43cdc1a Update dependencies
Cloned https://github.com/grype/SwiftAnnouncements.git
Revision (git rev-parse @):
43cdc1a88739a49ed662b4758b7000ad20c9f793
SUCCESS checkout https://github.com/grype/SwiftAnnouncements.git at 1.0.5
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/grype/RWLock-Swift
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/20] Fetching rwlock-swift
[21/475] Fetching rwlock-swift, cwlcatchexception
[376/1732] Fetching rwlock-swift, cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/grype/RWLock-Swift from cache (0.80s)
[1021/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1713/20930] Fetching cwlcatchexception, cwlpreconditiontesting, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.58s)
Fetched https://github.com/Quick/Nimble from cache (2.58s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.58s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.66s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.64s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.62s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.62s)
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
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/Quick/Nimble
Working copy of https://github.com/Quick/Nimble resolved at 9.2.1
========================================
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": "swiftannouncements",
      "name": "SwiftAnnouncements",
      "url": "https://github.com/grype/SwiftAnnouncements.git",
      "version": "unspecified",
      "path": "/Users/admin/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/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RWLock-Swift",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/grype/SwiftAnnouncements.git
[2/180] Fetching swiftannouncements
Fetched https://github.com/grype/SwiftAnnouncements.git from cache (0.71s)
Fetching https://github.com/grype/RWLock-Swift from cache
Fetched https://github.com/grype/RWLock-Swift from cache (0.47s)
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/SwiftAnnouncements.git
Working copy of https://github.com/grype/SwiftAnnouncements.git resolved at 1.0.5 (43cdc1a)
Creating working copy for https://github.com/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
warning: '.resolve-product-dependencies': dependency 'swiftannouncements' is not used by any target
Found 1 product dependencies
  - RWLock
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/grype/SwiftAnnouncements.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/6] Emitting module RWLock
[5/6] Compiling RWLock RWLockedPropertyWrapper.swift
[6/6] Compiling RWLock RWLock.swift
[7/12] Compiling SwiftAnnouncements Subscription.swift
/Users/admin/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 the Swift 6 language mode
14 |  I capture a type of announcement, an action block to perform in response to correlated announcement, and optionally a subscriber object. I am used by an `Announcer` to process announcements.
15 |  */
16 | public class Subscription<T: Announceable> {
   |                           `- note: 'T' previously declared here
17 |
18 |     public typealias Action = (T, Announcer)->Void
   :
53 |     }
54 |
55 |     public func handles<T:Announceable>(_ anAnnouncement: T) -> Bool {
   |                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 |         return type(of: anAnnouncement).handles(anAnnouncement)
57 |     }
[8/12] Compiling SwiftAnnouncements Announcer.swift
[9/12] Compiling SwiftAnnouncements AnySubscription.swift
[10/12] Emitting module SwiftAnnouncements
/Users/admin/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 the Swift 6 language mode
14 |  I capture a type of announcement, an action block to perform in response to correlated announcement, and optionally a subscriber object. I am used by an `Announcer` to process announcements.
15 |  */
16 | public class Subscription<T: Announceable> {
   |                           `- note: 'T' previously declared here
17 |
18 |     public typealias Action = (T, Announcer)->Void
   :
53 |     }
54 |
55 |     public func handles<T:Announceable>(_ anAnnouncement: T) -> Bool {
   |                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
56 |         return type(of: anAnnouncement).handles(anAnnouncement)
57 |     }
[11/12] Compiling SwiftAnnouncements Registry.swift
[12/12] Compiling SwiftAnnouncements Announceable.swift
Build complete! (8.38s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble"
    },
    {
      "identity" : "rwlock-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/grype/RWLock-Swift"
    }
  ],
  "manifest_display_name" : "SwiftAnnouncements",
  "name" : "SwiftAnnouncements",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "ios",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "2.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftAnnouncements",
      "targets" : [
        "SwiftAnnouncements"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftAnnouncementsTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAnnouncementsTests",
      "path" : "Tests/SwiftAnnouncementsTests",
      "product_dependencies" : [
        "Nimble"
      ],
      "sources" : [
        "AnnouncerTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftAnnouncements"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAnnouncements",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAnnouncements",
      "path" : "Sources/SwiftAnnouncements",
      "product_dependencies" : [
        "RWLock"
      ],
      "product_memberships" : [
        "SwiftAnnouncements"
      ],
      "sources" : [
        "Announceable.swift",
        "Announcer.swift",
        "AnySubscription.swift",
        "Registry.swift",
        "Subscription.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.