The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ArchitectureComponents, reference 0.1.0 (33835a), with Swift 6.3 for Linux on 10 Apr 2026 14:45:34 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/spropensource/ArchitectureComponents.git
Reference: 0.1.0
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/spropensource/ArchitectureComponents
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 33835ad Merge pull request #1 from spropensource/SupportCarthageAndCocoaPods
Cloned https://github.com/spropensource/ArchitectureComponents.git
Revision (git rev-parse @):
33835ad4de7ef19d9f5f59b7d119127e223e811f
SUCCESS checkout https://github.com/spropensource/ArchitectureComponents.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/spropensource/ArchitectureComponents.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/20] Emitting module ArchitectureComponents
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:48:20: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 46 |         // MARK: Hashable
 47 |
 48 |         public var hashValue: Int {
    |                    `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 49 |             guard let observer = self.lifecycleObserver else { return 0 }
 50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:60:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 58 |     // MARK: Helpers
 59 |
 60 |     internal var stateAfter: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 61 |         let state: LifecycleState
 62 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:73:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 71 |     }
 72 |
 73 |     internal var stateBefore: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 74 |         let state: LifecycleState
 75 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:110:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
108 | internal extension LifecycleState {
109 |
110 |     internal func eventsToState(_ targetState: LifecycleState) throws -> [LifecycleEvent] {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |         guard self != targetState else { return [] }
112 |         guard targetState != .initialized else {
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverHandle.swift:36:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
34 |     // MARK: Hashable
35 |
36 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
37 |         let result = self.value.hashValue
38 |         return result
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:54:37: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 52 |     // MARK: ObserverControllerDelegate
 53 |
 54 |     public func observerDidActivate<Type>(_ observer: ObserverController<Type>) {
    |                                     `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 55 |         self.active = self.hasActiveObservers
 56 |     }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:58:39: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 56 |     }
 57 |
 58 |     public func observerDidDeactivate<Type>(_ observer: ObserverController<Type>) {
    |                                       `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 59 |         self.active = self.hasActiveObservers
 60 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/22] Compiling ArchitectureComponents LifecycleTableViewController.swift
[5/22] Compiling ArchitectureComponents LifecycleViewController.swift
[6/22] Compiling ArchitectureComponents DefaultLifecycleObserver.swift
[7/22] Compiling ArchitectureComponents Lifecycle.swift
[8/22] Compiling ArchitectureComponents LifecycleObserver.swift
[9/22] Compiling ArchitectureComponents MutableLiveData.swift
[10/22] Compiling ArchitectureComponents LiveDataError.swift
[11/22] Compiling ArchitectureComponents TransformedLiveData.swift
[12/22] Compiling ArchitectureComponents Transformations.swift
[13/22] Compiling ArchitectureComponents ObserverListController.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:54:37: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 52 |     // MARK: ObserverControllerDelegate
 53 |
 54 |     public func observerDidActivate<Type>(_ observer: ObserverController<Type>) {
    |                                     `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 55 |         self.active = self.hasActiveObservers
 56 |     }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:58:39: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 56 |     }
 57 |
 58 |     public func observerDidDeactivate<Type>(_ observer: ObserverController<Type>) {
    |                                       `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 59 |         self.active = self.hasActiveObservers
 60 |     }
[14/22] Compiling ArchitectureComponents SwitchedLiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:54:37: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 52 |     // MARK: ObserverControllerDelegate
 53 |
 54 |     public func observerDidActivate<Type>(_ observer: ObserverController<Type>) {
    |                                     `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 55 |         self.active = self.hasActiveObservers
 56 |     }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverListController.swift:58:39: warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 17 |
 18 |
 19 | internal class ObserverListController<Type>: ObserverControllerDelegate {
    |                                       `- note: 'Type' previously declared here
 20 |
 21 |     // MARK: Type
    :
 56 |     }
 57 |
 58 |     public func observerDidDeactivate<Type>(_ observer: ObserverController<Type>) {
    |                                       `- warning: generic parameter 'Type' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
 59 |         self.active = self.hasActiveObservers
 60 |     }
