Build Information
Failed to build ArchitectureComponents, reference 0.1.0 (33835a), with Swift 6.3 for Wasm on 10 Apr 2026 14:45:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build 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: wasm
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-4606859-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
/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 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>
[7/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>
[8/22] Compiling ArchitectureComponents TransformedLiveData.swift
[9/22] Compiling ArchitectureComponents Transformations.swift
[10/22] Compiling ArchitectureComponents MutableLiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:33:20: error: cannot find 'Thread' in scope
31 | public override var value: Type {
32 | willSet {
33 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
34 | }
35 | didSet {
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:50:26: error: cannot find 'DispatchSemaphore' in scope
48 | self.controller = ObserverListController<Type>()
49 | self.nextValue = .empty
50 | self.semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
51 |
52 | super.init(initialValue: initialValue)
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:60:16: error: cannot find 'Thread' in scope
58 |
59 | public override var hasObservers: Bool {
60 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
61 | return self.controller.hasObservers
62 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:65:16: error: cannot find 'Thread' in scope
63 |
64 | public override var hasActiveObservers: Bool {
65 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
66 | return self.controller.hasActiveObservers
67 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:70:16: error: cannot find 'Thread' in scope
68 |
69 | public override func observe(owner: LifecycleOwner, observer: @escaping Observer) -> ObserverHandle {
70 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
71 | let observerController = self.controller.insert(owner: owner, observer: observer)
72 | return observerController.handle
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:76:16: error: cannot find 'Thread' in scope
74 |
75 | public override func observeForever(observer: @escaping Observer) -> ObserverHandle {
76 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
77 | let observerController = self.controller.insert(observer: observer)
78 | return observerController.handle
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:82:16: error: cannot find 'Thread' in scope
80 |
81 | public override func removeObserver(handle: ObserverHandle) {
82 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
83 | self.controller.remove(handle: handle)
84 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:87:16: error: cannot find 'Thread' in scope
85 |
86 | public override func removeObservers(owner: LifecycleOwner) {
87 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
88 | self.controller.removeAllWithOwner(owner)
89 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 | self.semaphore.signal()
113 |
114 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
115 | self.semaphore.wait()
116 | let nextValue = self.nextValue
[11/22] Compiling ArchitectureComponents LiveDataError.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:33:20: error: cannot find 'Thread' in scope
31 | public override var value: Type {
32 | willSet {
33 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
34 | }
35 | didSet {
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:50:26: error: cannot find 'DispatchSemaphore' in scope
48 | self.controller = ObserverListController<Type>()
49 | self.nextValue = .empty
50 | self.semaphore = DispatchSemaphore(value: 1)
| `- error: cannot find 'DispatchSemaphore' in scope
51 |
52 | super.init(initialValue: initialValue)
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:60:16: error: cannot find 'Thread' in scope
58 |
59 | public override var hasObservers: Bool {
60 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
61 | return self.controller.hasObservers
62 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:65:16: error: cannot find 'Thread' in scope
63 |
64 | public override var hasActiveObservers: Bool {
65 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
66 | return self.controller.hasActiveObservers
67 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:70:16: error: cannot find 'Thread' in scope
68 |
69 | public override func observe(owner: LifecycleOwner, observer: @escaping Observer) -> ObserverHandle {
70 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
71 | let observerController = self.controller.insert(owner: owner, observer: observer)
72 | return observerController.handle
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:76:16: error: cannot find 'Thread' in scope
74 |
75 | public override func observeForever(observer: @escaping Observer) -> ObserverHandle {
76 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
77 | let observerController = self.controller.insert(observer: observer)
78 | return observerController.handle
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:82:16: error: cannot find 'Thread' in scope
80 |
81 | public override func removeObserver(handle: ObserverHandle) {
82 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
83 | self.controller.remove(handle: handle)
84 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:87:16: error: cannot find 'Thread' in scope
85 |
86 | public override func removeObservers(owner: LifecycleOwner) {
87 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
88 | self.controller.removeAllWithOwner(owner)
89 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:114:9: error: cannot find 'DispatchQueue' in scope
112 | self.semaphore.signal()
113 |
114 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
115 | self.semaphore.wait()
116 | let nextValue = self.nextValue
[12/22] Compiling ArchitectureComponents DefaultLifecycleObserver.swift
[13/22] Compiling ArchitectureComponents Lifecycle.swift
[14/22] Compiling ArchitectureComponents LifecycleObserver.swift
[15/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 | }
[16/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 | }
[17/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:82:16: error: cannot find 'Thread' in scope
80 |
81 | public func addObserver(_ observer: LifecycleObserver) {
82 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
83 |
84 | // take the opportunity to remove any observers that have been
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:106:12: error: cannot find 'Thread' in scope
104 | }
105 |
106 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
107 | runIt()
108 | } else {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- error: cannot find 'DispatchQueue' in scope
110 | }
111 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:116:16: error: cannot find 'Thread' in scope
114 |
115 | public var observerCount: Int {
116 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
117 |
118 | cleanupObservers()
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:125:16: error: cannot find 'Thread' in scope
123 |
124 | public func handleLifecycleEvent(_ event: LifecycleEvent, beforeObservers handler: LifecycleEvent.Handler? = nil) {
125 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
126 |
127 | // Update properties FIRST, THEN notify everyone of the change.
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:142:16: error: cannot find 'Thread' in scope
140 |
141 | public func markState(_ targetState: LifecycleState, beforeObservers handler: LifecycleEvent.Handler? = nil) {
142 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
143 |
144 | // determine the steps required to transition from current state to the
/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>
[18/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:82:16: error: cannot find 'Thread' in scope
80 |
81 | public func addObserver(_ observer: LifecycleObserver) {
82 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
83 |
84 | // take the opportunity to remove any observers that have been
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:106:12: error: cannot find 'Thread' in scope
104 | }
105 |
106 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
107 | runIt()
108 | } else {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- error: cannot find 'DispatchQueue' in scope
110 | }
111 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:116:16: error: cannot find 'Thread' in scope
114 |
115 | public var observerCount: Int {
116 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
117 |
118 | cleanupObservers()
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:125:16: error: cannot find 'Thread' in scope
123 |
124 | public func handleLifecycleEvent(_ event: LifecycleEvent, beforeObservers handler: LifecycleEvent.Handler? = nil) {
125 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
126 |
127 | // Update properties FIRST, THEN notify everyone of the change.
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:142:16: error: cannot find 'Thread' in scope
140 |
141 | public func markState(_ targetState: LifecycleState, beforeObservers handler: LifecycleEvent.Handler? = nil) {
142 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
143 |
144 | // determine the steps required to transition from current state to the
/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>
[19/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:82:16: error: cannot find 'Thread' in scope
80 |
81 | public func addObserver(_ observer: LifecycleObserver) {
82 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
83 |
84 | // take the opportunity to remove any observers that have been
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:106:12: error: cannot find 'Thread' in scope
104 | }
105 |
106 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
107 | runIt()
108 | } else {
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:109:13: error: cannot find 'DispatchQueue' in scope
107 | runIt()
108 | } else {
109 | DispatchQueue.main.async(execute: runIt)
| `- error: cannot find 'DispatchQueue' in scope
110 | }
111 | }
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:116:16: error: cannot find 'Thread' in scope
114 |
115 | public var observerCount: Int {
116 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
117 |
118 | cleanupObservers()
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:125:16: error: cannot find 'Thread' in scope
123 |
124 | public func handleLifecycleEvent(_ event: LifecycleEvent, beforeObservers handler: LifecycleEvent.Handler? = nil) {
125 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
126 |
127 | // Update properties FIRST, THEN notify everyone of the change.
/host/spi-builder-workspace/Sources/ArchitectureComponents/Lifecycle/LifecycleRegistry.swift:142:16: error: cannot find 'Thread' in scope
140 |
141 | public func markState(_ targetState: LifecycleState, beforeObservers handler: LifecycleEvent.Handler? = nil) {
142 | assert(Thread.isMainThread)
| `- error: cannot find 'Thread' in scope
143 |
144 | // determine the steps required to transition from current state to the
/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>
[20/22] Compiling ArchitectureComponents LifecycleError.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
[21/22] Compiling ArchitectureComponents LiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
[22/22] Compiling ArchitectureComponents MediatorLiveData.swift
/host/spi-builder-workspace/Sources/ArchitectureComponents/LiveData/MutableLiveData.swift:41:28: error: cannot find type 'DispatchSemaphore' in scope
39 |
40 | private var nextValue: ValueHolder
41 | private let semaphore: DispatchSemaphore
| `- error: cannot find type 'DispatchSemaphore' in scope
42 |
43 | private let controller: ObserverListController<Type>
BUILD FAILURE 6.3 wasm