The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Causality, reference master (da261a), with Swift 6.3 for Wasm on 13 Apr 2026 02:38:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dannys42/Causality.git
Reference: master
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/dannys42/Causality
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at da261a5 Add link to FayeSwift project
Cloned https://github.com/dannys42/Causality.git
Revision (git rev-parse @):
da261a50546d538a0610d07bd1737f5312138466
SUCCESS checkout https://github.com/dannys42/Causality.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dannys42/Causality.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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
[3/13] Compiling Causality Message.swift
[4/14] Compiling Causality StateSubscription.swift
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:12:19: error: cannot find type 'DispatchQueue' in scope
10 | internal enum WorkQueue {
11 |     case none
12 |     case dispatch(DispatchQueue)
   |                   `- error: cannot find type 'DispatchQueue' in scope
13 |     case operation(OperationQueue)
14 |
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
[5/14] Compiling Causality State.swift
/host/spi-builder-workspace/Sources/Causality/State.swift:131:113: error: cannot find type 'DispatchQueue' in scope
129 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
130 |     @discardableResult
131 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Causality.StateSubscription<State,Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
132 |         let workQueue = WorkQueue(queue)
133 |         return self.subscribe(state, workQueue: workQueue, handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:142:113: error: cannot find type 'OperationQueue' in scope
140 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
141 |     @discardableResult
142 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Causality.StateSubscription<State, Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
143 |
144 |         return self.subscribe(state, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:154:113: error: cannot find type 'DispatchQueue' in scope
152 |     ///   - queue: DispatchQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
153 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
154 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
155 |         let workQueue = WorkQueue(queue)
156 |         return self.subscribe(state, workQueue: workQueue) { _, state in
/host/spi-builder-workspace/Sources/Causality/State.swift:166:113: error: cannot find type 'OperationQueue' in scope
164 |     ///   - queue: OperationQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
165 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
166 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
167 |
168 |         return self.subscribe(state, workQueue: .operation(queue)) { _, state in
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:18:19: error: cannot find type 'DispatchQueue' in scope
16 |         self = .none
17 |     }
18 |     init(_ queue: DispatchQueue?) {
   |                   `- error: cannot find type 'DispatchQueue' in scope
19 |         if let queue = queue {
20 |             self = .dispatch(queue)
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:25:19: error: cannot find type 'OperationQueue' in scope
23 |         }
24 |     }
25 |     init(_ queue: OperationQueue?) {
   |                   `- error: cannot find type 'OperationQueue' in scope
26 |         if let queue = queue {
27 |             self = .operation(queue)
/host/spi-builder-workspace/Sources/Causality/State.swift:132:35: error: argument passed to call that takes no arguments
130 |     @discardableResult
131 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Causality.StateSubscription<State,Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
132 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
133 |         return self.subscribe(state, workQueue: workQueue, handler: handler)
134 |     }
/host/spi-builder-workspace/Sources/Causality/Event.swift:103:114: error: cannot find type 'DispatchQueue' in scope
101 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
102 |     @discardableResult
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
104 |
105 |         let workQueue = WorkQueue(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:115:114: error: cannot find type 'OperationQueue' in scope
113 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
114 |     @discardableResult
115 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
116 |
117 |         return self.subscribe(event, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/Event.swift:129:114: error: cannot find type 'DispatchQueue' in scope
127 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
130 |         let workQueue = WorkQueue(queue)
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
/host/spi-builder-workspace/Sources/Causality/Event.swift:143:114: error: cannot find type 'OperationQueue' in scope
141 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
142 |     @discardableResult
143 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
144 |
145 |         return self.subscribe(event, workQueue: .operation(queue)) { _, message in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Causality/State.swift:155:35: error: argument passed to call that takes no arguments
153 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
154 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
155 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
156 |         return self.subscribe(state, workQueue: workQueue) { _, state in
157 |             handler(state)
[6/14] Compiling Causality WorkQueue.swift
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:12:19: error: cannot find type 'DispatchQueue' in scope
10 | internal enum WorkQueue {
11 |     case none
12 |     case dispatch(DispatchQueue)
   |                   `- error: cannot find type 'DispatchQueue' in scope
13 |     case operation(OperationQueue)
14 |
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:18:19: error: cannot find type 'DispatchQueue' in scope
16 |         self = .none
17 |     }
18 |     init(_ queue: DispatchQueue?) {
   |                   `- error: cannot find type 'DispatchQueue' in scope
19 |         if let queue = queue {
20 |             self = .dispatch(queue)
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:25:19: error: cannot find type 'OperationQueue' in scope
23 |         }
24 |     }
25 |     init(_ queue: OperationQueue?) {
   |                   `- error: cannot find type 'OperationQueue' in scope
26 |         if let queue = queue {
27 |             self = .operation(queue)
[7/14] Compiling Causality EventSubscription.swift
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:12:19: error: cannot find type 'DispatchQueue' in scope
10 | internal enum WorkQueue {
11 |     case none
12 |     case dispatch(DispatchQueue)
   |                   `- error: cannot find type 'DispatchQueue' in scope
13 |     case operation(OperationQueue)
14 |
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
[8/14] Compiling Causality CausalityAnySubscription.swift
[9/14] Compiling Causality EncodableExtension.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/14] Emitting module Causality
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:30: error: cannot find 'DispatchQueue' in scope
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                              `- error: cannot find 'DispatchQueue' in scope
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:77: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                             `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:125: error: cannot infer contextual base in reference to member 'inherit'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                             `- error: cannot infer contextual base in reference to member 'inherit'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:143: error: cannot infer contextual base in reference to member 'global'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                               `- error: cannot infer contextual base in reference to member 'global'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:156: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                                            `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:42:43: error: cannot find type 'DispatchQueue' in scope
40 |         /// - Parameter label: name to give the bus
41 |         /// - Parameter queue: Queue for bookkeeping (e.g. to ensure publish/subscribe is thread safe)
42 |         public init(label: String, queue: DispatchQueue = globalQueue) {
   |                                           `- error: cannot find type 'DispatchQueue' in scope
43 |             self.label = label
44 |             self.queue = queue
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
/host/spi-builder-workspace/Sources/Causality/Event.swift:103:114: error: cannot find type 'DispatchQueue' in scope
101 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
102 |     @discardableResult
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
104 |
105 |         let workQueue = WorkQueue(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:115:114: error: cannot find type 'OperationQueue' in scope
113 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
114 |     @discardableResult
115 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
116 |
117 |         return self.subscribe(event, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/Event.swift:129:114: error: cannot find type 'DispatchQueue' in scope
127 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
130 |         let workQueue = WorkQueue(queue)
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
/host/spi-builder-workspace/Sources/Causality/Event.swift:143:114: error: cannot find type 'OperationQueue' in scope
141 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
142 |     @discardableResult
143 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
144 |
145 |         return self.subscribe(event, workQueue: .operation(queue)) { _, message in
/host/spi-builder-workspace/Sources/Causality/State.swift:131:113: error: cannot find type 'DispatchQueue' in scope
129 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
130 |     @discardableResult
131 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Causality.StateSubscription<State,Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
132 |         let workQueue = WorkQueue(queue)
133 |         return self.subscribe(state, workQueue: workQueue, handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:142:113: error: cannot find type 'OperationQueue' in scope
140 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
141 |     @discardableResult
142 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Causality.StateSubscription<State, Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
143 |
144 |         return self.subscribe(state, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:154:113: error: cannot find type 'DispatchQueue' in scope
152 |     ///   - queue: DispatchQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
153 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
154 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
155 |         let workQueue = WorkQueue(queue)
156 |         return self.subscribe(state, workQueue: workQueue) { _, state in
/host/spi-builder-workspace/Sources/Causality/State.swift:166:113: error: cannot find type 'OperationQueue' in scope
164 |     ///   - queue: OperationQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
165 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
166 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
167 |
168 |         return self.subscribe(state, workQueue: .operation(queue)) { _, state in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:12:19: error: cannot find type 'DispatchQueue' in scope
10 | internal enum WorkQueue {
11 |     case none
12 |     case dispatch(DispatchQueue)
   |                   `- error: cannot find type 'DispatchQueue' in scope
13 |     case operation(OperationQueue)
14 |
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:18:19: error: cannot find type 'DispatchQueue' in scope
16 |         self = .none
17 |     }
18 |     init(_ queue: DispatchQueue?) {
   |                   `- error: cannot find type 'DispatchQueue' in scope
19 |         if let queue = queue {
20 |             self = .dispatch(queue)
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:25:19: error: cannot find type 'OperationQueue' in scope
23 |         }
24 |     }
25 |     init(_ queue: OperationQueue?) {
   |                   `- error: cannot find type 'OperationQueue' in scope
26 |         if let queue = queue {
27 |             self = .operation(queue)
[11/14] Compiling Causality Address.swift
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:30: error: cannot find 'DispatchQueue' in scope
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                              `- error: cannot find 'DispatchQueue' in scope
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:77: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                             `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:125: error: cannot infer contextual base in reference to member 'inherit'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                             `- error: cannot infer contextual base in reference to member 'inherit'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:143: error: cannot infer contextual base in reference to member 'global'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                               `- error: cannot infer contextual base in reference to member 'global'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:156: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                                            `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:42:43: error: cannot find type 'DispatchQueue' in scope
40 |         /// - Parameter label: name to give the bus
41 |         /// - Parameter queue: Queue for bookkeeping (e.g. to ensure publish/subscribe is thread safe)
42 |         public init(label: String, queue: DispatchQueue = globalQueue) {
   |                                           `- error: cannot find type 'DispatchQueue' in scope
43 |             self.label = label
44 |             self.queue = queue
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
[12/14] Compiling Causality Bus.swift
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:30: error: cannot find 'DispatchQueue' in scope
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                              `- error: cannot find 'DispatchQueue' in scope
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:77: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                             `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:125: error: cannot infer contextual base in reference to member 'inherit'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                             `- error: cannot infer contextual base in reference to member 'inherit'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:143: error: cannot infer contextual base in reference to member 'global'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                               `- error: cannot infer contextual base in reference to member 'global'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:13:156: error: cannot infer contextual base in reference to member 'default'
11 |
12 |     /// The queue used by the default bus for thread-safety.  Also the default queue used for all buses (unless specified on initialization).
13 |     static let globalQueue = DispatchQueue(label: "Causality.global", qos: .default, attributes: [], autoreleaseFrequency: .inherit, target: .global(qos: .default))
   |                                                                                                                                                            `- error: cannot infer contextual base in reference to member 'default'
14 |     /// A default/global bus
15 |     static let bus = Bus(label: "global", queue: globalQueue)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:42:43: error: cannot find type 'DispatchQueue' in scope
40 |         /// - Parameter label: name to give the bus
41 |         /// - Parameter queue: Queue for bookkeeping (e.g. to ensure publish/subscribe is thread safe)
42 |         public init(label: String, queue: DispatchQueue = globalQueue) {
   |                                           `- error: cannot find type 'DispatchQueue' in scope
43 |             self.label = label
44 |             self.queue = queue
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
[13/14] Compiling Causality Causality.swift
/host/spi-builder-workspace/Sources/Causality/Event.swift:103:114: error: cannot find type 'DispatchQueue' in scope
101 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
102 |     @discardableResult
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
104 |
105 |         let workQueue = WorkQueue(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:115:114: error: cannot find type 'OperationQueue' in scope
113 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
114 |     @discardableResult
115 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
116 |
117 |         return self.subscribe(event, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/Event.swift:129:114: error: cannot find type 'DispatchQueue' in scope
127 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
130 |         let workQueue = WorkQueue(queue)
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
/host/spi-builder-workspace/Sources/Causality/Event.swift:143:114: error: cannot find type 'OperationQueue' in scope
141 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
142 |     @discardableResult
143 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
144 |
145 |         return self.subscribe(event, workQueue: .operation(queue)) { _, message in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:18:19: error: cannot find type 'DispatchQueue' in scope
16 |         self = .none
17 |     }
18 |     init(_ queue: DispatchQueue?) {
   |                   `- error: cannot find type 'DispatchQueue' in scope
19 |         if let queue = queue {
20 |             self = .dispatch(queue)
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:25:19: error: cannot find type 'OperationQueue' in scope
23 |         }
24 |     }
25 |     init(_ queue: OperationQueue?) {
   |                   `- error: cannot find type 'OperationQueue' in scope
26 |         if let queue = queue {
27 |             self = .operation(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:105:35: error: argument passed to call that takes no arguments
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
104 |
105 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
106 |         return self.subscribe(event, workQueue: workQueue, handler: handler)
107 |     }
/host/spi-builder-workspace/Sources/Causality/State.swift:131:113: error: cannot find type 'DispatchQueue' in scope
129 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
130 |     @discardableResult
131 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Causality.StateSubscription<State,Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
132 |         let workQueue = WorkQueue(queue)
133 |         return self.subscribe(state, workQueue: workQueue, handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:142:113: error: cannot find type 'OperationQueue' in scope
140 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
141 |     @discardableResult
142 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Causality.StateSubscription<State, Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
143 |
144 |         return self.subscribe(state, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:154:113: error: cannot find type 'DispatchQueue' in scope
152 |     ///   - queue: DispatchQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
153 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
154 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
155 |         let workQueue = WorkQueue(queue)
156 |         return self.subscribe(state, workQueue: workQueue) { _, state in
/host/spi-builder-workspace/Sources/Causality/State.swift:166:113: error: cannot find type 'OperationQueue' in scope
164 |     ///   - queue: OperationQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
165 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
166 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
167 |
168 |         return self.subscribe(state, workQueue: .operation(queue)) { _, state in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Causality/Event.swift:130:35: error: argument passed to call that takes no arguments
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
130 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
132 |             handler(message)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
[14/14] Compiling Causality Event.swift
/host/spi-builder-workspace/Sources/Causality/Event.swift:103:114: error: cannot find type 'DispatchQueue' in scope
101 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
102 |     @discardableResult
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
104 |
105 |         let workQueue = WorkQueue(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:115:114: error: cannot find type 'OperationQueue' in scope
113 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
114 |     @discardableResult
115 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
116 |
117 |         return self.subscribe(event, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/Event.swift:129:114: error: cannot find type 'DispatchQueue' in scope
127 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'DispatchQueue' in scope
130 |         let workQueue = WorkQueue(queue)
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
/host/spi-builder-workspace/Sources/Causality/Event.swift:143:114: error: cannot find type 'OperationQueue' in scope
141 |     /// - Returns: Subscription handle that is needed to unsubscribe to this event
142 |     @discardableResult
143 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: OperationQueue, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
    |                                                                                                                  `- error: cannot find type 'OperationQueue' in scope
144 |
145 |         return self.subscribe(event, workQueue: .operation(queue)) { _, message in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:18:19: error: cannot find type 'DispatchQueue' in scope
16 |         self = .none
17 |     }
18 |     init(_ queue: DispatchQueue?) {
   |                   `- error: cannot find type 'DispatchQueue' in scope
19 |         if let queue = queue {
20 |             self = .dispatch(queue)
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:25:19: error: cannot find type 'OperationQueue' in scope
23 |         }
24 |     }
25 |     init(_ queue: OperationQueue?) {
   |                   `- error: cannot find type 'OperationQueue' in scope
26 |         if let queue = queue {
27 |             self = .operation(queue)
/host/spi-builder-workspace/Sources/Causality/Event.swift:105:35: error: argument passed to call that takes no arguments
103 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Causality.EventSubscription<Event,Message>, Message)->Void) -> Causality.EventSubscription<Event,Message> {
104 |
105 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
106 |         return self.subscribe(event, workQueue: workQueue, handler: handler)
107 |     }
/host/spi-builder-workspace/Sources/Causality/State.swift:131:113: error: cannot find type 'DispatchQueue' in scope
129 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
130 |     @discardableResult
131 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Causality.StateSubscription<State,Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
132 |         let workQueue = WorkQueue(queue)
133 |         return self.subscribe(state, workQueue: workQueue, handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:142:113: error: cannot find type 'OperationQueue' in scope
140 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
141 |     @discardableResult
142 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Causality.StateSubscription<State, Value>, Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
143 |
144 |         return self.subscribe(state, workQueue: .operation(queue), handler: handler)
/host/spi-builder-workspace/Sources/Causality/State.swift:154:113: error: cannot find type 'DispatchQueue' in scope
152 |     ///   - queue: DispatchQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
153 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
154 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: DispatchQueue?=nil, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'DispatchQueue' in scope
155 |         let workQueue = WorkQueue(queue)
156 |         return self.subscribe(state, workQueue: workQueue) { _, state in
/host/spi-builder-workspace/Sources/Causality/State.swift:166:113: error: cannot find type 'OperationQueue' in scope
164 |     ///   - queue: OperationQueue to receive messages on.  This will take precedence over any queue specified by the publisher.
165 |     ///   - handler: A handler that is called for each event of this type that occurs (on the specified queue)
166 |     public func subscribe<State: Causality.AnyState<Value>, Value: Causality.StateValue>(_ state: State, queue: OperationQueue, handler: @escaping (Value)->Void) -> Causality.StateSubscription<State, Value> {
    |                                                                                                                 `- error: cannot find type 'OperationQueue' in scope
167 |
168 |         return self.subscribe(state, workQueue: .operation(queue)) { _, state in
/host/spi-builder-workspace/Sources/Causality/WorkQueue.swift:13:20: error: cannot find type 'OperationQueue' in scope
11 |     case none
12 |     case dispatch(DispatchQueue)
13 |     case operation(OperationQueue)
   |                    `- error: cannot find type 'OperationQueue' in scope
14 |
15 |     init() {
/host/spi-builder-workspace/Sources/Causality/Event.swift:130:35: error: argument passed to call that takes no arguments
128 |     @discardableResult
129 |     public func subscribe<Event: Causality.AnyEvent<Message>, Message: Causality.Message>(_ event: Event, queue: DispatchQueue?=nil, handler: @escaping (Message)->Void) -> Causality.EventSubscription<Event,Message> {
130 |         let workQueue = WorkQueue(queue)
    |                                   `- error: argument passed to call that takes no arguments
131 |         return self.subscribe(event, workQueue: workQueue) { _, message in
132 |             handler(message)
/host/spi-builder-workspace/Sources/Causality/Bus.swift:37:40: error: cannot find type 'DispatchQueue' in scope
35 |
36 |         /// Queue on which to execute publish/subscribe actions to ensure thread safety
37 |         public private(set) var queue: DispatchQueue
   |                                        `- error: cannot find type 'DispatchQueue' in scope
38 |
39 |         /// Initialize a Causality Event Bus
BUILD FAILURE 6.3 wasm