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.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grype/SwiftAnnouncements.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/grype/SwiftAnnouncements.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/grype/RWLock-Swift
[1/20] Fetching rwlock-swift
[4/452] Fetching rwlock-swift, cwlcatchexception
[474/1688] Fetching rwlock-swift, cwlcatchexception, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
[450/17743] Fetching rwlock-swift, cwlcatchexception, nimble
Fetched https://github.com/grype/RWLock-Swift from cache (1.36s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.36s)
Fetched https://github.com/Quick/Nimble from cache (1.38s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (0.41s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.42s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.2 (0.42s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.2 (0.39s)
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/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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/6] Compiling RWLock RWLockedPropertyWrapper.swift
[5/6] Emitting module RWLock
[6/6] Compiling RWLock RWLock.swift
[8/13] Compiling SwiftAnnouncements Registry.swift
[9/13] Compiling SwiftAnnouncements AnySubscription.swift
[10/13] Compiling SwiftAnnouncements Subscription.swift
/host/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 {
                        ^
/host/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:16:27: note: 'T' previously declared here
public class Subscription<T: Announceable> {
                          ^
[11/13] Compiling SwiftAnnouncements Announceable.swift
[12/13] Emitting module SwiftAnnouncements
/host/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 {
                        ^
/host/spi-builder-workspace/Sources/SwiftAnnouncements/Subscription.swift:16:27: note: 'T' previously declared here
public class Subscription<T: Announceable> {
                          ^
[13/13] Compiling SwiftAnnouncements Announcer.swift
Build complete! (11.96s)
Build complete.
Done.