The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftAnnouncements, reference main (12184f), with Swift 6.1 for Linux on 27 Apr 2025 12:09:43 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:             6.1
Building package at path:  $PWD
https://github.com/grype/SwiftAnnouncements.git
https://github.com/grype/SwiftAnnouncements.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/grype/RWLock-Swift
Fetching https://github.com/Quick/Nimble
[1/20] Fetching rwlock-swift
[21/19587] Fetching rwlock-swift, nimble
Fetched https://github.com/grype/RWLock-Swift from cache (1.02s)
Fetched https://github.com/Quick/Nimble from cache (1.05s)
Computing version for https://github.com/grype/RWLock-Swift
Computed https://github.com/grype/RWLock-Swift at 1.0.0 (1.50s)
Computing version for https://github.com/Quick/Nimble
Computed https://github.com/Quick/Nimble at 9.2.1 (0.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.65s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.19s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.63s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/grype/RWLock-Swift
Working copy of https://github.com/grype/RWLock-Swift resolved at 1.0.0
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 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 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 |     }
[9/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 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 |     }
[10/13] Compiling SwiftAnnouncements Announcer.swift
[11/13] Compiling SwiftAnnouncements Announceable.swift
[12/13] Compiling SwiftAnnouncements AnySubscription.swift
[13/13] Compiling SwiftAnnouncements Registry.swift
Build complete! (10.63s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.