[15/22] Compiling ArchitectureComponents LifecycleError.swift
[16/22] Compiling ArchitectureComponents LiveData.swift
[17/22] Compiling ArchitectureComponents MediatorLiveData.swift
[18/22] Compiling ArchitectureComponents ObserverController.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverHandle.swift:36:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
34 |     // MARK: Hashable
35 |
36 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
37 |         let result = self.value.hashValue
38 |         return result
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/22] Compiling ArchitectureComponents ObserverHandle.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/Swift/ObserverHandle.swift:36:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
34 |     // MARK: Hashable
35 |
36 |     public var hashValue: Int {
   |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ObserverHandle' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
37 |         let result = self.value.hashValue
38 |         return result
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/22] Compiling ArchitectureComponents LifecycleOwner.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:48:20: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 46 |         // MARK: Hashable
 47 |
 48 |         public var hashValue: Int {
    |                    `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 49 |             guard let observer = self.lifecycleObserver else { return 0 }
 50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:165:50: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
163 |         guard let owner = self.owner else { return }
164 |
165 |         let activeObservers = self.weakObservers.flatMap({ $0.lifecycleObserver })
    |                                                  |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                  `- note: use 'compactMap(_:)' instead
166 |         for observer in activeObservers {
167 |             switch event {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:60:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 58 |     // MARK: Helpers
 59 |
 60 |     internal var stateAfter: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 61 |         let state: LifecycleState
 62 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:73:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 71 |     }
 72 |
 73 |     internal var stateBefore: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 74 |         let state: LifecycleState
 75 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:110:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
108 | internal extension LifecycleState {
109 |
110 |     internal func eventsToState(_ targetState: LifecycleState) throws -> [LifecycleEvent] {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |         guard self != targetState else { return [] }
112 |         guard targetState != .initialized else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/22] Compiling ArchitectureComponents LifecycleRegistry.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:48:20: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 46 |         // MARK: Hashable
 47 |
 48 |         public var hashValue: Int {
    |                    `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 49 |             guard let observer = self.lifecycleObserver else { return 0 }
 50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:165:50: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
163 |         guard let owner = self.owner else { return }
164 |
165 |         let activeObservers = self.weakObservers.flatMap({ $0.lifecycleObserver })
    |                                                  |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                  `- note: use 'compactMap(_:)' instead
166 |         for observer in activeObservers {
167 |             switch event {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:60:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 58 |     // MARK: Helpers
 59 |
 60 |     internal var stateAfter: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 61 |         let state: LifecycleState
 62 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:73:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 71 |     }
 72 |
 73 |     internal var stateBefore: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 74 |         let state: LifecycleState
 75 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:110:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
108 | internal extension LifecycleState {
109 |
110 |     internal func eventsToState(_ targetState: LifecycleState) throws -> [LifecycleEvent] {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |         guard self != targetState else { return [] }
112 |         guard targetState != .initialized else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/22] Compiling ArchitectureComponents Extensions.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:48:20: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 46 |         // MARK: Hashable
 47 |
 48 |         public var hashValue: Int {
    |                    `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'LifecycleRegistry.LifecycleObserverEnvelope' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 49 |             guard let observer = self.lifecycleObserver else { return 0 }
 50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:165:50: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
163 |         guard let owner = self.owner else { return }
164 |
165 |         let activeObservers = self.weakObservers.flatMap({ $0.lifecycleObserver })
    |                                                  |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value [#DeprecatedDeclaration]
    |                                                  `- note: use 'compactMap(_:)' instead
166 |         for observer in activeObservers {
167 |             switch event {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:60:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 58 |     // MARK: Helpers
 59 |
 60 |     internal var stateAfter: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 61 |         let state: LifecycleState
 62 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:73:5: warning: 'internal' modifier is redundant for property declared in an internal extension
 71 |     }
 72 |
 73 |     internal var stateBefore: LifecycleState {
    |     `- warning: 'internal' modifier is redundant for property declared in an internal extension
 74 |         let state: LifecycleState
 75 |         switch self {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/Extensions.swift:110:5: warning: 'internal' modifier is redundant for instance method declared in an internal extension
108 | internal extension LifecycleState {
109 |
110 |     internal func eventsToState(_ targetState: LifecycleState) throws -> [LifecycleEvent] {
    |     `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
111 |         guard self != targetState else { return [] }
112 |         guard targetState != .initialized else {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (14.53s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ArchitectureComponents",
  "name" : "ArchitectureComponents",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ArchitectureComponents",
      "targets" : [
        "ArchitectureComponents"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ArchitectureComponentsTests",
      "module_type" : "SwiftTarget",
      "name" : "ArchitectureComponentsTests",
      "path" : "Tests/ArchitectureComponentsTests",
      "sources" : [
        "Lifecycle/LifecycleStateTests.swift",
        "LiveData/Helpers/MockLifecycleOwner.swift",
        "LiveData/Helpers/MockLiveDataObserver.swift",
        "LiveData/LiveData_NotificationTests.swift",
        "LiveData/LiveData_ObserverManagementTests.swift",
        "LiveData/MutableLiveData_PostValueTests.swift"
      ],
      "target_dependencies" : [
        "ArchitectureComponents"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArchitectureComponents",
      "module_type" : "SwiftTarget",
      "name" : "ArchitectureComponents",
      "path" : "Sources/ArchitectureComponents",
      "product_memberships" : [
        "ArchitectureComponents"
      ],
      "sources" : [
        "Lifecycle/DefaultLifecycleObserver.swift",
        "Lifecycle/Lifecycle.swift",
        "Lifecycle/LifecycleObserver.swift",
        "Lifecycle/LifecycleOwner.swift",
        "Lifecycle/LifecycleRegistry.swift",
        "Lifecycle/Swift/Extensions.swift",
        "Lifecycle/Swift/LifecycleError.swift",
        "LiveData/LiveData.swift",
        "LiveData/MediatorLiveData.swift",
        "LiveData/MutableLiveData.swift",
        "LiveData/Swift/LiveDataError.swift",
        "LiveData/Swift/ObserverController.swift",
        "LiveData/Swift/ObserverHandle.swift",
        "LiveData/Swift/ObserverListController.swift",
        "LiveData/Swift/SwitchedLiveData.swift",
        "LiveData/Swift/TransformedLiveData.swift",
        "LiveData/Transformations.swift",
        "UIKit/LifecycleTableViewController.swift",
        "UIKit/LifecycleViewController.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.