Build Information
Failed to build Causality, reference 0.0.6 (4122e2
), with Swift 6.1 for Wasm on 28 May 2025 06:58:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dannys42/Causality.git
Reference: 0.0.6
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
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 4122e20 Update inline doc for DynamicState.
Cloned https://github.com/dannys42/Causality.git
Revision (git rev-parse @):
4122e2059ffb26f051869c5d3c0d4c2dfd9096a5
SUCCESS checkout https://github.com/dannys42/Causality.git at 0.0.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dannys42/Causality.git
https://github.com/dannys42/Causality.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Causality",
"name" : "Causality",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Causality",
"targets" : [
"Causality"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CausalityTests",
"module_type" : "SwiftTarget",
"name" : "CausalityTests",
"path" : "Tests/CausalityTests",
"sources" : [
"EventTests.swift",
"StateTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Causality"
],
"type" : "test"
},
{
"c99name" : "Causality",
"module_type" : "SwiftTarget",
"name" : "Causality",
"path" : "Sources/Causality",
"product_memberships" : [
"Causality"
],
"sources" : [
"Address.swift",
"Bus.swift",
"Causality.swift",
"Event.swift",
"Internal/CausalityAnySubscription.swift",
"Internal/EncodableExtension.swift",
"Internal/EventSubscription.swift",
"Internal/StateSubscription.swift",
"Message.swift",
"State.swift",
"WorkQueue.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Causality Message.swift
/host/spi-builder-workspace/Sources/Causality/Message.swift:18:29: warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Causality.NoMessage' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// A convenience message that can be included for events that have no associated data
13 | struct NoMessage: Message {
| `- note: consider making struct 'NoMessage' conform to the 'Sendable' protocol
14 |
15 | /// Users of the library are not expected to create these messages
16 | private init() {
17 | }
18 | internal static let message = NoMessage()
| |- warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Causality.NoMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'message' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
[4/13] 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)
[5/13] 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() {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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/Message.swift:18:29: warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Causality.NoMessage' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// A convenience message that can be included for events that have no associated data
13 | struct NoMessage: Message {
| `- note: consider making struct 'NoMessage' conform to the 'Sendable' protocol
14 |
15 | /// Users of the library are not expected to create these messages
16 | private init() {
17 | }
18 | internal static let message = NoMessage()
| |- warning: static property 'message' is not concurrency-safe because non-'Sendable' type 'Causality.NoMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'message' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/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)
[7/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
[8/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
[9/14] Compiling Causality CausalityAnySubscription.swift
[10/14] Compiling Causality EncodableExtension.swift
[11/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() {
[12/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
[13/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
[14/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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling Causality CausalityAnySubscription.swift
[3/12] Compiling Causality EncodableExtension.swift
[4/12] 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
[5/12] 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
[6/13] Compiling Causality Message.swift
[7/13] 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() {
[8/13] 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() {
[9/13] 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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] 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/13] 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/13] 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/13] 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)
BUILD FAILURE 6.1 wasm