Build Information
Successful build of ArchitectureComponents, reference 0.1.0 (33835a), with Swift 6.1 for Android on 27 May 2025 09:31:25 UTC.
Swift 6 data race errors: 6
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/spropensource/ArchitectureComponents.git
https://github.com/spropensource/ArchitectureComponents.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-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
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
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/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:55:13: note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
53 | }
54 |
55 | public enum LifecycleEvent {
| `- note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
56 |
57 | case create
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/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
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
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 | }
[4/22] Compiling ArchitectureComponents LifecycleTableViewController.swift
[5/22] Compiling ArchitectureComponents LifecycleViewController.swift
[6/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 | }
[7/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 | }
[8/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
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
37 | let result = self.value.hashValue
38 | return result
[9/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
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
37 | let result = self.value.hashValue
38 | return result
[10/22] Compiling ArchitectureComponents MutableLiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:115:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 | DispatchQueue.main.async {
115 | self.semaphore.wait()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 | let nextValue = self.nextValue
117 | self.semaphore.signal()
[11/22] Compiling ArchitectureComponents LiveDataError.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:115:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 | DispatchQueue.main.async {
115 | self.semaphore.wait()
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 | let nextValue = self.nextValue
117 | self.semaphore.signal()
[12/22] Compiling ArchitectureComponents TransformedLiveData.swift
[13/22] Compiling ArchitectureComponents Transformations.swift
[14/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
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
49 | guard let observer = self.lifecycleObserver else { return 0 }
50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
110 | }
111 | }
/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
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
| `- 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 {
[15/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
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
49 | guard let observer = self.lifecycleObserver else { return 0 }
50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
110 | }
111 | }
/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
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
| `- 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 {
[16/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
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
49 | guard let observer = self.lifecycleObserver else { return 0 }
50 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:47: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
110 | }
111 | }
/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
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
| `- 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 {
[17/22] Compiling ArchitectureComponents DefaultLifecycleObserver.swift
[18/22] Compiling ArchitectureComponents Lifecycle.swift
[19/22] Compiling ArchitectureComponents LifecycleObserver.swift
[20/22] Compiling ArchitectureComponents LifecycleError.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:55:13: note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
53 | }
54 |
55 | public enum LifecycleEvent {
| `- note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
56 |
57 | case create
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
[21/22] Compiling ArchitectureComponents LiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:55:13: note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
53 | }
54 |
55 | public enum LifecycleEvent {
| `- note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
56 |
57 | case create
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
[22/22] Compiling ArchitectureComponents MediatorLiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:18:10: warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
16 |
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
| `- warning: associated value 'invalidEventForState(state:event:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleEvent'; this is an error in the Swift 6 language mode
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
20 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:55:13: note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
53 | }
54 |
55 | public enum LifecycleEvent {
| `- note: consider making enum 'LifecycleEvent' conform to the 'Sendable' protocol
56 |
57 | case create
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Swift/LifecycleError.swift:19:10: warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
17 | public enum LifecycleError: Swift.Error {
18 | case invalidEventForState(state: LifecycleState, event: LifecycleEvent)
19 | case invalidStateTransition(from: LifecycleState, to: LifecycleState)
| `- warning: associated value 'invalidStateTransition(from:to:)' of 'Sendable'-conforming enum 'LifecycleError' has non-sendable type 'LifecycleState'; this is an error in the Swift 6 language mode
20 | }
21 |
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/Lifecycle.swift:70:13: note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
68 | }
69 |
70 | public enum LifecycleState: Int {
| `- note: consider making enum 'LifecycleState' conform to the 'Sendable' protocol
71 |
72 | case initialized = 0
Build complete! (13.50s)
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"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.